* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: #1a1d24;
    color: #e8e8e8;
    line-height: 1.6;
    font-size: 14px;
}
a { color: #f5c451; text-decoration: none; transition: 0.3s; }
a:hover { color: #ffdf80; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
header {
    background: #0f1218;
    border-bottom: 1px solid #2a2f3a;
    position: sticky;
    top: 0;
    z-index: 100;
}
.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.logo {
    font-size: 26px;
    font-weight: 800;
    color: #f5c451;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #f5c451, #d4a017);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
nav ul li a {
    padding: 8px 14px;
    color: #d8d8d8;
    font-weight: 500;
    border-radius: 4px;
    font-size: 14px;
}
nav ul li a:hover, nav ul li a.active {
    background: #f5c451;
    color: #1a1d24;
}
.auth-buttons { display: flex; gap: 8px; }
.btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 13px;
    transition: 0.3s;
}
.btn-login {
    background: transparent;
    border: 1px solid #f5c451;
    color: #f5c451;
}
.btn-register {
    background: linear-gradient(135deg, #f5c451, #d4a017);
    color: #1a1d24;
}
.btn:hover { transform: translateY(-2px); }

/* HERO */
.hero {
    background: linear-gradient(135deg, #2a1f0d, #1a1d24);
    padding: 30px 20px;
    border-bottom: 2px solid #f5c451;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    align-items: center;
}
.hero-left {
    background: #14171f;
    padding: 18px;
    border-radius: 8px;
    border: 1px solid #2a2f3a;
}
.hero-left h2 {
    color: #f5c451;
    font-size: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid #2a2f3a;
    padding-bottom: 8px;
}
.hero-left ul { list-style: none; }
.hero-left ul li {
    padding: 10px 8px;
    border-bottom: 1px dashed #2a2f3a;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #ccc;
}
.hero-left ul li span {
    background: #f5c451;
    color: #1a1d24;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}
.hero-right {
    background: #14171f;
    border-radius: 8px;
    padding: 18px;
    border: 1px solid #2a2f3a;
}
.event-banner {
    text-align: center;
    margin-bottom: 14px;
}
.event-banner h1 {
    color: #f5c451;
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 800;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}
.cd-box {
    background: #0f1218;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #f5c451;
    text-align: center;
    min-width: 50px;
}
.cd-box strong {
    display: block;
    color: #f5c451;
    font-size: 18px;
    font-weight: 800;
}
.cd-box small { color: #999; font-size: 10px; }
.hero-img-box img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

/* SECTION TITLE */
.section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #2a2f3a;
    padding-bottom: 10px;
}
.section-title h2 {
    color: #f5c451;
    font-size: 18px;
    font-weight: 700;
}
.section-title a { font-size: 12px; color: #999; }

/* LIVESTREAM */
.livestream-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 14px;
}
.live-main {
    background: #14171f;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a2f3a;
}
.live-main img { width: 100%; height: 280px; object-fit: cover; }
.live-info {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.live-info span { color: #f5c451; font-weight: 700; font-size: 13px; }
.live-side {
    background: #14171f;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #2a2f3a;
}
.live-side h4 { color: #f5c451; font-size: 13px; margin-bottom: 10px; }
.live-side img { width: 100%; border-radius: 6px; }

/* PROMO */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.promo-card {
    background: #14171f;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a2f3a;
    transition: 0.3s;
}
.promo-card:hover { transform: translateY(-4px); border-color: #f5c451; }
.promo-card img { width: 100%; height: 140px; object-fit: cover; }
.promo-card-body { padding: 12px; }
.promo-card-body h3 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 8px;
}
.promo-card-body .btn-small {
    display: inline-block;
    padding: 6px 14px;
    background: #f5c451;
    color: #1a1d24;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* GAMES GRID */
.game-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.game-card {
    background: #14171f;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    border: 1px solid #2a2f3a;
    transition: 0.3s;
}
.game-card:hover { border-color: #f5c451; transform: scale(1.03); }
.game-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}
.game-card span { font-size: 11px; color: #ccc; }

/* RANKING */
.rank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.rank-card {
    background: linear-gradient(135deg, #2a1f0d, #14171f);
    border-radius: 8px;
    padding: 14px;
    border: 1px solid #f5c451;
    display: flex;
    align-items: center;
    gap: 12px;
}
.rank-num {
    background: #f5c451;
    color: #1a1d24;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.rank-card img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.rank-info h4 { font-size: 13px; color: #fff; margin-bottom: 4px; }
.rank-info p { font-size: 12px; color: #f5c451; }

/* SPONSOR */
.sponsor-section {
    background: linear-gradient(135deg, #2a1f0d, #1a1d24);
    padding: 30px 20px;
    margin: 30px 0;
    text-align: center;
}
.sponsor-section img {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}
.sponsor-section h3 {
    color: #f5c451;
    margin-top: 16px;
    font-size: 16px;
}

/* CONTENT BLOCKS */
.content-block {
    background: #14171f;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid #2a2f3a;
}
.content-block h2 {
    color: #f5c451;
    font-size: 20px;
    margin-bottom: 14px;
    border-left: 3px solid #f5c451;
    padding-left: 12px;
}
.content-block h3 {
    color: #ffdf80;
    font-size: 16px;
    margin: 16px 0 10px;
}
.content-block p {
    color: #c8c8c8;
    margin-bottom: 12px;
    text-align: justify;
}
.content-block ul {
    margin: 10px 0 14px 24px;
    color: #c8c8c8;
}
.content-block ul li { margin-bottom: 6px; }

/* FAQ */
.faq-item {
    background: #0f1218;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 10px;
    border-left: 3px solid #f5c451;
}
.faq-item h4 {
    color: #f5c451;
    font-size: 14px;
    margin-bottom: 8px;
}
.faq-item p { color: #c8c8c8; font-size: 13px; }

/* TESTIMONIAL */
.testimonial {
    background: #2a1f0d;
    border-radius: 8px;
    padding: 18px;
    margin: 16px 0;
    border-left: 4px solid #f5c451;
    font-style: italic;
    color: #e8e8e8;
}

/* FOOTER */
footer {
    background: #0a0c11;
    padding: 30px 20px 20px;
    border-top: 2px solid #f5c451;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
}
.footer-col h4 {
    color: #f5c451;
    font-size: 14px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.footer-col p, .footer-col ul li { font-size: 12px; color: #999; margin-bottom: 6px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: #ccc; font-size: 12px; }
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid #2a2f3a;
    text-align: center;
    font-size: 12px;
    color: #777;
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .game-grid { grid-template-columns: repeat(3, 1fr); }
    .rank-grid { grid-template-columns: 1fr; }
    .livestream-grid { grid-template-columns: 1fr; }
    .live-main img { height: 200px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .top-bar { justify-content: center; }
    nav ul { justify-content: center; }
}
@media (max-width: 500px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr; }
    .event-banner h1 { font-size: 16px; }
}
.hero-left ul li span img{width:100%;height:100%;object-fit:cover;object-position:center}
.rank-num img{width:100%;height:100%;object-fit:cover;object-position:center}