/* ===== CSS Variables ===== */
:root {
    --color-bg-dark: #0a0a0a;
    --font-tech: 'Orbitron', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-tech);
    background-color: var(--color-bg-dark);
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #888;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; }

/* ===== Rain Background ===== */
.lightning-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.lightning-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightning-flash {
    display: none;
}

/* ===== Header ===== */
.main-header {
    background: transparent;
    padding: var(--spacing-lg) 0;
    position: relative;
    z-index: 10;
    text-align: center;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Typing Effect UZI7799 ===== */
.typing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) 0;
}

.typing-text {
    font-family: var(--font-tech);
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: 0.5em;
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.7),
        0 0 45px rgba(255, 255, 255, 0.5),
        0 0 60px rgba(255, 255, 255, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

.typing-text .char {
    opacity: 0;
    display: inline-block;
    animation: typeIn 0.3s ease forwards;
}

.typing-text .cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background: #ffffff;
    margin-left: 8px;
    animation: blink 0.7s infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

@keyframes typeIn {
    0% { opacity: 0; transform: translateY(-30px) scale(0.5); }
    50% { opacity: 1; transform: translateY(8px) scale(1.1); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 30px rgba(255, 255, 255, 0.7),
            0 0 45px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 1),
            0 0 40px rgba(255, 255, 255, 0.9),
            0 0 60px rgba(255, 255, 255, 0.7),
            0 0 80px rgba(255, 255, 255, 0.5);
    }
}

/* ===== Subtitle HIGHPLAYER UZI ===== */
.subtitle-container {
    margin-top: var(--spacing-sm);
    text-align: center;
    padding: 20px 0;
}

.subtitle-text {
    font-family: var(--font-tech);
    font-size: clamp(1rem, 3vw, 1.8rem);
    font-weight: 500;
    letter-spacing: 0.3em;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 
        0 0 2px rgba(255, 255, 255, 1),
        0 0 5px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(255, 255, 255, 0.7),
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 25px rgba(255, 255, 255, 0.3);
}

/* ===== Hero Section - Two Column ===== */
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-lg);
    z-index: 5;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 950px;
    padding: 40px 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ===== Button - Skewed Double Glow Lines ===== */
.main-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.btn-wrap {
    display: inline-block;
    position: relative;
    transform: skewX(-10deg);
}

.btn-wrap::before,
.btn-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 40%;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.btn-wrap::before { top: 0; }
.btn-wrap::after { bottom: 0; }

.btn {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-left: none;
    padding: 18px 50px;
    margin-left: 3px;
    cursor: pointer;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn span {
    display: inline-block;
    transform: skewX(10deg);
}

.btn-wrap:hover::before,
.btn-wrap:hover::after {
    height: 50%;
    box-shadow: 0 0 15px #fff, 0 0 30px rgba(255,255,255,0.7);
}

.btn:hover {
    background: linear-gradient(135deg, #252525 0%, #353535 100%);
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 1),
        0 0 30px rgba(255, 255, 255, 0.7);
}

/* ===== Partners Section - Right Aligned ===== */
.partners-section {
    text-align: right;
}

.partners-title {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5);
}

.partners-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.partner-badge {
    font-family: var(--font-tech);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5);
}

.partner-badge:hover {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.partner-divider {
    color: #ffffff;
    font-size: 0.6rem;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(255, 255, 255, 0.5);
}

.partners-hint {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 15px;
    letter-spacing: 0.05em;
    text-align: right;
}

/* ===== Footer ===== */
.main-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    position: relative;
    z-index: 10;
    background: transparent;
}

.footer-content p {
    font-family: var(--font-tech);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
        padding: 30px;
        text-align: center;
    }
    .hero-left,
    .hero-right {
        align-items: center;
    }
    .partners-section {
        text-align: center;
    }
    .partners-grid {
        align-items: center;
    }
}