/* ===== Font Face Declarations ===== */
@font-face {
    font-family: 'Mamboe';
    src: url('fonts/Mamboe-Regular.otf') format('opentype'),
         url('fonts/Mamboe-Regular.ttf') format('truetype'),
         url('fonts/Mamboe.otf') format('opentype'),
         url('fonts/Mamboe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables ===== */
:root {
    /* Core palette */
    --bg: #FDF9ED;
    --secondary-bg: #F9E8B3;
    --text: #5C4033;
    --action: #D97706;
    --highlight: #FBBF24;

    /* Semantic aliases */
    --cloud-honey: var(--bg);
    --panel: var(--secondary-bg);
    --sage-meadow: var(--secondary-bg);
    --barkwood: var(--text);
    --soft-beeswax: var(--action);

    /* Legacy tokens → new palette */
    --honey-cream: var(--secondary-bg);
    --honey-gold: var(--highlight);
    --honey-amber: var(--action);
    --honey-dark: var(--text);
    --mossy-grove: var(--secondary-bg);
    --wildflower-petal: var(--highlight);
    --pollen-dust: var(--secondary-bg);
    --lavender-nectar: var(--secondary-bg);
    --twilight-hive: var(--text);
    --fall-orange: var(--action);
    --fall-red: var(--action);
    --fall-brown: var(--text);
    --bee-yellow: var(--highlight);
    --bee-black: var(--text);
    --flower-pink: var(--highlight);
    --flower-purple: var(--secondary-bg);
    --cream: var(--secondary-bg);
    --warm-white: var(--bg);
    --text-dark: var(--text);
    --text-light: var(--bg);

    /* Page atmosphere (only palette-derived tints) */
    --bg-honey-base: var(--bg);
    --bg-honey-glow: rgba(251, 191, 36, 0.2);
    --bg-honey-mist: rgba(249, 232, 179, 0.55);
    --bg-honey-corner: rgba(217, 119, 6, 0.07);

    /* Honeycomb mesh: contrast with section wash (SVG = flat-top hex outline) */
    --bg-honeycomb-on-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath fill='none' stroke='%235C4033' stroke-width='0.55' stroke-opacity='0.1' d='M14 1.35 25.65 8.2v14.6L14 29.65 2.35 22.8V8.2z'/%3E%3C/svg%3E");
    --bg-honeycomb-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cpath fill='none' stroke='%23FFFBEB' stroke-width='0.55' stroke-opacity='0.22' d='M14 1.35 25.65 8.2v14.6L14 29.65 2.35 22.8V8.2z'/%3E%3C/svg%3E");

    /* Gradients & surfaces */
    --gradient-display: linear-gradient(135deg, var(--text), var(--action), var(--highlight));
    --gradient-cta: linear-gradient(135deg, var(--action), var(--highlight));
    --gradient-lavender: linear-gradient(135deg, var(--action), var(--highlight));
    --gradient-warm: linear-gradient(135deg, var(--secondary-bg), var(--highlight));
    --surface-card: var(--secondary-bg);
    --surface-card-soft: rgba(249, 232, 179, 0.88);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-honey-base);
    background-image:
        radial-gradient(ellipse 130% 90% at 50% -15%, var(--bg-honey-glow) 0%, transparent 58%),
        radial-gradient(ellipse 85% 70% at 100% 85%, var(--bg-honey-corner) 0%, transparent 52%),
        radial-gradient(ellipse 75% 65% at 0% 55%, var(--bg-honey-mist) 0%, transparent 48%),
        var(--bg-honeycomb-on-light),
        var(--bg-honeycomb-on-light);
    background-size:
        auto,
        auto,
        auto,
        36px 63px,
        36px 63px;
    background-position:
        center,
        center,
        center,
        0 0,
        18px 31.5px;
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat,
        repeat,
        repeat;
    background-attachment: fixed, fixed, fixed, fixed, fixed;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Action color for content links (nav/social/buttons use their own rules) */
section a:not([class]),
.letter-content a,
.contact-text a,
.footer a {
    color: var(--action);
}

section a:not([class]):hover,
.letter-content a:hover,
.contact-text a:hover,
.footer a:hover {
    color: var(--text);
}

/* ===== Animated Background ===== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.honeycomb {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.32) 0%, rgba(249, 232, 179, 0.14) 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: float 20s infinite ease-in-out;
    opacity: 0.32;
}

.honeycomb:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    transform: scale(0.8);
}

.honeycomb:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    transform: scale(1.2);
}

.honeycomb:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    transform: scale(0.9);
}

.honeycomb:nth-child(4) {
    top: 50%;
    right: 30%;
    animation-delay: 6s;
    transform: scale(1.1);
}

.honeycomb:nth-child(5) {
    bottom: 40%;
    right: 10%;
    animation-delay: 8s;
    transform: scale(0.7);
}

.honeycomb:nth-child(6) {
    top: 70%;
    left: 50%;
    animation-delay: 10s;
    transform: scale(1.0);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Falling Leaves */
.falling-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.45), rgba(249, 232, 179, 0.35));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.38;
    animation: fall linear infinite;
}

.leaf:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.leaf:nth-child(2) {
    left: 30%;
    animation-duration: 10s;
    animation-delay: 2s;
    transform: rotate(-30deg);
}

.leaf:nth-child(3) {
    left: 50%;
    animation-duration: 12s;
    animation-delay: 4s;
    transform: rotate(60deg);
}

.leaf:nth-child(4) {
    left: 70%;
    animation-duration: 9s;
    animation-delay: 1s;
    transform: rotate(-45deg);
}

.leaf:nth-child(5) {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 3s;
    transform: rotate(30deg);
}

@keyframes fall {
    0% {
        top: -50px;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 100vh;
        transform: translateX(100px) rotate(360deg);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 249, 237, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(92, 64, 51, 0.08);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.bee-icon {
    font-size: 2rem;
    animation: buzz 2s ease-in-out infinite;
}

@keyframes buzz {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-3px) rotate(-5deg); }
    75% { transform: translateX(3px) rotate(5deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--honey-amber);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--honey-amber);
}

.nav-menu a:hover::after {
    width: 100%;
}

.live-nav-link {
    color: var(--action) !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-nav-link:hover {
    color: var(--twilight-hive) !important;
}

.live-indicator-nav {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--highlight);
    border-radius: 50%;
    animation: pulse-live 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.45);
}

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(217, 119, 6, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 2rem;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 200px;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 15px rgba(92, 64, 51, 0.15));
}

.honey-drip {
    font-size: 4rem;
    animation: drip 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes drip {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(10px) scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.title-line {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-dark);
    opacity: 0.8;
}

.title-main {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 4.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(92, 64, 51, 0.12));
    animation: shimmer 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.12);
}

.btn-primary {
    background: var(--gradient-cta);
    color: var(--text);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 232, 179, 0.35);
}

.btn-secondary {
    background: rgba(253, 249, 237, 0.92);
    color: var(--twilight-hive);
    border: 2px solid var(--soft-beeswax);
}

.btn-secondary:hover {
    background: var(--soft-beeswax);
    color: var(--twilight-hive);
    transform: translateY(-3px);
}

/* Floating Bees */
.floating-bees {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.bee {
    position: absolute;
    font-size: 2rem;
    animation: fly 15s infinite ease-in-out;
    opacity: 0.7;
}

.bee-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bee-2 {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.bee-3 {
    bottom: 30%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes fly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -50px) rotate(10deg);
    }
    50% {
        transform: translate(-30px, -100px) rotate(-10deg);
    }
    75% {
        transform: translate(80px, -50px) rotate(5deg);
    }
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Section Styles ===== */
section {
    position: relative;
    padding: 5rem 0;
    z-index: 1;
}

/* Home: clearer bands between hero / about / leader / contact */
#about,
#team,
#contact {
    border-top: 2px solid rgba(217, 119, 6, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 253, 248, 0.75),
        0 -10px 28px rgba(92, 64, 51, 0.045);
}

/* Home: alternate after hero — A = same as hero (body only), B = Meet Our Leader band */
#about,
#contact {
    background-color: transparent;
    background-image:
        var(--bg-honeycomb-on-dark),
        var(--bg-honeycomb-on-dark),
        linear-gradient(
            185deg,
            rgba(249, 232, 179, 0.36) 0%,
            rgba(251, 191, 36, 0.28) 55%,
            rgba(217, 119, 6, 0.12) 100%
        );
    background-size: 36px 63px, 36px 63px, auto;
    background-position: 0 0, 18px 31.5px, center;
    background-repeat: repeat, repeat, no-repeat;
    background-attachment: fixed, fixed, fixed;
}

#team {
    background: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    filter: drop-shadow(0 2px 4px rgba(92, 64, 51, 0.12));
}

.title-decoration {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.flower {
    font-size: 2rem;
    animation: bloom 3s ease-in-out infinite;
}

.flower:nth-child(1) { animation-delay: 0s; }
.flower:nth-child(2) { animation-delay: 1s; }
.flower:nth-child(3) { animation-delay: 2s; }

@keyframes bloom {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(10deg); }
}

.honey-drop, .bee-icon-large {
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.title-decoration-logo {
    width: 60px;
    height: auto;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== About Section ===== */
/* Background: home uses #about (alternating band B); layout lives in child rules below. */

.section-subtitle-main {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    font-weight: 400;
}

.section-tagline {
    font-size: 1.5rem;
    color: var(--honey-amber);
    font-weight: 600;
    margin-top: 1rem;
    font-style: italic;
}

.welcome-letter {
    max-width: 900px;
    margin: 0 auto;
    background: var(--surface-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
}

.mission-statement {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(249, 232, 179, 0.4);
    border-radius: 15px;
    border: 2px solid var(--honey-amber);
    text-align: center;
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--honey-dark);
    font-weight: 500;
    font-style: italic;
    margin: 0 0 1.5rem 0;
}

.mission-closing {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--honey-dark);
    font-weight: 600;
    margin: 0;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.letter-content {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.1rem;
}

.letter-content p {
    margin-bottom: 1.5rem;
}

.letter-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.letter-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.letter-list li:last-child {
    border-bottom: none;
}

.letter-list em {
    font-style: italic;
    color: var(--honey-amber);
    font-weight: 600;
}

.letter-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(249, 232, 179, 0.35);
    border-left: 4px solid var(--honey-amber);
    border-radius: 10px;
}

.letter-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--honey-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.letter-section ul {
    list-style: none;
    padding-left: 0;
}

.letter-section ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.letter-section ul li::before {
    content: '✨';
    position: absolute;
    left: 0;
}

.letter-closing {
    margin: 2.5rem 0;
    text-align: center;
}

.letter-closing p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--honey-dark);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.letter-signature {
    margin-top: 3rem;
    text-align: right;
    padding-top: 2rem;
    border-top: 2px solid var(--honey-amber);
}

.letter-signature p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.signature-name {
    font-weight: 600;
    color: var(--honey-dark);
    margin-top: 1rem !important;
}

.signature-leader {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--honey-amber);
    font-weight: 700;
    font-style: italic;
    margin-top: 0.5rem !important;
}

/* ===== Team Section ===== */
/* Background: home uses #team (alternating band A = body / hero). */

/* Founder flip card: front tagline → back (BusyBeeBry) after 2s */
.leader-flip-scene {
    perspective: 1400px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0.5rem;
    overflow: visible;
}

.leader-flip-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
    min-height: 460px;
}

.leader-flip-card.is-flipped {
    transform: rotateY(180deg);
}

.leader-flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.leader-flip-face--front {
    transform: rotateY(0deg);
}

.leader-flip-face--back {
    transform: rotateY(180deg);
    padding: 0 0.25rem;
}

.leader-flip-front-card {
    padding: 1.75rem 2.25rem;
    max-width: 22rem;
    text-align: center;
    background: var(--surface-card-soft);
    border-radius: 20px;
    border: 2px solid rgba(217, 119, 6, 0.35);
    box-shadow: 0 8px 28px rgba(92, 64, 51, 0.12);
}

.leader-flip-front-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text-dark);
    margin: 0;
}

.leader-flip-face .leader-card {
    margin: 0;
    width: 100%;
    max-width: none;
}

@media (prefers-reduced-motion: reduce) {
    .leader-flip-card {
        transition: none;
    }
}

.leader-card {
    background: var(--surface-card);
    border-radius: 30px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(92, 64, 51, 0.22);
    max-width: 800px;
    margin: 0 auto;
    border: 3px solid var(--honey-amber);
}

.leader-avatar {
    margin-bottom: 2rem;
}

.avatar-frame {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    border: 5px solid var(--warm-white);
    animation: pulse 3s ease-in-out infinite;
}

.avatar-icon {
    font-size: 4rem;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.leader-name {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 2.5rem;
    color: var(--honey-dark);
    margin-bottom: 0.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.leader-role {
    font-size: 1.3rem;
    color: var(--honey-amber);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.leader-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
}

.leader-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--honey-amber);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* ===== Contact Section ===== */
/* Background: home uses #contact (alternating band B). */

.contact-content {
    text-align: center;
}

.contact-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 1.5rem 2rem;
    background: var(--surface-card-soft);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.18);
    border: 2px solid transparent;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    border-color: var(--honey-amber);
    background: var(--gradient-warm);
}

.social-link:hover .social-text {
    color: var(--twilight-hive);
}

.social-icon {
    font-size: 2.5rem;
}

.social-icon-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.social-icon-svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: currentColor;
}

.social-text {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

/* ===== Footer ===== */
.footer {
    background: var(--text);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--highlight);
    letter-spacing: 1px;
}

.footer-text {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 1.1rem;
}

.footer-copyright {
    color: var(--text-light);
    opacity: 0.6;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* ===== Team Page Styles ===== */
.team-page {
    position: relative;
    padding: 120px 0 5rem;
    min-height: 100vh;
    z-index: 1;
}

.meet-team-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
}

.meet-team-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.meet-team-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
}

.team-member-section {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--surface-card);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(92, 64, 51, 0.22);
    border: 3px solid var(--honey-amber);
    margin-bottom: 3rem;
}

.nameplate-banner {
    width: 100%;
    margin-bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.22);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nameplate-banner.clickable-nameplate {
    cursor: pointer;
}

.nameplate-banner.clickable-nameplate:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.4);
}

.nameplate-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.nameplate-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(253, 249, 237, 0.94);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.18);
    transition: all 0.3s ease;
}

.nameplate-banner.clickable-nameplate:hover .nameplate-overlay {
    background: rgba(251, 191, 36, 0.92);
    transform: scale(1.1);
}

.expand-icon {
    font-size: 1.5rem;
    color: var(--honey-dark);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.member-content-collapsed {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0;
}

.member-content-expanded {
    max-height: 5000px;
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
    padding: 2rem 0;
}

.member-profile {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.member-avatar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.member-avatar-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
    border: 5px solid var(--warm-white);
    padding: 5px;
    animation: pulse 3s ease-in-out infinite;
}

.member-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.member-intro {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--honey-amber);
}

.member-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--honey-dark);
    margin-bottom: 0.5rem;
}

.member-tagline {
    font-size: 1.5rem;
    color: var(--honey-amber);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.9;
}

.member-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.info-card {
    background: rgba(251, 191, 36, 0.4);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--honey-amber);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.32);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--honey-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-content {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

.member-goals,
.member-hopes,
.member-look-forward {
    background: rgba(249, 232, 179, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--honey-amber);
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--honey-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.goals-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.goals-list li:last-child {
    border-bottom: none;
}

.goals-content {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0;
}

.member-about-me {
    background: rgba(249, 232, 179, 0.4);
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--honey-amber);
    margin: 1rem 0;
}

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

.about-me-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    border-bottom: 1px solid rgba(251, 191, 36, 0.25);
}

.about-me-list li:last-child {
    border-bottom: none;
}

.hopes-content,
.look-forward-content {
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.8;
    padding: 1rem 0;
}

.member-signature {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(249, 232, 179, 0.35), rgba(251, 191, 36, 0.35));
    border-radius: 20px;
    margin-top: 1rem;
}

.signature-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--honey-dark);
    font-family: 'Playfair Display', serif;
}

.member-twitch-link {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--honey-amber);
    text-align: center;
}

.twitch-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-lavender);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 232, 179, 0.28);
}

.twitch-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, var(--highlight), var(--action));
}

.twitch-icon {
    font-size: 1.5rem;
}

.team-members-placeholder {
    text-align: center;
    padding: 3rem;
    background: var(--surface-card-soft);
    border-radius: 20px;
    margin-top: 2rem;
}

.placeholder-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    opacity: 0.7;
}

/* ===== Live Now Page Styles ===== */
.live-page {
    position: relative;
    padding: 120px 0 5rem;
    min-height: 100vh;
    z-index: 1;
}

.live-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
}

.live-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.live-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
}

.live-streams-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.loading-message {
    text-align: center;
    padding: 3rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
}

.loading-message .honey-drip {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: drip 3s ease-in-out infinite;
}

.loading-message p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.stream-card {
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.32);
}

.live-announcement {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 4px rgba(92, 64, 51, 0.12));
}

.stream-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(249, 232, 179, 0.22));
    border-bottom: 2px solid var(--honey-amber);
}

.stream-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.live-indicator {
    background: var(--highlight);
    color: var(--text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    animation: pulse 2s ease-in-out infinite;
}

.viewer-count {
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
}

.streamer-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--honey-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stream-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stream-game {
    font-size: 1rem;
    color: var(--honey-amber);
    font-weight: 500;
}

.twitch-embed-container {
    width: 100%;
    min-height: 500px;
    background: var(--panel);
}

.stream-footer {
    padding: 1.5rem;
    text-align: center;
    background: rgba(249, 232, 179, 0.4);
}

.watch-on-twitch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-lavender);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 232, 179, 0.28);
}

.watch-on-twitch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, var(--highlight), var(--action));
}

.no-live-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
    margin-top: 2rem;
}

.no-live-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.no-live-content .bee-icon-large {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.no-live-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--honey-dark);
    margin-bottom: 1rem;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(92, 64, 51, 0.12));
}

.no-live-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-message {
    text-align: center;
    padding: 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    border: 3px solid var(--action);
}

.error-message p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.error-detail {
    color: var(--action);
    font-size: 0.9rem;
}

/* ===== Offline Links Styles ===== */
#offline-links-container {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
}

.offline-links {
    text-align: center;
}

.offline-links h3 {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 4px rgba(92, 64, 51, 0.12));
}

.offline-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.offline-links li {
    margin: 0;
    padding: 0;
}

.offline-member-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.offline-links a {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid var(--honey-amber);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.22);
    position: relative;
}

.offline-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.offline-links a:hover::before {
    background: rgba(251, 191, 36, 0.35);
}

.offline-links a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.45);
    border-color: var(--honey-gold);
}

.offline-member-name {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    max-width: 200px;
    word-wrap: break-word;
    line-height: 1.3;
}

/* ===== Schedule Styles ===== */
.schedule-container {
    width: 100%;
    padding: 2rem 0;
}

.schedule-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    text-align: center;
    color: var(--honey-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.schedule-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.schedule-card {
    background: var(--surface-card);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(92, 64, 51, 0.14);
    border: 2px solid var(--honey-amber);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.32);
}

.schedule-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(251, 191, 36, 0.25);
}

.schedule-streamer {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--honey-dark);
    margin: 0;
}

.schedule-recurring {
    font-size: 0.85rem;
    color: var(--honey-amber);
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 20px;
}

.schedule-card-body {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.schedule-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.schedule-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-date,
.schedule-time,
.schedule-game {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.schedule-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.schedule-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 2px solid rgba(251, 191, 36, 0.15);
}

.schedule-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--gradient-lavender);
    color: var(--text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 232, 179, 0.28);
    width: 100%;
    justify-content: center;
}

.schedule-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, var(--highlight), var(--action));
}

/* ===== Contact Page Styles ===== */
.contact-page {
    position: relative;
    padding: 120px 0 5rem;
    min-height: 100vh;
    z-index: 1;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
}

.contact-page-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.contact-page-subtitle {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-content-page {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.18);
    border: 3px solid var(--honey-amber);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(251, 191, 36, 0.32);
}

.contact-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

.discord-logo-img {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.x-logo {
    width: 80px;
    height: 80px;
    color: var(--twilight-hive);
}

.contact-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--honey-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-card-description {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.12);
}

.contact-link-icon {
    font-size: 1.5rem;
}

.contact-link-icon-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-link-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.discord-btn {
    background: var(--gradient-cta);
    color: var(--text);
}

.discord-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
    background: linear-gradient(135deg, var(--highlight), var(--action));
}

.x-btn {
    background: var(--text);
    color: var(--bg);
}

.x-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 64, 51, 0.35);
    background: var(--panel);
    color: var(--text);
}

.contact-info {
    text-align: center;
    padding: 2rem;
    background: rgba(249, 232, 179, 0.45);
    border-radius: 20px;
    border: 2px solid var(--honey-amber);
}

.contact-info-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .logo-image {
        height: 45px;
    }

    .title-main {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .welcome-letter {
        padding: 2rem 1.5rem;
    }

    .section-subtitle-main {
        font-size: 1.5rem;
    }

    .section-tagline {
        font-size: 1.2rem;
    }

    .letter-content {
        font-size: 1rem;
    }

    .leader-stats {
        gap: 2rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: 100px;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .leader-card {
        padding: 2rem 1.5rem;
    }

    .leader-flip-card {
        min-height: 380px;
    }

    .leader-flip-front-text {
        font-size: 1.15rem;
    }

    .leader-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Team Page Responsive */
    .team-member-section {
        padding: 2rem 1.5rem;
    }

    .meet-team-header {
        padding: 1.5rem;
    }

    .meet-team-title {
        font-size: 2.5rem;
    }

    .meet-team-subtitle {
        font-size: 1.1rem;
    }

    .member-greeting {
        font-size: 2rem;
    }

    .member-info-grid {
        grid-template-columns: 1fr;
    }

    .nameplate-image {
        min-height: 200px;
        object-fit: cover;
    }

    /* Live Page Responsive */
    .live-streams-container {
        grid-template-columns: 1fr;
    }

    .live-title {
        font-size: 2.5rem;
    }

    .live-announcement {
        font-size: 2rem;
        padding: 1rem;
    }

    .offline-links h3 {
        font-size: 2rem;
    }

    .offline-links a {
        width: 100px;
        height: 100px;
        font-size: 0.85rem;
    }

    .twitch-embed-container {
        min-height: 300px;
    }

    .nameplate-overlay {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .expand-icon {
        font-size: 1.2rem;
    }

    /* Contact Page Responsive */
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-page-title {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .offline-links a {
        width: 90px;
        height: 90px;
        font-size: 0.8rem;
    }

    .live-announcement {
        font-size: 1.75rem;
    }

    /* Schedule Responsive */
    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .schedule-title {
        font-size: 2rem;
    }

    .schedule-card {
        padding: 1.25rem;
    }
}

/* ===== Events page (team schedule + Discord login) ===== */
.calendar-page {
    position: relative;
    padding: 120px 0 5rem;
    min-height: 100vh;
    z-index: 1;
}

.calendar-setup-banner,
.calendar-denied-banner,
.calendar-key-banner {
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--action);
    background: rgba(249, 232, 179, 0.55);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.calendar-key-banner {
    border-color: #b45309;
    background: rgba(251, 191, 36, 0.2);
}

.calendar-denied-banner {
    border-color: var(--action);
    background: rgba(217, 119, 6, 0.12);
}

.calendar-auth-panel {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--surface-card);
    border-radius: 20px;
    border: 2px solid var(--honey-amber);
    box-shadow: 0 8px 30px rgba(92, 64, 51, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.calendar-auth-panel--page-bottom {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

#calendar-events-wrapper + #calendar-denied-banner {
    margin-top: 2rem;
}

#calendar-events-wrapper ~ #calendar-editor-panel {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.calendar-auth-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.calendar-auth-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--action);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.calendar-auth-status {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.calendar-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    background: #5865F2;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.45);
}

.btn-logout {
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 2px solid var(--text);
    background: transparent;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-logout:hover {
    background: var(--text);
    color: var(--bg);
}

.calendar-editor-panel {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--surface-card-soft);
    border-radius: 20px;
    border: 2px solid var(--honey-amber);
    box-shadow: 0 8px 28px rgba(92, 64, 51, 0.1);
}

.calendar-editor-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.calendar-viewer-tz-note,
.calendar-tz-hint {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-dark);
    opacity: 0.88;
}

.calendar-viewer-tz-note {
    text-align: center;
    margin: 0 auto 1rem;
    padding: 0.65rem 1rem;
    max-width: 900px;
    background: rgba(253, 249, 237, 0.65);
    border-radius: 12px;
    border: 1px solid rgba(217, 119, 6, 0.22);
}

.calendar-editor-panel .calendar-tz-hint {
    margin: -0.5rem 0 1.25rem;
    max-width: none;
}

.calendar-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.calendar-form-grid .full-width {
    grid-column: 1 / -1;
}

.calendar-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-form-grid input,
.calendar-form-grid textarea {
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 2px solid rgba(217, 119, 6, 0.35);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg);
    color: var(--text-dark);
}

.calendar-form-grid textarea {
    min-height: 100px;
    resize: vertical;
}

.calendar-form-checkbox-label {
    flex-direction: row;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
}

.calendar-form-checkbox-label input[type='checkbox'] {
    width: auto;
    margin: 0;
    accent-color: var(--honey-amber, #d97706);
    cursor: pointer;
}

.calendar-event-recurring {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
    border-radius: 8px;
    background: rgba(217, 119, 6, 0.18);
    color: var(--text-dark);
}

.calendar-form-actions {
    margin-top: 1.25rem;
}

.btn-calendar-submit {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    background: var(--gradient-cta);
    color: var(--text);
}

.btn-calendar-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.35);
}

.calendar-events-section {
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.calendar-section-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.calendar-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calendar-event-card {
    background: var(--surface-card);
    border-radius: 16px;
    padding: 1.35rem 1.5rem;
    border: 2px solid rgba(217, 119, 6, 0.25);
    box-shadow: 0 4px 16px rgba(92, 64, 51, 0.08);
}

.calendar-event-title {
    font-family: 'Mamboe', 'Righteous', cursive, sans-serif;
    font-size: clamp(1.65rem, 3.8vw, 2.35rem);
    font-weight: normal;
    line-height: 1.15;
    margin-bottom: 0.35rem;
    letter-spacing: 1px;
    background: var(--gradient-display);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calendar-event-title .calendar-event-recurring {
    font-family: 'Poppins', system-ui, sans-serif;
    -webkit-text-fill-color: var(--text-dark);
    color: var(--text-dark);
    background: rgba(217, 119, 6, 0.18);
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

.calendar-event-streamer {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--action);
    margin-bottom: 0.5rem;
}

.calendar-event-time {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.calendar-event-countdown {
    margin: 0.5rem 0 0.25rem;
    padding: 0.5rem 0.65rem 0.55rem;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.28), rgba(249, 232, 179, 0.55));
    border: 1px dashed rgba(217, 119, 6, 0.42);
}

.calendar-event-countdown-title {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--action);
    margin: 0 0 0.4rem;
}

.calendar-event-countdown-units {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
}

.calendar-event-countdown-unit {
    text-align: center;
    padding: 0.28rem 0.2rem;
    border-radius: 8px;
    background: rgba(253, 249, 237, 0.92);
    border: 1px solid rgba(92, 64, 51, 0.12);
}

.calendar-event-countdown-num {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--text-dark);
}

.calendar-event-countdown-lbl {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--action);
    margin-top: 0.1rem;
}

.calendar-event-countdown-sub {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

.calendar-event-countdown-started {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
}

.calendar-event-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-top: 0.5rem;
}

.btn-calendar-delete {
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    border-radius: 10px;
    border: 2px solid var(--action);
    background: transparent;
    color: var(--action);
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}

.btn-calendar-delete:hover {
    background: var(--action);
    color: var(--bg);
}

.calendar-loading,
.calendar-load-error {
    text-align: center;
    padding: 2rem;
    color: var(--text-dark);
}

.calendar-load-error {
    color: var(--action);
    font-weight: 600;
}

@media (max-width: 768px) {
    .calendar-event-countdown-num {
        font-size: 0.95rem;
    }

    .calendar-form-grid {
        grid-template-columns: 1fr;
    }

    .calendar-auth-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}
