:root {
  --color-dark-blue: #020813;
  --color-bg: #090e1c;
  --color-border: #1c2234;
}
body {
    background-color: var(--color-bg);
    color:white;
    margin: 0;
    font-family: Inter;
}
.home-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.home-card {
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 42px 28px;
    border-radius: 28px;
    background: rgba(255,255,255,0.06);
}

.home-card h1 {
    font-size: 42px;
    margin: 0 0 12px;
}

.home-card p {
    font-size: 18px;
    margin-bottom: 28px;
}

.home-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.button-primary,
.button-secondary {
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.button-primary {
    background: linear-gradient(135deg, #24d6ff, #7b4dff, #ffb347);
    color: white;
}

.button-secondary {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}
.hall-card {
    max-width: 900px;
}

.hof-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
}

.hof-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.hof-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
    flex-shrink: 0;
    font-size: 26px;
}

.hof-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hof-content {
    flex: 1;
    text-align: left;
}

.hof-title {
    font-size: 20px;
    font-weight: 800;
}

.hof-meta {
    margin-top: 4px;
    opacity: 0.78;
    font-size: 14px;
}

.hof-small {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.65;
}

.hof-badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #24d6ff, #7b4dff, #ffb347);
    color: white;
    font-size: 13px;
    font-weight: 800;
}
.hof-seasons {
    display: flex;
    flex-direction: column;
    gap: 34px;
    margin-top: 30px;
}

.hof-season-block {
    text-align: left;
}

.hof-season-title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 900;
}

.hof-competition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hof-competition-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.hof-competition-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.hof-competition-title {
    font-size: 18px;
    font-weight: 900;
}

.hof-winners-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hof-winner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(0,0,0,0.16);
}

.hof-medal {
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hof-winner-content {
    flex: 1;
}

@media (max-width: 760px) {
    .hof-competition-grid {
        grid-template-columns: 1fr;
    }
}
.hof-toggle {
    cursor: pointer;
}

.hof-path {
    display: none;
    margin-top: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(0,0,0,0.18);
}

.hof-path.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hof-pick {
    display: grid;
    grid-template-columns: 34px 38px 1fr 72px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
}

.hof-pick-round {
    font-weight: 900;
    opacity: 0.75;
}

.hof-pick-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hof-pick-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hof-pick-team {
    font-weight: 800;
}

.hof-pick-status {
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 8px;
    border-radius: 999px;
}

.hof-pick-status.correct {
    background: rgba(0, 220, 130, 0.22);
}

.hof-pick-status.wrong {
    background: rgba(255, 80, 80, 0.22);
}

.hof-pick-status.pending {
    background: rgba(255, 190, 80, 0.22);
}
.hof-rebuy-marker {
    margin: 10px 0;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 170, 45, 0.18);
    border: 1px solid rgba(255, 170, 45, 0.35);
    color: #ffb347;
    font-weight: 900;
    font-size: 13px;
    text-align: center;
}
.form select,
.form input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    outline: none;
}

.form select option {
    color: #111;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.checkbox-label input {
    width: auto;
}

.hof-item > .button-secondary,
.hof-item > .button-primary {
    white-space: nowrap;
}

.alert {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}

.alert-error {
    background: rgba(255, 80, 80, 0.18);
    border: 1px solid rgba(255, 80, 80, 0.35);
}

.alert-success {
    background: rgba(0, 220, 130, 0.18);
    border: 1px solid rgba(0, 220, 130, 0.35);
}

@media (max-width: 760px) {
    .hof-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .hof-logo {
        width: 46px;
        height: 46px;
    }

    .home-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}
.hof-pick-status.rebuy {
    background: rgba(255, 170, 45, 0.25);
    color: #ffb347;
}

.league-member-card {
    cursor: pointer;
}
.eliminating-team {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    font-size: 13px;
    opacity: 0.85;
}

.eliminating-team img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.elimination-toggle {
    cursor: pointer;
}

.elimination-details {
    display: none;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.18);
    margin-top: -4px;
    margin-bottom: 8px;
}

.elimination-details.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elimination-account-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    opacity: 0.9;
}
.league-winner-card {
    border: 1px solid rgba(255, 179, 71, 0.65);
    box-shadow: 0 0 22px rgba(255, 179, 71, 0.18);
}

.league-winner-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 179, 71, 0.22);
    color: #ffb347;
    font-size: 12px;
    font-weight: 900;
}
.pick-countdown {
    margin: 18px 0;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.07);
    font-weight: 800;
}

.pick-message {
    min-height: 24px;
    margin: 12px 0;
    font-weight: 800;
}

.pick-message.success {
    color: #24d6a0;
}

.pick-message.error {
    color: #ff6b6b;
}

.pick-matches {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 22px;
}

.pick-match {
    display: grid;
    grid-template-columns: 1fr 54px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
}

.pick-vs {
    text-align: center;
    font-weight: 900;
    opacity: 0.65;
}

.pick-team {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 14px;
    color: white;
    cursor: pointer;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pick-team img {
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.pick-team.selected {
    border-color: #ffb347;
    box-shadow: 0 0 26px rgba(255,179,71,0.35);
    background: rgba(255,179,71,0.14);
}

.pick-team.disabled,
.pick-team:disabled {
    opacity: 0.25;
    filter: grayscale(1) saturate(0);
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .pick-match {
        grid-template-columns: 1fr;
    }

    .pick-vs {
        font-size: 12px;
    }
}
.result-match {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
}

.result-team,
.result-draw {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    cursor: pointer;
    font-weight: 900;
}

.result-team img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.result-team input,
.result-draw input {
    transform: scale(1.2);
}

@media (max-width: 760px) {
    .result-match {
        grid-template-columns: 1fr;
    }
}
.member-search {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 15px;
    margin: 10px 0 20px;
}
.season-filter-wrap {
    display: block;
    margin: 22px 0;
}

.season-filter-wrap select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.league-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-toggle {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.accordion-panel {
    display: none;
}

.accordion-panel.open {
    display: block;
}
.league-user-status {
    margin-top: 8px;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.league-user-status.choose {
    background: rgba(255, 179, 71, 0.22);
    color: #ffb347;
}

.league-user-status.picked {
    background: rgba(0, 220, 130, 0.18);
    color: #24d6a0;
}

.league-user-status.eliminated {
    background: rgba(255, 80, 80, 0.18);
    color: #ff6b6b;
}

.league-user-status.closed {
    background: rgba(255,255,255,0.12);
}

.league-user-status.pending {
    background: rgba(120,120,255,0.16);
}
.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
    background: #070b16;
    color: #fff;
}

.app-sidebar {
    min-height: 100vh;
    padding: 24px 18px;
    background: var(--color-dark-blue);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.sidebar-logo img {
    width: 190px;
    max-width: 100%;
    margin: 0 auto 34px;
    display: block;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-weight: 800;
}

.sidebar-link.active,
.sidebar-link:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(36,214,255,0.35), rgba(123,77,255,0.35), rgba(255,179,71,0.35));
}

.sidebar-footer {
    margin-top: auto;
}

.sidebar-link.logout {
    background: rgba(255,255,255,0.06);
}

.app-main {
    padding: 20px;
}

.dashboard-topbar {
    padding: 18px 28px;
    border-radius: 22px;
    background: var(--color-dark-blue);
    border: 1px solid var(--color-border);
    margin-bottom: 20px;
}

.dashboard-topbar h1 {
    margin: 0;
    font-size: 26px;
}

.dashboard-topbar p {
    margin: 6px 0 0;
    color: rgba(255,255,255,0.65);
}

.dashboard-hero {
    padding: 38px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 75% 40%, rgba(255,179,71,0.22), transparent 28%),
        radial-gradient(circle at 55% 45%, rgba(36,214,255,0.18), transparent 32%),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.dashboard-hero h2 {
    font-size: 42px;
    margin: 0 0 10px;
}

.dashboard-hero p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 28px;
}

@media (max-width: 820px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .sidebar-logo img {
        width: 150px;
        margin-bottom: 18px;
    }

    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
    }

    .sidebar-footer {
        margin-top: 14px;
    }

    .app-main {
        padding: 18px;
    }
}
.dashboard-hero {
    background-image: url(../images/bg_logo.png);
    background-size: 80%;
    background-position: 130px -85px;
    min-height:250px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 390px;
    gap: 22px;
}

.dashboard-main-column,
.dashboard-side-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
}

.dashboard-card {
    padding: 22px;
    border-radius: 22px;
    background: var(--color-dark-blue);
    border: 1px solid var(--color-border);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.game-card,
.stat-box,
.activity-row,
.league-row,
.next-match-box,
.create-league-box {
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,0.06);
}

.game-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    gap: 10px;
}

.game-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.game-card h4 {
    margin: 0;
    font-size: 17px;
}

.game-card p {
    margin: 0;
    color: rgba(255,255,255,0.68);
    font-size: 13px;
    line-height: 1.35;
}

.game-cta {
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    min-height: 54px;
    padding: 0 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.game-cta::after {
    content: "→";
    font-size: 28px;
    line-height: 1;
    opacity: 0.55;
    transition: transform .2s ease, opacity .2s ease;
}

.game-cta:hover {
    background: rgba(255,255,255,0.09);
}

.game-cta:hover::after {
    transform: translateX(4px);
    opacity: 1;
}
.game-card#survaivo {
    background-image: url('../images/bg_survaivo.png');
    min-height: 200px;
}
.game-card#totomondiale {
    background-image: url('../images/bg2.png');
    min-height: 200px;
}
.game-card#totoseriea {
    background-image: url('../images/bg4.png');
    min-height: 200px;
}
.game-card#wordlcup {
    background-image: url('../images/bg3.png');
    min-height: 200px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.activity-list,
.league-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.create-league-box {
    display: block;
    margin-top: 14px;
    text-decoration: none;
    color: #fff;
}

@media (max-width: 1100px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .games-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .dashboard-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .dashboard-top-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .games-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}