:root {
    --bm-root-color: #FFBC13;
    --bm-main-color: #101a27;
    --bm-bg-color: #253D57;
    --bm-gold: #FFBC13;
    --bm-soft: #d5e2f8;
}

/* GLOBAL */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0b1320, #101a27, #253D57);
    color:#fff;
}

/* HEADER */
.bmw-header {
    width: 100%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    padding: 18px 25px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    position: sticky;
    top:0;
    z-index:999;
    overflow: hidden;
}

.header-left-line {
    width:80px;
    height:4px;
    background: var(--bm-gold);
    border-radius: 20px;
}

.bmw-logo img {
    width: 150px;
    max-width: 100%;
    filter: drop-shadow(0 0 10px var(--bm-gold));
}

.header-btn {
    padding:10px 20px;
    background:transparent;
    border:2px solid var(--bm-gold);
    color:var(--bm-gold);
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
    white-space: nowrap;
}
.header-btn:hover {
    background:rgba(255,188,19,0.15);
    box-shadow:0 0 15px var(--bm-gold);
}

/* HERO */
.bmw-hero {
    padding:60px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
    flex-wrap:wrap;
    max-width: 1200px;
    margin:auto;
}

/* HERO SOL TARAF */
.hero-text {
    flex: 1 1 380px;
    min-width: 350px;
}

.hero-title {
    font-size:48px;
    background: linear-gradient(90deg, #FFBC13, #ffe59a);
    -webkit-background-clip: text;
    color:transparent;
    font-weight:700;
}

.hero-prize {
    font-size:24px;
    padding:10px 20px;
    background:rgba(255,255,255,0.1);
    border-left:4px solid var(--bm-gold);
    margin-top:10px;
    width: fit-content;
}
.hero-prize span {
    color:var(--bm-gold);
    font-weight:700;
}

/* COUNTDOWN */
.countdown-box {
    margin-top:15px;
    display:flex;
    gap:15px;
    flex-wrap: wrap;
}

.cd-item {
    text-align:center;
    padding:10px 20px;
    background:rgba(255,255,255,0.1);
    border-radius:10px;
    border:1px solid rgba(255,255,255,0.1);
    min-width: 90px;
}
.cd-item span {
    font-size:32px;
    font-weight:700;
    color:var(--bm-gold);
}

/* SLIDER */
.bmw-slider {
    flex: 1 1 380px;
    min-width: 350px;
    height:320px;
    background:#0d1623;
    border-radius:18px;
    position:relative;
    overflow:hidden;
    border:2px solid rgba(255,255,255,0.1);
}

/* SLIDE FIX (overflow bug giderildi) */
.slide {
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s ease;
}
.slide.active {
    opacity:1;
}
.slide img {
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
}

/* ARROWS */
.arrow {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    padding:10px 15px;
    background:rgba(255,255,255,0.1);
    border:1px solid var(--bm-gold);
    border-radius:10px;
    cursor:pointer;
    z-index:5;
}
.arrow.left { left:10px; }
.arrow.right{ right:10px; }

/* AWARDS */
.bmw-awards {
    padding:70px 20px;
    max-width:1200px;
    margin:auto;
}

.section-title {
    text-align:center;
    font-size:30px;
    margin-bottom:25px;
    color:var(--bm-gold);
}

/* CAR GRID */
.car-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-bottom:50px;
}

/* CARD FIX (min-width sebebiyle taşma engellendi) */
.car-card {
    background:rgba(0,0,0,0.25);
    padding:15px;
    border-radius:12px;
    border:2px solid rgba(255,255,255,0.15);
    text-align:center;
    transition:.3s;
    width:100%;
}
.car-card img {
    width:100%;
    height:170px;
    object-fit:contain;
}

/* CASH GRID */
.cash-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:15px;
    width:100%;
}

.cash-row {
    background:rgba(255,255,255,0.1);
    padding:14px 20px;
    border-radius:10px;
    border-left:4px solid var(--bm-gold);
    display:flex;
    justify-content:space-between;
    width:100%;
}
.cash-row strong {
    color:var(--bm-gold);
    font-weight:700;
}
.ticket {
    background:rgba(255,188,19,0.2);
}

/* FAQ */
.bmw-faq {
    padding:60px 20px;
    max-width:900px;
    margin:auto;
}

.faq-list {
    display:flex;
    flex-direction:column;
    gap:15px;
}

.faq-item {
    background:rgba(255,255,255,0.15);
    padding:15px;
    border-radius:10px;
}

.faq-q {
    font-size:18px;
    cursor:pointer;
    font-weight:600;
}
.faq-a {
    display:none;
    padding-top:10px;
    color:#e8eeff;
}

/* FOOTER */
.bmw-footer {
    padding:30px;
    background:#101a27;
    text-align:center;
    color:#d7e4ff;
    border-top:1px solid rgba(255,255,255,0.1);
}

/* SNOW CANVAS */
#snowCanvas {
    position:fixed;
    top:0;left:0;
    width:100%;height:100%;
    pointer-events:none;
    z-index:0;
}
