/* Novo layout público */
:root {
    --green-900: #0b1f12;
    --green-800: #13301c;
    --green-700: #1f552c;
    --gold-600: #e0b23f;
    --gold-500: #f2c94c;
    --lime-500: #22e36a;
    --blue-500: #2f6fed;
    --bg: #f0f4f1;
    --text: #151a17;
    --muted: #5b6a60;
    --card: #ffffff;
    --border: #dde5df;
    --shadow: 0 20px 45px rgba(9, 24, 14, 0.16);
    --shadow-soft: 0 10px 24px rgba(9, 24, 14, 0.1);
    --glow: 0 0 22px rgba(34, 227, 106, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', Arial, sans-serif; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

header { background: rgba(11,31,18,0.94); color: #fff; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); border-bottom: 1px solid rgba(242,201,76,0.15); }
header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand span { background: linear-gradient(120deg, #ffffff, var(--gold-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.user-area { display: flex; align-items: center; gap: 10px; }
.pill { background: rgba(255,255,255,0.16); padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.btn { border: none; border-radius: 12px; padding: 11px 16px; font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: linear-gradient(140deg, var(--gold-500), var(--lime-500)); color: #0b1410; box-shadow: 0 10px 22px rgba(242,201,76,0.28); }
.btn-secondary { background: rgba(255,255,255,0.18); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline { background: #fff; border: 1px solid var(--border); color: var(--text); }

.hero { background: radial-gradient(circle at 20% 20%, rgba(34,227,106,0.18), transparent 40%), linear-gradient(120deg, rgba(8,24,14,0.92), rgba(0,0,0,0.2)); color: #fff; padding: 50px 0; }
.hero-compact { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-content { max-width: 640px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-badge { background: rgba(242,201,76,0.2); color: #ffe48c; border: 1px solid rgba(242,201,76,0.5); padding: 6px 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero h1 { font-size: 46px; margin-bottom: 10px; letter-spacing: 0.03em; text-shadow: 0 8px 24px rgba(0,0,0,0.35); }
.hero-lead { font-size: 19px; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.panel-card { background: rgba(255,255,255,0.96); border-radius: 18px; padding: 20px; color: var(--text); box-shadow: var(--shadow-soft); border: 1px solid rgba(34,227,106,0.18); }
.panel-card h3 { margin-bottom: 8px; }
.panel-highlight { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; background: #f9f5e6; border-radius: 12px; padding: 14px; }
.panel-highlight strong { display: block; font-size: 20px; }
.panel-highlight span { color: var(--muted); font-size: 13px; }
.panel-list { padding-left: 18px; color: var(--muted); }
.panel-list li { margin: 8px 0; }
.panel-accent { border: 1px solid rgba(242,201,76,0.6); background: linear-gradient(140deg, rgba(255,255,255,0.98), rgba(242,201,76,0.12)); box-shadow: var(--shadow); }
.panel-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(34,227,106,0.12); color: #0f3b20; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }

.section { padding: 56px 0; }
.section h2 { font-size: 32px; margin-bottom: 8px; }
.section p { color: var(--muted); }
.section-head { margin-bottom: 24px; max-width: 720px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(242,201,76,0.18); color: #6a4e08; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.highlights { background: #ffffff; }
.highlight-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.highlight-card { background: #f9fbf9; border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-soft); }
.highlight-card::after { content: ""; display: block; height: 3px; width: 48px; margin-top: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500), var(--lime-500)); }
.highlight-card h3 { margin-bottom: 6px; }
.steps { background: linear-gradient(120deg, #f4f8f4, #ffffff); }
.steps-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step-card { background: #ffffff; border-radius: 16px; padding: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(242,201,76,0.2); color: #9a7a1a; font-weight: 700; margin-bottom: 12px; }

.games-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.games-priority { padding-top: 20px; }
.games-priority .games-header { align-items: flex-end; }
.games-priority .card { border: 1px solid rgba(242,201,76,0.3); }
.games-priority .card:hover { box-shadow: var(--shadow); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-soft); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card h3 { margin-bottom: 6px; }
.game-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin-bottom: 8px; }
.team { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; }
.team img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--border); padding: 4px; }
.team strong { font-size: 14px; }
.vs { font-weight: 700; color: var(--muted); font-size: 12px; }
.game-card-meta { display: grid; gap: 4px; margin: 6px 0 10px; font-size: 13px; color: var(--muted); }
.game-card-meta strong { color: var(--text); font-weight: 600; }
.game-actions { display: flex; gap: 8px; margin-top: 6px; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 2000; }
.modal-content { background: #fff; width: 90%; max-width: 620px; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.modal-content h3 { margin-bottom: 12px; }
.modal-subtitle { color: var(--muted); margin-bottom: 14px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 10px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.alert-info { background: #eef5ff; color: #164e8a; }
.alert-error { background: #ffe8e8; color: #8a1c1c; }

.payout { background: #0b1f12; color: #fff; }
.payout-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 22px; padding: 30px; background: linear-gradient(120deg, rgba(12,33,18,0.98), rgba(6,18,11,0.9)); box-shadow: var(--shadow); }
.payout-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.footer { background: #0f2a16; color: rgba(255,255,255,0.85); padding: 32px 0; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
.footer strong { display: block; margin-bottom: 8px; color: #fff; }

.winners { background: #ffffff; }
.winners-card { background: #0f2a16; border-radius: 18px; padding: 18px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.winner-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.winner-name { font-weight: 600; letter-spacing: 0.02em; }
.winner-amount { font-weight: 700; color: var(--gold-500); }
.winner-empty { justify-content: center; color: rgba(255,255,255,0.7); font-weight: 500; }

.form-remember label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.form-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.credit-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 12px;
}

.credit-btn {
    border: 1px solid #dfe6e1;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    background: #f6faf7;
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.credit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(9, 24, 14, 0.12);
}

.credit-btn.selected {
    border-color: #1f552c;
    box-shadow: 0 8px 18px rgba(31, 85, 44, 0.2);
}

.credit-custom {
    grid-column: span 3;
    display: grid;
    gap: 6px;
}

.credit-custom label {
    font-weight: 600;
}

.credit-custom input {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #dfe6e1;
}

@media (max-width: 640px) {
    .credit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .credit-custom {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .hero-compact { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .games-header { flex-direction: column; align-items: flex-start; }
    .payout-card { flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
}
