/* ---------- PREMIUM CUSTOM STYLES ---------- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #f5f5f5;
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #BF8A3E;
    border-radius: 8px;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.15);
}

/* Gold accent text */
.text-gold {
    color: #BF8A3E;
}

.text-gold-light {
    color: #BF8A3E;
}

.border-gold {
    border-color: #BF8A3E;
}

.bg-gold {
    background: #BF8A3E;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #FADA8E 0%, #BF8A3E 100%);
}

.hover-glow-gold:hover {
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
}

/* Hero overlay gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.85) 90%);
    z-index: 1;
}

/* 3D canvas container */
#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
}

/* Animated underline for headings */
.heading-underline {
    position: relative;
    display: inline-block;
}

.heading-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a853, #f5c842);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.heading-underline:hover::after {
    width: 100px;
}

/* Game card hover */
.game-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 800px;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(212, 168, 83, 0.15);
}

.game-card .card-img {
    transition: transform 0.8s ease;
}

.game-card:hover .card-img {
    transform: scale(1.05);
}

.game-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

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

/* Stats counter */
.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(#FADA8E, #BF8A3E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon glow pulse */
@keyframes glowPulse {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
    }

    50% {
        text-shadow: 0 0 40px rgba(212, 168, 83, 0.7), 0 0 80px rgba(212, 168, 83, 0.2);
    }
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.float-anim {
    animation: float 5s ease-in-out infinite;
}

/* Fade-in on scroll */
.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer button */
.btn-shimmer {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #FADA8E, #BF8A3E);
    color: #0a0a0a;
    font-weight: 700;
    padding: 0.8rem 2.4rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s ease;
}

.btn-shimmer:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.btn-shimmer:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.4);
}

.btn-outline-gold {
    border: 2px solid #BF8A3E;
    color: #BF8A3E;
    background: transparent;
    padding: 0.75rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-gold:hover {
    background: #d4a853;
    color: #0a0a0a;
    box-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
}

/* Social icon hover */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #aaa;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: #d4a853;
    border-color: #d4a853;
    color: #0a0a0a;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.3);
}

/* Nav link */
.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #d4a853;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile nav */
.mobile-nav-open .mobile-menu {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
}

/* Career card */
.career-card {
    border-left: 3px solid transparent;
    transition: all 0.4s ease;
    padding-left: 1.5rem;
}

.career-card:hover {
    border-left-color: #d4a853;
    background: rgba(212, 168, 83, 0.05);
    transform: translateX(6px);
}

/* News card */
.news-card {
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-6px);
}

.news-card .news-date {
    font-size: 0.8rem;
    color: #BF8A3E;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }
}

/* Diagonal section divider */
.section-divider {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #0a0a0a 50%, transparent 50%, transparent 100%);
}

/* Glow ring for 3D container */
.glow-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* loading spinner */
.loader {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 168, 83, 0.1);
    border-top-color: #d4a853;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Marquee text */
.marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Typography */
.font-display {
    font-family: 'Orbitron', monospace;
}

/* custom container */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 640px) {
    .container-custom {
        padding: 0 1.2rem;
    }
}

/* Grid pattern background */
.grid-pattern {
    background-image:
        linear-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 168, 83, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}