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

:root {
    --bg: #1A1A1A;
    --card-bg: #222222;
    --primary: #C0C0C0;
    --accent: #E63946;
    --gold: #D4A574;
    --white: #FFFFFF;
    --gray: #808080;
    --green: #00C853;
    --blue: #1E88E5;
    --orange: #FF9800;
    --border: #333;
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(192,192,192,0.015) 30px, rgba(192,192,192,0.015) 31px),
        repeating-linear-gradient(90deg, transparent, transparent 30px, rgba(192,192,192,0.015) 30px, rgba(192,192,192,0.015) 31px);
}

::selection { background: var(--primary); color: var(--bg); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border: 2px solid var(--bg); }

/* ========== Nav ========== */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; gap: 2px; }

.lang-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--gray);
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Exo 2', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--white); border-color: var(--primary); }

.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 32px;
    background: rgba(26, 26, 26, 0.97);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo img { width: 32px; height: 32px; border: 2px solid var(--primary); border-radius: 4px; }

.nav-links { display: flex; gap: 20px; align-items: center; }

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 4px 0;
}

.nav-links a:hover { color: var(--primary); }

.nav-links .lang-switch { margin-left: auto; padding-left: 12px; border-left: 1px solid var(--border); }

.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: 1px solid var(--primary); cursor: pointer; padding: 6px; border-radius: 4px; }
.hamburger span { width: 20px; height: 2px; background: var(--white); display: block; }

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(230, 57, 70, 0.06) 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--accent);
    opacity: 0.6;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero-logo {
    width: 100px; height: 100px;
    border: 3px solid var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(192,192,192,0.1);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(32px, 7vw, 52px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 .highlight { color: var(--accent); }

.hero .tagline {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero .subtitle {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Exo 2', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #c62828; border-color: #c62828; transform: scale(1.02); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--bg); transform: scale(1.02); }

.btn-donate { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-donate:hover { background: var(--gold); color: var(--bg); transform: scale(1.02); }

.btn-buy { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-buy:hover { background: #00a844; border-color: #00a844; transform: scale(1.02); }

/* ========== Sections ========== */
.section { padding: 80px 20px; border-top: 2px solid var(--primary); }
.container { max-width: 1100px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 48px; }

.section-title h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title p { color: var(--gray); font-size: 13px; }

.twitch-section { background: var(--card-bg); }

.twitch-embed { max-width: 650px; margin: 0 auto; border: 2px solid var(--primary); border-radius: 4px; aspect-ratio: 16/9; position: relative; overflow: hidden; }
.twitch-embed iframe { width: 100%; height: 100%; border: none; display: block; }

.twitch-status { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 16px; }
.status-dot { width: 10px; height: 10px; background: #555; border-radius: 4px; }
.status-dot.live { background: var(--accent); box-shadow: 0 0 10px rgba(230, 57, 70, 0.5); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-text { font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 600; }
.status-text.live { color: var(--accent); }
.status-text.offline { color: var(--gray); }

/* ========== Schedule ========== */
.schedule-grid { max-width: 650px; margin: 0 auto; }

.schedule-day {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 18px 22px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.schedule-day:hover { border-color: var(--primary); }
.schedule-day .day { font-family: 'Exo 2', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary); text-transform: uppercase; }
.schedule-day .time { color: var(--accent); font-weight: 600; }
.schedule-day .game { color: var(--gray); font-size: 12px; }
.schedule-day .status-badge { padding: 3px 10px; font-size: 11px; border: 1px solid; border-radius: 4px; font-family: 'Exo 2', sans-serif; font-weight: 600; }
.status-badge.active { background: rgba(0, 200, 83, 0.1); color: var(--green); border-color: var(--green); }
.status-badge.upcoming { background: rgba(192,192,192,0.1); color: var(--primary); border-color: var(--primary); }

/* ========== Shop / Vehicle Cards ========== */
.shop-section { max-width: 1200px; margin: 0 auto; }

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(192,192,192,0.08);
}

.product-image {
    aspect-ratio: 16/9;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.product-info { padding: 16px; }

.product-info h3 { font-family: 'Exo 2', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }

.product-price { font-family: 'Exo 2', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }

.product-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 8px;
}

.badge-sale { background: var(--accent); color: var(--white); }
.badge-new { background: var(--orange); color: var(--white); }
.badge-premium { background: var(--gold); color: var(--bg); }

.product-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ========== Vehicle ========== */
.vehicle-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.vehicle-card:hover { border-color: var(--primary); }

.vehicle-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--gray);
    margin: 12px 0;
}

.vehicle-price { font-family: 'Exo 2', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); }

.vehicle-status {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.vehicle-status.available { background: rgba(0, 200, 83, 0.1); color: var(--green); border: 1px solid var(--green); }
.vehicle-status.sold { background: rgba(230, 57, 70, 0.1); color: var(--accent); border: 1px solid var(--accent); }
.vehicle-status.reserved { background: rgba(30, 136, 229, 0.1); color: var(--blue); border: 1px solid var(--blue); }

.vehicle-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.vehicle-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; cursor: pointer; }
.vehicle-gallery img:hover { opacity: 0.8; }

/* ========== Cart ========== */
.cart-icon {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
}

.cart-icon:hover { transform: scale(1.1); }

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-dropdown {
    position: fixed;
    top: 130px;
    right: 20px;
    width: 300px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 997;
    display: none;
    padding: 16px;
}

.cart-dropdown.show { display: block; }

.cart-dropdown h3 { font-family: 'Exo 2', sans-serif; font-size: 14px; margin-bottom: 12px; color: var(--primary); }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.cart-item:last-child { border-bottom: none; }
.cart-total { font-family: 'Exo 2', sans-serif; font-size: 16px; font-weight: 700; color: var(--accent); margin-top: 12px; }

/* ========== About ========== */
.about-section { background: var(--card-bg); }
.about-content { max-width: 650px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.about-content strong { color: var(--primary); }

.features-grid { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.feature-item { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--card-bg); border: 1px solid var(--border); border-radius: 4px; font-size: 13px; color: var(--gray); }
.feature-icon { font-size: 18px; }

/* ========== Design Image ========== */
.design-showcase { max-width: 400px; margin: 20px auto; border: 2px solid var(--border); border-radius: 4px; overflow: hidden; }
.design-showcase img { width: 100%; height: auto; display: block; }

/* ========== OG Badge ========== */
.og-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #E8C88A);
    color: var(--bg);
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 16px;
}

/* ========== Social Links ========== */
.social-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.social-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    font-family: 'Exo 2', sans-serif;
    font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-decoration: none; text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--card-bg);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover { border-color: var(--primary); color: var(--primary); }
.social-link svg { width: 18px; height: 18px; }

/* ========== Footer ========== */
footer { text-align: center; padding: 40px 20px; border-top: 2px solid var(--primary); color: var(--gray); font-size: 12px; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--primary); }

/* ========== Animations ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== Mobile ========== */
@media (max-width: 768px) {
    .top-nav { padding: 12px 16px; }
    .nav-links { display: none; position: fixed; top: 56px; left: 0; width: 100%; background: rgba(26,26,26,0.98); flex-direction: column; padding: 20px; gap: 14px; border-bottom: 2px solid var(--primary); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .nav-links .lang-switch { margin-left: 0; padding-left: 0; border-left: none; padding-top: 12px; border-top: 1px solid var(--border); }
    .hero { padding: 100px 16px 40px; }
    .hero-logo { width: 80px; height: 80px; }
    .section { padding: 50px 16px; }
    .shop-grid { grid-template-columns: 1fr; }
    .vehicle-gallery { grid-template-columns: repeat(2, 1fr); }
    .cart-dropdown { width: calc(100% - 40px); right: 20px; }
}
