:root {
    /* Cyberpunk Christmas theme */
    --primary-color: #11f250;
    --text-color: #e0e0e0;
    --background-color: #0a0a0f;
    --card-background: #1a1a2e;
    --border-color: #11f250;
    --hover-color: #F211B3;
    --shadow-color: rgba(17, 242, 80, 0.3);
    --stats-background: #16213e;
    --stats-text: #b8d4f0;
    --primary-font: 'Space Grotesk';
    --neon-green: #11f250;
    --neon-magenta: #F211B3;
    --neon-light-green: #80ff9f;
    --neon-teal: #00f2ea;
    --neon-red: #ff003c;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;

    /* Typography - These will be set by JavaScript from config.js */
    --font-size-h1: initial;
    --font-size-h2: initial;
    --font-size-h3: initial;
    --font-size-h4: initial;
    --font-size-h5: initial;
    --font-size-h6: initial;
    --font-size-body: initial;
    --font-size-small: initial;
    --font-size-tiny: initial;

    --font-weight-normal: initial;
    --font-weight-medium: initial;
    --font-weight-semibold: initial;
    --font-weight-bold: initial;

    --line-height-tight: initial;
    --line-height-normal: initial;
    --line-height-relaxed: initial;

    --letter-spacing-tight: initial;
    --letter-spacing-normal: initial;
    --letter-spacing-wide: initial;
    --letter-spacing-wider: initial;
}

[data-theme="dark"] {
    --primary-color: #11f250;
    --text-color: #e0e0e0;
    --background-color: #0a0a0f;
    --card-background: #1a1a2e;
    --border-color: #11f250;
    --hover-color: #F211B3;
    --shadow-color: rgba(17, 242, 80, 0.3);
    --stats-background: #16213e;
    --stats-text: #b8d4f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--primary-font), 'Plus Jakarta Sans', 'Space Grotesk', 'Outfit', 'Sora', 'VT323', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0f;
    color: var(--text-color);
    line-height: var(--line-height-normal);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow-x: hidden;
    max-width: 100vw;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('bg_snow.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(2px);
    z-index: -1;
}

@media (max-width: 768px) {
    body::before {
        background-image: url('bg_snow_mobile.png');
        background-attachment: scroll;
        /* Use fixed viewport units instead of cover to prevent iOS zoom-on-scroll */
        background-size: 100vw 100vh;
        background-size: 100vw 100svh; /* Small viewport height - excludes address bar */
        background-position: center center;
        filter: blur(2px);
        /* iOS Safari fixes */
        height: 100vh;
        height: 100svh; /* Small viewport height - stable on iOS */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }
}

h1 { font-size: var(--font-size-h1); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); }
h2 { font-size: var(--font-size-h2); font-weight: var(--font-weight-bold); line-height: var(--line-height-tight); }
h3 { font-size: var(--font-size-h3); font-weight: var(--font-weight-semibold); line-height: var(--line-height-tight); }
h4 { font-size: var(--font-size-h4); font-weight: var(--font-weight-semibold); line-height: var(--line-height-tight); }
h5 { font-size: var(--font-size-h5); font-weight: var(--font-weight-medium); line-height: var(--line-height-tight); }
h6 { font-size: var(--font-size-h6); font-weight: var(--font-weight-medium); line-height: var(--line-height-tight); }

.hero h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: var(--letter-spacing-wide);
}

.hero p {
    font-size: var(--font-size-h4);
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: var(--line-height-relaxed);
}

/* Theme Switch */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 100;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    z-index: 1000;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.theme-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    box-sizing: border-box;
}

.theme-switch label i {
    font-size: 16px;
    color: #333333;
    transition: .4s;
    z-index: 3;
    position: relative;
    pointer-events: none;
    opacity: 1;
}

.theme-switch label .fa-sun {
    margin-left: 4px;
}

.theme-switch label .fa-moon {
    margin-right: 4px;
}

.theme-switch label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

.theme-switch input:checked + label {
    background-color: var(--primary-color);
}

.theme-switch input:checked + label:before {
    transform: translateX(26px);
}

.theme-switch input:checked + label .fa-sun {
    opacity: 0;
}

.theme-switch input:checked + label .fa-moon {
    opacity: 1;
}

.theme-switch input:not(:checked) + label .fa-sun {
    opacity: 1;
}

.theme-switch input:not(:checked) + label .fa-moon {
    opacity: 0;
}

/* Header & Navigation */
header {
    display: none;
    padding: 1rem 2rem;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
}

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

.logo {
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    display: none;
    padding: 2rem 2rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero p {
    font-size: var(--font-size-h4);
    margin-bottom: 1rem;
    color: var(--text-color);
}

main {
    position: relative;
    z-index: 10;
}

/* Banner Section */
.banner {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.banner-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    min-height: 0;
}

.banner-content::before,
.banner-content::after {
    content: none;
}

.banner-logo-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.banner-logo-scale {
    width: 100%;
    max-width: 1200px;
    transform-origin: center;
    transform: scale(var(--banner-logo-scale, 1.12));
    transition: transform 0.3s ease;
    overflow: visible;
}

.banner-logo-wrapper::before,
.banner-logo-wrapper::after {
    content: '';
    position: absolute;
    inset: 10% 8%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(17, 242, 80, 0.35) 0%, rgba(17, 242, 80, 0) 70%);
    filter: blur(45px);
    opacity: 0.65;
    pointer-events: none;
    animation: logoGlowPulse 6s ease-in-out infinite;
    z-index: 1;
}

.banner-logo-wrapper::after {
    inset: auto 15% -8% 15%;
    height: 60%;
    background: radial-gradient(circle at 50% 100%, rgba(242, 17, 179, 0.55) 0%, rgba(242, 17, 179, 0) 70%);
    filter: blur(55px);
    animation-direction: reverse;
    opacity: 0.7;
}

.banner-image {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    z-index: 2;
    margin-top: 50px;
    filter: drop-shadow(0 0 28px rgba(17, 242, 80, 0.65)) drop-shadow(0 20px 40px rgba(242, 17, 179, 0.5));
    transition: transform 0.25s ease, filter 0.25s ease;
    animation: logoFloat 8s ease-in-out infinite;
}

.banner-content:hover .banner-image {
    animation: logoGlitch 0.14s infinite alternate;
    filter: drop-shadow(0 0 40px rgba(17, 242, 80, 0.85)) drop-shadow(0 28px 60px rgba(242, 17, 179, 0.7));
}

@media (max-width: 1024px) {
    .banner-logo-scale {
        transform: scale(1.05);
    }
}

@media (max-width: 768px) {
    .banner-logo-scale {
        transform: scale(1.5);
    }
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    color: white;
    z-index: 3;
}

.banner-overlay h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 0 0 20px rgba(242, 17, 179, 0.5), 0 0 30px rgba(17, 242, 80, 0.3);
    transition: text-shadow 0.3s ease;
    animation: neonTextPulse 11s linear infinite;
}

.banner-content:hover .banner-overlay h2 {
    animation: neonTextFlicker 2.3s infinite;
}

.banner-overlay p {
    font-size: var(--font-size-h4);
    margin-bottom: 2rem;
    max-width: 600px;
}

.banner-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--neon-green) 100%);
    color: #000000;
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(17, 242, 80, 0.5), 0 0 25px rgba(242, 17, 179, 0.3), inset 0 0 10px rgba(17, 242, 80, 0.2);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.banner-cta:hover {
    background: linear-gradient(135deg, var(--hover-color) 0%, var(--neon-magenta) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color), 0 0 25px rgba(242, 17, 179, 0.6), 0 0 40px rgba(17, 242, 80, 0.3);
    border-color: var(--hover-color);
}

@media (max-width: 768px) {
    .banner {
        padding-bottom: 0.5rem;
    }
    
    .banner-content {
        min-height: 500px;
        padding-bottom: 0.5rem;
    }
    
    .banner-image {
        object-fit: contain;
        width: 100%;
        height: 500px;
        object-position: center;
        margin-top: 20px;
    }
    
    .banner-overlay h2 {
        font-size: var(--font-size-h2);
    }
    
    .banner-overlay p {
        font-size: var(--font-size-h4);
    }
}

@media (max-width: 600px) {
    .banner-content {
        min-height: 450px;
    }
    
    .banner-image {
        height: 450px;
    }
    
    .banner-logo-scale {
        transform: scale(1.4);
    }
    
    .banner-overlay h2 {
        font-size: 2rem !important;
    }
    .banner-overlay p {
        font-size: 1.1rem !important;
    }
}

/* Project Selectors */
.project-selectors {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.project-selector {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--text-color);
}

.project-selector:hover {
    background: var(--primary-color);
    color: white;
}

.project-selector.active {
    background: var(--primary-color);
    color: white;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
    padding: 2rem;
    max-width: 1200px;
    margin: 25px auto 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 0.75rem 1.5rem 1.5rem;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem 1rem 1rem;
        box-sizing: border-box;
    }
}

.project-card {
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-color);
    border: 1px solid rgba(17, 242, 80, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    max-width: 400px;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 0;
    pointer-events: none;
    border-radius: 1rem;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
    border-radius: 1rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-color), 0 0 30px rgba(17, 242, 80, 0.4), 0 0 50px rgba(242, 17, 179, 0.2);
    border-color: rgba(17, 242, 80, 0.6);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
    z-index: 3;
}

.project-info {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(17, 242, 80, 0.6), 0 0 20px rgba(242, 17, 179, 0.3);
}

.project-description {
    font-size: var(--font-size-body);
    line-height: var(--line-height-normal);
    color: var(--text-color);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-price {
    display: flex; 
    justify-content: space-between; 
    align-items: baseline;
    width: 100%; 
}

.project-price .price-label {
    font-size: var(--font-size-small);
    color: var(--stats-text);
    margin-bottom: 0;
    line-height: 1;
    white-space: nowrap;
    margin-right: 0.5em;
}

.project-price .price-value-container {
    display: flex;
    align-items: baseline; 
}

.project-price .price-amount {
    font-size: var(--font-size-h2);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-shadow: 0 0 10px rgba(17, 242, 80, 0.6), 0 0 20px rgba(242, 17, 179, 0.3);
}

.project-price .price-currency {
    font-size: var(--font-size-h5);
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
    margin-left: 0.25rem;
    line-height: 1.5; 
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
    padding: 1.25rem;
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: inset 0 2px 4px var(--shadow-color);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.project-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--stats-text);
}

.project-stat span {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.mint-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--neon-green) 100%);
    color: #000000;
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(17, 242, 80, 0.5), 0 0 25px rgba(242, 17, 179, 0.3), inset 0 0 10px rgba(17, 242, 80, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wide);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.mint-button:hover {
    background: linear-gradient(135deg, var(--hover-color) 0%, var(--neon-magenta) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-color), 0 0 25px rgba(242, 17, 179, 0.6), 0 0 40px rgba(17, 242, 80, 0.3);
    border-color: var(--hover-color);
}

.custom-pricing-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: var(--stats-background);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--stats-text);
    text-align: center;
    line-height: 1.4;
}

.custom-pricing-disclaimer i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.custom-pricing-disclaimer span {
    font-weight: 500;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--card-background) 0%, #16213e 100%);
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px var(--shadow-color), 0 0 40px rgba(17, 242, 80, 0.3), 0 0 80px rgba(242, 17, 179, 0.2);
    border: 2px solid rgba(17, 242, 80, 0.4);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.close-modal:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 0 0 20px rgba(242, 17, 179, 0.4);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--card-background);
    border-radius: 1rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-color);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

/* FAQ */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background-color: var(--card-background);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px var(--shadow-color);
}

.faq-item:hover {
    box-shadow: 0 4px 12px var(--shadow-color);
    transform: translateY(-2px);
}

.faq-question {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.faq-answer {
    display: none;
    padding-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    background-image: url('footer_bg.png');
    background-position: top center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100vw;
    min-height: 740px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(2rem + 100px) 2rem 2rem;
    box-sizing: border-box;
}

footer .nmkr-logo-link {
    margin-bottom: calc(3rem + 35px);
}

.contact-link {
    margin-bottom: calc(3rem + 35px);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

footer .nmkr-logo {
    width: 100%;
    max-width: 400px; 
    height: auto;
    display: block;
}

footer .nmkr-logo path {
    transition: fill 0.3s ease;
}

footer .nmkr-logo-link:hover .nmkr-logo path {
    fill: #11f250 !important;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(17, 242, 80, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px var(--shadow-color), 0 0 4px rgba(17, 242, 80, 0.05), 0 0 8px rgba(17, 242, 80, 0.02);
    animation: neonPulseContact 10s linear infinite;
}

.contact-link i {
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(17, 242, 80, 0.4), 0 0 10px rgba(242, 17, 179, 0.2), 0 0 15px rgba(17, 242, 80, 0.1);
    animation: neonTextPulseContact 11s linear infinite;
}

.contact-link:hover {
    border-color: var(--primary-color);
    animation: neonGlitch 0.15s infinite, neonFlicker 2.5s infinite, neonGlowContact 1.8s infinite;
}

.contact-link:hover i {
    animation: neonTextFlicker 2.3s infinite;
}

@keyframes logoGlowPulse {
    0%, 100% {
        opacity: 0.45;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.08);
    }
}

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

@keyframes logoGlitch {
    0% {
        transform: translate(0, 0);
    }
    15% {
        transform: translate(-1px, 0.5px) skewX(-0.4deg);
    }
    30% {
        transform: translate(1px, -0.5px) skewY(0.6deg);
    }
    45% {
        transform: translate(-0.5px, 1px) skewX(0.4deg);
    }
    60% {
        transform: translate(0.5px, -1px) skewY(-0.6deg);
    }
    75% {
        transform: translate(-1px, -0.5px) skewX(-0.4deg);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes neonGlitch {
    0% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-1px, 0);
    }
    20% {
        transform: translate(1px, 1px);
        filter: hue-rotate(5deg);
    }
    30% {
        transform: translate(0, -1px);
    }
    40% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(-3deg);
    }
    50% {
        transform: translate(1px, 0);
    }
    60% {
        transform: translate(-1px, 1px);
        filter: hue-rotate(2deg);
    }
    70% {
        transform: translate(0, 1px);
    }
    80% {
        transform: translate(1px, -1px);
        filter: hue-rotate(-2deg);
    }
    90% {
        transform: translate(-1px, 0);
    }
    100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
}

@keyframes neonPulse {
    0%, 48%, 52%, 100% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1);
        border-color: rgba(17, 242, 80, 0.4);
    }
    49% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 20px rgba(17, 242, 80, 0.1),
                    0 0 35px rgba(17, 242, 80, 0.05);
        border-color: rgba(17, 242, 80, 0.2);
    }
    50% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 60px rgba(17, 242, 80, 0.35),
                    0 0 90px rgba(17, 242, 80, 0.2);
        border-color: rgba(17, 242, 80, 0.6);
    }
    51% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1);
        border-color: rgba(17, 242, 80, 0.4);
    }
}

@keyframes neonFlicker {
    0%, 45% {
        opacity: 1;
        border-color: var(--primary-color);
    }
    46% {
        opacity: 0.95;
    }
    47% {
        opacity: 1;
    }
    48% {
        opacity: 0.3;
        border-color: rgba(17, 242, 80, 0.3);
    }
    49% {
        opacity: 1;
        border-color: var(--primary-color);
    }
    50% {
        opacity: 0.8;
    }
    51% {
        opacity: 1;
    }
    65% {
        opacity: 1;
    }
    66% {
        opacity: 0.1;
        border-color: rgba(17, 242, 80, 0.1);
    }
    67% {
        opacity: 1;
        border-color: var(--primary-color);
    }
    68% {
        opacity: 0.4;
        border-color: rgba(17, 242, 80, 0.4);
    }
    69% {
        opacity: 1;
        border-color: var(--primary-color);
    }
    75% {
        opacity: 1;
    }
    76% {
        opacity: 0.6;
    }
    77% {
        opacity: 1;
    }
    78% {
        opacity: 0.2;
        border-color: rgba(17, 242, 80, 0.2);
    }
    79% {
        opacity: 1;
        border-color: var(--primary-color);
    }
    80% {
        opacity: 0.9;
    }
    81% {
        opacity: 1;
    }
    85%, 100% {
        opacity: 1;
        border-color: var(--primary-color);
    }
}

@keyframes neonGlow {
    0%, 40% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    41% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 20px rgba(17, 242, 80, 0.1),
                    0 0 30px rgba(17, 242, 80, 0.05),
                    inset 0 0 8px rgba(17, 242, 80, 0.05);
    }
    42% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 50px rgba(17, 242, 80, 0.4),
                    0 0 80px rgba(17, 242, 80, 0.2),
                    inset 0 0 20px rgba(17, 242, 80, 0.2);
    }
    43% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    55% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    56% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 15px rgba(17, 242, 80, 0.08),
                    0 0 25px rgba(17, 242, 80, 0.04),
                    inset 0 0 5px rgba(17, 242, 80, 0.03);
    }
    57% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 60px rgba(17, 242, 80, 0.5),
                    0 0 100px rgba(17, 242, 80, 0.3),
                    inset 0 0 25px rgba(17, 242, 80, 0.3);
    }
    58% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    70% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    71% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 25px rgba(17, 242, 80, 0.15),
                    0 0 40px rgba(17, 242, 80, 0.08),
                    inset 0 0 10px rgba(17, 242, 80, 0.08);
    }
    72% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 55px rgba(17, 242, 80, 0.45),
                    0 0 90px rgba(17, 242, 80, 0.25),
                    inset 0 0 22px rgba(17, 242, 80, 0.25);
    }
    73% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
    100% {
        box-shadow: 0 8px 24px var(--shadow-color), 
                    0 0 40px rgba(17, 242, 80, 0.2),
                    0 0 60px rgba(17, 242, 80, 0.1),
                    inset 0 0 15px rgba(17, 242, 80, 0.1);
    }
}

@keyframes neonTextPulse {
    0%, 54%, 56%, 100% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
    55% {
        text-shadow: 0 0 5px rgba(17, 242, 80, 0.4), 
                     0 0 10px rgba(242, 17, 179, 0.2), 
                     0 0 15px rgba(17, 242, 80, 0.1);
    }
    57% {
        text-shadow: 0 0 15px rgba(17, 242, 80, 1), 
                     0 0 30px rgba(242, 17, 179, 0.7), 
                     0 0 45px rgba(17, 242, 80, 0.5);
    }
}

@keyframes neonTextFlicker {
    0%, 50% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
    51% {
        text-shadow: 0 0 5px rgba(17, 242, 80, 0.4), 
                     0 0 10px rgba(242, 17, 179, 0.2), 
                     0 0 15px rgba(17, 242, 80, 0.1);
    }
    52% {
        text-shadow: 0 0 15px rgba(17, 242, 80, 1), 
                     0 0 30px rgba(242, 17, 179, 0.7), 
                     0 0 45px rgba(17, 242, 80, 0.5);
    }
    53% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
    68% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
    69% {
        text-shadow: 0 0 2px rgba(17, 242, 80, 0.2), 
                     0 0 5px rgba(242, 17, 179, 0.1), 
                     0 0 8px rgba(17, 242, 80, 0.05);
    }
    70% {
        text-shadow: 0 0 12px rgba(17, 242, 80, 0.9), 
                     0 0 25px rgba(242, 17, 179, 0.6), 
                     0 0 40px rgba(17, 242, 80, 0.4);
    }
    71% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
    100% {
        text-shadow: 0 0 10px rgba(17, 242, 80, 0.8), 
                     0 0 20px rgba(242, 17, 179, 0.5), 
                     0 0 30px rgba(17, 242, 80, 0.3);
    }
}

@keyframes neonPulseContact {
    0%, 48%, 52%, 100% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 4px rgba(17, 242, 80, 0.05),
                    0 0 8px rgba(17, 242, 80, 0.02);
        border-color: rgba(17, 242, 80, 0.4);
    }
    49% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 3px rgba(17, 242, 80, 0.03),
                    0 0 5px rgba(17, 242, 80, 0.01);
        border-color: rgba(17, 242, 80, 0.2);
    }
    50% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 6px rgba(17, 242, 80, 0.08),
                    0 0 12px rgba(17, 242, 80, 0.04);
        border-color: rgba(17, 242, 80, 0.6);
    }
    51% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 4px rgba(17, 242, 80, 0.05),
                    0 0 8px rgba(17, 242, 80, 0.02);
        border-color: rgba(17, 242, 80, 0.4);
    }
}

@keyframes neonTextPulseContact {
    0%, 54%, 56%, 100% {
        text-shadow: 0 0 5px rgba(17, 242, 80, 0.4), 
                     0 0 10px rgba(242, 17, 179, 0.2), 
                     0 0 15px rgba(17, 242, 80, 0.1);
    }
    55% {
        text-shadow: 0 0 3px rgba(17, 242, 80, 0.2), 
                     0 0 5px rgba(242, 17, 179, 0.1), 
                     0 0 8px rgba(17, 242, 80, 0.05);
    }
    57% {
        text-shadow: 0 0 8px rgba(17, 242, 80, 0.5), 
                     0 0 15px rgba(242, 17, 179, 0.35), 
                     0 0 22px rgba(17, 242, 80, 0.25);
    }
}

@keyframes neonGlowContact {
    0%, 40% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    41% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 5px rgba(17, 242, 80, 0.05),
                    0 0 10px rgba(17, 242, 80, 0.02),
                    inset 0 0 3px rgba(17, 242, 80, 0.02);
    }
    42% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 14px rgba(17, 242, 80, 0.15),
                    0 0 22px rgba(17, 242, 80, 0.08),
                    inset 0 0 6px rgba(17, 242, 80, 0.08);
    }
    43% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    55% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    56% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 5px rgba(17, 242, 80, 0.04),
                    0 0 8px rgba(17, 242, 80, 0.02),
                    inset 0 0 3px rgba(17, 242, 80, 0.015);
    }
    57% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 16px rgba(17, 242, 80, 0.2),
                    0 0 26px rgba(17, 242, 80, 0.12),
                    inset 0 0 8px rgba(17, 242, 80, 0.12);
    }
    58% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    70% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    71% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 8px rgba(17, 242, 80, 0.08),
                    0 0 14px rgba(17, 242, 80, 0.04),
                    inset 0 0 4px rgba(17, 242, 80, 0.04);
    }
    72% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 14px rgba(17, 242, 80, 0.18),
                    0 0 24px rgba(17, 242, 80, 0.1),
                    inset 0 0 11px rgba(17, 242, 80, 0.1);
    }
    73% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
    100% {
        box-shadow: 0 0 6px var(--shadow-color), 
                    0 0 10px rgba(17, 242, 80, 0.1),
                    0 0 16px rgba(17, 242, 80, 0.05),
                    inset 0 0 5px rgba(17, 242, 80, 0.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: var(--font-size-h2);
    }
    
    .hero p {
        font-size: var(--font-size-h4);
    }
    
    section {
        padding: 2rem 1rem;
    }
}

.stats {
    background-color: var(--stats-background);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    color: var(--stats-text);
}

.theme-toggle {
    background-color: var(--card-background);
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

/* About Section */
.about {
    display: block;
    text-align: center;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 2rem;
    position: relative;
    box-sizing: border-box;
    min-width: 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    bottom: 0;
    background: rgba(40, 40, 40, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    z-index: 0;
    border: 1px solid rgba(100, 100, 100, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    z-index: 0;
    pointer-events: none;
}

.about > * {
    position: relative;
    z-index: 1;
}

.about h2 {
    margin-bottom: 1.5rem;
    color: #F211B3;
    font-family: 'Permanent Marker', cursive;
    font-weight: 400;
    font-size: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-top: 2rem;
}

#aboutContent {
    line-height: 1.8;
    font-size: 1.125rem;
    padding: 0 3rem 2rem 3rem;
    position: relative;
    z-index: 1;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

#aboutContent p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    max-width: 100%;
    word-wrap: break-word;
    font-family: 'Inter', sans-serif;
    font-weight: var(--font-weight-light, 300);
    color: var(--description-text-color, rgba(255, 255, 255, 0.8));
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#aboutContent p:last-child {
    margin-bottom: 0;
}

#aboutContent ul,
#aboutContent ol {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto;
    padding-left: 0;
    list-style: none;
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    font-weight: var(--font-weight-light, 300);
    color: var(--description-text-color, rgba(255, 255, 255, 0.8));
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#aboutContent li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    text-align: center;
    font-weight: var(--font-weight-light, 300);
    color: var(--description-text-color, rgba(255, 255, 255, 0.8));
}

#aboutContent li::before {
    content: '# ';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

#aboutContent h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #F211B3;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: 'Permanent Marker', cursive;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

#aboutContent .rules-content p,
#aboutContent .rules-content ul,
#aboutContent .rules-content ol {
    font-size: 0.875rem;
}

#aboutContent .rules-content li {
    font-size: 0.875rem;
}

#aboutContent a {
    color: #ffffff;
    text-decoration: underline;
}

#aboutContent a:hover {
    color: var(--primary-color, #11f250);
}

@media (max-width: 768px) {
    .about {
        padding: 0.75rem 1.5rem 1.5rem;
        box-sizing: border-box;
    }
    .about::before,
    .about::after {
        left: 1.5rem;
        right: 1.5rem;
    }
    #aboutContent {
        padding: 0 1.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .about {
        padding: 0.5rem 0.5rem 1rem;
        box-sizing: border-box;
    }
    .about::before,
    .about::after {
        left: 0.5rem;
        right: 0.5rem;
    }
    #aboutContent {
        padding: 0 0.5rem 2rem;
    }
}

/* Mint Modal Specific Styles */
.mint-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; 
    text-align: center;
}

#modal-project-title {
    font-size: 2rem; 
    color: var(--primary-color);
    margin-bottom: 0.5rem; 
}

.mint-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; 
    width: 100%;
    max-width: 350px; 
}

.quantity-slider-container {
    display: flex;
    align-items: center;
    justify-content: center; 
    width: 100%;
    gap: 1rem; 
}

#mint-quantity-slider {
    flex-grow: 1; 
    max-width: 250px; 
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
}

#mint-quantity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

#mint-quantity-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none; 
}

.quantity-value-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    min-width: 30px;
    text-align: center;
}

/* Custom Price Container */
.custom-price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 350px;
}

.custom-price-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
}

.custom-price-input {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-color);
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.custom-price-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(17, 242, 80, 0.1);
}

.custom-price-input::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

.custom-price-help {
    font-size: 0.875rem;
    color: var(--stats-text);
    text-align: center;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.mint-price {
    font-size: 1.5rem; 
    font-weight: bold;
    color: var(--primary-color); 
    margin-top: 0.5rem; 
}

.project-stats {
    margin: 1rem 0;
    padding: 1rem;
    background-color: var(--stats-background);
    border-radius: 8px;
}

.project-stats-pricing {
    display: block; 
}

.project-stats-pricing .project-stat {
    align-items: stretch; 
    text-align: left; 
}

.project-stats-supply {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 2rem; 
}

.hamburger {
    display: none; 
    background: none;
    border: none;
    padding: 0; 
    color: var(--text-color);
    font-size: 2rem; 
    cursor: pointer;
    z-index: 101;
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        right: 0;
        background-color: var(--card-background); 
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 4px 6px var(--shadow-color);
        border-top: 1px solid var(--border-color);
        z-index: 100; 
    }
    .nav-links.active {
        display: flex; 
    }
    .nav-links a {
        margin-left: 0;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }
    .nav-links a:last-child {
        margin-bottom: 0; 
    }

    #nav-right-group-desktop > #theme-switch-container {
        display: none;
    }

    #nav-links-menu.active #theme-switch-container {
        display: flex; 
        justify-content: center; 
        margin-top: 1rem; 
        padding: 0.5rem 0; 
        width: auto; 
        max-width: 200px; 
        min-width: 60px;
    }


    #nav-links-menu.active #theme-switch-container .theme-switch label i {
        color: var(--text-color);
    }
 
    .nav-right-group {
    }

    .hamburger {
        display: block; 
    }

    nav {
        justify-content: space-between; 
    }
    
    .banner-cta {
        width: 100%;
        text-align: center;
    }

    footer .nmkr-logo {
        width: 100%;
        max-width: 400px; 
        height: auto;
        display: block;
    }

    footer {
        min-height: 60vh;
        padding: calc(1.5rem + 80px) 1.5rem 1.5rem;
        background-image: url('footer_bg_mobile.png');
        background-size: 100% 100%;
        background-position: top center;
        max-width: 100vw;
    }

    footer .nmkr-logo-link {
        margin-bottom: 1.5rem;
    }

    .contact-link {
        margin-bottom: 1.5rem;
    }

    footer .nmkr-logo path {
        transition: fill 0.3s ease;
    }

    footer .nmkr-logo-link:hover .nmkr-logo path {
        fill: #11f250 !important;
    }

    .hero h1 {
        font-size: var(--font-size-h2);
    }
    
    .hero p {
        font-size: var(--font-size-h4);
    }
    
    section {
        padding: 2rem 1rem;
    }
} 

/* Styles for modal payment information display */
.modal-payment-info {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--stats-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-color);
}

.modal-payment-info p {
    margin-bottom: 0.5rem;
}

.modal-payment-info strong {
    color: var(--primary-color);
}

.payment-address-display {
    overflow-wrap: break-word;
    word-break: break-word;
    display: block;
    background-color: var(--background-color);
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--border-color); 
    font-family: var(--primary-font), sans-serif; 
    font-size: 1rem;
    text-align: left; 
    flex-grow: 1;
    line-height: 1.4;
    color: var(--primary-color);
    min-width: 250px;
}

.payment-address-container {
    display: flex;
    align-items: center;
    gap: 0.75rem; 
    margin-top: 1.25rem;
    margin-bottom: 1.0rem;
    font-family: var(--primary-font), sans-serif;
    font-weight: var(--font-weight-medium, 500);
    font-size: 0.875rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0; 
    line-height: 1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.copy-button {
    background: none;
    border: none;
    padding: 0.25rem;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: background 0.15s;
    outline: none;
}

.copy-button:hover, .copy-button:focus {
    /* background: var(--primary-color, #11f250); */
}

.copy-button:disabled {
    opacity: 0.6;
    cursor: default;
}

.custom-copy-icon {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--primary-color, #11f250);
    fill: var(--primary-color, #11f250);
    pointer-events: none;
}

.payment-expiry-display {
    font-size: 0.85em;
    margin-top: 1.25rem !important;
    opacity: 0.8;
}

/* NFT Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-grid.advent-calendar {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .gallery-grid.advent-calendar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid.advent-calendar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .gallery-grid.advent-calendar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

.nft-card {
    position: relative;
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.nft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 0;
    pointer-events: none;
    border-radius: 1rem;
}

.nft-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
    border-radius: 1rem;
}

.nft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nft-image-container {
    width: 100%;
    padding-top: 125%; /* Accommodates portrait images (701×876 ≈ 0.8:1 ratio) */
    position: relative;
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.nft-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 3;
}

.nft-info {
    padding: 1rem;
    text-align: center;
}

.nft-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nft-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
}

.nft-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.advent-card .nft-card-overlay {
    z-index: 20;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none !important;
}

.nft-card:hover .nft-card-overlay {
    opacity: 1;
}

.buy-now-button {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 11;
}

.buy-now-button:hover {
    background-color: var(--hover-color);
}

.buy-now-button:disabled {
    background-color: #888;
    cursor: not-allowed;
}

/* Sold State */
.nft-card.sold .nft-image {
    filter: grayscale(100%);
}

.nft-card.sold .nft-info {
    opacity: 0.6;
}

.nft-price.sold {
    color: var(--stats-text);
}

.nft-card.sold:hover .nft-card-overlay {
    opacity: 1;
}

.loading-message, .error-message {
    text-align: center;
    grid-column: 1 / -1;
    padding: 2rem;
    font-size: 1.2rem;
}

/* Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snow-container-foreground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(17, 242, 80, 0.4), 0 0 10px rgba(242, 17, 179, 0.2);
    animation: fall linear infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateX(15px);
    }
    100% {
        transform: translateY(100vh) translateX(-15px) rotate(360deg);
        opacity: 0.1;
    }
}

/* Fairy Lights */
#fairy-lights-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(180px, 32vw, 420px);
    pointer-events: none;
    z-index: 30; /* Above banner background, below UI */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    padding-top: clamp(0px, 4vw, 32px);
}

#fairy-lights-container picture {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.fairy-lights-image {
    width: min(2000px, 100%);
    max-width: none;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
    transform-origin: top center;
    transform: translate(140px, -160px);
}

@media (max-width: 768px) {
    #fairy-lights-container {
        height: clamp(140px, 45vw, 260px);
        padding-top: clamp(0px, 2vw, 16px);
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
        left: 0;
        right: 0;
    }

    .fairy-lights-image {
        width: 100%;
        max-width: 100vw;
        transform: translate(0, -10px);
    }
}

.snowflake:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; font-size: 0.8em; }
.snowflake:nth-child(2) { left: 20%; animation-duration: 12s; animation-delay: 1s; font-size: 1em; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 11s; animation-delay: 2s; font-size: 0.9em; }
.snowflake:nth-child(4) { left: 40%; animation-duration: 13s; animation-delay: 0.5s; font-size: 0.7em; }
.snowflake:nth-child(5) { left: 50%; animation-duration: 10s; animation-delay: 1.5s; font-size: 1.1em; }
.snowflake:nth-child(6) { left: 60%; animation-duration: 12s; animation-delay: 2.5s; font-size: 0.8em; }
.snowflake:nth-child(7) { left: 70%; animation-duration: 11s; animation-delay: 0.8s; font-size: 1em; }
.snowflake:nth-child(8) { left: 80%; animation-duration: 13s; animation-delay: 1.8s; font-size: 0.9em; }
.snowflake:nth-child(9) { left: 90%; animation-duration: 10s; animation-delay: 0.3s; font-size: 0.7em; }
.snowflake:nth-child(10) { left: 15%; animation-duration: 12s; animation-delay: 1.2s; font-size: 1em; }
.snowflake:nth-child(11) { left: 25%; animation-duration: 11s; animation-delay: 2.2s; font-size: 0.8em; }
.snowflake:nth-child(12) { left: 35%; animation-duration: 13s; animation-delay: 0.7s; font-size: 0.9em; }
.snowflake:nth-child(13) { left: 45%; animation-duration: 10s; animation-delay: 1.7s; font-size: 1.1em; }
.snowflake:nth-child(14) { left: 55%; animation-duration: 12s; animation-delay: 0.4s; font-size: 0.7em; }
.snowflake:nth-child(15) { left: 65%; animation-duration: 11s; animation-delay: 2.8s; font-size: 1em; }
.snowflake:nth-child(16) { left: 75%; animation-duration: 13s; animation-delay: 1.1s; font-size: 0.8em; }
.snowflake:nth-child(17) { left: 85%; animation-duration: 10s; animation-delay: 0.6s; font-size: 0.9em; }
.snowflake:nth-child(18) { left: 95%; animation-duration: 12s; animation-delay: 1.9s; font-size: 1em; }
.snowflake:nth-child(19) { left: 5%; animation-duration: 11s; animation-delay: 0.2s; font-size: 0.8em; }
.snowflake:nth-child(20) { left: 12%; animation-duration: 13s; animation-delay: 2.3s; font-size: 1.1em; }

.error-message {
    color: #ff6b6b;
}

/* Advent Calendar Styles */
.gallery-grid.advent-calendar {
    /* perspective removed from grid - applied per-card for uniform flip angles */
}

.nft-card.advent-card {
    height: 0;
    padding-bottom: 125%; /* Match image container aspect ratio (701×876 portrait) */
    perspective: 1500px;
    overflow: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.nft-card.advent-card::before,
.nft-card.advent-card::after {
    display: none;
}

.advent-card {
    cursor: pointer;
}

.advent-card.flipped .advent-card-inner {
    transform: rotateY(180deg);
}

.advent-card-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.advent-card-front,
.advent-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    will-change: transform;
}

.advent-card-back {
    transform: rotateY(180deg);
}

.advent-card-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 700;
    -webkit-text-stroke: 3px #11f250;
    color: transparent;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.advent-card.dimmed.locked .advent-card-number {
    -webkit-text-stroke: 3px #F211B3;
}

.advent-card.revealed .advent-card-number {
    display: none;
}

.advent-card.dimmed.locked {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.advent-card.dimmed.locked .advent-card-front {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 100, 100, 0.3);
}

.advent-card.available-unrevealed {
    animation: pulsate 2s ease-in-out infinite;
    cursor: pointer;
    opacity: 1;
}

.advent-card.available-unrevealed:not(.dimmed) {
    opacity: 1;
}

.advent-card.available-unrevealed .advent-card-front {
    animation: pulsate 2s ease-in-out infinite;
}

.advent-card.revealed {
    opacity: 1;
    cursor: default;
}


.advent-card.revealed .advent-card-back {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.advent-card.revealed:hover .advent-card-inner {
    transform: rotateY(180deg) translateY(-5px);
}

.advent-card.revealed:not(.just-revealed) .advent-card-inner {
    transition: transform 0.3s ease;
}

.advent-card.revealed:hover .advent-card-back {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.advent-card-back .nft-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

.advent-card.revealed:hover .nft-card-overlay {
    opacity: 1;
}

.advent-card.just-revealed:hover .nft-card-overlay {
    opacity: 0;
}

.mint-now-button {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 21;
}

.mint-now-button:hover {
    background-color: var(--hover-color);
}

.mint-now-button:disabled {
    background-color: #888;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes pulsate {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        opacity: 1;
        box-shadow: 0 2px 10px rgba(17, 242, 80, 0.4), 0 0 15px rgba(17, 242, 80, 0.5);
    }
}

.advent-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(17, 242, 80, 0.3);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    pointer-events: none;
}

.advent-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
    .gallery-grid:not(.advent-calendar) {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .advent-card-number {
        font-size: 2rem;
    }
    
    .advent-card-stats {
        font-size: 0.75rem;
        padding: 3px 0;
    }

    footer {
        min-height: 50vh;
        padding: calc(1rem + 60px) 1rem 1rem;
        background-image: url('footer_bg_mobile.png');
        background-position: center top;
        background-size: 100% 100%;
    }
}

@media (max-width: 480px) {
    .gallery-grid.advent-calendar {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .advent-card-number {
        font-size: 1.75rem;
    }
    
    footer {
        min-height: 45vh;
        padding: calc(1rem + 50px) 1rem 1rem;
        background-image: url('footer_bg_mobile.png');
        background-position: center top;
        background-size: 100% 100%;
    }
}

.advent-card-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    z-index: 4;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.6);
    padding: 4px 0;
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(17, 242, 80, 0.2);
}
 