@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;800&display=swap');

:root {
    --bg-color: #050510;
    --text-color: #e0e0e0;
    --primary-color: #00aaff;
    --accent-color: #0077ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glow: 0 0 20px rgba(0, 170, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-color);
    z-index: 10001;
    box-shadow: 0 0 10px var(--primary-color);
    transition: width 0.1s linear;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020205;
}

::-webkit-scrollbar-thumb {
    background: #1a1a2e;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-color);
    mix-blend-mode: exclusion;
    will-change: transform, left, top;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 170, 255, 0.1);
    border-color: transparent;
    box-shadow: 0 0 30px var(--primary-color);
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    will-change: left, top;
}

.background-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: radial-gradient(circle at center, #0b0b1e 0%, #050510 100%);
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    will-change: transform;
}

.shooting-star {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    background: linear-gradient(-45deg, #5f91ff, rgba(0, 0, 255, 0));
    border-radius: 999px;
    filter: drop-shadow(0 0 6px #699bff);
    animation: tail 3000ms ease-in-out infinite, shooting 3000ms ease-in-out infinite;
    opacity: 0;
}

.shooting-star::before,
.shooting-star::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    height: 2px;
    background: linear-gradient(-45deg, rgba(0, 0, 255, 0), #5f91ff, rgba(0, 0, 255, 0));
    transform: translateX(50%) rotateZ(45deg);
    border-radius: 100%;
    animation: shining 3000ms ease-in-out infinite;
}

@keyframes tail {
    0% {
        width: 0;
        opacity: 0;
    }

    30% {
        width: 100px;
        opacity: 1;
    }

    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes shooting {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(300px);
    }
}

@keyframes shining {
    0% {
        width: 0;
    }

    50% {
        width: 30px;
    }

    100% {
        width: 0;
    }
}


.beam {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 170, 255, 0.08) 50%, transparent 60%);
    transform: rotate(-30deg);
    filter: blur(120px);
    pointer-events: none;
    animation: beam-pulse 10s infinite alternate;
    opacity: 0.6;
}

@keyframes beam-pulse {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: #fff;
    letter-spacing: 5px;
    margin-bottom: 3rem;
    line-height: 1.1;
}

h1::before,
h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

h1::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip-path: inset(50% 0 30% 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

h1::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip-path: inset(10% 0 60% 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip-path: inset(10% 0 80% 0);
    }

    20% {
        clip-path: inset(80% 0 10% 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
    }

    60% {
        clip-path: inset(90% 0 5% 0);
    }

    80% {
        clip-path: inset(20% 0 70% 0);
    }

    100% {
        clip-path: inset(60% 0 20% 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip-path: inset(70% 0 10% 0);
    }

    20% {
        clip-path: inset(10% 0 90% 0);
    }

    40% {
        clip-path: inset(50% 0 40% 0);
    }

    60% {
        clip-path: inset(30% 0 20% 0);
    }

    80% {
        clip-path: inset(80% 0 5% 0);
    }

    100% {
        clip-path: inset(20% 0 60% 0);
    }
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #fff, var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-bottom: 15px;
    border-bottom: none;
    position: relative;
    letter-spacing: 2px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 3rem;
    color: #a0a0b0;
    letter-spacing: 1px;
    line-height: 1.8;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #9090a0;
    letter-spacing: 0.5px;
    line-height: 1.7;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.nav-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px 25px;
    text-decoration: none;
    color: var(--text-color);
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.nav-card:hover::before {
    opacity: 1;
}

.nav-card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.3));
    transition: transform 0.4s, filter 0.4s;
    z-index: 1;
}

.nav-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 700;
    z-index: 1;
    position: relative;
}

.nav-card p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.5;
    margin-bottom: 15px;
    z-index: 1;
    position: relative;
}

.nav-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.4s;
    z-index: 1;
    position: relative;
    margin-top: auto;
}

.discord-card {
    border-color: rgba(88, 101, 242, 0.3);
}

.discord-card:hover {
    border-color: rgba(88, 101, 242, 0.8);
    background: rgba(88, 101, 242, 0.08);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.3), 0 0 40px rgba(88, 101, 242, 0.2);
    transform: translateY(-10px) scale(1.02);
}

.discord-card:hover .nav-card-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 30px rgba(88, 101, 242, 0.6));
}

.discord-card:hover .nav-arrow {
    transform: translateX(10px);
    color: #5865f2;
}

.skin-card {
    border-color: rgba(0, 170, 255, 0.4);
    animation: skin-card-pulse 3s ease-in-out infinite;
}

.skin-card:hover {
    border-color: var(--primary-color);
    background: rgba(0, 170, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 170, 255, 0.4), 0 0 50px rgba(0, 170, 255, 0.3);
    transform: translateY(-10px) scale(1.02);
    animation: none;
}

.skin-card:hover .nav-card-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 30px rgba(0, 170, 255, 0.8));
}

.skin-card:hover .nav-arrow {
    transform: translateX(10px);
    color: #00d4ff;
}

@keyframes skin-card-pulse {

    0%,
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 170, 255, 0.2);
    }

    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 35px rgba(0, 170, 255, 0.4);
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 20px;
    perspective: 1000px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.1s;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.4);
    transform: translateZ(30px);
}

.card p {
    font-size: 1.1rem;
    color: #ccc;
    transform: translateZ(20px);
}

.featured-card {
    background: linear-gradient(135deg, rgba(0, 170, 255, 0.08) 0%, rgba(0, 119, 255, 0.05) 100%);
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 0 40px rgba(0, 170, 255, 0.3), inset 0 0 30px rgba(0, 170, 255, 0.1);
    animation: featured-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 170, 255, 0.1), transparent);
    animation: featured-shine 4s linear infinite;
}

@keyframes featured-pulse {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(0, 170, 255, 0.3), inset 0 0 30px rgba(0, 170, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 60px rgba(0, 170, 255, 0.5), inset 0 0 50px rgba(0, 170, 255, 0.15);
    }
}

@keyframes featured-shine {
    0% {
        transform: rotate(0deg) translate(-50%, -50%);
    }

    100% {
        transform: rotate(360deg) translate(-50%, -50%);
    }
}

.btn-featured {
    display: inline-block;
    padding: 18px 50px;
    margin-top: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-size: 1.3rem;
    box-shadow: 0 8px 30px rgba(0, 170, 255, 0.4), 0 0 20px rgba(0, 170, 255, 0.3);
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: btn-float 3s ease-in-out infinite;
}

.btn-featured::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-featured:hover::before {
    width: 300px;
    height: 300px;
}

.btn-featured:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 170, 255, 0.6), 0 0 40px rgba(0, 170, 255, 0.5);
    background: linear-gradient(135deg, #00d4ff, #0099ff);
}

@keyframes btn-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.1);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background: inherit;
    width: 50%;
    box-sizing: border-box;
    border: none;
    border-left: none;
    margin-bottom: 0;
}

.timeline-item {
    left: 0;
    text-align: right;
    border-right: 3px solid var(--primary-color);
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    border-right: none;
    border-left: 3px solid var(--primary-color);
    padding-left: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -11.5px;
    top: 25px;
    background-color: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
    transition: all 0.3s;
}

.timeline-item:nth-child(even)::after {
    left: -11.5px;
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.02);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.leaders {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.leader-card {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    transition: background 0.3s;
}

.leader-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.avatar {
    width: 140px;
    height: 140px;
    font-size: 3rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.2);
    transition: all 0.5s;
    background: #000;
    margin-bottom: 20px;
}

.departments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.dept-badge {
    padding: 25px;
    font-size: 1.1rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
}

.dept-badge:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 170, 255, 0.4);
    transform: translateY(-8px);
    border-color: transparent;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 800;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: 0.4s;
    z-index: -1;
    transform: skewX(-20deg);
}

.btn:hover::before {
    left: 0;
    transform: skewX(0);
}

.btn:hover {
    color: #fff;
    box-shadow: 0 0 50px rgba(0, 170, 255, 0.6);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020205;
    padding: 60px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
    cursor: none;
    text-decoration: none;
}

.social-link svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link.tiktok:hover {
    background: #000;
    border-color: #00f2ea;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
    color: #00f2ea;
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
    color: #fff;
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    color: #fff;
}

footer p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

section {
    padding: 120px 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1024px) {
    h1 {
        font-size: 4rem;
        letter-spacing: 3px;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero p,
    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto !important;
    }

    .cursor,
    .cursor-dot {
        display: none !important;
    }

    h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 30px;
    }

    .hero p,
    .hero-subtitle {
        font-size: 1rem;
        max-width: 90%;
    }

    .nav-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        padding: 0 10px;
    }

    .nav-card {
        padding: 25px 20px;
        max-width: 100%;
    }

    .nav-card-icon {
        font-size: 2.5rem;
    }

    .nav-card h3 {
        font-size: 1.3rem;
    }

    .nav-card p {
        font-size: 0.9rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 15px;
    }

    footer {
        padding: 40px 20px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
        border-right: none;
        border-left: none;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
        border-left: none;
    }

    .timeline-item::after {
        left: 20px;
        right: auto;
    }

    .timeline-item:nth-child(even)::after {
        left: 20px;
    }

    .dept-badge {
        padding: 15px;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .nav-card {
        padding: 20px 15px;
    }

    .nav-card-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .nav-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .nav-card p {
        font-size: 0.85rem;
    }

    .nav-arrow {
        font-size: 1.3rem;
    }

    section {
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .nav-cards {
        gap: 15px;
        margin-top: 30px;
    }

    .nav-card {
        padding: 18px 15px;
        border-radius: 12px;
    }

    .nav-card-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .nav-card h3 {
        font-size: 1.1rem;
    }

    .nav-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    section {
        padding: 40px 10px;
    }

    footer {
        padding: 30px 15px;
    }

    footer p {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 12px;
        margin-bottom: 20px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .nav-card {
        padding: 15px 12px;
    }

    .nav-card-icon {
        font-size: 1.8rem;
    }

    .nav-card h3 {
        font-size: 1rem;
    }

    .nav-card p {
        font-size: 0.75rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }
}

#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.countdown-container {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 170, 255, 0.6);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 20px;
    border-radius: 16px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.time-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 170, 255, 0.2);
    border-color: rgba(0, 170, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.time-box span:first-child {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.4);
    line-height: 1;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}

.time-box .label {
    font-size: 0.85rem;
    color: #a0a0b0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .countdown {
        gap: 15px;
    }

    .time-box {
        min-width: 80px;
        padding: 15px 10px;
    }

    .time-box span:first-child {
        font-size: 2rem;
    }

    .time-box .label {
        font-size: 0.7rem;
    }

    .countdown-title {
        font-size: 1.2rem;
    }
}