* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #1a0000;
    color: #f5e9c8;
    line-height: 1.6;
    background-image: repeating-linear-gradient(45deg, #1a0000 0px, #1a0000 40px, #220505 40px, #220505 80px);
}
a { color: #ffd95a; text-decoration: none; }
a:hover { color: #fff7c5; }
img { max-width: 100%; height: auto; display: block; }

/* Top bar */
.topbar {
    background: linear-gradient(90deg, #8b0000, #c8102e, #8b0000);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    text-align: center;
    border-bottom: 2px solid #ffd95a;
}

/* Header */
header {
    background: #2b0000;
    border-bottom: 3px solid #ffd95a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    flex-wrap: wrap;
}
.logo {
    font-size: 28px;
    font-weight: 900;
    color: #ffd95a;
    background: #c8102e;
    padding: 8px 18px;
    border-radius: 6px;
    border: 2px solid #ffd95a;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 12px rgba(255,217,90,0.4);
}
.nav-toggle {
    display: none;
    background: #c8102e;
    color: #fff;
    border: none;
    padding: 8px 14px;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
}
nav ul li a {
    display: block;
    padding: 10px 16px;
    color: #f5e9c8;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.25s;
    text-transform: uppercase;
    font-size: 14px;
}
nav ul li a:hover, nav ul li a.active {
    background: #c8102e;
    color: #ffd95a;
}
.auth-buttons {
    display: flex;
    gap: 8px;
}
.btn-login, .btn-register {
    padding: 9px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border: 2px solid transparent;
    transition: all 0.25s;
}
.btn-login {
    background: transparent;
    color: #ffd95a;
    border-color: #ffd95a;
}
.btn-login:hover { background: #ffd95a; color: #2b0000; }
.btn-register {
    background: linear-gradient(180deg, #ffd95a, #c89a1c);
    color: #2b0000;
    border-color: #ffd95a;
}
.btn-register:hover {
    background: linear-gradient(180deg, #fff5b5, #ffd95a);
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #3d0000, #6b0000, #3d0000);
    padding: 30px 16px 50px;
    text-align: center;
    border-bottom: 4px solid #ffd95a;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,217,90,0.15), transparent 60%);
}
.hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
}
.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: #ffd95a;
    text-shadow: 2px 2px 0 #8b0000, 4px 4px 8px rgba(0,0,0,0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero p.lead {
    font-size: 17px;
    color: #fff5d4;
    max-width: 760px;
    margin: 0 auto 22px;
}
.hero-banner-wrap {
    margin: 22px auto 0;
    max-width: 612px;
    border: 3px solid #ffd95a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255,217,90,0.35);
}
.hero-banner-wrap img { width: 100%; height: auto; }
.hero-cta {
    margin-top: 24px;
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-cta a {
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    border: 2px solid #ffd95a;
}
.hero-cta .primary {
    background: linear-gradient(180deg, #ffd95a, #c89a1c);
    color: #2b0000;
}
.hero-cta .secondary {
    background: transparent;
    color: #ffd95a;
}

/* Section base */
section.block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
}
.block h2 {
    font-size: 24px;
    color: #ffd95a;
    border-left: 5px solid #c8102e;
    padding-left: 12px;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.block h3 {
    font-size: 18px;
    color: #fff5d4;
    margin: 14px 0 8px;
}
.intro-card {
    background: #2b0000;
    border: 1px solid #c8102e;
    border-radius: 8px;
    padding: 22px;
    color: #f5e9c8;
}
.intro-card p { margin-bottom: 14px; }

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.game-card {
    background: #2b0000;
    border: 1px solid #c8102e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255,217,90,0.25);
    border-color: #ffd95a;
}
.game-card-img {
    background: #1a0000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 160px;
}
.game-card-img img { max-height: 180px; width: auto; }
.game-card h4 {
    color: #ffd95a;
    padding: 10px 6px;
    font-size: 14px;
    border-top: 1px solid #c8102e;
}

/* Two-column comparison */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #2b0000;
    border: 1px solid #c8102e;
    border-radius: 8px;
    overflow: hidden;
}
.compare-table th, .compare-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #5a0000;
    text-align: left;
    font-size: 14px;
}
.compare-table th {
    background: #c8102e;
    color: #ffd95a;
    text-transform: uppercase;
    font-size: 13px;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: #3d0000; }

/* Features */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.feature-box {
    background: linear-gradient(180deg, #2b0000, #3d0000);
    border: 1px solid #c8102e;
    border-radius: 8px;
    padding: 18px;
}
.feature-box h3 {
    color: #ffd95a;
    border-bottom: 1px dashed #c8102e;
    padding-bottom: 8px;
    margin-bottom: 10px;
}
.feature-box p { font-size: 14px; color: #f5e9c8; }

/* Story / two-col block */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}
.two-col .text-side p { margin-bottom: 12px; }
.two-col .img-side {
    border: 3px solid #ffd95a;
    border-radius: 8px;
    overflow: hidden;
    background: #1a0000;
}

/* News preview */
.news-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.news-card {
    background: #2b0000;
    border: 1px solid #c8102e;
    border-radius: 8px;
    overflow: hidden;
}
.news-card .news-img {
    background: #1a0000;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-card .news-img img { max-height: 200px; width: auto; }
.news-card .news-body { padding: 14px; }
.news-card h3 { color: #ffd95a; font-size: 16px; margin-bottom: 8px; }
.news-meta {
    font-size: 12px;
    color: #c89a1c;
    margin-bottom: 8px;
}
.news-meta span { margin-right: 8px; }

/* FAQ */
.faq-item {
    background: #2b0000;
    border: 1px solid #c8102e;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 14px 16px;
}
.faq-item h4 {
    color: #ffd95a;
    font-size: 15px;
    margin-bottom: 6px;
}
.faq-item p { font-size: 14px; color: #f5e9c8; }
.faq-item ul { margin: 6px 0 0 18px; font-size: 14px; }

/* Testimonial */
.testimonial {
    background: linear-gradient(135deg, #3d0000, #5a0000);
    border: 1px solid #ffd95a;
    border-radius: 8px;
    padding: 18px;
    font-style: italic;
    color: #fff5d4;
    margin-top: 18px;
}

/* Footer */
footer {
    background: #1a0000;
    border-top: 4px solid #ffd95a;
    padding: 32px 16px 16px;
    margin-top: 30px;
    color: #f5e9c8;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.footer-col h4 {
    color: #ffd95a;
    margin-bottom: 12px;
    border-bottom: 1px solid #c8102e;
    padding-bottom: 6px;
    text-transform: uppercase;
    font-size: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; font-size: 14px; }
.footer-col p { font-size: 13px; margin-bottom: 6px; }
.footer-bottom {
    max-width: 1200px;
    margin: 24px auto 0;
    border-top: 1px solid #5a0000;
    padding-top: 14px;
    text-align: center;
    font-size: 13px;
    color: #c89a1c;
}

/* Mobile */
@media (max-width: 880px) {
    .nav-toggle { display: block; order: 2; }
    nav { width: 100%; order: 4; display: none; }
    nav.open { display: block; }
    nav ul { flex-direction: column; gap: 0; }
    nav ul li a { border-bottom: 1px solid #5a0000; border-radius: 0; }
    .auth-buttons { order: 3; }
    .two-col { grid-template-columns: 1fr; }
    .header-inner { gap: 10px; }
    .logo { font-size: 22px; padding: 6px 12px; }
}
@media (max-width: 480px) {
    .auth-buttons { width: 100%; justify-content: center; order: 5; }
    .btn-login, .btn-register { flex: 1; text-align: center; }
}