@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@400;700&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    --bg-main: #060913;
    --bg-card: #0d1224;
    --bg-card-hover: #141b34;
    --bg-nav: rgba(6, 9, 19, 0.8);
    
    --color-primary: #00f2fe;     /* Neon Cyan */
    --color-secondary: #ff007f;   /* Neon Pink */
    --color-accent: #7928ca;      /* Neon Violet */
    --color-success: #10b981;     /* Active online status green */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #4facfe 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    --gradient-card: linear-gradient(180deg, rgba(20, 27, 52, 0.5) 0%, rgba(13, 18, 36, 0.9) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(255, 0, 127, 0.15));
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-cyan: 0 0 20px rgba(0, 242, 254, 0.3);
    --shadow-pink: 0 0 20px rgba(255, 0, 127, 0.3);
    --shadow-glow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Particle Overlay Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* Glowing backgrounds */
body::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    top: 10%;
    left: -100px;
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: 20%;
    right: -100px;
    z-index: -2;
    pointer-events: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #141b34;
    border: 2px solid var(--bg-main);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- LAYOUT & CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(6, 9, 19, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition-normal);
}
.header.scrolled .nav-container {
    height: 60px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #fff 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    font-weight: 400;
    font-size: 0.9rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid var(--color-secondary);
    padding: 2px 8px;
    border-radius: var(--border-radius-sm);
    margin-left: 5px;
    box-shadow: var(--shadow-pink);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-badge .ping {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    position: relative;
}

.hero-badge .ping::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #060913;
    border: none;
    box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
}

.btn-secondary {
    background: rgba(20, 27, 52, 0.5);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(20, 27, 52, 0.8);
    border-color: var(--color-primary);
    transform: translateY(-3px);
    color: var(--color-primary);
}

/* Hero Visual Graphic */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.3) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
    z-index: 1;
    animation: rotate-glow 10s linear infinite;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-visual-card {
    position: relative;
    z-index: 2;
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-glow);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-slow);
    overflow: hidden;
}

.hero-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-visual-card img {
    width: 100%;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- GAMES SECTION --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title {
    font-size: 2.5rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.05rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

/* Game Card Styles */
.game-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-glow);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-lg);
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
    pointer-events: none;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.15);
}

.game-card:hover::before {
    opacity: 1;
}

.game-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.game-card:hover .game-img {
    transform: scale(1.05);
}

.game-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    border: 1px solid rgba(0, 242, 254, 0.3);
    z-index: 2;
}

.game-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.game-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.game-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-title i {
    font-size: 1.2rem;
    color: var(--color-primary);
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.game-card .btn {
    width: 100%;
}

/* Coming Soon Game Card */
.game-card.coming-soon {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(13, 18, 36, 0.4);
    opacity: 0.7;
    filter: grayscale(20%);
    pointer-events: none;
    cursor: not-allowed;
}

.game-card.coming-soon:hover {
    border-style: solid;
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 15px 35px rgba(255, 0, 127, 0.1);
}

.game-card.coming-soon .game-badge {
    color: var(--color-secondary);
    border-color: rgba(255, 0, 127, 0.3);
}

.game-card.coming-soon .lock-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: var(--transition-normal);
}

.game-card.coming-soon:hover .lock-icon {
    color: var(--color-secondary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- FEATURES SECTION --- */
.features-container {
    background: linear-gradient(180deg, rgba(13, 18, 36, 0) 0%, rgba(13, 18, 36, 0.6) 50%, rgba(13, 18, 36, 0) 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(20, 27, 52, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.feature-card:hover {
    background: rgba(20, 27, 52, 0.6);
    border-color: rgba(0, 242, 254, 0.1);
    transform: translateY(-5px);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 1.8rem;
    box-shadow: inset 0 0 12px rgba(0, 242, 254, 0.05);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-primary);
    color: #060913;
    box-shadow: var(--shadow-cyan);
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.25rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- LEGAL PAGE STYLING (Impressum, Datenschutz) --- */
.legal-page {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-content {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}

.legal-content h1 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.legal-content p, .legal-content ul {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.placeholder-warning {
    background: rgba(255, 0, 127, 0.05);
    border: 1px solid rgba(255, 0, 127, 0.2);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    color: var(--color-secondary);
    font-weight: 500;
}

/* --- FOOTER --- */
.footer {
    background: #03050c;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-desc {
    max-width: 300px;
    line-height: 1.5;
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- COOKIE / PRIVACY DISCLAIMER BANNER --- */
.privacy-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: rgba(13, 18, 36, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--border-radius-md);
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(150px);
    opacity: 0;
    transition: var(--transition-slow);
}

.privacy-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.privacy-banner-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.privacy-banner-text a {
    color: var(--color-primary);
    text-decoration: underline;
}

.privacy-banner-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.privacy-banner-buttons .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: var(--border-radius-sm);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual-card {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    .hero-visual-card:hover {
        transform: scale(1.02);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-main);
        flex-direction: column;
        align-items: center;
        padding-top: 48px;
        transition: var(--transition-normal);
        z-index: 99;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .header.scrolled .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        grid-column: span 1;
    }
    
    .legal-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}
