* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1d2e;
    color: #e8e8f0;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
    background: #0f1220;
    border-bottom: 2px solid #f7b733;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}
.logo {
    font-size: 28px;
    font-weight: 900;
    color: #f7b733;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.main-nav a {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    color: #cfcfdc;
}
.main-nav a:hover { background: #2a2e45; color: #f7b733; }
.main-nav a.active {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    color: #0f1220;
    font-weight: 700;
}
.auth-buttons { display: flex; gap: 10px; }
.btn-login, .btn-register {
    padding: 9px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s;
}
.btn-login {
    background: #2a2e45;
    color: #f7b733;
    border: 1px solid #f7b733;
}
.btn-register {
    background: linear-gradient(135deg, #fc4a1a, #f7b733);
    color: #0f1220;
}
.btn-login:hover, .btn-register:hover { transform: translateY(-2px); }

/* Hero */
.hero {
    position: relative;
    max-width: 1280px;
    margin: 20px auto;
    padding: 0 20px;
}
.hero-banner {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.hero-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: linear-gradient(90deg, rgba(15,18,32,0.92), rgba(15,18,32,0.4));
    padding: 20px 25px;
    border-radius: 10px;
    border-left: 4px solid #f7b733;
}
.hero-text h1 {
    font-size: 32px;
    color: #f7b733;
    margin-bottom: 8px;
    line-height: 1.2;
}
.hero-text p {
    font-size: 15px;
    color: #e8e8f0;
    max-width: 600px;
}

/* Sections */
section {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}
.section-title {
    font-size: 24px;
    color: #f7b733;
    margin-bottom: 20px;
    padding-left: 14px;
    border-left: 4px solid #fc4a1a;
}

/* Category bar */
.category-bar {
    background: #232740;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: wrap;
}
.category-bar a {
    padding: 8px 18px;
    background: #2f3450;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.3s;
}
.category-bar a:hover, .category-bar a.cat-active {
    background: linear-gradient(135deg, #f7b733, #fc4a1a);
    color: #0f1220;
    font-weight: 600;
}

/* Game grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.game-card {
    background: #232740;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2f3450;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(247,183,51,0.25);
    border-color: #f7b733;
}
.game-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #1a1d2e;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-card-info {
    padding: 12px 14px;
}
.game-card-info h3 {
    font-size: 15px;
    color: #f7b733;
    margin-bottom: 4px;
}
.game-card-info span {
    font-size: 12px;
    color: #9b9bae;
}

/* Wide feature row */
.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.feature-card {
    background: #232740;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2f3450;
}
.feature-card .img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.feature-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-card .info {
    padding: 16px;
}
.feature-card h3 {
    color: #f7b733;
    font-size: 17px;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 14px;
    color: #c0c0d0;
}

/* Content blocks */
.content-block {
    background: #232740;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #2f3450;
}
.content-block h2 {
    color: #f7b733;
    font-size: 22px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2f3450;
}
.content-block h3 {
    color: #fc4a1a;
    font-size: 18px;
    margin: 20px 0 10px;
}
.content-block p {
    margin-bottom: 14px;
    font-size: 15px;
    color: #d0d0dc;
}
.content-block ul {
    margin: 10px 0 14px 22px;
    color: #d0d0dc;
}
.content-block ul li { margin-bottom: 6px; font-size: 14.5px; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin: 25px 0;
}
.stat-item {
    background: #1a1d2e;
    border: 1px solid #2f3450;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.stat-item .num {
    font-size: 28px;
    color: #f7b733;
    font-weight: 800;
    display: block;
}
.stat-item .lbl {
    font-size: 13px;
    color: #9b9bae;
    margin-top: 6px;
    display: block;
}

/* Two column with image */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    margin: 25px 0;
}
.two-col img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* FAQ */
.faq-list { margin-top: 20px; }
.faq-item {
    background: #1a1d2e;
    border: 1px solid #2f3450;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
}
.faq-item h4 {
    color: #f7b733;
    font-size: 16px;
    margin-bottom: 8px;
}
.faq-item p {
    color: #c0c0d0;
    font-size: 14.5px;
    margin: 0;
}
.faq-item ul { margin: 8px 0 0 22px; color: #c0c0d0; font-size: 14px; }

/* Review */
.review-box {
    background: linear-gradient(135deg, #2f3450, #232740);
    border-left: 4px solid #f7b733;
    padding: 18px 22px;
    border-radius: 8px;
    margin-top: 22px;
    font-style: italic;
    color: #e0e0ec;
}

/* Footer */
.site-footer {
    background: #0a0c18;
    border-top: 2px solid #f7b733;
    margin-top: 50px;
    padding: 40px 20px 20px;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.footer-col h4 {
    color: #f7b733;
    font-size: 16px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2f3450;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a {
    color: #b0b0c0;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-col a:hover { color: #f7b733; }
.footer-col p {
    font-size: 13.5px;
    color: #a0a0b0;
    margin-bottom: 6px;
    line-height: 1.7;
}
.footer-bottom {
    max-width: 1280px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid #2f3450;
    text-align: center;
    font-size: 13px;
    color: #8888a0;
}
.footer-bottom .age-warn {
    color: #fc4a1a;
    font-weight: 700;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner { justify-content: center; }
    .main-nav { order: 3; width: 100%; justify-content: center; }
    .hero-text { position: static; margin-top: -2px; border-radius: 0 0 10px 10px; }
    .hero-text h1 { font-size: 22px; }
    .two-col { grid-template-columns: 1fr; }
    .section-title { font-size: 20px; }
    .content-block { padding: 20px; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .logo { font-size: 22px; }
    .btn-login, .btn-register { padding: 7px 14px; font-size: 13px; }
}