/**
 * @file assets/css/style.css
 * @version 8.7.0
 * @package LandchenEats
 * @description Production stylesheet with fixed element spacing.
 * @compliance GDPR/DSGVO (Zero external font calls).
 */

/* ================= ROOT ================= */
:root {
    --primary-color: #ff6600;
    --primary-hover: #e65c00;
    --bg-dark: #0f0f0f;
    --bg-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #a1a1a1;
    --border-radius: 16px;
    --container-width: 1200px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ================= GLOBAL ================= */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section[id] { scroll-margin-top: 120px; }

/* ================= NAV ================= */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 24px; font-weight: 800; color: var(--primary-color); }
.logo span { color: white; }

.nav-links { display: flex; gap: 30px; }
.nav-links.active { display: ??? }
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--primary-color); }

.hamburger { display: none; font-size: 24px; cursor: pointer; color: white; }

/* ================= HERO ================= */
.hero {
    padding: 200px 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { max-width: 600px; }

.hero-badge {
    background: rgba(255, 102, 0, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero h1 span { color: var(--primary-color); }

.hero p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ================= BUTTONS ================= */
.btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    font-size: 16px;
}

.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-share {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 30px;
}

.btn-share:hover { background-color: var(--primary-color); color: white; }

/* ================= SECTIONS ================= */
.section-header { text-align: center; margin-bottom: 50px; }

.section-tag {
    color: var(--primary-color);
    background: #2a1a10;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title { font-size: 36px; font-weight: 800; }

/* ================= VOTING ================= */
.vote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: linear-gradient(135deg, #1f1f1f 0%, #151515 100%);
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #333;
    margin-top: 40px;
}

.vote-box h2 { font-size: 28px; margin-bottom: 10px; font-weight: 800; }
.vote-box p { color: #a1a1a1; margin-bottom: 25px; }

/* ================= FORMS ================= */
.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #aaa;
}

.form-group input {
    width: 100%;
    padding: 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: #333;
}

/* ================= DROPDOWN ================= */
.custom-dropdown { position: relative; }

.dropdown-input-wrapper { position: relative; }

.dropdown-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.dropdown-list {
    display: none;
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #222;
    border: 1px solid #444;
    border-radius: 12px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.dropdown-list.show { display: block; }

.dropdown-list li {
    padding: 12px 16px;
    color: #ccc;
    cursor: pointer;
    border-bottom: 1px solid #333;
    touch-action: manipulation;
}

.dropdown-list li:hover { background: var(--primary-color); color: white; }

/* ================= LEADERBOARD ================= */
.leaderboard-box {
    background: #111;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #222;
    max-height: 300px;
    overflow: auto;
}
.leaderboard-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leaderboard-title i { color: gold; }

.lb-row { margin-bottom: 15px; }

.lb-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.lb-bar-bg {
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.lb-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease-out;
}

/* ================= SHARE ================= */
.share-container {
    background: linear-gradient(135deg, #2a1505 0%, #1a1a1a 100%);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #332211;
    text-align: center;
    margin-top: 40px;
}

/* ================= STEPS ================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid #222;
    position: relative;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 28px;
    color: var(--primary-color);
    background: rgba(255, 102, 0, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ================= PARTNER TEASER ================= */
.partner-teaser {
    background: linear-gradient(135deg, #2a1505 0%, #0f0f0f 100%);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    border: 1px solid #332211;
    margin: 80px 0;
}

/* ================= SUCCESS ================= */
.final-success-box {
    background: rgba(46,204,113,0.1);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #2ecc71;
}

/* ================= FOOTER ================= */
footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.gdpr-note {
    font-size: 11px;
    color: #666;
    margin-top: 15px;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal {
    background: #111;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 30px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero p { margin: 0 auto 30px; }

    .vote-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .nav-links { display: none; }
    .nav-links.active { display: ??? }
    .hamburger { display: block; }
}


/* ================= MOBILE NAV FIX ================= */
@media (max-width: 900px) {

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15,15,15,0.98);
        border-top: 1px solid #222;
        padding: 20px 0;
        z-index: 999;
    }

    .nav-links.active li {
        text-align: center;
        padding: 12px 0;
    }
}