/*
=================================================================
MODERNIZED & UNIFIED STYLESHEET FOR ULYS QUEST
VERSION: 2.1
DESCRIPTION: This file contains all the finalized styles for the
             Ulys Quest main website, with a fully reworked
             light mode.
=================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pirata+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

#gradient-canvas {
    width:100%;
    height:100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2; /* Placed behind the grid background */
}

/* --- 1. FOUNDATION & CORE STYLES --- */

:root {
    --primary: #ed1c24;   /* Malta Red - Vibrant Accent */
    --secondary: #ffffff; /* White - For text and highlights */
    --accent: #f9d423;    /* Gold - For special highlights */
    --dark: #b31217;      /* Darker Red - For hover states */
    --bg-dark: #121212;   /* Main dark background */
    --bg-light: #1a1a1a;  /* Lighter dark for card backgrounds */
    --text-light: #e0e0e0;/* Light gray for body text */
    --text-dark: #121212;  /* For use on light backgrounds */
    --border-color: rgba(255, 255, 255, 0.1); /* Standard border color */
}

/* General Body Styles */
body {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0% 0%; /* Ensure static grid */
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}



/* Modern Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(237, 28, 36, 0.5); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-family: 'DM Sans', 'DM Sans', cursive;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(237, 28, 36, 0.5);
}

h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 0 8px var(--primary);
    transition: width 0.3s ease, box-shadow 0.3s ease;
}

section h2:hover::after {
    width: 90px;
    box-shadow: 0 0 12px var(--primary);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* --- 2. NAVIGATION & FOOTER (GLASSMORPHISM) --- */

/* Glassmorphic Navigation Menu */
#main-nav {
    background: rgba(18, 18, 18, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#main-nav.scrolled {
    background: rgba(18, 18, 18, 0.7);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#main-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

#main-nav ul li { margin: 0 15px; }

#main-nav ul li a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#main-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Glassmorphic Footer */
footer {
    background: rgba(18, 18, 18, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--secondary);
    margin-top: 60px;
    padding: 40px 20px 20px;
    position: relative;
    z-index: 1;
}

.footer-links {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}
.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* --- 3. UNIFIED GLASSMORPHISM CARD STYLE --- */
.content-frame,
.feature-item,
.cta-section,
.visual-guide,
.highlight-box,
.stats-frame,
.cta-section,
.nft-gallery {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.2), rgba(26, 26, 26, 0.5));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), inset 0 0 10px rgba(255, 255, 255, 0.05);
    padding: 30px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-guide {
    margin-top: 60px;
}

.content-frame:hover,
.feature-item:hover,
.cta-section:hover,
.visual-guide:hover,
.highlight-box:hover,
.stats-frame:hover,
.nft-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(237, 28, 36, 0.3);
}

/* --- 4. HEADER & HERO SECTION --- */

.page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.grid-left, .grid-right {
    animation: fadeIn 1s ease-out forwards;
}

.grid-left { animation-delay: 0.2s; opacity: 0; text-align: left;}
.grid-right { 
    animation-delay: 0.4s; 
    opacity: 0; 
    justify-self: end;
}

.header-image-container {
    justify-self: end;
}

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

.header-content {
    text-align: left;
}

.header-nft-image {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 0 40px rgba(237, 28, 36, 0.3),
                0 0 60px rgba(237, 28, 36, 0.2),
                0 0 80px rgba(237, 28, 36, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(237, 28, 36, 0.5);
}

.header-nft-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(237, 28, 36, 0.7), 0 0 90px rgba(237, 28, 36, 0.4), 0 0 120px rgba(237, 28, 36, 0.2);
}

.header-content h1 {
    font-family: 'Pirata One', 'DM Sans', cursive;
    text-shadow: 0 0 15px rgba(237, 28, 36, 0.7), 0 0 25px rgba(237, 28, 36, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header-content p {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    max-width: 500px;
    color: var(--text-light);
}

.cta-button {
    font-family: 'Space Mono', monospace;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--dark));
    color: white;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(237, 28, 36, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
}

.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.cta-button:hover {
    box-shadow: 0 0 40px rgba(237, 28, 36, 0.8), 0 0 60px rgba(237, 28, 36, 0.5);
    transform: translateY(-5px);
}

.cta-button:active { transform: translateY(1px); }

/* --- 5. CONTENT SECTIONS --- */

/* STATS SECTION */
.stats-frame {
    padding: 40px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: bold;
}

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

/* Image Grid with Glow Effect */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(237, 28, 36, 0.5);
    border-color: var(--primary);
    z-index: 10;
}

/* How it Works Section */
.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.step {
    flex: 1 1 200px;
    text-align: left;
}

.step-icon {
    display: inline-flex;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 25px rgba(237, 28, 36, 0.7);
}

.step-icon i { font-size: 2rem; }
.step-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--secondary); }
.step-content p { font-size: 1rem; color: var(--text-light); }


/* Locations Table */
#locations-section .table-wrapper {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.05);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-light);
}

.responsive-table th,
.responsive-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.responsive-table thead tr {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.responsive-table tbody tr { transition: background-color 0.3s ease; }
.responsive-table tbody tr:hover { background-color: rgba(237, 28, 36, 0.2); }

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.pagination-controls button {
    font-family: 'Space Mono', monospace;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-controls button:hover:not(:disabled) { background: var(--dark); }
.pagination-controls button:disabled { background: #333; color: #777; cursor: not-allowed; }
.pagination-controls #page-info { margin: 0 20px; font-size: 1rem; color: var(--text-light); }

/* NFT SLIDER GALLERY */
.nft-gallery {
    padding: 40px;
}

.swiper-container.nft-slider {
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
    position: relative;
}

.swiper-slide img {
    display: block;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.swiper-slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(237, 28, 36, 0.6);
    border-color: var(--primary);
}

.nft-slider .swiper-button-prev,
.nft-slider .swiper-button-next {
    color: var(--secondary);
    background: rgba(18, 18, 18, 0.5);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -22px;
}

.nft-slider .swiper-button-prev::after,
.nft-slider .swiper-button-next::after {
    font-size: 1rem;
    font-weight: bold;
}

.nft-slider .swiper-button-prev:hover,
.nft-slider .swiper-button-next:hover {
    background: var(--primary);
    color: var(--secondary);
}

.nft-slider .swiper-button-prev { left: 0px; }
.nft-slider .swiper-button-next { right: 0px; }


/* --- 6. ICONS & DECORATIONS --- */

.social-icons { display: flex; justify-content: center; gap: 25px; margin: 20px 0; }
.social-icon { color: var(--secondary); font-size: 24px; transition: all 0.3s ease; }
.social-icon:hover { transform: translateY(-4px); color: var(--primary); }

.icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(237, 28, 36, 0.5);
    transition: all 0.3s ease;
}

.icon:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 0 25px rgba(237, 28, 36, 0.7);
}

.icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

/* --- 7. UTILITIES & RESPONSIVENESS --- */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--dark); transform: translateY(-5px); }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 1001;
}

@media (max-width: 1024px) {
    .page-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .grid-right {
        justify-self: center;
    }
    .header-content {
        text-align: center;
    }
    .header-nft-image {
        margin: 0 auto 1.5rem;
    }
    .header-content p {
        margin: 1.2rem auto 0;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    .step {
        max-width: 400px;
        width: 100%;
    }
}


@media (max-width: 768px) {
    main {
        padding: 20px 15px;
    }
    .menu-icon { display: block; }

    #main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    #main-nav ul.active { display: flex; }
    #main-nav ul li { margin: 10px 0; }
    #main-nav ul li a { justify-content: flex-start; }

    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    p { font-size: 1rem; }

    .header-nft-image {
        width: 250px;
        height: 250px;
    }

    .page-grid {
        gap: 2rem;
    }

    .stats-grid { flex-direction: column; gap: 30px; }
    .stats-frame { padding: 30px 15px; }
    .stat-number { font-size: 2.5rem; }
    .stat-label { font-size: 1.1rem; }

    .content-frame, .visual-guide, .cta-section .stats-frame, .nft-gallery {
        padding: 20px 15px;
        margin-bottom: 40px;
    }

    #locations-section .table-wrapper {
        overflow-x: auto; /* Allows table to be scrolled horizontally */
    }

    .swiper-container.nft-slider { padding: 0; }
    .nft-slider .swiper-button-prev,
    .nft-slider .swiper-button-next { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .header-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }
    .step-icon i {
        font-size: 1.5rem;
    }
    .step-content h3 {
        font-size: 1.3rem;
    }
}

/* Remove unused or restyled elements cleanly */
.coin, .sparkle, .footer-wave, header {
    display: none;
}

/* Tooltip styles */
[data-tooltip] {
    position: relative;
}
[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
}
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* --- 8. DARK/LIGHT MODE TOGGLE --- */

.dark-mode-toggle {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

.dark-mode-toggle:hover {
    background: var(--dark);
    transform: translateY(-5px);
}

.dark-mode-toggle .fa-sun { display: none; }
.dark-mode-toggle .fa-moon { display: block; }

body.light-mode .dark-mode-toggle .fa-sun { display: block; }
body.light-mode .dark-mode-toggle .fa-moon { display: none; }

/* --- 9. INFO CARDS --- */
.info-cards-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.info-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.2), rgba(26, 26, 26, 0.5));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), inset 0 0 10px rgba(255, 255, 255, 0.05);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(237, 28, 36, 0.3);
}

.info-card h3 {
    font-family: 'Space Mono', 'DM Sans', cursive;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(237, 28, 36, 0.5);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.info-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-card a:hover {
    text-decoration: underline;
}


/* --- 10. LIGHT MODE STYLES (REFINED) --- */
body.light-mode {
    /* --- Core Palette --- */
    --primary: #E53935;       /* A clean, modern red */
    --secondary: #212121;     /* Dark gray for headings */
    --accent: #FFC107;        /* Amber for highlights */
    --dark: #C62828;          /* Darker red for hovers */
    --bg-dark: #F7F9FC;       /* Soft, off-white main background */
    --bg-light: #FFFFFF;      /* Pure white for cards */
    --text-light: #424242;     /* Softer gray for body text */
    --text-dark: #FFFFFF;     /* White text for dark elements */
    --border-color: #E0E0E0;  /* Light gray for borders */

    /* --- Background --- */
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    color: var(--text-light);
}

/* --- General Elements --- */
body.light-mode ::-webkit-scrollbar-track { background: #ECEFF1; }
body.light-mode ::-webkit-scrollbar-thumb { background: #BDBDBD; }
body.light-mode ::-webkit-scrollbar-thumb:hover { background: #9E9E9E; }

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode .stat-label,
body.light-mode .step-content h3,
body.light-mode .info-card h3 a {
    color: var(--secondary);
    text-shadow: none;
}

body.light-mode p,
body.light-mode .step-content p,
body.light-mode .info-card p,
body.light-mode .pagination-controls #page-info {
    color: var(--text-light);
}

body.light-mode section h2::after {
    box-shadow: 0 0 8px rgba(229, 57, 53, 0.5);
}
body.light-mode section h2:hover::after {
    box-shadow: 0 0 12px rgba(229, 57, 53, 0.7);
}

/* --- Navigation & Footer --- */
body.light-mode #main-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

body.light-mode #main-nav ul li a { color: #333; }
body.light-mode #main-nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--primary);
}
body.light-mode .menu-icon { color: var(--secondary); }
body.light-mode #main-nav ul.active { background-color: var(--bg-light); }

body.light-mode footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}
body.light-mode .social-icon { color: #555; }
body.light-mode .social-icon:hover { color: var(--primary); }
body.light-mode .footer-links a { color: #555; }
body.light-mode .footer-links a:hover { color: var(--primary); }


/* --- Cards & Frames --- */
body.light-mode .content-frame,
body.light-mode .visual-guide,
body.light-mode .cta-section,
body.light-mode .stats-frame,
body.light-mode .nft-gallery,
body.light-mode .info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    backdrop-filter: none; /* Remove blur for a cleaner look */
}

body.light-mode .content-frame:hover,
body.light-mode .visual-guide:hover,
body.light-mode .cta-section:hover
body.light-mode .stats-frame:hover,
body.light-mode .nft-gallery:hover,
body.light-mode .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- Header & Hero --- */
body.light-mode .header-nft-image {
    border: 2px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}
body.light-mode .header-nft-image:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .cta-button {
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}
body.light-mode .cta-button:hover {
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

/* --- Table --- */
body.light-mode #locations-section .table-wrapper {
    background: transparent;
    border: none;
}
body.light-mode .responsive-table {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}
body.light-mode .responsive-table th,
body.light-mode .responsive-table td {
    border-color: var(--border-color);
}
body.light-mode .responsive-table thead tr {
    background-color: #F5F5F5; /* Lighter header */
    color: var(--secondary);
    font-weight: 600;
}
body.light-mode .responsive-table tbody tr:hover {
    background-color: #F5F5F5;
}
body.light-mode .responsive-table tbody tr:nth-child(even) {
    background-color: #FAFAFA;
}
body.light-mode .responsive-table tbody tr:nth-child(even):hover {
    background-color: #F5F5F5;
}

/* --- NFT Slider --- */
body.light-mode .nft-slider .swiper-button-prev,
body.light-mode .nft-slider .swiper-button-next {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border-color);
}
body.light-mode .nft-slider .swiper-button-prev:hover,
body.light-mode .nft-slider .swiper-button-next:hover {
    background: var(--primary);
    color: white;
}

/* --- Dark/Light Mode Toggle --- */
body.light-mode .dark-mode-toggle {
    background: #fff;
    color: #555;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
body.light-mode .dark-mode-toggle:hover {
    background: #F5F5F5;
    color: #000;
}
