html {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff4d4d, #f9cb28, #4dff4d, #4d4dff);
    background-size: 400% 400%;
    opacity: 0.1;
    z-index: -1;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% { 
        background-position: 0% 50%; 
    } 50% { 
        background-position: 100% 50%; 
    } 100% { 
        background-position: 0% 50%; 
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; transform: translateY(20px); 
    } to { 
        opacity: 1; transform: translateY(0); 
    }
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 350px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-title span {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
}

.slogan {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 50px;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #f9cb28;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.cta-section {
    margin-top: 50px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.auth-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(90deg, #ff4d4d, #f9cb28);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(0);
}

.btn-secondary {
    background: transparent;
    color: #f9cb28;
    border: 2px solid #f9cb28;
}

.btn-secondary:hover {
    background: rgba(249, 203, 40, 0.1);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-title span {
        font-size: 1.8rem;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}