
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #0b0c0f;
    --surface: #121419;
    --surface-2: #181b21;
    --surface-3: #20232a;
    --gold: #d7b66d;
    --gold-light: #f0d99e;
    --gold-dark: #9c7835;
    --silver: #c4c9d1;
    --text: #f1f2f4;
    --muted: #9096a2;
    --border: #2b2e35;
    --success: #70d6a1;
    --danger: #f17f83;
    --radius: 16px;
    --shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(ellipse at 85% 0%, rgba(215, 182, 109, .075), transparent 34%),
        var(--bg);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

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

.app-shell {
    min-height: 100vh;
}

.topbar {
    min-height: 78px;
    padding: 14px clamp(18px, 5vw, 76px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(16, 17, 21, .92);
    border-bottom: 1px solid rgba(215, 182, 109, .22);
    backdrop-filter: blur(16px);
}

.brand,
.topbar-right,
.brand-copy,
.system-status {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid var(--gold);
    border-radius: 12px 4px 12px 4px;
    color: var(--gold-light);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -2px;
    font-size: 16px;
    background: linear-gradient(145deg, #29251c, #131416);
    box-shadow: inset 0 0 18px rgba(215, 182, 109, .08);
}

.brand-copy {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.25;
}

.brand-copy strong {
    font: 800 16px 'Manrope', sans-serif;
    letter-spacing: 1.5px;
}

.brand-copy strong span {
    color: var(--gold);
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.topbar-right {
    gap: 22px;
}

.system-status {
    gap: 9px;
    color: var(--silver);
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px rgba(112, 214, 161, .4);
}

.admin-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--gold-light);
    border: 1px solid #615337;
    background: #28251f;
    font-weight: 700;
    font-size: 12px;
}

.main-content {
    width: min(100% - 48px, 1480px);
    margin: 0 auto;
    padding: 42px 0 20px;
}

.welcome-section,
.date-display,
.section-heading,
.stat-top,
.form-footer,
.form-actions,
.table-heading,
.table-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcome-section {
    gap: 24px;
    margin-bottom: 30px;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: 'Manrope', sans-serif;
}

h1 {
    margin-bottom: 10px;
    font-size: clamp(27px, 3.2vw, 39px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    font-weight: 800;
}

h1 span {
    color: var(--gold);
}

.welcome-description,
.section-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.date-display {
    justify-content: flex-start;
    gap: 12px;
    flex-shrink: 0;
    padding: 13px 16px;
    border: 1px solid var(--border);
    background: rgba(24, 27, 33, .8);
    border-radius: 12px;
}

.date-icon {
    color: var(--gold);
    font-size: 27px;
}

.date-display div {
    display: grid;
    gap: 3px;
}

.date-display small {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.2px;
}

.date-display strong {
    font-size: 12px;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, #191b21, #111318);
    box-shadow: var(--shadow);
    transition: transform .25s ease, border-color .25s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: #6c5a37;
}

.featured-stat {
    border-color: rgba(215, 182, 109, .4);
    background:
        radial-gradient(ellipse at 100% 0%, rgba(215, 182, 109, .14), transparent 55%),
        linear-gradient(145deg, #211f1a, #131416);
}

.stat-top {
    gap: 12px;
    align-items: flex-start;
}

.stat-label {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 1px;
    font-weight: 700;
}

.stat-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(215, 182, 109, .3);
    border-radius: 10px;
    color: var(--gold);
    background: rgba(215, 182, 109, .08);
    font-size: 19px;
}

.stat-icon.silver {
    color: var(--silver);
    border-color: rgba(196, 201, 209, .2);
    background: rgba(196, 201, 209, .06);
}

.stat-value {
    display: block;
    margin: 18px 0 8px;
    font: 800 clamp(23px, 2.2vw, 32px) 'Manrope', sans-serif;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
}

.featured-stat .stat-value {
    color: var(--gold-light);
}

.stat-foot {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.panel {
    margin-bottom: 24px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(23, 25, 31, .97), rgba(17, 19, 24, .97));
    box-shadow: var(--shadow);
}

.section-heading {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 27px;
}

.heading-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    flex-shrink: 0;
    color: var(--gold-light);
    border: 1px solid rgba(215, 182, 109, .3);
    background: rgba(215, 182, 109, .08);
    border-radius: 12px;
    font-size: 26px;
}

.section-heading h2,
.table-heading h2 {
    margin: 0 0 5px;
    font-size: 21px;
    letter-spacing: -.6px;
}

.section-heading .eyebrow,
.table-heading .eyebrow {
    margin-bottom: 5px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
}

.field {
    min-width: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    margin-bottom: 9px;
    color: #d9dbe0;
    font-size: 12px;
    font-weight: 600;
}

.field input,
.field select,
.search-box input {
    width: 100%;
    min-width: 0;
    color: var(--text);
    background: #101216;
    border: 1px solid #33363e;
    border-radius: 9px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
    min-height: 47px;
    padding: 12px 14px;
}

.field input::placeholder,
.search-box input::placeholder {
    color: #737985;
}

.field input:hover,
.field select:hover {
    border-color: #5b5342;
}

.field input:focus,
.field select:focus,
.search-box input:focus {
    outline: none;
    border-color: var(--gold-dark);
    box-shadow: 0 0 0 3px rgba(215, 182, 109, .09);
}

.field select {
    cursor: pointer;
}

.field-error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    color: var(--danger);
    font-size: 11px;
}

.field-error:empty {
    display: none;
}

.field.has-error input,
.field.has-error select {
    border-color: var(--danger);
}

.form-footer {
    gap: 20px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
}

.required-mark {
    color: var(--gold);
}

.form-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease,
                border-color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #19160e;
    background: linear-gradient(135deg, #f0d99e, #c5a257);
    box-shadow: 0 5px 18px rgba(215, 182, 109, .13);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffe8b0, #d7b66d);
    box-shadow: 0 7px 22px rgba(215, 182, 109, .2);
}

.btn-secondary {
    color: var(--silver);
    background: #20232a;
    border-color: #393c45;
}

.btn-secondary:hover {
    border-color: #777d87;
    background: #292d35;
}

.btn-danger {
    color: #fff;
    background: #a53d43;
}

.btn-danger:hover {
    background: #c24b52;
}

.btn-compact {
    min-height: 40px;
    padding: 8px 13px;
}

.table-heading {
    gap: 20px;
    margin-bottom: 22px;
}

.record-count {
    padding: 8px 12px;
    border: 1px solid #55472d;
    border-radius: 7px;
    background: rgba(215, 182, 109, .06);
    color: var(--gold-light);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    white-space: nowrap;
}

.search-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 10px;
    padding-left: 13px;
    border: 1px solid #33363e;
    background: #101216;
    border-radius: 9px;
}

.search-box:focus-within {
    border-color: var(--gold-dark);
}

.search-icon {
    color: var(--gold);
    font-size: 25px;
}

.search-box input {
    min-height: 42px;
    padding: 10px 12px 10px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.search-box input:focus {
    box-shadow: none;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    scrollbar-color: #5b503b #17191e;
    scrollbar-width: thin;
}

table {
    width: 100%;
    min-width: 1020px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

thead {
    background: #202127;
}

th {
    padding: 15px 16px;
    color: #b6bbc4;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    white-space: nowrap;
    border-bottom: 1px solid #3a3c43;
}

td {
    padding: 16px;
    color: #d8dbe1;
    font-size: 12px;
    border-bottom: 1px solid #292c32;
    vertical-align: middle;
}

tbody tr {
    background: rgba(17, 19, 24, .7);
    transition: background .2s ease;
}

tbody tr:hover {
    background: rgba(215, 182, 109, .045);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.tournament-name {
    max-width: 220px;
    color: #f2f2f3;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.category-badge {
    display: inline-block;
    padding: 5px 9px;
    border: 1px solid #3b3d44;
    border-radius: 6px;
    background: #22252b;
    color: var(--silver);
    font-size: 10px;
    white-space: nowrap;
}

.money {
    color: var(--gold-light);
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.email-cell {
    max-width: 200px;
    overflow-wrap: anywhere;
    color: #aeb4bf;
}

.action-group {
    display: flex;
    gap: 7px;
    white-space: nowrap;
}

.btn-action {
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 10px;
}

.btn-edit {
    color: var(--gold-light);
    border: 1px solid #6c5a37;
    background: rgba(215, 182, 109, .08);
}

.btn-edit:hover {
    background: rgba(215, 182, 109, .18);
}

.btn-delete {
    color: #f3a0a3;
    border: 1px solid #66393d;
    background: rgba(191, 65, 74, .08);
}

.btn-delete:hover {
    background: rgba(191, 65, 74, .2);
}

.empty-state {
    padding: 48px 20px;
    text-align: center;
}

.empty-icon {
    display: inline-grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 13px;
    color: var(--gold);
    background: #242117;
    border: 1px solid #55472d;
    border-radius: 16px;
    font-size: 25px;
}

.empty-state h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.empty-state p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

.table-bottom {
    gap: 15px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 10px;
}

.gold-text {
    color: var(--gold);
}

.page-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 2px 20px;
    color: #777d87;
    font-size: 9px;
    letter-spacing: 1px;
}

.toast-container {
    position: fixed;
    z-index: 1000;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 10px;
    width: min(370px, calc(100vw - 32px));
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 17px;
    border: 1px solid #3a3e45;
    border-left: 3px solid var(--gold);
    border-radius: 10px;
    color: var(--text);
    background: #1a1d23;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .4);
    animation: toast-in .25s ease-out;
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--danger);
}

.toast strong {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
}

.toast p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.toast-mark {
    font-weight: 800;
    color: var(--gold);
}

.toast.success .toast-mark {
    color: var(--success);
}

.toast.error .toast-mark {
    color: var(--danger);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.confirm-dialog {
    width: min(420px, calc(100% - 30px));
    padding: 0;
    color: var(--text);
    border: 1px solid #454039;
    border-radius: 16px;
    background: #181a20;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .7);
}

.confirm-dialog::backdrop {
    background: rgba(0, 0, 0, .76);
    backdrop-filter: blur(5px);
}

.dialog-content {
    padding: 28px;
    text-align: center;
}

.dialog-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 17px;
    color: #f3a0a3;
    border: 1px solid #66393d;
    border-radius: 50%;
    background: #302024;
    font-size: 22px;
    font-weight: 800;
}

.dialog-content h2 {
    margin-bottom: 10px;
    font-size: 20px;
}

.dialog-content p {
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dialog-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 23px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-content {
        width: min(100% - 36px, 1480px);
    }

    .stat-value {
        font-size: 28px;
    }
}

@media (max-width: 700px) {
    .topbar {
        min-height: 68px;
        padding: 12px 18px;
    }

    .brand-icon {
        width: 39px;
        height: 39px;
    }

    .brand-copy strong {
        font-size: 14px;
    }

    .brand-copy small {
        font-size: 8px;
        letter-spacing: 1.3px;
    }

    .system-status {
        display: none;
    }

    .topbar-right {
        gap: 0;
    }

    .main-content {
        width: calc(100% - 28px);
        padding-top: 28px;
    }

    .welcome-section {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 22px;
    }

    h1 {
        font-size: 29px;
    }

    .date-display {
        width: 100%;
    }

    .stats-grid {
        gap: 11px;
        margin-bottom: 18px;
    }

    .stat-card {
        padding: 15px;
        border-radius: 12px;
    }

    .stat-label {
        font-size: 9px;
        letter-spacing: .4px;
    }

    .stat-icon {
        width: 29px;
        height: 29px;
        font-size: 16px;
    }

    .stat-value {
        margin-top: 14px;
        font-size: clamp(20px, 6vw, 27px);
    }

    .stat-foot {
        font-size: 10px;
    }

    .panel {
        padding: 19px 15px;
        margin-bottom: 18px;
        border-radius: 13px;
    }

    .section-heading {
        align-items: flex-start;
        gap: 11px;
        margin-bottom: 22px;
    }

    .heading-icon {
        width: 39px;
        height: 39px;
        font-size: 22px;
    }

    .section-heading h2,
    .table-heading h2 {
        font-size: 18px;
    }

    .section-subtitle {
        font-size: 11px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .field-full {
        grid-column: auto;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .form-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .form-actions .btn {
        width: 100%;
    }

    .table-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .search-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .search-toolbar .btn {
        width: 100%;
    }

    .table-wrapper {
        border-radius: 8px;
    }

    .table-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .page-footer {
        flex-direction: column;
        gap: 6px;
        padding-bottom: 25px;
    }

    .toast-container {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }
}

@media (max-width: 380px) {
    .main-content {
        width: calc(100% - 20px);
    }

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

    .stat-card {
        padding: 18px;
    }

    .stat-value {
        font-size: 27px;
    }

    .brand-copy small {
        letter-spacing: .8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   PALETA RETRO ARCADE NEÓN
   Solo colores y efectos visuales.
   No modifica HTML, IDs, categorías ni JavaScript.
   ========================================================= */

:root {
    color-scheme: dark;

    --bg: #090914;
    --surface: #111124;
    --surface-2: #19182f;
    --surface-3: #25213e;

    --gold: #00f5ff;
    --gold-light: #b8fcff;
    --gold-dark: #00a8b5;

    --silver: #d9d5ff;
    --text: #f7f4ff;
    --muted: #a39dbd;
    --border: #373052;

    --success: #b6ff00;
    --danger: #ff3864;

    --shadow:
        0 0 12px rgba(0, 245, 255, .08),
        0 0 30px rgba(255, 43, 214, .06);
}

/* Fondo oscuro con brillo arcade */
body {
    background:
        radial-gradient(
            ellipse at 85% 0%,
            rgba(255, 43, 214, .13),
            transparent 38%
        ),
        radial-gradient(
            ellipse at 0% 40%,
            rgba(0, 245, 255, .08),
            transparent 35%
        ),
        var(--bg);
    color: var(--text);
}

/* Barra superior */
.topbar {
    background: rgba(12, 11, 27, .96);
    border-bottom-color: rgba(0, 245, 255, .5);
    box-shadow: 0 4px 22px rgba(0, 245, 255, .07);
}

.brand-icon {
    color: #00f5ff;
    border-color: #00f5ff;
    background: linear-gradient(145deg, #211538, #101020);
    box-shadow:
        inset 0 0 16px rgba(0, 245, 255, .12),
        0 0 12px rgba(0, 245, 255, .16);
}

.brand-copy strong span,
.eyebrow,
h1 span,
.gold-text,
.date-icon,
.search-icon {
    color: #ff2bd6;
}

/* Tarjetas de estadísticas */
.stat-card {
    background: linear-gradient(145deg, #1b1732, #101020);
    border-color: #383052;
}

.stat-card:hover {
    border-color: #00f5ff;
    box-shadow:
        0 0 12px rgba(0, 245, 255, .18),
        0 0 24px rgba(255, 43, 214, .08);
}

.featured-stat {
    border-color: rgba(255, 43, 214, .65);
    background:
        radial-gradient(
            ellipse at 100% 0%,
            rgba(255, 43, 214, .18),
            transparent 60%
        ),
        linear-gradient(145deg, #241536, #111020);
}

.featured-stat .stat-value {
    color: #ff8bea;
}

.stat-icon {
    color: #00f5ff;
    border-color: rgba(0, 245, 255, .45);
    background: rgba(0, 245, 255, .09);
}

.stat-icon.silver {
    color: #b6ff00;
    border-color: rgba(182, 255, 0, .35);
    background: rgba(182, 255, 0, .07);
}

/* Paneles */
.panel {
    background: linear-gradient(145deg, #17152b, #10101d);
    border-color: #383052;
    box-shadow: var(--shadow);
}

.section-heading .heading-icon {
    color: #00f5ff;
    border-color: rgba(0, 245, 255, .4);
    background: rgba(0, 245, 255, .08);
}

/* Campos de formulario */
.field input,
.field select,
.search-box {
    color: #f7f4ff;
    background: #0d0c1b;
    border-color: #40365f;
}

.field input::placeholder,
.search-box input::placeholder {
    color: #9289b3;
}

.field input:hover,
.field select:hover {
    border-color: #ff2bd6;
}

.field input:focus,
.field select:focus,
.search-box input:focus,
.search-box:focus-within {
    border-color: #00f5ff;
    box-shadow: 0 0 0 3px rgba(0, 245, 255, .13);
}

.required-mark {
    color: #ff2bd6;
}

/* Botón principal: magenta neón */
.btn-primary {
    color: #170b20;
    background: linear-gradient(135deg, #ff65e2, #ff2bd6);
    box-shadow: 0 0 15px rgba(255, 43, 214, .25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff9bea, #ff50dc);
    box-shadow:
        0 0 12px rgba(255, 43, 214, .55),
        0 0 28px rgba(255, 43, 214, .2);
}

/* Botones secundarios */
.btn-secondary {
    color: #00f5ff;
    background: #19162e;
    border-color: #46406a;
}

.btn-secondary:hover {
    color: #ffffff;
    background: #252044;
    border-color: #00f5ff;
    box-shadow: 0 0 12px rgba(0, 245, 255, .18);
}

/* Botones de eliminación */
.btn-danger {
    color: #ffffff;
    background: #a91e48;
    border-color: #ff3864;
}

.btn-danger:hover {
    background: #d51f55;
    box-shadow: 0 0 14px rgba(255, 56, 100, .3);
}

/* Tabla de torneos */
.table-wrapper {
    border-color: #40365f;
    scrollbar-color: #ff2bd6 #171329;
}

thead {
    background: #201837;
}

th {
    color: #00f5ff;
    background: #201837;
    border-bottom-color: #65418a;
}

td {
    color: #e9e4ff;
    border-bottom-color: #302746;
}

tbody tr {
    background: rgba(17, 15, 34, .9);
}

tbody tr:hover {
    background: rgba(255, 43, 214, .09);
}

.tournament-name {
    color: #ffffff;
}

/* Categorías */
.category-badge {
    color: #00f5ff;
    background: #17182d;
    border-color: #3d4a73;
}

/* Valores monetarios */
.money {
    color: #b6ff00;
}

/* Contador de registros */
.record-count {
    color: #ff8bea;
    background: rgba(255, 43, 214, .08);
    border-color: rgba(255, 43, 214, .4);
}

/* Botón editar */
.btn-edit {
    color: #00f5ff;
    border-color: rgba(0, 245, 255, .5);
    background: rgba(0, 245, 255, .07);
}

.btn-edit:hover {
    background: rgba(0, 245, 255, .17);
    box-shadow: 0 0 10px rgba(0, 245, 255, .15);
}

/* Botón eliminar */
.btn-delete {
    color: #ff829d;
    border-color: rgba(255, 56, 100, .5);
    background: rgba(255, 56, 100, .08);
}

.btn-delete:hover {
    background: rgba(255, 56, 100, .18);
}

/* Estado vacío */
.empty-icon {
    color: #ff2bd6;
    background: #21152f;
    border-color: #65418a;
}

/* Notificaciones */
.toast {
    color: var(--text);
    background: #19152b;
    border-color: #40365f;
    border-left-color: #00f5ff;
}

.toast.success {
    border-left-color: #b6ff00;
}

.toast.error {
    border-left-color: #ff3864;
}

.toast-mark {
    color: #00f5ff;
}

.toast.success .toast-mark {
    color: #b6ff00;
}

.toast.error .toast-mark {
    color: #ff3864;
}

/* Diálogo de confirmación */
.confirm-dialog {
    color: var(--text);
    background: #171329;
    border-color: #51416d;
}

.dialog-symbol {
    color: #ff829d;
    background: #301527;
    border-color: #ff3864;
}

/* Accesibilidad: foco visible en cian */
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline-color: #00f5ff;
}

/* Mensajes de estado */
.field-error {
    color: #ff6689;
}

/* Respeta la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

