:root {
    --bg-color: #05080f;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.5);
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --nav-bg: rgba(5, 8, 15, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Base Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary-glow);
}

.nav-links li a:hover {
    color: #fff;
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('assets/background.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 8, 15, 0.9) 0%, rgba(5, 8, 15, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.genre-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 30px;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #0ea5e9;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Books Section */
.books {
    background-color: var(--bg-color);
    position: relative;
}

.book-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.book-cover-container {
    flex: 1;
    position: relative;
    perspective: 1000px;
}

.book-cover {
    width: 100%;
    max-width: 350px;
    border-radius: 8px;
    box-shadow: -10px 20px 30px rgba(0, 0, 0, 0.6);
    transform: rotateY(15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    z-index: 2;
    position: relative;
    display: block;
    margin: 0 auto;
}

.book-cover-container:hover .book-cover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.censored-cover {
    filter: blur(10px) brightness(0.5) grayscale(30%);
    pointer-events: none;
    user-select: none;
}

.censor-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-weight: 700;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(16,185,129,0.4) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    filter: blur(30px);
}

.book-info {
    flex: 1;
}

.book-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.book-genre {
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.book-blurb {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.book-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.book-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.book-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-buttons small {
    display: block;
    font-size: 0.6rem;
    opacity: 0.7;
    margin-top: 2px;
    font-family: var(--font-body);
    font-weight: normal;
    text-transform: none;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--bg-color) 0%, #080f1a 100%);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

h2.section-title.left {
    left: 0;
    transform: none;
    text-align: left;
}

h2.section-title.left::after {
    left: 0;
    transform: none;
}

.about-image-placeholder {
    flex: 1;
    max-width: 400px;
    aspect-ratio: 4/5;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(16,185,129,0.1), rgba(59,130,246,0.1));
}

.image-inner {
    z-index: 2;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer (DSGVO Compliant) */
footer {
    background-color: #03050a;
    padding: 4rem 0 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links h4, .footer-social h4 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact p a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact p a:hover {
    color: var(--primary);
}

.dsgvo-note {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
    border-left: 2px solid var(--primary);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.footer-bottom {
    background-color: #020306;
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .book-showcase {
        flex-direction: column;
        padding: 2rem;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    h2.section-title.left {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
    
    h2.section-title.left::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: absolute;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--nav-bg);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    h1 {
        font-size: 2.5rem;
    }
}
