/* SEP Interactive - Main Stylesheet */
/* Farbschema: Anthrazit -> Lila -> Blau */

:root {
    --primary: #8B5CF6;
    --primary-dark: #7C3AED;
    --secondary: #3B82F6;
    --secondary-dark: #2563EB;
    --accent: #A855F7;
    --dark: #1a1a2e;
    --darker: #16162a;
    --darkest: #0f0f1a;
    --light: #f0f0f5;
    --text: #e0e0e5;
    --text-muted: #9ca3af;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #1e3a5f 100%);
    --gradient-accent: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #3B82F6 100%);
    --gradient-card: linear-gradient(145deg, rgba(45, 27, 78, 0.5) 0%, rgba(30, 58, 95, 0.5) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

.brand-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary) !important;
}

.nav-link i {
    margin-right: 0.3rem;
}

.dropdown-menu-dark {
    background: var(--darker);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.dropdown-item {
    color: var(--text);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-logo {
    max-width: 400px;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 2rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.animate-float {
    animation: floatLogo 6s ease-in-out infinite;
}

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

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    margin-right: 0.5rem;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, transparent 0%, rgba(45, 27, 78, 0.3) 50%, transparent 100%);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Feature Cards */
.features-section {
    background: transparent;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Game Cards */
.games-preview-section {
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 95, 0.3) 50%, transparent 100%);
}

.game-card {
    background: var(--gradient-card);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.game-card-image {
    height: 150px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-placeholder-icon {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.game-card-body {
    padding: 1.5rem;
}

.game-card-body h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.game-card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-accent);
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    background: var(--gradient-accent);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 2rem;
}

.auth-card {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header img {
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--text);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: 10px;
}

.form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* Page Header */
.page-header {
    padding: 8rem 0 3rem;
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.5) 0%, transparent 100%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content Section */
.content-section {
    padding: 3rem 0 5rem;
}

.content-card {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.content-card h2, .content-card h3, .content-card h4 {
    color: var(--text);
    margin-top: 1.5rem;
}

.content-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.content-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.content-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: rgba(15, 15, 26, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer p,
.footer .text-muted {
    color: #b8b8c8 !important;
}

.footer a {
    color: #c8c8d8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary) !important;
}

.footer small {
    color: #a0a0b0 !important;
}

.footer hr {
    border-color: rgba(139, 92, 246, 0.3);
}

/* Tables */
.table {
    color: var(--text);
}

.table thead th {
    background: rgba(139, 92, 246, 0.2);
    border-bottom: 2px solid var(--primary);
    color: var(--text);
    font-weight: 600;
}

.table tbody tr {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.table tbody tr:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.badge.bg-success {
    background: rgba(34, 197, 94, 0.3) !important;
    color: #22c55e;
}

.badge.bg-primary {
    background: var(--gradient-accent) !important;
}

.badge.bg-secondary {
    background: rgba(100, 100, 120, 0.3) !important;
}

/* Card Component */
.card {
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.card-header {
    background: rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.card-body {
    color: var(--text);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        max-width: 300px;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .feature-card, .game-card {
        margin-bottom: 1.5rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}

/* ==================== SAISONALE THEMES ==================== */

/* Weihnachts-Theme */
.christmas-theme {
    --primary: #c41e3a;
    --accent: #228b22;
}

.christmas-theme .navbar {
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95) 0%, rgba(60, 20, 30, 0.95) 50%, rgba(26, 26, 46, 0.95) 100%) !important;
    border-bottom: 2px solid rgba(196, 30, 58, 0.5);
}

.christmas-theme .footer {
    background: linear-gradient(90deg, rgba(15, 15, 26, 0.95) 0%, rgba(40, 15, 20, 0.95) 50%, rgba(15, 15, 26, 0.95) 100%);
    border-top: 2px solid rgba(196, 30, 58, 0.3);
}

/* Neujahrs-Theme */
.newyear-theme {
    --primary: #ffd700;
    --accent: #ff6b35;
}

.newyear-theme .navbar {
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95) 0%, rgba(50, 40, 20, 0.95) 50%, rgba(26, 26, 46, 0.95) 100%) !important;
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
}

/* Frühlings-Theme */
.spring-theme .navbar {
    border-bottom: 2px solid rgba(255, 182, 193, 0.5);
}

.spring-theme .footer {
    border-top: 2px solid rgba(255, 182, 193, 0.3);
}

/* Sommer-Theme */
.summer-theme .navbar {
    border-bottom: 2px solid rgba(255, 200, 0, 0.5);
}

.summer-theme .footer {
    border-top: 2px solid rgba(255, 200, 0, 0.3);
}

/* Herbst-Theme */
.autumn-theme .navbar {
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95) 0%, rgba(50, 30, 15, 0.95) 50%, rgba(26, 26, 46, 0.95) 100%) !important;
    border-bottom: 2px solid rgba(210, 105, 30, 0.5);
}

.autumn-theme .footer {
    background: linear-gradient(90deg, rgba(15, 15, 26, 0.95) 0%, rgba(35, 20, 10, 0.95) 50%, rgba(15, 15, 26, 0.95) 100%);
    border-top: 2px solid rgba(210, 105, 30, 0.3);
}

/* Winter-Theme */
.winter-theme .navbar {
    border-bottom: 2px solid rgba(174, 194, 224, 0.5);
}

.winter-theme .footer {
    border-top: 2px solid rgba(174, 194, 224, 0.3);
}

/* Logo Wrapper für Dekorationen */
.logo-wrapper {
    position: relative;
    display: inline-block;
}

.logo-wrapper .santa-hat,
.logo-wrapper div[style*="absolute"] {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

