/* RESET AND VARIABLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Colors - Reimagined Warm Golden Amber & Vibrant Orange Neumorphic Palette */
    --color-bg-base: #FBF8F3;
    --color-text-primary: #3E2723;     /* Rich warm brown-charcoal */
    --color-text-secondary: #6D5C50;   /* Muted earthy gray-brown */
    --color-text-muted: #9E8E81;       /* Soft luxury warm sand */
    
    /* Perfect Orange and Yellow Accents */
    --color-accent: #FF6F00;           /* Vibrant Tangerine Orange */
    --color-accent-light: #FF9100;     /* Vivid Sunburst Amber */
    --color-teal: #FFC107;             /* Regal Gold Yellow */
    
    /* Neumorphic Shadows adjusted for warm cream palette base */
    --shadow-extruded: 8px 8px 16px rgba(180, 170, 155, 0.35), -8px -8px 16px rgba(255, 255, 255, 0.9);
    --shadow-extruded-hover: 12px 12px 20px rgba(180, 170, 155, 0.45), -12px -12px 20px rgba(255, 255, 255, 1);
    --shadow-extruded-small: 4px 4px 8px rgba(180, 170, 155, 0.3), -4px -4px 8px rgba(255, 255, 255, 0.9);
    
    --shadow-inset: inset 5px 5px 10px rgba(180, 170, 155, 0.35), inset -5px -5px 10px rgba(255, 255, 255, 0.9);
    --shadow-inset-deep: inset 8px 8px 16px rgba(180, 170, 155, 0.45), inset -8px -8px 16px rgba(255, 255, 255, 0.9);
    --shadow-inset-small: inset 2px 2px 5px rgba(180, 170, 155, 0.3), inset -2px -2px 5px rgba(255, 255, 255, 0.9);
    
    /* Borders: Neumorphic standard uses shadows instead of solid lines */
    --border-molded: none;
    
    /* Spacing & Sizing */
    --max-width: 1280px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-base);
}

/* HELPER CLASS */
.hidden {
    display: none !important;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-display {
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* COMPLIANCE WARNING BAR - Inset Trench style */
.compliance-bar {
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset-small);
    color: var(--color-text-secondary);
    padding: 10px 16px;
    font-size: 0.8rem;
    position: relative;
    z-index: 1001;
    margin: 10px 20px 0;
    border-radius: 12px;
}

.compliance-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    max-width: var(--max-width);
    margin: 0 auto;
    flex-wrap: wrap;
}

.warning-badge {
    background-color: var(--color-accent);
    color: #FFFFFF;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-extruded-small);
}

.warning-text {
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--color-text-primary);
}

/* STICKY NAVBAR - PERFECTED & SLIMMED */
.temple-nav {
    position: sticky;
    top: 10px;
    background-color: var(--color-bg-base);
    margin: 10px auto;
    max-width: 1200px;
    width: calc(100% - 40px);
    border-radius: 9999px; /* Seamless modern pill shape */
    box-shadow: var(--shadow-extruded);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-container {
    padding: 8px 24px; /* Slimmer, space-optimized padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.logo-outer {
    width: 36px; /* Perfected slim dimensions */
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-extruded-small);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-gold {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px; /* Densely packed modern links layout */
}

.nav-item {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 9999px;
    transition: all 0.25s ease;
}

.nav-item:hover {
    color: var(--color-accent);
    box-shadow: var(--shadow-inset-small);
}

.age-badge {
    box-shadow: var(--shadow-inset-small);
    color: var(--color-accent);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background-color: var(--color-bg-base);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 40px 24px;
    background-color: var(--color-bg-base);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(255, 111, 0, 0.06) 0%, rgba(251, 248, 243, 0) 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.hero-intro {
    margin-bottom: 30px;
}

.hero-kicker {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.gold-text {
    color: var(--color-teal);
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* THE MOLDED CABINET FRAME */
.slot-outer-wrapper {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    box-shadow: var(--shadow-extruded);
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    padding: 16px;
}

/* Top Bezel */
.temple-frame-top {
    background-color: var(--color-bg-base);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stone-engraving {
    width: 32px;
    height: 8px;
    background-color: var(--color-bg-base);
    border-radius: 9999px;
    box-shadow: var(--shadow-inset-small);
}

.temple-gem {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-teal);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

.temple-title {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

/* Game Inner Viewport - Inset Deep Frame */
.slot-screen-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    background-color: var(--color-bg-base);
    border-radius: 20px;
    box-shadow: var(--shadow-inset-deep);
}

.slot-iframe {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border: none;
    border-radius: 16px;
}

/* Bottom Frame Trim */
.temple-frame-bottom {
    background-color: var(--color-bg-base);
    padding: 24px 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compliance-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset-small);
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

/* Tactile Indicators (Molded Torch Controls) */
.flame-torch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.torch-base {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-extruded-small);
}

.torch-fire {
    width: 10px;
    height: 10px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.6);
    margin-bottom: 6px;
}

.hero-fine-print {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GENERAL SECTION WRAPPER */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 14px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

/* GRID LAYOUTS */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* INFO CARD DESIGN */
.info-card {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    box-shadow: var(--shadow-extruded);
    padding: 40px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-extruded-hover);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg-base);
    border-radius: 20px;
    box-shadow: var(--shadow-inset-deep);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
}

.info-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.card-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* FEATURES / TREASURE CARDS */
.features-section {
    background-color: var(--color-bg-base);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.treasure-card {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-extruded);
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.treasure-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-extruded-hover);
}

.card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-extruded-small);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.card-img-holder {
    width: 100%;
    height: 200px;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-vector {
    transition: transform 0.5s ease;
}

.treasure-card:hover .feature-vector {
    transform: scale(1.08);
}

.card-content {
    padding: 32px;
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* HOW TO PLAY STEPS */
.steps-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    position: relative;
}

.step-card {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    box-shadow: var(--shadow-extruded);
    padding: 40px;
    position: relative;
}

.step-num-well {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-accent);
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--color-text-primary);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* STATS DESIGN */
.stats-section {
    background-color: var(--color-bg-base);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.stat-box {
    text-align: center;
    padding: 32px;
    background-color: var(--color-bg-base);
    border-radius: 24px;
    box-shadow: var(--shadow-extruded);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.stat-desc {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.stat-subdesc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* SHOWCASE ATMOSPHERE */
.showcase-section {
    background-color: var(--color-bg-base);
}

.showcase-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 32px;
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.showcase-content {
    flex: 1 1 450px;
}

.showcase-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 24px;
}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.highlight-text {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    font-style: italic;
    color: var(--color-text-primary) !important;
}

.cta-wrap {
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-extruded);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: inset 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.showcase-visual {
    flex: 1 1 450px;
}

.showcase-img-shadow-wrap {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    box-shadow: var(--shadow-extruded);
    padding: 16px;
}

.showcase-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-inset-deep);
    display: block;
}

/* FAQ ACCORDION */
.faq-section {
    background-color: var(--color-bg-base);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: var(--color-bg-base);
    border-radius: 24px;
    box-shadow: var(--shadow-extruded);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-text-primary);
    text-align: left;
    padding: 24px 32px;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    font-weight: 400;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset);
}

.faq-answer p {
    padding: 24px 32px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Accordion Open States */
.faq-item.active {
    box-shadow: var(--shadow-extruded-hover);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

/* FOOTER ARCHITECTURE */
.temple-footer {
    background-color: var(--color-bg-base);
    padding: 80px 24px 40px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

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

.footer-blurb {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 20px;
}

.footer-links-group h4 {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

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

.modal-trigger-btn {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-extruded-small);
}

.modal-trigger-btn:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-extruded);
}

.modal-trigger-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-inset);
}

.footer-disclaimer {
    max-width: var(--max-width);
    margin: 0 auto;
    box-shadow: var(--shadow-inset);
    border-radius: 24px;
    padding: 24px 32px;
    margin-bottom: 40px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-bottom-pill {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 9999px;
    box-shadow: var(--shadow-inset-small);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* COOKIE CONSENT STYLING */
.cookie-banner-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background-color: var(--color-bg-base);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-extruded-hover);
    z-index: 1100;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.cookie-gem {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

.cookie-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.cookie-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-extruded-small);
}

.primary-cookie-btn {
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.primary-cookie-btn:hover {
    background-color: var(--color-accent-light);
    box-shadow: var(--shadow-extruded);
}

.primary-cookie-btn:active {
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.2);
}

.secondary-cookie-btn {
    background-color: var(--color-bg-base);
    color: var(--color-text-secondary);
}

.secondary-cookie-btn:hover {
    color: var(--color-text-primary);
    box-shadow: var(--shadow-extruded);
}

.secondary-cookie-btn:active {
    box-shadow: var(--shadow-inset);
}

/* MODAL SYSTEMS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(251, 248, 243, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1200;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-card {
    background-color: var(--color-bg-base);
    border-radius: 32px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 48px;
    box-shadow: var(--shadow-extruded-hover);
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close-modal-btn:hover {
    color: var(--color-text-primary);
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--color-text-primary);
}

.modal-body {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.modal-body h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--color-text-primary);
    font-size: 1.2rem;
}

/* Support Form Layout */
.support-form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-text-primary);
    padding-left: 8px;
}

.form-group input, 
.form-group textarea {
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset);
    border: none;
    border-radius: 16px;
    padding: 16px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    box-shadow: var(--shadow-inset-deep);
}

.support-success-msg {
    margin-top: 20px;
    padding: 16px;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset-small);
    border-radius: 16px;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

/* Cookie settings inside modal modal style toggle */
.cookie-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg-base);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-inset-small);
}

.small-text {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

.switch-well {
    width: 56px;
    height: 32px;
    border-radius: 9999px;
    background-color: var(--color-bg-base);
    box-shadow: var(--shadow-inset);
    display: flex;
    align-items: center;
    padding: 4px;
}

.toggle-switch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* Hide wide links navigation dynamically on mid tablets and mobiles */
    }
    
    .temple-nav {
        margin: 10px 15px;
        width: calc(100% - 30px);
    }

    .nav-container {
        padding: 6px 16px;
    }
}

@media (max-width: 600px) {
    .cookie-banner-container {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: 100%;
    }
    
    .modal-card {
        padding: 32px 24px;
    }
}