/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo i {
    font-size: 32px;
    color: #00d4ff;
    animation: pulse 2s infinite;
}

.timer-container {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.timer-label {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 5px;
    font-weight: 500;
}

.timer {
    font-size: 28px;
    font-weight: bold;
    color: #00d4ff;
    font-family: 'Courier New', monospace;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px 0;
    min-height: 70vh;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.1);
}

.gradient-text {
    background: linear-gradient(45deg, #00d4ff, #0099cc, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-weight: 900;
}

.hero-subtitle {
    color: white;
    font-weight: 700;
    display: block;
    font-size: 2.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Features */
.features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.8);
}

.feature i {
    color: #00d4ff;
    font-size: 18px;
}

/* CTA Section */
.cta-section {
    text-align: center;
}

.join-btn {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,136,204,0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.join-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,136,204,0.4);
    background: linear-gradient(45deg, #0077b3, #0099e6);
}

.join-btn:active {
    transform: translateY(-1px);
}

.join-btn i {
    font-size: 20px;
}

.cta-text {
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    animation: slideInRight 1s ease-out;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.game-card {
    background: rgba(0, 0, 0, 0.7);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #0066ff);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    background: rgba(0, 0, 0, 0.8);
}

.game-card h3 {
    color: white;
    font-size: 1.4rem;
    margin: 15px 0 10px 0;
    font-weight: 700;
}

.game-card p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.game-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: white;
}

.aviator-icon {
    background: linear-gradient(45deg, #ff4444, #cc0000);
}

.mines-icon {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
}

.color-trading-icon {
    background: linear-gradient(45deg, #ffaa00, #ff6600);
}

.color-prediction-icon {
    background: linear-gradient(45deg, #aa44ff, #6600cc);
}

.game-btn {
    background: linear-gradient(45deg, #0088cc, #00a8ff);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,136,204,0.4);
    background: linear-gradient(45deg, #0077b3, #0099e6);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.8);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 10px;
}

.stat-label {
    color: #ccc;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 0;
    color: #ccc;
    font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .features {
        justify-content: center;
    }
    
    .game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .game-card {
        padding: 20px 15px;
    }
    
    .game-card h3 {
        font-size: 1.2rem;
    }
    
    .game-card p {
        font-size: 0.85rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .timer-container {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .join-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .feature {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
} 