body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #101226 0%, #050505 60%);
    color: #fff;
    overflow-x: hidden;
}

.background-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.25), transparent 60%);
    filter: blur(4px);
    animation: float 12s ease-in-out infinite;
}

.orb-1 {
    top: 10%;
    left: 5%;
}

.orb-2 {
    bottom: 15%;
    right: 8%;
    animation-duration: 15s;
    background: radial-gradient(circle, rgba(255, 0, 149, 0.2), transparent 60%);
}

.floating-words {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-size: 1rem;
    opacity: 0.1;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    animation: swirl 30s linear infinite;
}

.floating-words span {
    display: block;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(30px) translateX(20px);
    }
    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes swirl {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.container#app {
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(10, 10, 10, 0.88);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: #f0f0f0;
}

.login-card .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.title-glow {
    font-weight: 800;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    background: linear-gradient(120deg, #00ffd5, #6f7dff, #ff64c8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 25px rgba(0, 255, 213, 0.25);
}

.text-glimmer {
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.6);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00ffd5;
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 213, 0.15);
    color: #fff;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffd5, #00a2ff);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
}

.btn-primary:hover {
    filter: brightness(1.08);
}

.game-toolbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 0.5rem 0;
    background: rgba(5, 5, 5, 0.95);
}

.stage-card {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: #fff;
    border-radius: 14px;
}

.full-card {
    min-height: calc(100vh - 160px);
}

.stage-card .card-body {
    min-height: 80px;
}

.list-group-item {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    border-radius: 10px;
    margin-bottom: 0.25rem;
}

/* Word Reveal - Estilo juego */
.word-reveal-container {
    padding: 2rem 1rem;
}

.word-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.word-card {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 3px solid rgba(0, 255, 213, 0.5);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    margin: 0 auto;
    max-width: 700px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 0 30px rgba(0, 255, 213, 0.3),
        0 0 60px rgba(138, 43, 226, 0.2),
        inset 0 0 30px rgba(0, 255, 213, 0.1);
    animation: word-card-pulse 3s ease-in-out infinite;
    overflow: hidden;
}

.word-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffd5, #8a2be2, #ff0095, #00ffd5);
    border-radius: 24px;
    opacity: 0;
    z-index: -1;
    animation: border-rotate 3s linear infinite;
    background-size: 300% 300%;
}

.word-card:hover::before {
    opacity: 0.5;
}

.word-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine-effect 3s ease-in-out infinite;
}

.word-category {
    position: absolute;
    top: 12px;
    right: 16px;
    padding: 4px 12px;
    background: rgba(0, 255, 213, 0.2);
    border: 1px solid rgba(0, 255, 213, 0.5);
    border-radius: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00ffd5;
    font-weight: 600;
    display: none; /* Oculta por defecto - se puede mostrar en modos especiales */
}

.big-word {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00ffd5 0%, #fff 50%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 213, 0.5);
    animation: word-glow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 100%;
}

/* Variantes para impostor */
.word-card.impostor-word {
    background: linear-gradient(135deg, rgba(255, 0, 149, 0.15) 0%, rgba(255, 184, 0, 0.15) 100%);
    border-color: rgba(255, 0, 149, 0.5);
    box-shadow: 
        0 0 30px rgba(255, 0, 149, 0.3),
        0 0 60px rgba(255, 184, 0, 0.2),
        inset 0 0 30px rgba(255, 0, 149, 0.1);
}

.word-card.impostor-word .word-category {
    background: rgba(255, 0, 149, 0.2);
    border-color: rgba(255, 0, 149, 0.5);
    color: #ff0095;
}

.word-card.impostor-word .big-word {
    background: linear-gradient(135deg, #ff0095 0%, #fff 50%, #ffb800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.word-card.impostor-word::before {
    background: linear-gradient(45deg, #ff0095, #ffb800, #ff0095, #ffb800);
}

@keyframes word-card-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 30px rgba(0, 255, 213, 0.3),
            0 0 60px rgba(138, 43, 226, 0.2),
            inset 0 0 30px rgba(0, 255, 213, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 0 40px rgba(0, 255, 213, 0.5),
            0 0 80px rgba(138, 43, 226, 0.3),
            inset 0 0 40px rgba(0, 255, 213, 0.15);
    }
}

@keyframes word-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 213, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.8));
    }
}

@keyframes shine-effect {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.round-timer {
    text-align: center;
    margin-top: 0.5rem;
}

.round-timer .timer-value {
    display: block;
    font-size: clamp(3rem, 12vw, 5rem);
    font-weight: 700;
}

.round-timer .timer-value.urgent {
    color: #ff5f5f;
    animation: pulse 1s infinite;
}

.round-timer small {
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.countdown-number {
    font-size: clamp(4rem, 20vw, 6rem);
    font-weight: 700;
}

.vote-button {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.vote-button.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #00ffd5 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 213, 0.3);
}

.vote-button.active {
    border-width: 3px;
    border-color: #28a745 !important;
}

#status-message {
    position: sticky;
    top: 0;
    z-index: 1100;
}

#admin-start-stage .card-body {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#admin-start-alone {
    font-size: 1.5rem;
    padding: 1rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.sidebar-panel {
    width: 100%;
    position: fixed;
    top: 110px;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(5, 5, 5, 0.95);
    border-radius: 18px;
    padding: 1rem;
    overflow-y: auto;
    z-index: 1055;
}

@media (min-width: 992px) {
    .sidebar-panel {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: transparent;
        width: 320px;
        padding: 0;
        z-index: auto;
    }
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
}

.icon-button .material-symbols-outlined {
    vertical-align: middle;
}

#stage-results .card-body {
    position: relative;
    overflow: hidden;
}

#stage-results.celebrate .card-body::before,
#stage-results.celebrate .card-body::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(
        from 0deg,
        rgba(0, 255, 213, 0.4),
        rgba(255, 100, 200, 0.4),
        rgba(0, 162, 255, 0.35),
        rgba(255, 214, 0, 0.4),
        rgba(0, 255, 213, 0.4)
    );
    animation: celebration-spin 6s linear infinite;
    filter: blur(6px);
    opacity: 0.25;
}

#stage-results.celebrate .card-body::after {
    animation-direction: reverse;
    animation-duration: 8s;
}

#stage-results.celebrate .card-body > * {
    position: relative;
    z-index: 2;
}

.celebration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    background: rgba(0, 255, 213, 0.2);
    border: 1px solid rgba(0, 255, 213, 0.4);
    margin-bottom: 1rem;
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.35);
}

.celebration-badge .material-symbols-outlined {
    font-size: 1.2rem;
}

.celebration-badge.neon-pop {
    animation: neon-pop 1.2s ease, neon-glow 2s ease-in-out infinite alternate;
}

.celebration-badge.badge-loss {
    background: rgba(255, 95, 95, 0.2);
    border-color: rgba(255, 95, 95, 0.5);
    box-shadow: 0 0 25px rgba(255, 95, 95, 0.35);
    animation: loss-pop 0.9s ease, loss-pulse 1.8s ease-in-out infinite alternate;
}

.celebration-badge.badge-loss .material-symbols-outlined {
    color: #ff5f5f;
}

@keyframes celebration-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1.05);
    }
}

@keyframes neon-pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes neon-glow {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 213, 0.3), 0 0 20px rgba(0, 162, 255, 0.25);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 255, 213, 0.55), 0 0 40px rgba(255, 100, 200, 0.45);
    }
}

@keyframes loss-pop {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes loss-pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 95, 95, 0.3), 0 0 20px rgba(255, 150, 150, 0.25);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 95, 95, 0.55), 0 0 40px rgba(255, 150, 150, 0.45);
    }
}
/* Game Mode Info Styles */
.admin-header {
    margin-bottom: 2rem;
}

.admin-icon {
    display: inline-block;
    font-size: 3.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 255, 213, 0.6));
    animation: float-icon 3s ease-in-out infinite;
}

.admin-title {
    margin: 1rem 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00ffd5, #8a2be2, #ff0095);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.admin-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Mode Carousel */
.mode-carousel-container {
    margin-bottom: 2rem;
}

.mode-carousel-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.mode-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.mode-carousel-track {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 200px;
    overflow: hidden;
}

.mode-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mode-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
}

.mode-slide.prev {
    transform: translateX(-100%) scale(0.8);
}

.mode-slide-card {
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 2px solid rgba(0, 255, 213, 0.4);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 255, 213, 0.2);
    transition: all 0.3s ease;
}

.mode-slide[data-mode="maximo_engano"] .mode-slide-card {
    background: linear-gradient(135deg, rgba(255, 0, 149, 0.15) 0%, rgba(255, 184, 0, 0.15) 100%);
    border-color: rgba(255, 0, 149, 0.4);
    box-shadow: 0 8px 32px rgba(255, 0, 149, 0.2);
}

.mode-slide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 255, 213, 0.3);
}

.mode-slide[data-mode="maximo_engano"] .mode-slide-card:hover {
    box-shadow: 0 12px 40px rgba(255, 0, 149, 0.3);
}

.mode-slide-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 213, 0.5));
}

.mode-slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    background: linear-gradient(90deg, #00ffd5, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mode-slide[data-mode="maximo_engano"] .mode-slide-title {
    background: linear-gradient(90deg, #ff0095, #ffb800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mode-slide-desc {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.mode-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mode-nav-btn:hover {
    background: rgba(0, 255, 213, 0.2);
    border-color: rgba(0, 255, 213, 0.5);
    transform: scale(1.1);
}

.mode-nav-btn:active {
    transform: scale(0.95);
}

.mode-nav-btn .material-symbols-outlined {
    font-size: 2rem;
}

.mode-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.mode-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mode-indicator.active {
    background: linear-gradient(135deg, #00ffd5, #8a2be2);
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 213, 0.5);
}

/* Config Section */
.game-config-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.config-section-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-create-room {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #00ffd5 0%, #8a2be2 50%, #ff0095 100%);
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 255, 213, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-create-room::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-create-room:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 255, 213, 0.6);
}

.btn-create-room:hover::before {
    left: 100%;
}

.btn-create-room:active {
    transform: translateY(-2px);
}

.btn-create-icon {
    font-size: 1.5rem;
}

.btn-create-text {
    font-weight: 700;
}

.game-mode-info {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mode-info-card {
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    border: 2px solid rgba(0, 255, 213, 0.3);
    border-radius: 12px;
    padding: 1.25rem;
    animation: glow-pulse 3s ease-in-out infinite;
}

.mode-info-card[data-mode="maximo_engano"] {
    background: linear-gradient(135deg, rgba(255, 0, 149, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
    border-color: rgba(255, 0, 149, 0.3);
}

.mode-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 213, 0.6));
}

.mode-header h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00ffd5, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mode-info-card[data-mode="maximo_engano"] .mode-header h4 {
    background: linear-gradient(90deg, #ff0095, #ffb800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mode-rules {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateX(4px);
}

.rule-icon {
    font-size: 1.25rem;
    min-width: 1.5rem;
    text-align: center;
}

.rule-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.rule-item strong {
    color: #00ffd5;
}

.mode-info-card[data-mode="maximo_engano"] .rule-item strong {
    color: #ff0095;
}

/* Waiting Screen Info */
.waiting-game-info {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.waiting-mode-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.pulse-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #00ffd5, #8a2be2);
    color: #000;
    font-weight: 700;
    border-radius: 25px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badge-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0, 255, 213, 0.4);
}

.pulse-badge.warning {
    background: linear-gradient(135deg, #ff0095, #ffb800);
    box-shadow: 0 4px 15px rgba(255, 0, 149, 0.4);
}

.waiting-mode-card h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 213, 0.1), rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

#waiting-mode-maximo_engano .info-box::before {
    background: linear-gradient(135deg, rgba(255, 0, 149, 0.1), rgba(255, 184, 0, 0.1));
}

.info-box:hover {
    border-color: rgba(0, 255, 213, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 255, 213, 0.2);
}

#waiting-mode-maximo_engano .info-box:hover {
    border-color: rgba(255, 0, 149, 0.5);
    box-shadow: 0 8px 20px rgba(255, 0, 149, 0.2);
}

.info-box:hover::before {
    opacity: 1;
}

.info-number {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #00ffd5, #8a2be2);
    color: #000;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 255, 213, 0.4);
}

#waiting-mode-maximo_engano .info-number {
    background: linear-gradient(135deg, #ff0095, #ffb800);
    box-shadow: 0 4px 12px rgba(255, 0, 149, 0.4);
}

.info-box p {
    position: relative;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.info-box strong {
    color: #00ffd5;
    font-weight: 600;
}

#waiting-mode-maximo_engano .info-box strong {
    color: #ff0095;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 213, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 213, 0.5), 0 0 30px rgba(138, 43, 226, 0.3);
    }
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== BOTONES DE ACCIÓN ESPECTACULARES ===== */

.btn-action-primary {
    position: relative;
    overflow: hidden;
    padding: 1.25rem 2.5rem !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15rem !important;
    border: none !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #00D9FF 0%, #0099FF 50%, #0066FF 100%) !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-action-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.btn-action-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 50%);
    border-radius: 12px;
    z-index: 0;
}

.btn-action-primary:hover {
    background: linear-gradient(135deg, #00FFFF 0%, #00CCFF 50%, #0088FF 100%) !important;
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.8), 0 0 30px rgba(0, 153, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-3px) scale(1.02);
}

.btn-action-primary:hover::before {
    left: 100%;
}

.btn-action-primary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2) !important;
}

.btn-action-primary:focus {
    outline: none;
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.8), 0 0 30px rgba(0, 153, 255, 0.6) !important;
}

.btn-action-start {
    min-height: 70px;
    font-size: 1.6rem !important;
    animation: pulse-btn 2s ease-in-out infinite;
}

@keyframes pulse-btn {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(0, 217, 255, 0.9), 0 0 30px rgba(0, 153, 255, 0.7), inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

.btn-action-next {
    animation: bounce-btn 2s ease-in-out infinite;
}

@keyframes bounce-btn {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ===== CONFIGURACIÓN AVANZADA COLAPSABLE ===== */

.btn-advanced-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-advanced-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 217, 255, 0.4);
    color: #00D9FF;
}

.btn-advanced-toggle.active {
    background: rgba(0, 217, 255, 0.1);
    border-color: rgba(0, 217, 255, 0.5);
    color: #00D9FF;
}

.btn-advanced-toggle .toggle-icon {
    font-size: 1.2rem;
}

.btn-advanced-toggle .toggle-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.advanced-config-panel {
    display: none;
    width: 100%;
}

.advanced-config-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.3), transparent);
    margin: 1rem 0;
}

.config-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1rem;
}

.config-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: rgba(0, 217, 255, 0.9);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.form-text.text-muted {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 0.25rem;
}

.form-check {
    padding-left: 1.75rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #00D9FF;
    border-color: #00D9FF;
}

.form-check-input:focus {
    border-color: #00D9FF;
    box-shadow: 0 0 0 0.2rem rgba(0, 217, 255, 0.25);
}

.form-check-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
}

