@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Video Background */
.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.video-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Gradient overlay over video */
.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, 
        rgba(255, 0, 102, 0.4), 
        rgba(255, 102, 0, 0.3), 
        rgba(0, 204, 255, 0.3), 
        rgba(102, 0, 255, 0.4));
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    z-index: -2;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Geometric Shapes */
.shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: shapeFloat 20s infinite linear;
}

.shape:nth-child(odd) {
    border-radius: 0;
    transform: rotate(45deg);
}

@keyframes shapeFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn.active {
    background: #ff0066;
    border-color: #ff0066;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5);
}

.lang-btn:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Main Layout */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
}

/* Logo Section */
.logo-section {
    margin-bottom: 60px;
}

.main-logo {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0066, #ff6600, #00ccff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoFloat 6s ease-in-out infinite alternate;
    text-shadow: 0 0 50px rgba(255, 0, 102, 0.5);
}

@keyframes logoFloat {
    0% {
        transform: translateY(0) scale(1);
        filter: hue-rotate(0deg);
    }
    100% {
        transform: translateY(-10px) scale(1.02);
        filter: hue-rotate(30deg);
    }
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    color: #00ccff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.8;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

/* Countdown */
.countdown-wrapper {
    margin: 60px 0;
}

.countdown-header {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 500;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 0, 102, 0.1), rgba(0, 204, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.countdown-box:hover::before {
    opacity: 1;
}

.countdown-box:hover {
    transform: translateY(-5px);
    border-color: #ff0066;
    box-shadow: 0 10px 30px rgba(255, 0, 102, 0.3);
}

.countdown-number {
    font-family: 'Fira Code', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff0066;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.countdown-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Features */
.features-section {
    margin-bottom: 60px;
    width: 100%;
    max-width: 1200px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 102, 0.1), transparent);
    transition: left 0.8s ease;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ff0066;
    box-shadow: 0 20px 40px rgba(255, 0, 102, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.feature-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    margin-bottom: 50px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #5865f2, #7289da);
    color: #fff;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    border: 2px solid transparent;
}

.discord-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Server Info */
.server-info {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    max-width: 450px;
    margin: 0 auto;
}

.server-ip {
    font-family: 'Fira Code', monospace;
    font-size: 1.5rem;
    color: #00ccff;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

.server-details {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: 20px 0;
    font-weight: bold;
}

/* Content switching */
.content {
    display: none;
}

.content.active {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .main-logo {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .countdown-grid {
        gap: 20px;
    }
    
    .countdown-box {
        padding: 20px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lang-toggle {
        top: 20px;
        right: 20px;
    }
}

/* Back To Home */
.home-logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.logo-link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-link:hover {
    color: #ffffff;
    transform: translateX(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.logo-link:hover .arrow-icon {
    transform: translateX(3px);
}

.logo-text {
    letter-spacing: 0.5px;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .home-logo {
        top: 20px;
        left: 20px;
    }
    
    .logo-link {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .arrow-icon {
        width: 18px;
        height: 18px;
        margin-left: 6px;
    }
}