:root {
    --bg-main: #090b12;
    --bg-card: #101523;
    --bg-card-2: #0f1420;
    --text-main: #eef3ff;
    --text-muted: #96a2c4;
    --line: rgba(255, 255, 255, 0.08);
    --primary: #5b7cff;
    --primary-2: #7f5dff;
    --danger: #ff5f7a;
    --success: #30d49d;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 20% 20%, #111a33, transparent 40%),
                radial-gradient(circle at 80% 10%, #1a1242, transparent 35%),
                var(--bg-main);
    min-height: 100%;
}

body:has(.page-home) {
    height: 100vh;
    overflow: hidden;
}

.nav-icon,
.side-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 7px;
}

body:has(.dashboard-layout) {
    height: 100vh;
    overflow: hidden;
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
    z-index: 0;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 14px 22px;
    background: rgba(9, 11, 18, 0.65);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 9px;
    transition: color 0.2s ease, transform 0.2s ease, background 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-1px);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(130deg, rgba(91, 124, 255, 0.24), rgba(127, 93, 255, 0.2));
}

.nav-link.active::after {
    transform: scaleX(1);
}

.page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    z-index: 1;
}

.page-home .hero-card {
    width: 100%;
    max-width: 720px;
}

.with-header {
    min-height: calc(100vh - 78px);
    padding-top: 10px;
}

.welcome-card {
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -120px;
    top: -140px;
    background: radial-gradient(circle, rgba(91, 124, 255, 0.25), transparent 70%);
    pointer-events: none;
}

.hero-card,
.card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    backdrop-filter: blur(8px);
}

.hero-card h1 {
    font-size: clamp(34px, 5vw, 48px);
    margin: 8px 0 10px;
}

.hero-card p {
    color: var(--text-muted);
    margin-top: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.home-minimal {
    width: min(900px, 100%);
    text-align: center;
    color: #ffffff;
    margin-top: 0;
}

.home-jackpot-inline {
    margin-bottom: 12px;
}

.jackpot-label {
    display: block;
    color: #d7deff;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jackpot-amount-wrap {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: 8px 0 6px;
}

.jackpot-currency {
    font-size: clamp(28px, 4vw, 42px);
    color: #bcd0ff;
    font-weight: 700;
}

.jackpot-amount {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 24px rgba(127, 93, 255, 0.55);
}

.home-quick-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.participate-section {
    margin-top: 26px;
    text-align: left;
}

.participate-section h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #ffffff;
}

.participate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.participate-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.16), rgba(127, 93, 255, 0.12));
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 104px;
}

.participate-icon {
    font-size: 18px;
    line-height: 1;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.participate-img-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.participate-item strong {
    color: #ffffff;
}

.participate-item p {
    margin: 5px 0 0;
    color: #edf2ff;
}

.participate-item a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.participate-link-card {
    text-decoration: none;
    color: inherit;
}

.participate-copy-card {
    border: 1px solid var(--line);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

.home-footer-signature {
    text-align: center;
    color: #ffffff;
    padding: 10px 16px 18px;
    font-size: 13px;
}

.results-countdown {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.count-item {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px 10px;
}

.count-item strong {
    display: block;
    font-size: clamp(22px, 3vw, 32px);
    color: #f2f5ff;
    line-height: 1;
    margin-bottom: 6px;
}

.count-item span {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(145deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 25px rgba(91, 124, 255, 0.4);
}

.brand-mark.small {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.card {
    width: 100%;
    max-width: 560px;
}

.card-legal {
    max-width: 680px;
}

.empty-content {
    margin-top: 16px;
    min-height: 170px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    padding: 16px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-header h1 {
    margin: 0;
    font-size: 24px;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 16px;
}

.tab-btn {
    border: none;
    border-radius: 10px;
    padding: 11px 10px;
    font-weight: 600;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s ease;
}

.tab-btn.active {
    background: linear-gradient(130deg, rgba(91, 124, 255, 0.25), rgba(127, 93, 255, 0.2));
    color: var(--text-main);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    margin-bottom: 14px;
}

label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--bg-card-2);
    color: var(--text-main);
    border-radius: 10px;
    padding: 11px 12px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    border-color: rgba(91, 124, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.18);
}

.btn {
    text-decoration: none;
    border: none;
    border-radius: 11px;
    padding: 11px 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 10px 25px rgba(91, 124, 255, 0.35);
}

.btn-ghost {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
}

.w-full {
    width: 100%;
}

.mt-16 {
    margin-top: 16px;
}

.alert {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.alert-error {
    background: rgba(255, 95, 122, 0.12);
    color: #ffb5c1;
    border: 1px solid rgba(255, 95, 122, 0.35);
}

.alert-success {
    background: rgba(48, 212, 157, 0.12);
    color: #96f1d4;
    border: 1px solid rgba(48, 212, 157, 0.35);
}

.account-back-link {
    margin: 14px 0 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.account-back-link a {
    color: #b9c8ff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.account-back-link a:hover {
    color: #d8e0ff;
    border-color: rgba(216, 224, 255, 0.6);
}

.dashboard-layout {
    min-height: 100vh;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 18px;
    padding: 20px;
}

.sidebar {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(16, 21, 35, 0.88);
    backdrop-filter: blur(8px);
    padding: 16px;
    height: calc(100vh - 40px);
    position: sticky;
    top: 20px;
    z-index: 3;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.sidebar-brand p {
    margin: 2px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-link {
    appearance: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 10px;
    padding: 11px 12px;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
}

.side-link.active {
    background: linear-gradient(130deg, rgba(91, 124, 255, 0.3), rgba(127, 93, 255, 0.25));
    border-color: rgba(127, 93, 255, 0.5);
}

.logout-link {
    color: #ffd2d9;
    border-color: rgba(255, 95, 122, 0.3);
}

.dashboard-content {
    min-width: 0;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

.dashboard-content::-webkit-scrollbar {
    width: 10px;
}

.dashboard-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.dashboard-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(91, 124, 255, 0.85), rgba(127, 93, 255, 0.85));
    border-radius: 999px;
}

.dashboard-panel {
    display: none;
}

.dashboard-panel.active {
    display: block;
}

.profile-card {
    max-width: 100%;
    margin-bottom: 14px;
}

.profile-card h1,
.profile-card h2 {
    margin-top: 0;
}

.stack-form {
    display: grid;
    gap: 10px;
}


.muted-text {
    color: var(--text-muted);
    margin: 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.info-item {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 12px;
}

.info-item .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.info-item .value {
    font-weight: 600;
    word-break: break-word;
}

.player-banner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.player-pill {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.14), rgba(127, 93, 255, 0.12));
    border-radius: 12px;
    padding: 10px 12px;
}

.player-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ticket-info {
    margin-bottom: 12px;
}

.token-display {
    border: 1px solid rgba(127, 93, 255, 0.4);
    background: rgba(127, 93, 255, 0.12);
    padding: 10px 12px;
    border-radius: 10px;
    color: #dcd4ff;
}

#draw-select,
#close-draw-id {
    width: 100%;
    border: 1px solid rgba(127, 93, 255, 0.35);
    background: linear-gradient(135deg, rgba(15, 20, 32, 0.95), rgba(26, 22, 48, 0.9));
    color: var(--text-main);
    border-radius: 12px;
    padding: 11px 42px 11px 12px;
    outline: none;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    background-image:
        linear-gradient(45deg, transparent 50%, #9fb0ff 50%),
        linear-gradient(135deg, #9fb0ff 50%, transparent 50%);
    background-position:
        calc(100% - 20px) calc(50% - 3px),
        calc(100% - 14px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

#draw-select:focus,
#close-draw-id:focus {
    border-color: rgba(127, 93, 255, 0.85);
    box-shadow: 0 0 0 3px rgba(127, 93, 255, 0.2);
}

#draw-select option,
#close-draw-id option {
    background: #0f1420;
    color: #eef3ff;
}

.ticket-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 14px;
    align-items: start;
}

.ticket-left {
    min-width: 0;
}

.balls-section {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.balls-container {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
}

.lotto-ball {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #d9d9d9;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e9edf3 65%, #d9dfe8);
    color: #001a3a;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.7), 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lotto-ball:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.8), 0 6px 14px rgba(0, 0, 0, 0.24);
}

.lotto-ball.active {
    border-color: #b4002b;
    background: radial-gradient(circle at 30% 30%, #ff2d5d, #d10032 65%, #a40025);
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(255, 130, 160, 0.55), 0 8px 18px rgba(209, 0, 50, 0.38);
}

.super-ball .lotto-ball {
    border-color: #d9d9d9;
    background: radial-gradient(circle at 30% 30%, #ffffff, #e9edf3 65%, #d9dfe8);
    color: #001a3a;
}

.super-ball .lotto-ball.active {
    border-color: #b4002b;
    background: radial-gradient(circle at 30% 30%, #ff2d5d, #d10032 65%, #a40025);
    color: #ffffff;
    box-shadow: inset 0 2px 4px rgba(255, 130, 160, 0.55), 0 8px 18px rgba(209, 0, 50, 0.38);
}

.selected-numbers,
.selected-super {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.ticket-history {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    max-height: 520px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.ticket-section {
    min-height: 0;
    border: 1px solid rgba(127, 93, 255, 0.18);
    border-radius: 10px;
    background: rgba(8, 12, 22, 0.45);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.ticket-history h3 {
    margin: 0 0 8px;
    font-size: 16px;
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(16, 21, 35, 0.96);
    padding: 6px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-scroll-list {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    min-height: 0;
    flex: 1 1 auto;
    padding-right: 4px;
}

.ticket-scroll-list::-webkit-scrollbar {
    width: 8px;
}

.ticket-scroll-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.ticket-scroll-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(91, 124, 255, 0.85), rgba(127, 93, 255, 0.85));
    border-radius: 999px;
}

.history-list {
    display: grid;
    gap: 10px;
}

.history-item {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.history-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.history-top strong {
    color: var(--text-main);
    font-size: 13px;
}

.history-draw {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.history-numbers {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
}

.history-super {
    display: inline-block;
    margin-left: 6px;
    color: #ffd86a;
}

#submit-ticket:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.admin-user-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 10px;
}

.admin-user-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-main);
    font-size: 14px;
}

.admin-edit-btn {
    min-width: 42px;
    height: 42px;
    padding: 0;
    font-size: 18px;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.admin-modal.hidden {
    display: none;
}

.admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.admin-modal-card {
    position: relative;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    margin: 24px auto;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 18px;
    z-index: 1001;
}

.admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

#panel-administration {
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

#panel-administration .admin-manage-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#panel-administration .admin-users-list {
    overflow: auto;
    max-height: calc(100vh - 320px);
    padding-right: 6px;
}

.verification-page {
    min-height: 100vh;
}

.verification-card {
    width: 100%;
    max-width: 620px;
    text-align: center;
}

.verification-card h1 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 42px);
}

.verification-subtitle {
    color: var(--text-muted);
    margin: 0 0 18px;
}

.verification-form {
    display: grid;
    gap: 12px;
}

.verification-result {
    margin-top: 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.98);
    transition: all 0.35s ease;
}

.verification-result.show {
    max-height: 260px;
    padding: 18px 14px;
    opacity: 1;
    transform: scale(1);
}

.verification-result h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4.2vw, 46px);
    letter-spacing: 0.04em;
}

.verification-result p {
    margin: 0;
    font-weight: 600;
}

.verification-result.winner {
    border-color: rgba(34, 197, 94, 0.55);
    background: radial-gradient(circle at top, rgba(34, 197, 94, 0.35), rgba(10, 36, 22, 0.55));
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.35);
    animation: pulseWin 1s ease-in-out 2;
}

.verification-result.loser {
    border-color: rgba(239, 68, 68, 0.45);
    background: radial-gradient(circle at top, rgba(239, 68, 68, 0.26), rgba(40, 14, 14, 0.58));
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.28);
    animation: shakeLose 0.45s ease-in-out 1;
}

@keyframes pulseWin {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes shakeLose {
    0% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
    100% { transform: translateX(0); }
}

.confetti-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

@media (max-width: 720px) {
    .nav-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-brand {
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .side-link {
        text-align: center;
    }

    .form-grid,
    .info-grid,
    .player-banner,
    .ticket-layout {
        grid-template-columns: 1fr;
    }

    .ticket-history {
        max-height: none;
    }

    .balls-container {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .results-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .participate-grid {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .card {
        padding: 20px;
    }
}
