/* ==========================================================================
   SCROLLHAVEN CSS STYLESHEET
   Design System: Obsidian & Gold, Glassmorphism, Premium Card Aesthetics
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette (Light Parchment Theme) */
    --color-bg: #f2e7d5;
    --color-bg-light: #fbf7ee;
    --color-primary: #8c6b12;        /* Rich Bronze Gold */
    --color-primary-dark: #594204;   /* Deep Bronze */
    --color-primary-light: #d4af37;  /* Accent Bright Gold */
    --color-text: #3c372c;           /* Charcoal Warm Brown */
    --color-text-muted: #736854;     /* Muted Warm Brown */
    --color-text-light: #1c1a14;     /* Near Black Brown */
    --color-border: rgba(140, 107, 18, 0.15);
    --color-border-glow: rgba(140, 107, 18, 0.35);
    --color-glass: rgba(251, 247, 238, 0.82);
    --color-glass-border: rgba(140, 107, 18, 0.1);
    
    /* Gradients */
    --grad-dark: radial-gradient(circle at 50% 50%, #fbf7ee 0%, #e2cdb6 100%);
    --grad-gold: linear-gradient(135deg, #b89221 0%, #8c6b12 50%, #594204 100%);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 0 40px 0 rgba(140, 107, 18, 0.05);
    --shadow-gold: 0 0 25px 0 rgba(140, 107, 18, 0.15);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    background-image: url('assets/CardBack.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

strong {
    color: var(--color-text-light);
}

.text-gold {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

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

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.section-header .divider {
    width: 60px;
    height: 4px;
    background: var(--grad-gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header .subtitle {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Button Styles --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--grad-gold);
    color: #000;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--color-text-muted);
}

/* --- Header / Navigation Bar --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
    padding: 20px 0;
}

#main-header.scrolled {
    background-color: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    transition: var(--transition-normal);
}

.logo-link:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-text-light);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.btn-nav {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--grad-gold);
    color: #000;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    z-index: 1;
}

.hero-content {
    max-width: 550px;
}

.hero-tag {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
    height: 450px;
}

.cards-fan {
    position: relative;
    width: 300px;
    height: 420px;
    margin-top: 30px;
}

.fan-card {
    position: absolute;
    width: 280px;
    height: 390px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-slow);
    transform-origin: bottom center;
}

.card-1 {
    transform: rotate(-12deg) translateX(-40px);
    z-index: 1;
}

.card-2 {
    transform: rotate(0deg);
    z-index: 2;
}

.card-3 {
    transform: rotate(12deg) translateX(40px);
    z-index: 3;
}

/* Hover effect on fan */
.hero-visual:hover .card-1 {
    transform: rotate(-22deg) translateX(-90px) translateY(-10px);
}

.hero-visual:hover .card-2 {
    transform: translateY(-20px);
}

.hero-visual:hover .card-3 {
    transform: rotate(22deg) translateX(90px) translateY(-10px);
}

/* --- Product Section --- */
.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-info p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.spec-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.spec-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: rgba(212, 175, 55, 0.08);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.15);
    flex-shrink: 0;
}

.spec-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.spec-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-card {
    background-image: var(--grad-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.highlight-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.2);
}

.highlight-icon {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.highlight-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* --- Interactive Flip Cards --- */
.card-showcase-container {
    background: rgba(17, 20, 30, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    margin-top: 60px;
}

.showcase-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.showcase-desc {
    margin-bottom: 48px;
}

.cards-interactive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-items: center;
}

/* 3D Flip Card Layout */
.flip-card {
    background-color: transparent;
    width: 220px;
    height: 310px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Flip trigger on hover/active class */
.flip-card:hover .flip-card-inner,
.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.flip-card-front {
    background-size: cover;
    background-position: center;
}

.card-overlay-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-align: center;
}

.flip-card-back {
    background-color: #ffffff;
    background-image: none;
    transform: rotateY(180deg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    border: 1px solid rgba(140, 107, 18, 0.2);
}

.card-back-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
}

.card-back-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.card-back-date {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 2px;
}

.card-back-era {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-back-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.card-back-body p {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--color-text);
}

.card-back-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-back-scripture {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.card-back-logo {
    font-size: 0.6rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

/* --- How to Play Section --- */
#how-to-play {
    background: rgba(0, 0, 0, 0.02);
}

.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.mode-card {
    background-image: var(--grad-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.mode-card:hover {
    border-color: rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-lg);
}

.mode-icon {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.mode-card h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.mode-type {
    display: inline-block;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

.mode-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.mode-steps li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.mode-steps p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.mode-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    font-size: 0.95rem;
}

/* --- About Us Section --- */
.about-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.about-container {
    z-index: 1;
}

.about-content-card {
    background: var(--color-bg-light);
    background-image: linear-gradient(180deg, #ffffff 0%, var(--color-bg-light) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-gold);
}

.about-tag {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-header h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.about-body blockquote {
    font-family: var(--font-serif);
    font-style: normal;
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--color-text-light);
    margin-bottom: 30px;
    border-left: 4px solid var(--color-primary);
    padding-left: 24px;
}

.about-body blockquote p {
    font-family: inherit;
    font-style: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 20px;
}

.about-body blockquote p:last-child {
    margin-bottom: 0;
}

.about-body p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.accordion-item:hover {
    border-color: rgba(212, 175, 55, 0.15);
}

.accordion-button {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
}

.accordion-icon {
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.accordion-button[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-fast);
    padding: 0 24px;
}

.accordion-content p {
    font-size: 0.95rem;
    padding-bottom: 24px;
}

/* --- Contact Section --- */
#contact {
    padding-bottom: 120px;
}

.contact-card {
    background: radial-gradient(circle at top right, #ffffff 0%, var(--color-bg-light) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-color: rgba(140, 107, 18, 0.2);
}

.contact-card h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-card p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
}

/* --- Contact Form Styles --- */
.contact-form {
    text-align: left;
    margin-bottom: 35px;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
    width: 100%;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form select option {
    background-color: var(--color-bg-light);
    color: var(--color-text-light);
}

.contact-form select option:disabled {
    color: var(--color-text-muted);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-submit-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 28px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--grad-gold);
    color: var(--color-bg);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    margin-top: 25px;
}

.btn-submit-form:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-submit-form:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* --- Contact Success Message Styles --- */
.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
    animation: contactFadeIn 0.5s ease forwards;
}

.success-icon-container {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.contact-success h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-success p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

@keyframes contactFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.note-text {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Footer --- */
footer {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links h4,
.footer-legal h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-email {
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.footer-email:hover {
    color: var(--color-primary-light);
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- Brand Logos --- */
.logo-img-nav {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-link:hover .logo-img-nav {
    transform: rotate(5deg) scale(1.05);
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
}

.about-logo-img {
    max-width: 280px;
    height: auto;
    margin: 0 auto 24px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* --- Where to Buy Section --- */
#buy {
    background: rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.buy-card-container {
    max-width: 700px;
    margin: 0 auto;
}

.buy-card {
    background-image: var(--grad-glass);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.buy-card-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.buy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a64b00; /* Darker Burnt Orange for light contrast */
    background: rgba(166, 75, 0, 0.08);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(166, 75, 0, 0.25);
    z-index: 1;
    position: relative;
}

.buy-card h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    z-index: 1;
    position: relative;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.buy-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}

.notify-form {
    max-width: 500px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
}

.notify-form .input-group {
    display: flex;
    gap: 12px;
    background: rgba(9, 11, 16, 0.6);
    border: 1px solid var(--color-border);
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.notify-form .input-group:focus-within {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.notify-form input[type="email"] {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 12px 16px;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    width: 100%;
}

.notify-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
}

.btn-notify {
    padding: 10px 24px;
    gap: 8px;
}

.notify-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4cd964;
    background: rgba(76, 217, 100, 0.1);
    border: 1px solid rgba(76, 217, 100, 0.2);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Media Queries --- */

/* Tablet Layout (under 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cards-interactive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .flip-card {
        width: 200px;
        height: 280px;
    }
}

/* Mobile Layout (under 768px) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    #hero {
        padding-top: 100px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-visual {
        height: 380px;
    }
    
    .cards-fan {
        width: 240px;
        height: 340px;
    }
    
    .fan-card {
        width: 220px;
        height: 310px;
    }
    
    /* Navigation Menu Toggle */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-bg-light);
        border-top: 1px solid var(--color-border);
        padding: 40px 24px;
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .btn-nav {
        display: block;
        padding: 12px;
        font-size: 1.2rem;
    }
    
    /* Flip Cards on Mobile */
    .cards-interactive-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .flip-card {
        width: 240px;
        height: 340px;
    }
    
    /* Modes and About Cards */
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mode-card {
        padding: 30px 24px;
    }
    
    .about-content-card {
        padding: 40px 24px;
    }
    
    .about-body blockquote {
        font-size: 1.25rem;
        padding-left: 16px;
    }
    
    /* FAQ & Contact */
    .accordion-button {
        font-size: 1rem;
        padding: 20px;
    }
    
    .contact-card {
        padding: 40px 20px;
    }
    
    .email-display-container {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Responsive Where to Buy overlays */
    .notify-form .input-group {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 12px;
    }
    
    .notify-form input[type="email"] {
        background: rgba(9, 11, 16, 0.6);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        padding: 14px 16px;
    }
    
    .notify-form input[type="email"]:focus {
        border-color: rgba(212, 175, 55, 0.5);
    }
    
    .btn-notify {
        width: 100%;
        padding: 14px;
    }
    
    .buy-card {
        padding: 40px 20px;
    }
}
