/* ============================================
   CASINO MAINTENANCE PAGE - STYLES
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-card: rgba(18, 18, 31, 0.7);
    --bg-card-hover: rgba(25, 25, 45, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --gold-primary: #d4a533;
    --gold-light: #f0d060;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 165, 51, 0.3);
    --gold-gradient: linear-gradient(135deg, #d4a533 0%, #f0d060 50%, #d4a533 100%);

    --accent-purple: #7c3aed;
    --accent-purple-glow: rgba(124, 58, 237, 0.25);
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;

    --text-primary: #f1f1f5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(212, 165, 51, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(212, 165, 51, 0.15);
    --shadow-glow: 0 0 60px rgba(212, 165, 51, 0.1);

    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* === Background Animation === */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Gradient Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 165, 51, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.04) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

/* === Floating Elements === */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(212, 165, 51, 0.08);
    animation: floatIcon 20s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.05; }
    25% { transform: translateY(-30px) rotate(10deg); opacity: 0.1; }
    50% { transform: translateY(-15px) rotate(-5deg); opacity: 0.07; }
    75% { transform: translateY(-40px) rotate(15deg); opacity: 0.12; }
}

/* === Main Container === */
.main-container {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* === Language Switcher === */
.language-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.lang-switcher {
    display: flex;
    gap: 6px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 5px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.lang-btn.active {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 12px var(--gold-glow);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* === Hero Section === */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    border-radius: var(--radius-md);
    font-size: 28px;
    color: #000;
    box-shadow: var(--shadow-gold);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: var(--shadow-gold); transform: scale(1); }
    50% { box-shadow: 0 0 50px rgba(212, 165, 51, 0.3); transform: scale(1.03); }
}

.logo-text {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--text-primary);
}

.logo-text .gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(212, 165, 51, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--gold-light);
    animation: badgeGlow 4s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { border-color: rgba(212, 165, 51, 0.2); }
    50% { border-color: rgba(212, 165, 51, 0.5); }
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gold-primary);
    opacity: 0.4;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.8); opacity: 0; }
}

/* Main Heading */
.main-heading {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 700px;
}

.sub-heading {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 400;
}

/* === Countdown Section === */
.countdown-section {
    text-align: center;
    width: 100%;
}

.countdown-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
}

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

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.countdown-value {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    position: relative;
}

.countdown-value::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0.3;
    border-radius: 1px;
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
}

.countdown-separator {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 300;
    color: var(--gold-dark);
    opacity: 0.5;
    margin-top: -20px;
    animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.15; }
}

/* === Features Section === */
.features-section {
    width: 100%;
    text-align: center;
}

.features-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-gold);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 28px;
    background: rgba(212, 165, 51, 0.1);
    color: var(--gold-primary);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gold-gradient);
    color: #000;
    transform: scale(1.08);
}

.feature-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Notify Section === */
.notify-section {
    width: 100%;
    max-width: 600px;
}

.notify-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.notify-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 2px;
    background: var(--gold-gradient);
}

.notify-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    border-radius: var(--radius-lg);
    font-size: 30px;
    color: #000;
    animation: bellRing 4s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 90%, 100% { transform: rotate(0); }
    92% { transform: rotate(8deg); }
    94% { transform: rotate(-8deg); }
    96% { transform: rotate(5deg); }
    98% { transform: rotate(-5deg); }
}

.notify-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.notify-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.notify-form {
    display: flex;
    gap: 10px;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition-normal);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.input-wrapper input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.input-wrapper input:focus + i,
.input-wrapper:has(input:focus) i {
    color: var(--gold-primary);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gold-gradient);
    border: none;
    border-radius: var(--radius-md);
    color: #000;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.notify-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.notify-btn:active {
    transform: translateY(0);
}

.notify-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    color: var(--accent-green);
    font-size: 14px;
    font-weight: 500;
    animation: slideUp 0.4s ease;
}

.notify-success.show {
    display: flex;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Contact Section === */
.contact-section {
    width: 100%;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: left;
}

.contact-item:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
}

.contact-item > i {
    font-size: 28px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 22px;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-btn:hover {
    color: var(--gold-primary);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* === Footer === */
.footer {
    width: 100%;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-item i {
    font-size: 18px;
    color: var(--gold-dark);
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .main-container {
        padding: 16px 16px 32px;
        gap: 36px;
    }

    .lang-switcher {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: var(--radius-lg);
    }

    .lang-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .lang-btn span {
        display: none;
    }

    .logo-area {
        flex-direction: column;
        gap: 10px;
    }

    .logo-text {
        font-size: 24px;
    }

    .countdown-item {
        min-width: 60px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .notify-form {
        flex-direction: column;
    }

    .notify-card {
        padding: 28px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .countdown-separator {
        font-size: 24px;
    }

    .footer-badges {
        gap: 16px;
    }
}

/* === Smooth entrances === */
.hero-section,
.countdown-section,
.features-section,
.notify-section,
.contact-section,
.footer {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-section { animation-delay: 0.1s; }
.countdown-section { animation-delay: 0.2s; }
.features-section { animation-delay: 0.3s; }
.notify-section { animation-delay: 0.4s; }
.contact-section { animation-delay: 0.5s; }
.footer { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
