/* RESET + BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #020617;
    color: #e5e7eb;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* LAYOUT CHUNG */
.container {
    width: min(1120px, 100% - 32px);
    margin: 0 auto;
}

.section {
    padding: 64px 0;
}

.section.alt {
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.05), transparent),
                #020617;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #e5e7eb;
}

.section p {
    color: #9ca3af;
    font-size: 15px;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid #1f2937;
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 52px;
    height: 52px;
}

.brand-text h1 {
    font-size: 20px;
    color: #f9fafb;
    margin-bottom: 2px;
}

.brand-text span {
    font-size: 12px;
    color: #9ca3af;
}

nav a {
    font-size: 14px;
    margin-left: 18px;
    color: #9ca3af;
    transition: color 0.15s ease, opacity 0.15s ease;
}

nav a:hover {
    color: #38bdf8;
    opacity: 1;
}

/* TEXT UTILS */
.center {
    text-align: center;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: #0b1120;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.btn.big {
    padding: 10px 22px;
    font-size: 15px;
}


.btn.bigred {
    padding: 10px 22px;
    font-size: 15px;
    background: red !important;
    color: white !important;
}
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 14px 32px rgba(56, 189, 248, 0.35);
}

.btn.secondary {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid #374151;
    box-shadow: none;
}

.btn.secondary:hover {
    border-color: #38bdf8;
}

/* BADGES / TAGS */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #38bdf8;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #38bdf8;
}

/* HERO */
.hero {
    padding-top: 80px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.15), transparent),
                #020617;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
    align-items: center;
}

.hero-eyebrow {
    margin-bottom: 10px;
}

.hero-title {
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.hero-title span {
    color: #38bdf8;
}

.hero-subtitle {
    font-size: 15px;
    color: #9ca3af;
    max-width: 520px;
}

.hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    color: #9ca3af;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-meta span::before {
    content: "•";
    color: #38bdf8;
}

.hero-card {
    background: linear-gradient(145deg, #020617, #020617);
    border-radius: 18px;
    border: 1px solid #1f2937;
    padding: 20px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.hero-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 12px;
}

.hero-card ul {
    list-style: none;
    font-size: 13px;
    color: #e5e7eb;
}

.hero-card li {
    margin-bottom: 6px;
}

/* GRID CARDS */
.cards-grid {
    display: grid;
    gap: 20px;
}

.cards-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: #020617;
    border-radius: 16px;
    border: 1px solid #1f2937;
    padding: 18px 18px 20px;
}

.card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #e5e7eb;
}

.card p {
    font-size: 14px;
    color: #9ca3af;
}

/* GAME LIST */
.games-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.game-card .game-meta {
    font-size: 12px;
    color: #9ca3af;
    margin: 4px 0 10px;
}

.game-card .game-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* TIMELINE */
.timeline {
    border-left: 2px solid #1f2937;
    margin-top: 24px;
    padding-left: 22px;
}

.timeline-item {
    position: relative;
    margin-bottom: 22px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -11px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #38bdf8;
}

.timeline-date {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 3px;
}

.timeline-content h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

/* LIST STEP */
.steps {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #0f172a;
    border: 1px solid #1f2937;
    font-size: 13px;
    margin-bottom: 6px;
}

/* FORM + INPUT */
form {
    display: block;
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: block;
    font-size: 13px;
    color: #cbd5f5;
    margin-bottom: 5px;
}

input, select, textarea {
    width: 100%;
    padding: 9px 11px;
    border-radius: 8px;
    border: 1px solid #374151;
    background: #020617;
    color: #e5e7eb;
    font-size: 14px;
}

input::placeholder, textarea::placeholder {
    color: #6b7280;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

/* TOPUP PAGE LAYOUT */
.topup-hero {
    padding-top: 70px;
}

.topup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 26px;
    align-items: flex-start;
}

.info-card, .topup-card {
    background: #020617;
    border-radius: 18px;
    border: 1px solid #1f2937;
    padding: 20px 18px 20px;
}

.info-card h2 {
    font-size: 22px;
}

.info-card p {
    font-size: 14px;
}

.info-list {
    margin-top: 12px;
    font-size: 14px;
    color: #e5e7eb;
}

.info-list li {
    margin-bottom: 6px;
}

.bank-box {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #020617;
    border: 1px dashed #374151;
    font-size: 14px;
}

.bank-box strong {
    color: #e5e7eb;
}

.helper {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.alert {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid #f97316;
    background: rgba(248, 113, 113, 0.03);
    font-size: 13px;
    color: #fed7aa;
}

/* FOOTER */
footer {
    border-top: 1px solid #1f2937;
    padding: 16px 0;
    font-size: 13px;
    color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid,
    .topup-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 8px;
    }

    nav a {
        margin-left: 0;
        font-size: 13px;
    }
}
