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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Cinzel', serif;
}

body {
    background: url('bg.jpg') center center/cover no-repeat fixed;
    position: relative;
    color: #ffffff;
}

/* Dark Overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(20, 20, 40, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #00d4ff, #0099cc);
    border-radius: 50%;
    animation: float 12s infinite ease-in-out;
    box-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px #00d4ff;
}

.particle:nth-child(1) { bottom: 0; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { bottom: 0; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { bottom: 0; left: 80%; animation-delay: 2s; }
.particle:nth-child(4) { bottom: 0; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { bottom: 0; left: 60%; animation-delay: 4s; }
.particle:nth-child(6) { bottom: 0; left: 40%; animation-delay: 5s; }
.particle:nth-child(7) { bottom: 0; left: 30%; animation-delay: 1.5s; }
.particle:nth-child(8) { bottom: 0; left: 90%; animation-delay: 2.5s; }
.particle:nth-child(9) { bottom: 0; left: 5%; animation-delay: 3.5s; }
.particle:nth-child(10) { bottom: 0; left: 85%; animation-delay: 4.5s; }

@keyframes float {
    0% {
        transform: translateY(50px) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.3;
    }
    25% {
        opacity: 0.7;
    }
    75% {
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/* Header */
.header {
    text-align: center;
    animation: slideDown 1.5s ease-out;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffd700, #ff6b35);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    letter-spacing: 0.1em;
}

.logo-subtitle {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-top: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5)); }
    to { filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8)); }
}

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

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    text-align: center;
    max-width: 1200px;
    animation: fadeInUp 2s ease-out 0.5s both;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.magical {
    background: linear-gradient(45deg, #ff6b35, #ffd700, #00d4ff, #ff6b35);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite, magicalGlow 2s ease-in-out infinite alternate;
}

@keyframes magicalGlow {
    from { filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #e0e0e0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 2s ease-out 1s both;
}

/* Server Status */
.server-status {
    margin-bottom: 3rem;
    animation: fadeIn 2s ease-out 1.5s both;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #ffd700;
    border-radius: 50%;
    animation: dotPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #ffd700;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 2s ease-out 2s both;
}

.stat-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 150px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.stat-card:hover::before {
    left: 100%;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Footer */
.footer {
    text-align: center;
    animation: slideUp 1.5s ease-out 2.5s both;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #00d4ff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #00d4ff;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-link:hover {
    background: #00d4ff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.copyright {
    color: #888;
    font-size: 0.8rem;
}


/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}
