* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--font-body, 'EB Garamond'), serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-primary, #f0ece2);
    background-color: var(--color-bg-primary, #0a0a0a);
}

a {
  color: var(--color-text-primary, #f0ece2);
}

h1, h2, h3, h4, h5 {
  font-weight: 400;
  font-family: var(--font-heading, 'Cormorant Garamond'), serif;
  line-height: var(--leading-tight, 1.1);
}

p {
  font-size: 1.25rem;
  line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.main-header {
    background: var(--color-bg-primary, #0a0a0a);
    color: var(--color-text-primary, #f0ece2);
    padding: 1rem 0;
    box-shadow: none;
    border-bottom: 1px solid var(--color-border-gold, rgba(201, 169, 89, 0.3));
    position: relative;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo a {
    text-decoration: none;
}

.logo a:hover {
    text-decoration: none;
}

.logo h1 {
    font-family: var(--font-display, 'Cinzel'), serif;
    font-size: 1.8rem;
    margin: 0;
    color: var(--color-gold, #c9a959);
    letter-spacing: var(--tracking-wider, 0.1em);
    text-shadow: none;
    text-decoration: none;
    font-weight: 400;
    line-height: 1.1;
}
.tagline {
    font-size: 0.55rem; 
    color: var(--color-text-muted, #6b6560);
    text-decoration: none;
    letter-spacing: var(--tracking-widest, 0.2em);
    text-transform: uppercase;
    font-family: var(--font-body, 'EB Garamond'), serif;
    margin-top: 2px;
    line-height: 1;
}

.header-divider {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 30px;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1200,0 L1200,15 C1000,5 800,25 600,15 C400,5 200,20 0,10 L0,0 Z' fill='%23111'/%3E%3Cpath d='M0,10 C200,20 400,5 600,15 C800,25 1000,5 1200,15 L1200,30 L0,30 Z' fill='%23111' opacity='0.5'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.3));
}

.header-divider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 169, 89, 0.12) 1px, transparent 4px),
        radial-gradient(circle at 40% 70%, rgba(201, 169, 89, 0.08) 2px, transparent 5px),
        radial-gradient(circle at 60% 30%, rgba(201, 169, 89, 0.12) 1px, transparent 3px),
        radial-gradient(circle at 80% 60%, rgba(201, 169, 89, 0.08) 2px, transparent 4px);
    background-size: 150px 50px;
    pointer-events: none;
}


.hero-section {
    background-size: cover;
    background-position: center;
    height: calc(100vh - var(--header-height, 80px));
    display: flex;
    align-items: center;
    text-align: center;
    color: #f0f0f0; 
    position: relative;
}

.hero-home {
  height: calc(100vh - 120px);
}

.content-hero-about {
  background-image: url('../image/hero-about.jpg');
}

.content-hero-meetings {
  background-image: url('../image/hero-meetings.jpg');
}

.content-hero-board {
  background-image: url('../image/hero-board.jpg');
}

.content-hero-contact {
  background-image: url('../image/hero-contact.jpg');
}

.content-hero-membership {
  background-image: url('../image/hero-membership.jpg');
}

.content-hero-newsletter {
  background-image: url('../image/hero-newsletter.jpg');
}

.content-hero-links {
  background-image: url('../image/hero-links.jpg');
}

.content-hero-donate {
  background-image: url('../image/hero-donate.jpg');
}

.content-hero-halloffame {
  background-image: url('../image/hero-halloffame.jpg');
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-content h1 {
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 7.5rem;
    line-height: 1.0;
    margin-bottom: 0.4rem;
    color: var(--color-gold, #c9a959);
    font-weight: 400;
    letter-spacing: 0.02em;
}
.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    margin-top: 0;
    line-height: 1.5;
}
.btn {
    display: inline-block;
    background: transparent;
    color: var(--color-gold, #c9a959);
    padding: 14px 36px;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-display, 'Cinzel'), serif;
    border: 1px solid var(--color-gold, #c9a959);
    cursor: pointer;
    letter-spacing: var(--tracking-wider, 0.1em);
    font-size: 0.85rem;
    text-transform: uppercase;
}
.btn:hover {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-bg-primary, #0a0a0a);
    transform: translateY(-2px);
    box-shadow: none;
}
.content-btn {
    display: inline-block;
    background: transparent;
    padding: 10px 24px;
    border-radius: 0;
    font-weight: 500;
    color: var(--color-gold, #c9a959);
    font-family: var(--font-display, 'Cinzel'), serif;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid var(--color-gold, #c9a959);
    letter-spacing: var(--tracking-wider, 0.1em);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.content-btn:hover {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-bg-primary, #0a0a0a);
}
section {
    padding: 60px 0;
}
h2 {
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--color-gold, #c9a959);
    letter-spacing: var(--tracking-wide, 0.05em);
    line-height: 1.1;
}
.about-section {
    background-color: var(--color-bg-surface, #111111);
    text-align: center;
    padding: 100px 0;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
}
.about-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--color-text-secondary, #a09c94);
    line-height: 1.8;
}
.events-section {
    background-color: var(--color-bg-elevated, #171717);
    box-shadow: none;
}
.event-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.event-card {
    background-color: var(--color-bg-card, #141414);
    border-radius: var(--radius-md, 4px);
    box-shadow: none;
    padding: 25px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    border-left: none;
    border: 1px solid var(--color-border, #2a2a2a);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-md, 4px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.6) 0%, transparent 40%, transparent 60%, rgba(201, 169, 89, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    border-color: var(--color-border-gold, rgba(201, 169, 89, 0.3));
}
.event-date {
    color: var(--color-gold, #c9a959);
    font-weight: 400;
    margin: 8px 0;
    letter-spacing: var(--tracking-wide, 0.05em);
}
.event-card h3 {
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-gold, #c9a959);
    position: relative;
}
.event-card h3:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    height: 3px;
    width: 40px;
    background-color: var(--color-crimson, #6b0f1a);
    border-radius: 2px;
}
.event-card p {
    color: var(--color-text-primary, #f0ece2);
    font-size: 1rem;
    line-height: 1.5;
}
.membership-section {
    padding: 80px 0;
    background-color: var(--color-bg-surface, #111111);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    position: relative;
}
.membership-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--color-gold, #c9a959);
}
.membership-section > .container > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.25rem; /* min 20px */
    color: var(--color-text-primary, #f0ece2); /* Softer white */
}
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}
.benefit-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.benefit-animation.visible {
    opacity: 1;
    transform: translateY(0);
}
.benefit {
    background-color: var(--color-bg-card, #141414);
    border-radius: var(--radius-lg, 8px);
    padding: 25px;
    box-shadow: none;
    transition: transform 0.3s ease;
    position: relative;
}

.benefit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg, 8px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.6) 0%, transparent 40%, transparent 60%, rgba(201, 169, 89, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: none;
}
.benefit h3 {
    color: var(--color-gold, #c9a959);
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
}
.benefit h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 3px;
    width: 40px;
    background-color: var(--color-crimson, #6b0f1a);
    border-radius: 2px;
}
.benefit p {
    color: var(--color-text-secondary, #a09c94);
    line-height: 1.6;
    font-size: 1.25rem; /* min 20px */
}
.membership-cta {
    text-align: center;
    margin-top: 20px;
}
.membership-cta .btn {
    padding: 12px 30px;
    font-size: 1.25rem;
    letter-spacing: 1px;
}
footer {
    background: rgba(5, 5, 5, 0.97);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 80px 50px;
    position: relative;
    box-sizing: border-box;
    margin-top: 20px;
}

.footer-nav-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
}

.footer-col {
    flex: 1;
    padding: 30px 50px;
    border-right: 1px solid rgba(201, 169, 89, 0.15);
    text-align: left;
}

.footer-col:last-child {
    border-right: none;
}

.footer-col h3 {
    font-family: var(--font-display, 'Cinzel'), serif;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.65rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 400;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0;
}

.footer-col ul li a,
.footer-col ul li span {
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    color: var(--color-gold, #c9a959);
    text-decoration: none;
    font-size: 2.4rem;
    font-style: italic;
    font-weight: 400;
    display: block;
    padding: 0.45rem 0;
    line-height: 1.15;
    transition: color 0.2s ease, padding-left 0.2s ease;
    cursor: pointer;
}

.footer-col ul li a:hover,
.footer-col ul li span:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-identity {
    border-top: 1px solid rgba(201, 169, 89, 0.15);
    padding-top: 30px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-identity-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-logo-name {
    font-family: var(--font-display, 'Cinzel'), serif;
    font-size: 1.5rem;
    color: var(--color-gold, #c9a959);
    letter-spacing: 0.15em;
    font-weight: 400;
    margin: 0;
}

.footer-logo-tagline {
    font-family: var(--font-body, 'EB Garamond'), serif;
    font-size: 0.65rem;
    color: var(--color-text-muted, #6b6560);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

.footer-identity-bottom {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-copyright {
    font-size: 0.7rem;
    color: var(--color-text-muted, #6b6560);
    font-family: var(--font-body, 'EB Garamond'), serif;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-ascend {
    font-family: var(--font-display, 'Cinzel'), serif;
    font-size: 0.7rem;
    color: var(--color-text-muted, #6b6560);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.footer-ascend:hover {
    color: var(--color-gold, #c9a959);
}

/* Fixed back to top button for long pages */
.back-to-top-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(201, 169, 89, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
}

.back-to-top-button.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-button:hover {
    background: rgba(201, 169, 89, 0.9);
    transform: translateY(-3px);
}

/* Levitation animation for back to top button */
@keyframes levitate {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0); }
}

.footer-ascend.levitating {
    animation: levitate 1s ease-in-out;
}

/* Footer responsive */
@media (max-width: 768px) {
    footer {
        padding: 36px 28px 28px;
        min-height: 100svh;
        justify-content: center;
    }

    .footer-nav-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 16px 0;
    }

    .footer-col:last-child {
        border-bottom: none;
    }

    .footer-col h3 {
        font-size: 0.6rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .footer-col ul li a,
    .footer-col ul li span {
        font-size: 1.65rem;
        padding: 0.25rem 0;
    }

    .footer-identity {
        margin-top: 28px;
        padding-top: 20px;
        gap: 10px;
    }

    .footer-logo-name {
        font-size: 1.1rem;
    }

    .footer-identity-bottom {
        flex-direction: column;
        gap: 6px;
    }
}

.footer-ibm-logo {
  margin-top: 30px;
}

.owl-chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: all 0.2s ease;
}
.owl-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.owl-avatar:hover {
    transform: scale(1.1);
}
.owl-emoji {
    font-size: 40px;
    line-height: 1;
}
@keyframes owlEntrance {
    from {
        right: -100px;
        opacity: 0;
    }
    to {
        right: 20px;
        opacity: 1;
    }
}
.owl-entrance {
    animation: owlEntrance 0.8s ease-out forwards;
}
@keyframes owlLooking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}
.owl-looking {
    animation: owlLooking 0.5s ease-in-out;
}
@keyframes attention-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
.owl-shake {
  animation: attention-shake 0.5s ease;
}
.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: none;
    overflow: hidden;
    display: none;
}
.chat-header {
    background-color: var(--color-gold, #c9a959);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header h3 {
    font-size: 1rem;
    margin: 0;
}
.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.chat-messages {
    height: 250px;
    padding: 15px;
    overflow-y: auto;
}
.message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
}
.message.bot {
    background-color: #333;
    border-top-left-radius: 0;
    float: left;
    clear: both;
    color: var(--color-text-primary, #f0ece2); /* Softer white */
}
.message.user {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-text-primary, #f0ece2); /* Softer white */
    border-top-right-radius: 0;
    float: right;
    clear: both;
}
.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #eee;
}
.chat-input input {
    flex-grow: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-right: 10px;
}
.send-btn {
    background-color: var(--color-gold, #c9a959);
    color: white;
    border: none;
    border-radius: 0;
    padding: 8px 15px;
    cursor: pointer;
}
.suggestion-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
    clear: both;
    width: 100%;
}
.tag {
    background-color: #333;
    border: 1px solid #444;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
    box-shadow: none;
}
.tag:hover {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-bg-primary, #0a0a0a);
    border-color: var(--color-gold, #c9a959);
    transform: translateY(-2px);
}
@media (max-width: 1119px) {
    .header-container {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        position: relative;
    }
    
    .logo {
        flex: 1;
        text-align: left;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .membership-section {
        padding: 50px 0;
    }

    .magic-eyes {
        top: 50%;
        left: 140px;
        transform: translate(-50%, -50%);
    }
}
@keyframes blinkEyes {
    0% { height: 18px; }
    50% { height: 2px; }
    100% { height: 18px; }
}
.magic-eyes {
    position: fixed;
    top: 30px;
    left: 30px;
    display: flex;
    z-index: 9900;
    pointer-events: auto;
    cursor: pointer;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.magic-eyes .eye {
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 50%;
    margin: 0;
    position: relative;
    box-shadow: 0 0 8px rgba(201, 169, 89, 0.3);
    overflow: hidden;
    border: 2px solid rgba(201, 169, 89, 0.4);
}

.magic-eyes .eye::before,
.magic-eyes .eye::after {
    display: none;
}

.magic-eyes .eye .iris {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #ffffff 0%, #cccccc 90%);
    z-index: 1;
}

.magic-eyes .pupil {
    width: 9px;
    height: 9px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.05s ease;
    z-index: 2;
    box-shadow: none;
}

@keyframes eyeBlink {
    0% { transform: scale(1, 1); }
    45% { transform: scale(1, 1); }
    50% { transform: scale(1, 0.1); }
    55% { transform: scale(1, 1); }
    100% { transform: scale(1, 1); }
}

.magic-eyes .eye.blinking {
    animation: eyeBlink 0.2s ease-in-out;
}

@media (max-width: 768px) {
    .magic-eyes {
        display: none;
    }
}


.magic-arts-section {
    background-color: var(--color-bg-primary, #0a0a0a);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}
.magic-arts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    pointer-events: none;
}
.magic-arts-section h2 {
    color: var(--color-gold, #c9a959);
    margin-bottom: 25px;
    text-shadow: none;
}
.magic-arts-section .section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.25rem; /* Increased from 1.2rem */
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
}
.art-forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.art-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg, 8px);
    padding: 30px 25px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeUpIn 0.6s ease forwards;
    opacity: 0;
    position: relative;
}

.art-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg, 8px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.6) 0%, transparent 40%, transparent 60%, rgba(201, 169, 89, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.art-form:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}
.art-form:nth-child(1) { animation-delay: 0.1s; }
.art-form:nth-child(2) { animation-delay: 0.2s; }
.art-form:nth-child(3) { animation-delay: 0.3s; }
.art-form:nth-child(4) { animation-delay: 0.4s; }
.art-form:nth-child(5) { animation-delay: 0.5s; }
.art-form:nth-child(6) { animation-delay: 0.6s; }
.art-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--color-gold, #c9a959);
}
.art-form h3 {
    color: var(--color-gold, #c9a959);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
}
.art-form p {
    color: var(--color-text-secondary, #a09c94); /* Changed from #bbb */
    line-height: 1.6;
    font-size: 1.25rem; /* min 20px */
}
.magic-arts-cta {
    text-align: center;
    margin-top: 20px;
}
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .magic-arts-section {
        padding: 50px 0;
    }
    
    .art-forms-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .art-form {
        padding: 20px 15px;
    }
}
.library-section {
    background-color: var(--color-bg-primary, #0a0a0a);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: url('../image/library.jpg'); 
    background-size: cover;
}
.library-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.library-section .container {
    position: relative;
    z-index: 2;
}
.library-section h2 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
}
.library-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-crimson, #6b0f1a);
}
.library-tagline {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.35rem; /* Increased from 1.3rem */
    color: var(--color-text-primary, #f0ece2); /* Changed from #ccc */
    font-style: italic;
}
.library-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
}
.library-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    max-width: 600px;
    text-align: center;
}
.library-image {
    position: relative;
    width: 300px;
    height: 300px;
}
.book-stack {
    position: relative;
    width: 100%;
    height: 100%;
}
.book {
    position: absolute;
    height: 40px;
    border-radius: 3px;
    box-shadow: none;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}
.book:hover {
    transform: translateY(-10px) rotate(-5deg);
}
.book1 {
    width: 180px;
    bottom: 20px;
    left: 60px;
    background: linear-gradient(to right, var(--color-crimson, #6b0f1a), var(--color-crimson-light, #8a1424));
    z-index: 5;
}
.book2 {
    width: 220px;
    bottom: 65px;
    left: 40px;
    background: linear-gradient(to right, var(--color-gold, #c9a959), var(--color-gold-dark, #a8893d));
    z-index: 4;
}
.book3 {
    width: 200px;
    bottom: 110px;
    left: 50px;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    z-index: 3;
}
.book4 {
    width: 240px;
    bottom: 155px;
    left: 30px;
    background: linear-gradient(to right, #3498db, #2980b9);
    z-index: 2;
}
.book5 {
    width: 190px;
    bottom: 200px;
    left: 55px;
    background: linear-gradient(to right, #9b59b6, #8e44ad);
    z-index: 1;
}
.library-stat {
    text-align: center;
    margin-bottom: 10px;
}
.stat-number {
    display: block;
    font-size: 1.25rem; /* min 20px */
    font-weight: normal;
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
    margin-bottom: 5px;
}
.stat-label {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-gold, #c9a959);
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    line-height: 1.2;
    margin-bottom: 15px;
}
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-gold, #c9a959);
    color: var(--color-gold, #c9a959);
    margin-top: 15px;
}
.btn-outline:hover {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-bg-primary, #0a0a0a);
    transform: translateY(-3px);
    box-shadow: none;
}
@media (max-width: 768px) {
    .library-content {
        flex-direction: column;
    }
    
    .library-image {
        width: 250px;
        height: 250px;
    }
    
    .book {
        transform: scale(0.9) rotate(-5deg);
    }
    
    .library-tagline {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
.probably {
    font-size: 0.6em;
    font-weight: normal;
    font-style: italic;
    opacity: 0.8;
    vertical-align: super;
    letter-spacing: 0.5px;
    display: inline-block;
    transform: rotate(5deg);
    color: var(--color-gold, #c9a959);
}
.experience-magic-section {
    background-color: #0c0c0c;
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: none;
    background-image: url('../image/experience.jpg');
    background-size: cover;
    background-position: center;
}
.experience-magic-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}
.experience-magic-section .container {
    position: relative;
    z-index: 2;
}
.experience-magic-section .section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-gold, #c9a959);
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-style: italic;
}
.magic-experience-content {
    max-width: 900px;
    margin: 0 auto;
}
.magic-experience-text p {
    margin-bottom: 25px;
    font-size: 1.25rem; /* Increased from 1.1rem */
    line-height: 1.7;
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
}
.magic-benefits {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}
.magic-benefits li {
    margin-bottom: 15px;
    font-size: 1.15rem; /* Increased from 1.1rem */
    display: flex;
    align-items: center;
}
.benefit-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-gold, #c9a959);
}
.cta-container {
    text-align: center;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .experience-magic-section {
        padding: 60px 0;
    }
    
    .experience-magic-section .section-intro {
        font-size: 1.3rem;
    }
    
    .magic-benefits li {
        font-size: 1rem;
    }
}
.contact-section {
    background-color: var(--color-bg-primary, #0a0a0a);
    color: #fff;
    padding: 80px 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    border-top: none;
}
.contact-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.25rem; /* min 20px */
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
}
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(25, 25, 25, 0.5);
    border-radius: 10px;
    padding: 30px;
    box-shadow: none;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-row {
    display: flex;
    gap: 20px;
}
.form-group.half {
    width: 50%;
}
.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-gold, #c9a959);
}
.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--color-bg-card, #141414);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px 15px;
    color: #fff;
    font-family: var(--font-body, 'EB Garamond'), serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

/* Add error styling for form inputs */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border: 2px solid #c62828;
    box-shadow: 0 0 5px rgba(198, 40, 40, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold, #c9a959);
    box-shadow: 0 0 0 2px rgba(201, 169, 89, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}
.form-submit {
    margin-top: 10px;
    text-align: center;
}
.form-submit .btn {
    padding: 12px 40px;
    font-size: 1.1rem;
}
.form-submit .btn:hover {
    background-color: var(--color-gold, #c9a959);
    color: var(--color-bg-primary, #0a0a0a);
    transform: translateY(-3px);
    box-shadow: none;
}

/* Form Styling Improvements */
.error-message {
    color: #c62828;
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-group.honeypot {
    display: none;
}

.form-response {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    display: none;
    text-align: center;
}

.form-response.success {
    background-color: rgba(46, 125, 50, 0.2);
    color: #4caf50;
    border: 1px solid rgba(46, 125, 50, 0.3);
}

.form-response.error {
    background-color: rgba(198, 40, 40, 0.2);
    color: #f44336;
    border: 1px solid rgba(198, 40, 40, 0.3);
}

/* Ensure error inputs have consistent styling */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border: 2px solid #c62828;
    box-shadow: 0 0 5px rgba(198, 40, 40, 0.3);
}

/* Add animation to form submit button when submitted */
.btn.submitting {
    opacity: 0.7;
    position: relative;
}

.btn.submitting:after {
    content: '';
    position: absolute;
    border: 2px solid transparent;
    border-top-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    right: 10px;
    top: calc(50% - 8px);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group.half {
        width: 100%;
    }
    
    .contact-section {
        padding: 60px 0;
    }
}
.section-divider {
    height: 60px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
    pointer-events: none;
}
.divider-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,60 400,0 600,30 C800,60 1000,0 1200,30 L1200,60 L0,60 Z' fill='%23171717'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.divider-peaks {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L300,0 L600,60 L900,0 L1200,60 Z' fill='%231a1a1a'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.divider-curve {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C400,80 800,80 1200,0 L1200,60 L0,60 Z' fill='%23111'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.divider-zigzag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 L100,50 L200,10 L300,50 L400,10 L500,50 L600,10 L700,50 L800,10 L900,50 L1000,10 L1100,50 L1200,30 L1200,60 L0,60 Z' fill='%230c0c0c'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}
.magic-arts-section::after, 
.experience-magic-section::after,
.membership-section::after,
.contact-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 89, 0.5), transparent);
    opacity: 0.7;
}
.events-section,
.magic-arts-section, 
.experience-magic-section,
.membership-section,
.contact-section {
    box-shadow: none;
}
.btn,
.content-btn,
.send-btn,
.close-chat,
.nav-btn {
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
}

/* Magic Benefit Cards styling */
.magic-benefit-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed to always show 2 cards per row */
    gap: 25px;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.magic-benefit-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: var(--radius-lg, 8px);
    padding: 20px;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease;
    border-left: none;
    border: 1px solid var(--color-border, #2a2a2a);
    animation: fadeUpIn 0.6s ease forwards;
    opacity: 0;
    position: relative;
}

.magic-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg, 8px);
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 169, 89, 0.6) 0%, transparent 40%, transparent 60%, rgba(201, 169, 89, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.magic-benefit-card:nth-child(1) { animation-delay: 0.1s; }
.magic-benefit-card:nth-child(2) { animation-delay: 0.2s; }
.magic-benefit-card:nth-child(3) { animation-delay: 0.3s; }
.magic-benefit-card:nth-child(4) { animation-delay: 0.4s; }

.magic-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.magic-benefit-card .benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    color: var(--color-gold, #c9a959);
}

.magic-benefit-card h3 {
    color: var(--color-gold, #c9a959);
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
}

.magic-benefit-card p {
    color: var(--color-text-primary, #f0ece2); /* Changed from #ddd */
    line-height: 1.4;
    font-size: 1rem; /* Increased from 0.95rem */
}

/* Responsive adjustments for magic benefit cards */
@media (max-width: 768px) {
    .magic-benefit-cards {
        grid-template-columns: 1fr 1fr; /* Keep 2 cards per row on tablets */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .magic-benefit-cards {
        grid-template-columns: 1fr; /* Switch to 1 card per row on small mobile */
    }
}

.tell-secret {
  cursor: pointer;
}

/* Membership Types Section Styles */
.membership-types-section {
    background-color: var(--color-bg-elevated, #171717);
    padding: 80px 0;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.membership-types-section .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: var(--color-text-primary, #f0ece2);
}

.membership-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.membership-type-card {
    background-color: var(--color-bg-card, #141414);
    border-radius: var(--radius-lg, 8px);
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-type-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.membership-type-header {
    background-color: var(--color-bg-surface, #111111);
    padding: 15px 20px;
    border-bottom: 2px solid #8b0000;
}

.membership-type-header h3 {
    color: var(--color-gold, #c9a959);
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
}

.membership-type-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.membership-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.membership-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--color-text-secondary, #a09c94);
}

.membership-features li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-gold, #c9a959);
}

@media (max-width: 768px) {
    .membership-types-grid {
        grid-template-columns: 1fr;
    }
}


.award-navigation {
    background-color: var(--color-bg-surface, #111111);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
}

.award-navigation ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    padding: 0;
}

.award-navigation a {
    color: var(--color-gold, #c9a959);
    padding: 8px 15px;
    border-radius: 0;
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.award-navigation a:hover {
    background-color: var(--color-crimson, #6b0f1a);
    color: #fff;
    transform: translateY(-2px);
}

.award-section {
    padding: 60px 0;
    border-bottom: 1px solid #333;
}

.award-section:last-child {
    border-bottom: none;
}

.award-year {
    color: var(--color-gold, #c9a959);
    font-weight: 400;
    margin-right: 10px;
}

/* Award Card Styles */
.award-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.award-card {
    position: relative;
    width: 280px;
    height: 140px; /* Keeping the reduced height for better mobile viewing */
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 20px;
}

.award-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 1.5s;
    transform-style: preserve-3d;
}

.award-card:hover .award-card-inner {
    transform: rotateY(720deg);
}

/* Sparkle effects when hovered */
.award-card:hover .sparkle {
    opacity: 1;
}

.award-front, .award-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.award-front {
    background: linear-gradient(145deg, #e6c878, #d4a520);
    color: #402e0b;
    padding: 15px; /* Reduced padding */
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-body, 'EB Garamond'), serif;
    font-weight: bold;
    font-size: 1.25rem;
}

.award-back {
    background: linear-gradient(145deg, #333, #222);
    color: #e6c878;
    transform: rotateY(180deg);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.nameplate {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 6px solid transparent; /* Reduced from 8px */
    border-image: linear-gradient(to bottom right, #e9d9a2, #8f6b29) 1;
    box-sizing: border-box;
    /* Add wood-like texture */
    background-image: 
        linear-gradient(90deg, rgba(139, 69, 19, 0.05) 50%, transparent 50%),
        linear-gradient(90deg, rgba(160, 82, 45, 0.1) 50%, transparent 50%),
        linear-gradient(0deg, rgba(139, 69, 19, 0.05) 50%, transparent 50%),
        linear-gradient(0deg, rgba(160, 82, 45, 0.1) 50%, transparent 50%);
    background-size: 10px 10px;
    background-position: 0 0, 5px 0, 0 5px, 0 0;
}

.award-name {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0 3px 0;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.award-years, .award-title {
    font-size: 20px;
    margin: 0 0 3px 0;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.corner {
    position: absolute;
    width: 12px; /* Reduced from 20px to make pins smaller */
    height: 12px; /* Reduced from 20px to make pins smaller */
    background-color: #402e0b;
    border-radius: 50%;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.5);
}

.top-left {
    top: -5px;
    left: -5px;
}

.top-right {
    top: -5px;
    right: -5px;
}

.bottom-left {
    bottom: -5px;
    left: -5px;
}

.bottom-right {
    bottom: -5px;
    right: -5px;
}

/* Modern embellishments */
.shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    border-radius: 12px;
}

/* Add realistic engraved effect to text */
.award-name, .award-years, .award-title {
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.1),
        1px -1px 0 rgba(0,0,0,0.1),
        -1px 1px 0 rgba(0,0,0,0.1),
        1px 1px 0 rgba(0,0,0,0.1),
        0 1px 2px rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}

/* Card Suits Styles */
.suit {
    font-size: 80px;
    margin: 0;
}

.hearts, .diamonds {
    color: var(--color-gold, #c9a959);
}

.spades, .clubs {
    color: var(--color-bg-primary, #0a0a0a);
}

/* Sparkle Effects */
.sparkle-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.sparkle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 1s infinite alternate;
}

@keyframes twinkle {
    0% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sparkle:nth-child(1) {
    top: -20px;
    left: 10%;
    animation: float1 2s ease-in-out infinite;
}

.sparkle:nth-child(2) {
    top: 20%;
    left: -15px;
    animation: float2 2.5s ease-in-out infinite;
}

.sparkle:nth-child(3) {
    top: 20%;
    right: -15px;
    animation: float3 1.8s ease-in-out infinite;
}

.sparkle:nth-child(4) {
    bottom: -20px;
    left: 30%;
    animation: float4 2.2s ease-in-out infinite;
}

.sparkle:nth-child(5) {
    bottom: 30%;
    right: -20px;
    animation: float5 2.7s ease-in-out infinite;
}

.sparkle:nth-child(6) {
    top: -15px;
    right: 20%;
    animation: float6 1.9s ease-in-out infinite;
}

.sparkle:nth-child(7) {
    bottom: -15px;
    right: 25%;
    animation: float7 2.3s ease-in-out infinite;
}

.sparkle:nth-child(8) {
    top: 40%;
    left: -20px;
    animation: float8 2.1s ease-in-out infinite;
}

@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 10px) rotate(90deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 15px) rotate(120deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, 10px) rotate(60deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -15px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float5 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, -5px) rotate(90deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float6 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5px, 20px) rotate(45deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float7 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -10px) rotate(135deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float8 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -5px) rotate(225deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@media (max-width: 768px) {
    .award-container {
        gap: 15px;
    }
    
    .award-card {
        width: 260px;
        height: 130px; /* Further reduce height on mobile */
    }
    
    .award-name {
        font-size: 20px;
    }
    
    .award-years, .award-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .award-card {
        width: 100%;
        max-width: 240px;
        height: 120px; /* Even smaller on very small screens */
    }
}

/* Random Photo Styles */
.random-photo-container {
    max-width: 400px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    background-color: var(--color-bg-card, #141414);
    border-radius: var(--radius-lg, 8px);
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.random-photo-container:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.random-photo-image {
    width: 100%;
    overflow: hidden;
}

.random-photo-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.random-photo-container:hover .random-photo-image img {
    transform: scale(1.03);
}

.random-photo-caption {
    padding: 15px;
    background-color: var(--color-bg-surface, #111111);
    border-top: 2px solid #8b0000;
}

.random-photo-caption p {
    margin: 0;
    color: var(--color-text-primary, #f0ece2);
    font-size: 1.25rem;
    text-align: center;
    font-style: italic;
}

@media (max-width: 480px) {
    .random-photo-container {
        width: calc(100% - 20px);
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .random-photo-caption p {
        font-size: 0.95rem;
    }
}

/* Links Directory Styles */
.links-card {
    padding: 2rem;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: .5rem;
    border-bottom: 1px solid #474747;
    padding-bottom: .5rem;
}

.links-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.links-list a {
    display: block;
    color: var(--color-text-primary, #f0ece2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.links-list a:hover {
    transform: translateX(5px);
}

.link-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-gold, #c9a959);
    margin-bottom: 0.3rem;
}

.link-description {
    display: block;
    font-size: 0.95rem;
    color: #eaeaea;
}

/* Alpha Group Styling */
.alpha-group {
    margin-bottom: 2rem;
}

.alpha-header {
    font-size: 1.3rem;
    color: #f8d026;
    border-bottom: 2px solid #2b76c2;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Links Filter Navigation Styling */
#link-filter-nav {
    background-color: var(--color-bg-surface, #111111);
    padding: 15px 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23333' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

#link-filter {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

#link-filter li {
    margin-bottom: 0.5rem;
}

#link-filter a {
    color: var(--color-gold, #c9a959);
    padding: 8px 15px;
    border-radius: 0;
    font-family: var(--font-heading, 'Cormorant Garamond'), serif;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

#link-filter a:hover, 
#link-filter a.active {
    background-color: var(--color-crimson, #6b0f1a);
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #link-filter {
        flex-direction: column;
        align-items: center;
    }
    
    /* Make link-filter-nav non-sticky on mobile */
    #link-filter-nav {
        position: static;
        top: auto;
    }
}

/* Loading Animation for Links */
.loading {
    text-align: center;
    padding: 2rem;
}

.loading:after {
    content: " ";
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--color-gold, #c9a959);
    border-color: var(--color-gold, #c9a959) transparent var(--color-gold, #c9a959) transparent;
    animation: loading 1.2s linear infinite;
}

@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 3rem 0;
    color: var(--color-text-primary, #f0ece2);
}

/* Back to top button */
.back-to-top {
    display: inline-block;
    margin-left: 15px;
}

.back-to-top a {
    color:var(--color-text-muted, #6b6560);
    text-decoration: none;
}

.back-to-top i {
    margin-right: 10px;
}

/* Fixed back to top button for long pages */
.back-to-top-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(201, 169, 89, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: none;
}

.back-to-top-button.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-button:hover {
    background: rgba(201, 169, 89, 0.9);
    transform: translateY(-3px);
}

/* Levitation animation for back to top button */
@keyframes levitate {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0); }
}

.back-to-top a.levitating {
    animation: levitate 1s ease-in-out;
}

/* Improve button appearance on small screens */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        margin-left: 0;
        margin-top: 15px;
    }
}

/* Levitation animation for back to top button */
@keyframes levitate {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.05); }
    100% { transform: translateY(0); }
}

.back-to-top a.levitating {
    animation: levitate 1s ease-in-out;
}

/* Improve button appearance on small screens */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        margin-left: 0;
        margin-top: 15px;
    }
}
/* Hero heading — scale down on smaller screens */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 5.5rem; }
}
@media (max-width: 900px) {
    .hero-content h1 { font-size: 4rem; }
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 2.8rem; }
}
