@font-face {
    font-family: 'Winter Selfie';
    src: url('font_winter_selfie/Winter%20Selfie.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --cyan: #17bfe6;
    --yellow: #fff380;
    --black: #050505;
    --dark-gray: #111111;
    --gray-brown: #89806f;
    --red: #ff1d43;
    --brown: #a15548;
    --white: #ffffff;
    
    /* Light Theme Variables */
    --bg-light: #fdfdfd;
    --bg-alt: #f4f4f4;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --border-light: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Winter Selfie', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: default;
}

::selection {
    background-color: var(--cyan);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background-color: var(--yellow);
    border-radius: 6px;
    border: 3px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #e6db66; /* Slightly darker yellow for hover */
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

html {
    scroll-padding-top: 88px;
}

html.loading,
html.loading body {
    overflow: hidden !important;
    height: 100%;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    background-color: var(--cyan);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.loader-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 2;
    width: 100%;
    min-height: 0;
}

.loader-main-logo {
    width: 500px;
    max-width: 80vw;
    height: auto;
    object-fit: contain;
    object-position: center top;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.custom-loading-bar {
    width: 350px;
    height: 35px;
    border: 4px solid var(--black);
    border-radius: 20px;
    background-color: var(--white);
    padding: 4px 6px;
    display: flex;
    gap: 6px;
}

.loading-block {
    flex: 1;
    background-color: var(--black);
    border-radius: 4px;
    opacity: 0;
}

.loading-text {
    font-size: 2rem;
    color: var(--black);
    letter-spacing: 4px;
}

.loader-ape-img {
    width: 100%;
    max-width: 800px;
    height: 45vh;
    max-height: 45vh;
    object-fit: contain;
    object-position: center bottom;
    z-index: 1;
    display: block;
    flex-shrink: 0;
    margin-bottom: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(253,253,253,0.95) 0%, rgba(253,253,253,0) 100%);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 60px;
    background: rgba(253, 253, 253, 0.98);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-desktop .theme-toggle {
    flex-shrink: 0;
}

.nav-desktop a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-desktop a:not(.nav-social)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}

.nav-desktop a:hover:not(.nav-social)::after {
    width: 100%;
}

.nav-desktop a:hover {
    color: var(--cyan);
}

.nav-social {
    color: var(--text-dark);
    font-size: 1.4rem;
}

.nav-social:hover {
    color: var(--cyan);
    transform: translateY(-2px);
}

.nav-menu-toggle {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.35rem;
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-menu-toggle:hover {
    color: var(--cyan);
    background-color: rgba(23, 191, 230, 0.08);
}

.nav-menu-toggle .nav-menu-icon--close {
    display: none;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon--open {
    display: none;
}

.nav-menu-toggle[aria-expanded="true"] .nav-menu-icon--close {
    display: block;
}

/* Desktop: never show hamburger */
@media (min-width: 769px) {
    .nav-desktop {
        display: flex !important;
    }

    .nav-menu-toggle {
        display: none !important;
    }
}

/* Mobile fullscreen menu overlay */
.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
}

.mobile-nav-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.mobile-nav-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: calc(20px + env(safe-area-inset-top, 0px)) 24px calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(
        165deg,
        rgba(23, 191, 230, 0.92) 0%,
        rgba(253, 253, 253, 0.98) 38%,
        var(--bg-light) 62%
    );
    transform: translateY(-108%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.mobile-nav-drawer.is-open .mobile-nav-shell {
    transform: translateY(0);
}

.mobile-nav-close {
    align-self: flex-end;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border: 2px solid var(--black);
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-close:hover {
    transform: rotate(90deg);
    background-color: var(--yellow);
}

.mobile-nav-tagline {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-left: 4px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    justify-content: center;
    min-height: 0;
}

.mobile-nav-link {
    display: block;
    padding: 16px 18px;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    letter-spacing: 2px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    border-left-color: var(--cyan);
    background-color: rgba(23, 191, 230, 0.12);
    transform: translateX(6px);
    outline: none;
}

.mobile-nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
}

.theme-toggle--drawer {
    min-width: 52px;
    min-height: 52px;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    background-color: var(--bg-alt);
}

.theme-toggle--drawer:hover {
    border-color: var(--cyan);
}

.mobile-nav-x-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    background-color: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav-x-btn i {
    font-size: 1.35rem;
}

.mobile-nav-x-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(23, 191, 230, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav-shell {
        transition: none;
    }

    .mobile-nav-close:hover {
        transform: none;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:focus-visible {
        transform: none;
    }
}

.logo img {
    height: 40px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--cyan);
    transform: translateY(-2px);
}

.theme-toggle.theme-toggle--mobile-header {
    display: none;
}

/* Dark Mode Overrides */
body.dark-mode {
    --bg-light: #050505;
    --bg-alt: #111111;
    --text-dark: #ffffff;
    --text-muted: #aaaaaa;
    --border-light: rgba(255, 255, 255, 0.1);
}

body.dark-mode .header {
    background: linear-gradient(to bottom, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0) 100%);
}

body.dark-mode .header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

body.dark-mode .mobile-nav-shell {
    background: linear-gradient(
        165deg,
        rgba(23, 191, 230, 0.35) 0%,
        #0a0a0a 45%,
        #050505 100%
    );
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.dark-mode .mobile-nav-close {
    border-color: var(--white);
    background: var(--black);
    color: var(--white);
}

body.dark-mode .mobile-nav-close:hover {
    background-color: var(--cyan);
    color: var(--black);
}

body.dark-mode .mobile-nav-tagline {
    color: var(--text-muted);
}

body.dark-mode .mobile-nav-link {
    color: var(--text-dark);
}

body.dark-mode .mobile-nav-link:hover,
body.dark-mode .mobile-nav-link:focus-visible {
    background-color: rgba(23, 191, 230, 0.15);
}

body.dark-mode .mobile-nav-actions {
    border-top-color: var(--border-light);
}

body.dark-mode .theme-toggle--drawer {
    background-color: #111111;
    border-color: var(--border-light);
}

body.dark-mode .nav-menu-toggle {
    color: var(--text-dark);
}

body.dark-mode .nav-menu-toggle:hover {
    background-color: rgba(23, 191, 230, 0.12);
}

body.dark-mode .hero {
    background: radial-gradient(circle at 50% 50%, #111111 0%, #000000 100%);
}

body.dark-mode .hero-title {
    color: var(--white);
    text-shadow: 4px 4px 0px var(--cyan);
}

body.dark-mode .hero-subtitle {
    color: var(--yellow);
}

body.dark-mode .hero::before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+');
}

body.dark-mode .details-card {
    background: #111111;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

body.dark-mode .details-bg-logo {
    filter: invert(1);
    opacity: 0.05;
}

body.dark-mode .social-link {
    background-color: transparent;
}

body.dark-mode .social-link:hover {
    background-color: var(--cyan);
}

body.dark-mode .about-text .highlight {
    background: linear-gradient(90deg, rgba(23,191,230,0.15) 0%, transparent 100%);
}

body.dark-mode ::-webkit-scrollbar-track {
    background: #050505;
}

body.dark-mode ::-webkit-scrollbar-thumb {
    border-color: #050505;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, var(--bg-alt) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMDIiLz4KPC9zdmc+');
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -50px;
}

.hero-badge {
    background-color: rgba(23, 191, 230, 0.1);
    color: var(--cyan);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(23, 191, 230, 0.3);
}

.hero-title {
    font-size: 8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1;
    letter-spacing: 5px;
    text-transform: uppercase;
    position: relative;
    text-shadow: 4px 4px 0px var(--yellow);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-wrapper {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.2rem;
    background-color: var(--cyan);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(23, 191, 230, 0.2);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover::before {
    left: 100%;
}

.hero-graphics {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
}

.hero-ape {
    position: absolute;
    bottom: -20px;
    height: 55vh;
    object-fit: contain;
    opacity: 0.9;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.ape-left {
    left: 8%;
    /* Flip the running ape so he runs towards the center */
    transform: scaleX(-1);
}

.ape-right {
    right: 8%;
    /* The falling ape naturally faces left, so no flip needed */
}

/* About Section */
.about-section {
    padding: 150px 20px;
    background-color: var(--bg-light);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--cyan);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-muted);
}

.about-text .highlight {
    font-size: 1.6rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 35px;
    border-left: 4px solid var(--cyan);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(23,191,230,0.05) 0%, transparent 100%);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.about-text strong {
    color: var(--cyan);
    font-size: 1.3rem;
}

.about-text .conclusion {
    font-size: 1.4rem;
    color: var(--red);
    margin-top: 40px;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.static-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    z-index: 2;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0 150px;
    background-color: var(--bg-alt);
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.gallery-header {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.gallery-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 20px;
}

.marquee-wrapper {
    position: relative;
    transform: rotate(-2deg) scale(1.05);
    padding-bottom: 30px;
}

.marquee-container {
    width: 100%;
    white-space: nowrap;
    margin-bottom: 20px;
    position: relative;
}

.marquee {
    display: inline-flex;
    gap: 20px;
    padding: 0 10px;
}

.marquee img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    filter: grayscale(20%);
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.marquee img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(23, 191, 230, 0.4);
    z-index: 10;
}

/* Details Section */
.details-section {
    padding: 150px 20px;
    background-color: var(--bg-light);
    position: relative;
}

.details-card {
    background: #ffffff;
    padding: 80px;
    border-radius: 24px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.details-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--yellow));
}

.details-content {
    position: relative;
    z-index: 2;
}

.details-content h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    text-align: center;
}

.stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.divider {
    width: 1px;
    height: 80px;
    background-color: var(--border-light);
}

.stat-value {
    font-size: 3.5rem;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px rgba(23,191,230,0.1);
}

.opensea-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.opensea-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
}

.details-bg-logo {
    position: absolute;
    right: -50px;
    bottom: -50px;
    height: 120%;
    opacity: 0.03;
    z-index: 1;
    transform: rotate(-15deg);
}

/* Apply Section */
.apply-section {
    padding: 72px 20px 48px;
    background-color: var(--bg-alt);
    position: relative;
    text-align: left;
}

.apply-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px 56px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.apply-column--main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.apply-section-title.section-title {
    margin-bottom: 28px;
    width: 100%;
    text-align: left;
}

.apply-section-title.section-title::after {
    left: 0;
    transform: none;
}

.apply-note {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 28px;
    text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.apply-note p {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

.apply-note a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: bold;
}

.apply-note a:hover {
    text-decoration: underline;
}

.phone-container {
    position: relative;
    max-width: 380px;
    width: 100%;
    margin: 0;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.phone-bg {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    position: relative;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 14.2%;
    left: 24.9%;
    width: 47.4%;
    height: 71.8%;
    background-color: transparent;
    display: block;
    overflow: hidden;
    z-index: 3;
    border-radius: 8px;
    transform: rotate(-6deg);
}

.phone-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background-color: transparent;
}

.phone-state.active {
    display: flex;
}

.phone-state.animating {
    display: flex;
}

#phone-pin-input {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    width: 80%;
    text-align: center;
    letter-spacing: 4px;
    font-size: 1.2rem;
}

.pin-submit-btn {
    margin-top: 10px;
    padding: 6px 12px;
    background-color: var(--cyan);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}
.pin-submit-btn:hover {
    background-color: var(--text-dark);
}

.pin-error {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 8px;
    display: none;
}

.power-on-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.power-on-btn:hover {
    color: var(--cyan);
}

.phone-loading-img {
    width: 60px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.phone-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.phone-loading-bar {
    width: 120px;
    height: 18px;
    border: 2px solid var(--black);
    border-radius: 10px;
    background-color: var(--white);
    padding: 2px 3px;
    display: flex;
    gap: 3px;
}

.phone-loading-block {
    flex: 1;
    background-color: var(--black);
    border-radius: 2px;
    opacity: 0;
}

.phone-loading-text {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--black);
    letter-spacing: 2px;
}

.phone-screen::-webkit-scrollbar {
    width: 4px;
}
.phone-screen::-webkit-scrollbar-thumb {
    background-color: var(--border-light);
    border-radius: 4px;
    border: none;
}

.phone-logo {
    width: 60px;
    margin-bottom: 2px;
    margin-top: 5px;
    object-fit: contain;
}

.apply-content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.follow-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #050505;
}

.follow-text a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.follow-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}

.follow-text a:hover::after {
    width: 100%;
}

.apply-form {
    width: 90%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.apply-form .form-group {
    margin-bottom: 8px;
    text-align: left;
}

.apply-form label {
    display: block;
    margin-bottom: 4px;
    color: #555555;
    font-size: 0.75rem;
    font-family: sans-serif;
    font-weight: bold;
}

.apply-form input {
    width: 100%;
    padding: 6px 8px;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: sans-serif;
    background-color: #fafafa;
    color: #050505;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.apply-form input:focus {
    outline: none;
    border-color: var(--cyan);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 191, 230, 0.1);
}

.apply-form input::placeholder {
    color: #bbbbbb;
}

.submit-btn {
    width: 100%;
    padding: 8px;
    background-color: var(--cyan);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: auto;
    margin-bottom: 5px;
    font-family: 'Winter Selfie', sans-serif;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(23, 191, 230, 0.2);
}

.submit-btn:hover {
    background-color: var(--text-dark);
    color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

body.dark-mode .apply-section {
    background-color: var(--bg-alt);
}

body.dark-mode .apply-note {
    background-color: #111111;
    border-color: var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.dark-mode .apply-note p {
    color: var(--text-muted);
}

body.dark-mode .phone-container {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* Phone screen stays transparent; PIN has no full-bleed dark panel in dark mode */
body.dark-mode #phone-state-pin {
    background-color: transparent;
}

body.dark-mode #phone-pin-input {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

body.dark-mode #phone-pin-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

body.dark-mode #phone-state-pin h3 {
    color: var(--text-dark);
}
body.dark-mode .phone-loading-text {
    color: var(--white);
}
body.dark-mode .phone-loading-bar {
    border-color: var(--white);
    background-color: var(--bg-alt);
}
body.dark-mode .phone-loading-block {
    background-color: var(--white);
}
body.dark-mode .follow-text {
    color: #ffffff;
}
body.dark-mode .apply-form label {
    color: #aaaaaa;
}
body.dark-mode .apply-form input {
    background-color: #222222;
    border-color: #333333;
    color: #ffffff;
}
body.dark-mode .apply-form input:focus {
    background-color: #1a1a1a;
    border-color: var(--cyan);
}

/* Footer */
footer {
    background-color: var(--bg-alt);
    padding: 30px 40px;
    border-top: 1px solid var(--border-light);
}

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

.footer-badge {
    background-color: rgba(23, 191, 230, 0.1);
    color: var(--cyan);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border: 1px solid rgba(23, 191, 230, 0.3);
    margin-bottom: 0;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.social-link i {
    color: var(--cyan);
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(23, 191, 230, 0.2);
}

.social-link:hover i {
    color: var(--white);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .stats { flex-wrap: wrap; justify-content: center; gap: 40px; }
    .divider { display: none; }
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-title { font-size: 6rem; }
}

@media (max-width: 900px) {
    .apply-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        align-items: start;
    }

    .apply-section-title.section-title {
        text-align: center;
    }

    .apply-section-title.section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 72px;
    }

    .loader {
        justify-content: space-between;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .loader-content {
        flex: 1;
        justify-content: center;
        padding-left: 12px;
        padding-right: 12px;
        gap: 16px;
    }

    .loader-main-logo {
        width: min(88vw, 320px);
        max-height: min(18vh, 140px);
        object-fit: contain;
        object-position: center top;
    }

    .custom-loading-bar {
        width: min(85vw, 260px);
        height: 22px;
        border-width: 3px;
        padding: 3px 5px;
        gap: 4px;
    }

    .loading-text {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .loader-ape-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: min(38vh, 260px);
        min-height: 0;
        object-fit: contain;
        object-position: 82% bottom;
        margin-top: auto;
        align-self: stretch;
    }

    .header {
        padding: 12px 16px;
    }

    .header.scrolled {
        padding: 10px 16px;
    }

    .nav-desktop {
        display: none !important;
    }

    .nav-menu-toggle {
        display: flex !important;
    }

    .theme-toggle--mobile-header {
        display: flex !important;
        margin-left: auto;
        min-width: 44px;
        min-height: 44px;
    }

    .theme-toggle--drawer {
        display: none !important;
    }

    .logo img {
        height: 30px;
    }

    /* Typography & Spacing */
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.2rem; margin-bottom: 20px; }
    .cta-wrapper { bottom: 40px; }
    .cta-btn { padding: 12px 30px; font-size: 1rem; }
    .hero-ape { height: 35vh; }
    .ape-left { left: -5%; }
    .ape-right { right: -5%; }
    .section-title { font-size: 2.5rem; margin-bottom: 30px; }
    
    /* Sections */
    .about-section { padding: 80px 20px; }
    .apply-section { padding: 56px 20px 36px; }
    .about-text p { font-size: 1.1rem; }
    .about-text .highlight { font-size: 1.3rem; padding: 10px 15px; }
    .gallery-section { padding: 60px 0 120px; }
    .gallery-header { margin-bottom: 40px; }
    .marquee img { width: 150px; height: 150px; }
    
    /* Details Card */
    .details-section { padding: 80px 20px; }
    .details-card { padding: 40px 20px; }
    .details-content h2 { font-size: 2.5rem; margin-bottom: 40px; }
    .stats { flex-direction: column; gap: 30px; text-align: center; }
    .divider { width: 80px; height: 1px; }
    .stat-value { font-size: 3rem; }
    .opensea-logo { height: 3rem; }
    
    /* Footer */
    footer { padding: 30px 20px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-badge { font-size: 0.8rem; padding: 5px 12px; }
    .footer-logo { height: 30px; }
}