@import url(../css/color.css);
@import url(../css/default.css);
@import url(../css/component.css);
@import url(../css/responsive.css);

/* Official Premium Styles */
:root {
    /* Brand Colors */
    --navy-dark: #020420;
    /* Deepest Void Navy */
    --navy-card: rgba(15, 23, 42, 0.65);
    /* Glassy Navy */
    --official-white: #F1FAEE;
    --official-red: #fd2033;
    /* Vibrant Red */
    --official-blue: #1D3557;
    /* Official Blue */

    /* Elegance Palette */
    --platinum: #eaeaea;
    --platinum-shadow: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    /* Lighting */
    --god-ray: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);

    /* Fonts */
    --font-bebas: 'Bebas Neue', cursive;
    --font-inter: 'Inter', sans-serif;
}

body {
    background-color: var(--navy-dark);
    /* Multi-layered background: Noise + Vignette + Deep Gradient */
    background-image:
        radial-gradient(circle at 50% 0%, rgba(29, 53, 87, 0.3) 0%, transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 10px),
        linear-gradient(180deg, #020420 0%, #0f172a 100%);
    color: var(--platinum);
    font-family: var(--font-inter);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography Utilities */
.font-bebas {
    font-family: var(--font-bebas);
    letter-spacing: 2px;
    /* Cinematic spacing */
}

.font-inter {
    font-family: var(--font-inter);
}

.text-official-red {
    color: var(--official-red) !important;
}

.text-official-blue {
    color: var(--official-blue) !important;
}

.text-silver {
    color: var(--silver-dim) !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.text-shadow-lg {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.official-nav {
    background: rgba(2, 4, 32, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-link {
    color: #fff !important;
    font-family: var(--font-inter);
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--official-red) !important;
}

.btn-premium-red {
    background: linear-gradient(135deg, #ff5f6d 0%, #d6333e 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: transform 0.2s;
}

.btn-premium-red:hover {
    transform: translateY(-2px);
    color: #fff;
}

/* Grand Stage Hero */
.grand-stage {
    min-height: 85vh;
    padding-top: 120px;
    position: relative;
    /* Clean backdrop to let body texture shine */
    background: transparent;
}

.spotlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-card {
    background: var(--navy-card);
    backdrop-filter: blur(20px);
    /* Deep Glass */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px var(--glass-highlight);
    /* Platinum Edge */
    border-radius: 12px;
    max-width: 100%;
    /* Fluid for new layout */
}

/* Countdown */
.timer-unit {
    text-align: center;
    min-width: 80px;
}

.timer-unit .value {
    font-size: 4rem;
    line-height: 1;
    color: #fff;
    display: block;
}

.timer-unit .label {
    font-size: 0.75rem;
    color: var(--silver-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.timer-sep {
    font-size: 3rem;
    color: var(--official-red);
    line-height: 1;
    margin: 0 10px;
    opacity: 0.8;
}

/* Premium Cards */
.bg-navy-darker {
    background-color: #0b1120;
}

.premium-card {
    background-color: var(--navy-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.border-top-red {
    border-top: 4px solid var(--official-red);
}

.border-top-blue {
    border-top: 4px solid var(--official-blue);
}

.border-top-white {
    border-top: 4px solid var(--official-white);
}

.premium-border {
    background-color: var(--navy-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

/* 3D Realistic Balls */
.ball-container {
    gap: 10px;
}

.ball-container-small {
    gap: 5px;
}

.ball-3d .prize-digit,
.ball-3d-small .prize-digit {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-inter);
    font-weight: 700;
    color: #333;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset -2px -5px 10px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(0, 0, 0, 0.795);
}

/* Large Balls */
.ball-3d .prize-digit {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 5px;
}

/* Small Balls */
.ball-3d-small .prize-digit {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin: 2px;
}

/* Ball Colors (Plastic Texture) */
.ball-3d.red .prize-digit,
.ball-3d-small.red .prize-digit {
    background: radial-gradient(circle at 30% 30%, #ff2133, #990c18);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ball-3d.blue .prize-digit,
.ball-3d-small.blue .prize-digit {
    background: radial-gradient(circle at 30% 30%, #094bff, #01268b);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ball-3d.white .prize-digit,
.ball-3d-small.white .prize-digit {
    background: radial-gradient(circle at 30% 30%, #ffffff, #89898a);
    color: #111;
}

/* Table */
.official-table {
    background: transparent;
}

.official-table th {
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.official-table td {
    vertical-align: middle;
    border-color: rgba(255, 255, 255, 0.05);
}

.official-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Other */
.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

.opacity-50 {
    opacity: 0.5;
}

footer {
    background: #020420;
}

.web-logo {
    width: auto;
    height: 60px;
}

.display-4 {
    border: 0;
}

@media (max-width: 993px) {
    .display-1 {
        font-size: 4rem;
    }

    .ball-3d-small .prize-digit {
        width: 25px;
        height: 25px;
        font-size: 1rem;
        margin: 2px;
    }
}
