/* ── Site Navigation ──────────────────────────────────────────────── */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(20, 184, 166, 0.35);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav .nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    background: linear-gradient(135deg, #14B8A6, #00FFFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.site-nav .nav-logo:hover {
    transform: scale(1.04);
}

.site-nav .nav-logo img {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.site-nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-nav .nav-links a {
    color: #00FFFF;
    text-decoration: none;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.site-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14B8A6, #00FFFF);
    transition: width 0.3s ease;
}

.site-nav .nav-links a:hover {
    color: #00FFFF;
}

.site-nav .nav-links a:hover::after,
.site-nav .nav-links a.active::after {
    width: 100%;
}

.site-nav .nav-links a.active {
    color: #00FFFF;
}

.site-nav .get-started-btn {
    background: linear-gradient(135deg, #FFFF00, #00FFFF) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 700 !important;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.site-nav .get-started-btn::after {
    display: none !important;
}

.site-nav .get-started-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5) !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

.site-nav .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    margin: -10px;
}

.site-nav .hamburger span {
    width: 24px;
    height: 2px;
    background: #00FFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.site-nav .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.site-nav .hamburger.active span:nth-child(2) {
    opacity: 0;
}

.site-nav .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .site-nav {
        padding: 1rem 1.5rem;
    }

    .site-nav .nav-logo img {
        height: 36px;
    }

    .site-nav .hamburger {
        display: flex;
    }

    .site-nav .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(10px);
        padding: 1rem 2rem 1.5rem;
        gap: 0;
        border-bottom: 2px solid rgba(20, 184, 166, 0.3);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.25s ease;
        z-index: 999;
    }

    .site-nav .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .site-nav .nav-links li {
        width: 100%;
    }

    .site-nav .nav-links a {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(20, 184, 166, 0.15);
        font-size: 1rem;
    }

    .site-nav .nav-links li:last-child a {
        border-bottom: none;
        margin-top: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-nav {
        padding: 0.9rem 1.2rem;
    }

    .site-nav .nav-logo {
        font-size: 0.95rem;
    }

    .site-nav .nav-logo img {
        height: 32px;
    }
}

/* ── Site Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: #000000;
    border-top: 2px solid rgba(20, 184, 166, 0.3);
    padding: 3.5rem 2rem 2rem;
    position: relative;
    z-index: 5;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    min-height: 320px;
}

/* ballpit removed */ #ballpit-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    z-index: 0;
    touch-action: none;
}

.site-footer .footer-grid {
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.site-footer .footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    color: #00FFFF;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.site-footer .footer-col p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
}

.site-footer .footer-col a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.1;
    transition: color 0.3s ease;
}

.site-footer .footer-col a:hover {
    color: #00FFFF;
}

.site-footer .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.site-footer .footer-bottom p {
    color: #666;
    font-size: 0.85rem;
}

.site-footer .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.site-footer .footer-bottom-links a {
    color: #14B8A6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.site-footer .footer-bottom-links a:hover {
    color: #00FFFF;
}

/* ── Tablet (2-column grid) ────────────────────────────────────────── */
@media (max-width: 900px) {
    .site-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* ── Small tablet / large phone ────────────────────────────────────── */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 1.5rem 1.5rem;
        margin-top: 0;
    }

    .site-footer .footer-grid {
        gap: 1.75rem;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .site-footer .footer-bottom-links {
        justify-content: center;
    }

    .site-footer .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* ── Mobile (single column) ────────────────────────────────────────── */
@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 1.25rem 1.25rem;
        margin-top: 0;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .site-footer .footer-col a {
        display: inline-block;
    }

    .site-footer .footer-bottom-links {
        gap: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}

/* ── Footer Social Icons ───────────────────────────────────────────── */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transition: transform 0.2s ease !important;
    line-height: 1 !important;
}

.footer-social a:hover {
    background: transparent !important;
    transform: translateY(-2px) !important;
}

.footer-social img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.footer-social a:hover img {
    opacity: 1;
}

.site-footer .footer-col-social {
    text-align: center;
}

.site-footer .footer-col-social .footer-social {
    justify-content: center;
    margin-top: 1.25rem;
}

/* ── Back to Top Button ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(20, 184, 166, 0.4);
    color: #00FFFF;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9990;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.back-to-top:hover {
    border-color: #00FFFF;
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.35);
    background: rgba(0, 0, 0, 0.85);
}

/* ── Custom Cursor ──────────────────────────────────────────────────── */
@media (hover: hover) { * { cursor: none !important; } }
.cursor-dot {
    position: fixed; width: 8px; height: 8px; border-radius: 50%;
    background: #00FFFF; pointer-events: none; z-index: 99999;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 10px #00FFFF, 0 0 22px rgba(0,255,255,0.5);
    transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.cursor-ring {
    position: fixed; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(0,255,255,0.55); pointer-events: none;
    z-index: 99998; transform: translate(-50%,-50%);
    transition: width 0.28s ease, height 0.28s ease, border-color 0.28s ease;
}
.cursor-dot.hovering { width: 14px; height: 14px; background: #FFD700; box-shadow: 0 0 14px #FFD700, 0 0 30px rgba(255,215,0,0.5); }
.cursor-ring.hovering { width: 54px; height: 54px; border-color: rgba(255,215,0,0.65); }
.cursor-glow {
    position: fixed; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,255,0.055) 0%, transparent 68%);
    pointer-events: none; z-index: 6; transform: translate(-50%,-50%);
}
