/**
 * Landing Page Styles
 * Für Login/Register Seite (index.php)
 */

/* ============================================
   LANDING PAGE CONTAINER
   ============================================ */
.landing-page {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f26 100%);
    min-height: 100vh;
}

.landing-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5b7fff 0%, #9775fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.game-features {
    margin: 60px 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.game-features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.feature-card {
    background: rgba(26, 31, 38, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(91, 127, 255, 0.4);
    box-shadow: 0 8px 32px rgba(91, 127, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   AUTH SECTION (Login/Register)
   ============================================ */
.auth-section {
    max-width: 500px;
    margin: 60px auto;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.auth-container {
    background: rgba(26, 31, 38, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease;
}

.alert-error {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(81, 207, 102, 0.15);
    border: 1px solid rgba(81, 207, 102, 0.3);
    color: #51cf66;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: rgba(91, 127, 255, 0.4);
    color: var(--text-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, #5b7fff 0%, #4752c4 100%);
    border-color: #5b7fff;
    color: white;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #5b7fff;
    background: rgba(15, 20, 25, 0.8);
    box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.1);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #5b7fff 0%, #4752c4 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(91, 127, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(91, 127, 255, 0.4);
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
    margin: 60px 0;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.news-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.news-container {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: rgba(26, 31, 38, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    border-color: rgba(91, 127, 255, 0.3);
}

.news-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.news-item p {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.news-item small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        padding: 30px 20px;
    }
}
