* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Hide scrollbar globally but keep scroll functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome, Safari, Opera - all elements */
*::-webkit-scrollbar {
    display: none;
}

html, body {
    overflow-y: auto;
    height: 100vh;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: #010A13;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(12, 38, 61, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 35, 40, 0.4) 0%, transparent 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, transparent 0%, rgba(1, 10, 19, 0.8) 100%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Expandir el contenedor cuando se muestra el Classic mode */
.container:has(.loldle-classic-container[style*="display: block"]),
.container:has(.loldle-classic-container:not([style*="display: none"])) {
    max-width: 1500px;
}

/* Expandir el contenedor cuando se muestra el Ranking */
.container:has(.ranking-container[style*="display: block"]),
.container:has(.ranking-container:not([style*="display: none"])) {
    max-width: 1500px;
}

/* Back to Home Button */
.back-to-home-btn {
    background: rgba(15, 30, 45, 0.8);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
    color: #A09B8C;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    display: inline-block;
}

.back-to-home-btn:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    color: #F0E6D2;
    transform: translateX(-3px);
}

header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

/* Header minimizado cuando estás en un juego */
header.minimized {
    margin-bottom: 10px;
}

header.minimized .main-title,
header.minimized .subtitle {
    display: none;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(180deg, #F0E6D2 0%, #C8AA6E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(200, 170, 110, 0.5));
    margin-bottom: 10px;
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C8AA6E, transparent);
}

.subtitle {
    font-size: 1.1rem;
    color: #A09B8C;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 20px;
}

.game-container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    position: relative;
}

.card {
    text-align: center;
    margin-bottom: 12px;
}

.player-image {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.player-image #playerImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.player-info h2 {
    font-size: 1.5rem;
    color: #F0E6D2;
    margin-bottom: 6px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.player-info p {
    font-size: 0.85rem;
    color: #A09B8C;
    margin-bottom: 3px;
}

.buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.btn {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.btn span:first-child {
    font-size: 1.3rem;
}

.btn-pass {
    background: linear-gradient(135deg, rgba(60, 20, 20, 0.9) 0%, rgba(100, 30, 30, 0.9) 100%);
    border: 2px solid rgba(200, 80, 80, 0.5);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(100, 30, 30, 0.4);
}

.btn-pass:hover {
    border-color: rgba(200, 80, 80, 0.8);
    box-shadow: 0 6px 20px rgba(100, 30, 30, 0.6);
}

.btn-smash {
    background: linear-gradient(135deg, rgba(20, 50, 60, 0.9) 0%, rgba(30, 70, 90, 0.9) 100%);
    border: 2px solid rgba(100, 180, 200, 0.5);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(30, 70, 90, 0.4);
}

.btn-smash:hover {
    border-color: rgba(100, 180, 200, 0.8);
    box-shadow: 0 6px 20px rgba(30, 70, 90, 0.6);
}

.counter {
    text-align: center;
    color: #A09B8C;
    font-size: 1rem;
}

/* Stats Container */
.stats-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    text-align: center;
}

.stats-container h2 {
    font-size: 2rem;
    color: #F0E6D2;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.stats-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(20, 40, 60, 0.8) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stat-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #C8AA6E;
    font-weight: 700;
}

.stat-box p {
    font-size: 3rem;
    font-weight: bold;
    color: #F0E6D2;
    text-shadow: 0 2px 10px rgba(200, 170, 110, 0.3);
}

.smash-list {
    text-align: left;
    margin-bottom: 30px;
}

.smash-list h3 {
    font-size: 1.5rem;
    color: #C8AA6E;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
}

.smash-list ul {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.smash-list li {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(15, 30, 45, 0.5);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A09B8C;
}

.smash-list li strong {
    color: #F0E6D2;
    font-weight: 700;
}

.btn-restart {
    width: 100%;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(200, 170, 110, 0.3) 100%);
    border: 2px solid #C8AA6E;
    color: #F0E6D2;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.2);
}

.btn-restart:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.4) 100%);
    box-shadow: 0 6px 20px rgba(200, 170, 110, 0.4);
    transform: translateY(-2px);
}

.btn-back-mini {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: rgba(80, 80, 80, 0.6);
    border: 1px solid rgba(160, 155, 140, 0.3);
    color: #A09B8C;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.btn-back-mini:hover {
    background: rgba(100, 100, 100, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
    border-color: rgba(160, 155, 140, 0.5);
    color: #F0E6D2;
}

.btn-back-mini:active {
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .player-image {
        height: 220px;
    }

    .buttons {
        flex-direction: column;
    }
}

/* Filter Container */
.filter-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    text-align: center;
}

.filter-container h2 {
    color: #C8AA6E;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.region-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.region-btn {
    padding: 15px 20px;
    border: 2px solid rgba(200, 170, 110, 0.3);
    background: rgba(15, 30, 45, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #A09B8C;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.flag-icon {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.region-btn:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.2);
}

.region-btn.active {
    border-color: #C8AA6E;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.4);
}

.btn-start {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    border: 2px solid #C8AA6E;
    color: #F0E6D2;
    font-size: 1.3rem;
    padding: 18px 50px;
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: bold;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.3);
}

.btn-start:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.4) 0%, rgba(200, 170, 110, 0.3) 100%);
    box-shadow: 0 8px 25px rgba(200, 170, 110, 0.5);
    border-color: #F0E6D2;
}

.btn-start:active {
    transform: scale(0.98);
}

.btn-start span:first-child {
    font-size: 1.5rem;
}

/* Estadísticas Globales */
.global-stats {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.05) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 10px;
    animation: slideDown 0.5s ease;
}

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

.global-stats h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-bars {
    margin-bottom: 15px;
}

.stat-bar {
    margin-bottom: 15px;
}

.stat-label {
    display: inline-block;
    width: 120px;
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
}

.bar-container {
    display: inline-block;
    width: calc(100% - 180px);
    height: 25px;
    background: rgba(10, 20, 30, 0.6);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 10px;
    border: 1px solid rgba(200, 170, 110, 0.2);
    vertical-align: middle;
}

.bar {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 12px;
}

.bar-smash {
    background: linear-gradient(90deg, rgba(20, 150, 100, 0.6) 0%, rgba(20, 150, 100, 0.9) 100%);
    box-shadow: 0 0 10px rgba(20, 150, 100, 0.5);
}

.bar-pass {
    background: linear-gradient(90deg, rgba(180, 50, 50, 0.6) 0%, rgba(180, 50, 50, 0.9) 100%);
    box-shadow: 0 0 10px rgba(180, 50, 50, 0.5);
}

.stat-value {
    display: inline-block;
    width: 50px;
    color: #A09B8C;
    font-weight: 600;
    text-align: right;
    vertical-align: middle;
}

.total-votes {
    text-align: center;
    color: #A09B8C;
    font-size: 0.9rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(200, 170, 110, 0.2);
}

.total-votes span {
    color: #C8AA6E;
    font-weight: 700;
}

/* ========== HEADER RIGHT CONTROLS ========== */
.header-right-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

/* Header Settings (Volume & Language) - PC Only */
.header-settings {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 8px;
}

.header-sound-toggle {
    background: rgba(15, 30, 45, 0.95);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    color: #C8AA6E;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-sound-toggle:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
}

.header-sound-toggle.muted i {
    color: rgba(255, 255, 255, 0.4);
}

.header-privacy-btn {
    background: rgba(15, 30, 45, 0.95);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 8px 10px;
    color: #C8AA6E;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.header-privacy-btn:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    color: #F0E6D2;
}

.header-lang-select {
    background: rgba(15, 30, 45, 0.95);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: #F0E6D2;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-lang-select:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
}

.header-lang-select:focus {
    outline: none;
    border-color: #C8AA6E;
}

.header-lang-select option {
    background: #0f1419;
    color: #F0E6D2;
}

/* Show header settings on PC */
@media (min-width: 769px) {
    .header-settings {
        display: flex;
    }
}

/* ========== SOUND TOGGLE BUTTON ========== */
.sound-toggle-btn {
    background: rgba(15, 30, 45, 0.95);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    color: #F0E6D2;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sound-toggle-btn:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    transform: scale(1.05);
}

.sound-toggle-btn:active {
    transform: scale(0.95);
}

.sound-toggle-btn i {
    color: #C8AA6E;
}

/* ========== LANGUAGE SELECTOR DROPDOWN ========== */
.language-selector {
    position: relative;
    background: rgba(15, 30, 45, 0.95);
    border-radius: 12px;
    border: 2px solid rgba(200, 170, 110, 0.3);
    backdrop-filter: blur(10px);
}

.lang-dropdown-btn {
    background: transparent;
    border: none;
    color: #F0E6D2;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
    background: rgba(200, 170, 110, 0.1);
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #C8AA6E;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(15, 30, 45, 0.98);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    min-width: 220px;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.lang-dropdown-menu.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.lang-option {
    padding: 12px 20px;
    color: #A09B8C;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(200, 170, 110, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-option::before {
    content: attr(data-flag);
    font-size: 1.4rem;
    line-height: 1;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(200, 170, 110, 0.15);
    color: #F0E6D2;
    padding-left: 24px;
}

.lang-option.active {
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.2) 0%, transparent 100%);
    color: #C8AA6E;
    border-left: 3px solid #C8AA6E;
}

@media (max-width: 600px) {
    .header-right-controls {
        top: 15px;
        right: 15px;
        gap: 8px;
    }

    .lang-dropdown-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .lang-dropdown-menu {
        min-width: 200px;
    }
}

/* Hide header profile on mobile, show in sidebar */
@media (max-width: 768px) {
    .header-profile {
        display: none !important;
    }
}

/* Show header profile on PC */
@media (min-width: 769px) {
    .sidebar-profile {
        display: none !important;
    }
}

/* Menú Hamburguesa */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    border: 2px solid #C8AA6E;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 10px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.4) 0%, rgba(200, 170, 110, 0.3) 100%);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.5);
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #C8AA6E;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.98) 0%, rgba(5, 20, 30, 0.98) 100%);
    border-right: 2px solid #C8AA6E;
    z-index: 1001;
    padding: 20px 15px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

/* Grid menu for PC */
.menu-grid {
    display: none;
}

.menu-sections-mobile {
    display: block;
}

.menu-title-mobile {
    display: block;
}

@media (min-width: 769px) {
    .sidebar {
        width: 380px;
        left: -380px;
        padding: 15px;
    }

    .menu-title-mobile {
        display: none;
    }

    .menu-sections-mobile {
        display: none;
    }

    .menu-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 10px;
    }

    .menu-grid-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 5px;
        background: rgba(15, 30, 45, 0.5);
        border: 2px solid rgba(200, 170, 110, 0.3);
        border-radius: 8px;
        text-decoration: none;
        color: #A09B8C;
        font-size: 0.7rem;
        font-weight: 600;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 60px;
    }

    .menu-grid-item:hover {
        border-color: #C8AA6E;
        background: rgba(200, 170, 110, 0.15);
        color: #F0E6D2;
        transform: translateY(-2px);
    }

    .menu-grid-item .grid-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .sidebar h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .sidebar-profile {
        padding: 8px 10px;
        margin-bottom: 8px;
    }
}

.sidebar.active {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #C8AA6E;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-menu:hover {
    color: #F0E6D2;
    transform: rotate(90deg);
}

.sidebar h2 {
    color: #C8AA6E;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.menu-section {
    margin-bottom: 25px;
}

.menu-section-title {
    color: #8B7355;
    font-size: 0.85rem;
    margin-bottom: 10px;
    padding-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.menu-options {
    list-style: none;
}

.menu-options li {
    margin-bottom: 15px;
}

.menu-options a {
    display: block;
    padding: 15px 20px;
    color: #A09B8C;
    text-decoration: none;
    border: 2px solid rgba(200, 170, 110, 0.3);
    background: rgba(15, 30, 45, 0.5);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-options a:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    transform: translateX(5px);
    color: #F0E6D2;
}

.menu-options a.active {
    border-color: #C8AA6E;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.3);
}

/* Nuevos modos de juego */
.game-mode {
    display: none;
}

.quiz-card {
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
}

/* Imagen cuadrada centrada para guess team y guess name */
.guess-team-container .player-image,
.guess-name-container .player-image {
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.guess-team-container .player-image img,
.guess-name-container .player-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.team-icon-display {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.team-icon-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.quiz-info {
    margin-top: 20px;
}

.quiz-info h2 {
    color: #F0E6D2;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.question {
    color: #C8AA6E;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.option-btn {
    padding: 15px 20px;
    border: 2px solid rgba(200, 170, 110, 0.3);
    background: rgba(15, 30, 45, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #A09B8C;
}

.option-btn:hover:not(.correct):not(.incorrect):not(:disabled) {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    transform: translateY(-2px);
    color: #F0E6D2;
}

.option-btn.correct {
    border-color: #14C800;
    background: rgba(20, 200, 0, 0.2);
    color: #14C800;
}

.option-btn.incorrect {
    border-color: #C80000;
    background: rgba(200, 0, 0, 0.2);
    color: #C80000;
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.result-message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    min-height: 30px;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.result-message.correct,
.result-message.success {
    color: #14C800;
    background: rgba(20, 200, 0, 0.15);
    border: 2px solid rgba(20, 200, 0, 0.4);
}

.result-message.incorrect,
.result-message.error {
    color: #C80000;
    background: rgba(200, 0, 0, 0.15);
    border: 2px solid rgba(200, 0, 0, 0.4);
}

.quiz-score {
    text-align: center;
    color: #C8AA6E;
    font-size: 1.1rem;
    font-weight: 600;
}

.quiz-score span {
    color: #F0E6D2;
    font-weight: 700;
}

/* Menu Footer Section */
.menu-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(200, 170, 110, 0.2);
}

.menu-privacy-link {
    background: rgba(200, 170, 110, 0.15) !important;
    border-color: rgba(200, 170, 110, 0.4) !important;
}

.menu-privacy-link:hover {
    background: rgba(200, 170, 110, 0.25) !important;
    border-color: #C8AA6E !important;
}

.menu-copyright {
    text-align: center;
    color: #8B8376;
    font-size: 0.75rem;
    margin-top: 15px;
    padding: 10px;
    border-top: 1px solid rgba(200, 170, 110, 0.1);
}

/* Menu Settings Section */
.menu-settings {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid rgba(200, 170, 110, 0.2);
}

.menu-setting-item {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px !important;
    background: rgba(15, 30, 45, 0.6);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
}

.menu-setting-item > span {
    color: #F0E6D2;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-setting-item > span i {
    color: #C8AA6E;
}

.menu-sound-toggle {
    background: rgba(200, 170, 110, 0.2);
    border: 1px solid rgba(200, 170, 110, 0.4);
    border-radius: 6px;
    padding: 8px 12px;
    color: #C8AA6E;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-sound-toggle:hover {
    background: rgba(200, 170, 110, 0.3);
    border-color: #C8AA6E;
}

.menu-language-selector {
    flex-shrink: 0;
    position: relative;
}

.menu-lang-dropdown-btn {
    background: rgba(15, 30, 45, 0.9);
    border: 1px solid rgba(200, 170, 110, 0.4);
    border-radius: 6px;
    padding: 8px 12px;
    color: #F0E6D2;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-lang-dropdown-btn:hover {
    border-color: #C8AA6E;
    background: rgba(15, 30, 45, 1);
}

.menu-current-lang {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-lang-dropdown-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 8px;
    background: rgba(15, 30, 45, 0.98);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    max-height: 300px;
    overflow-y: auto;
    min-width: 200px;
    display: none;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.menu-lang-dropdown-menu.show {
    display: block;
    animation: slideUp 0.3s ease;
}

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

.menu-language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Language item style for menu */
.menu-language-item {
    position: relative;
}

/* Responsive para el menú */
@media (max-width: 600px) {
    .sidebar {
        width: 250px;
        left: -250px;
        padding: 12px 10px;
    }

    .sidebar h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .menu-section {
        margin-bottom: 8px;
    }

    .menu-section-title {
        font-size: 0.7rem;
        margin-bottom: 4px;
        padding-left: 8px;
    }

    .menu-options li {
        margin-bottom: 4px;
    }

    .menu-options a {
        padding: 6px 10px;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .sidebar-profile {
        padding: 8px 10px;
        margin-bottom: 6px;
    }

    .sidebar-avatar {
        width: 32px;
        height: 32px;
    }

    .sidebar-username {
        font-size: 0.85rem;
    }

    .sidebar-user-stats span {
        font-size: 0.7rem;
    }

    .menu-footer {
        padding-top: 6px;
        margin-top: 6px;
    }

    .menu-copyright {
        font-size: 0.65rem;
    }

    .close-menu {
        font-size: 2rem;
        top: 10px;
        right: 10px;
    }

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

/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Modo Campeones */
.champions-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    text-align: center;
}

.champions-container h2 {
    color: #C8AA6E;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.gender-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.gender-btn {
    padding: 15px 20px;
    border: 2px solid rgba(200, 170, 110, 0.3);
    background: rgba(15, 30, 45, 0.5);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #A09B8C;
}

.gender-btn:hover {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.2);
}

.gender-btn.active {
    border-color: #C8AA6E;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    color: #F0E6D2;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.4);
}

.champion-image {
    width: 100%;
    height: 244px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.champion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(1.05) contrast(1.1);
}

.champions-game-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.champions-stats-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    text-align: center;
}

.champions-stats-container h2 {
    font-size: 2rem;
    color: #F0E6D2;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .champion-image {
        height: 191px;
    }

    .gender-filters {
        grid-template-columns: 1fr;
    }
}

/* Guess Games */
.loldle-ability-container,
.loldle-splash-container,
.loldle-quote-container,
.loldle-audio-container,
.loldle-emoji-container,
.guess-team-container,
.guess-name-container,
.hardmode-container,
.esports-trivia-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Hide vertical scroll on PC for all guess games */
@media (min-width: 769px) {
    .loldle-ability-container,
    .loldle-splash-container,
    .loldle-quote-container,
    .loldle-audio-container,
    .loldle-emoji-container,
    .guess-team-container,
    .guess-name-container,
    .hardmode-container,
    .esports-trivia-container {
        overflow-y: hidden;
    }

    .loldle-ability-container .loldle-card,
    .loldle-splash-container .loldle-card,
    .loldle-quote-container .loldle-card,
    .loldle-audio-container .loldle-card,
    .loldle-emoji-container .loldle-card,
    .guess-team-container .loldle-card,
    .guess-name-container .loldle-card,
    .hardmode-container .loldle-card,
    .esports-trivia-container .loldle-card {
        overflow-y: hidden;
        max-height: none;
    }

    /* Make rewards display more compact on PC */
    .loldle-ability-container .game-rewards-display,
    .loldle-splash-container .game-rewards-display,
    .loldle-quote-container .game-rewards-display,
    .loldle-audio-container .game-rewards-display,
    .loldle-emoji-container .game-rewards-display,
    .guess-team-container .game-rewards-display,
    .guess-name-container .game-rewards-display,
    .hardmode-container .game-rewards-display,
    .esports-trivia-container .game-rewards-display {
        padding: 10px !important;
        margin-top: 10px !important;
    }

    .loldle-ability-container .game-rewards-display h4,
    .loldle-splash-container .game-rewards-display h4,
    .loldle-quote-container .game-rewards-display h4,
    .loldle-audio-container .game-rewards-display h4,
    .loldle-emoji-container .game-rewards-display h4,
    .guess-team-container .game-rewards-display h4,
    .guess-name-container .game-rewards-display h4,
    .hardmode-container .game-rewards-display h4,
    .esports-trivia-container .game-rewards-display h4 {
        margin-bottom: 8px !important;
        font-size: 1rem !important;
    }

    .loldle-ability-container .game-rewards-display > div,
    .loldle-splash-container .game-rewards-display > div,
    .loldle-quote-container .game-rewards-display > div,
    .loldle-audio-container .game-rewards-display > div,
    .loldle-emoji-container .game-rewards-display > div,
    .guess-team-container .game-rewards-display > div,
    .guess-name-container .game-rewards-display > div,
    .hardmode-container .game-rewards-display > div,
    .esports-trivia-container .game-rewards-display > div {
        gap: 15px !important;
    }

    /* Reduce splash art image size to prevent vertical scroll */
    .loldle-splash-container .splash-zoom-container {
        height: 191px;
    }

    .loldle-splash-container .splash-display {
        margin-bottom: 15px;
    }

    .loldle-splash-container .attempts-container {
        margin-bottom: 10px;
    }

    .loldle-splash-container .loldle-card h2 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .loldle-splash-container .loldle-subtitle {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .loldle-splash-container .guess-input-container {
        margin-bottom: 15px;
    }
}

/* ========== PC RESPONSIVE - NO VERTICAL SCROLL FOR MINIGAMES ========== */
@media (min-width: 769px) {
    /* Make all minigame containers use full viewport height without scroll */
    .guess-team-container,
    .guess-name-container,
    .guess-icon-container,
    .loldle-ability-container,
    .loldle-splash-container,
    .loldle-quote-container,
    .loldle-audio-container,
    .loldle-emoji-container,
    .hardmode-container,
    .esports-trivia-container {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 120px);
        overflow: hidden;
    }

    /* Reduce image sizes for quiz games on PC */
    .guess-team-container .player-image,
    .guess-name-container .player-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 15px;
    }

    .team-icon-display {
        width: 150px;
        height: 150px;
        max-width: 150px;
        margin: 0 auto 15px;
        padding: 20px;
    }

    /* Compact quiz card for PC */
    .guess-team-container .quiz-card,
    .guess-name-container .quiz-card,
    .guess-icon-container .quiz-card {
        padding: 20px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Reduce quiz info spacing */
    .guess-team-container .quiz-info,
    .guess-name-container .quiz-info,
    .guess-icon-container .quiz-info {
        margin-top: 10px;
    }

    .guess-team-container .quiz-info h2,
    .guess-name-container .quiz-info h2,
    .guess-icon-container .quiz-info h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .guess-team-container .question,
    .guess-name-container .question,
    .guess-icon-container .question {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    /* Compact options grid */
    .guess-team-container .options-grid,
    .guess-name-container .options-grid,
    .guess-icon-container .options-grid {
        gap: 10px;
        margin-bottom: 15px;
    }

    .guess-team-container .option-btn,
    .guess-name-container .option-btn,
    .guess-icon-container .option-btn {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* Compact result message */
    .guess-team-container .result-message,
    .guess-name-container .result-message,
    .guess-icon-container .result-message {
        padding: 10px;
        font-size: 1rem;
        margin-bottom: 10px;
        min-height: 20px;
    }

    /* Compact score display */
    .guess-team-container .quiz-score,
    .guess-name-container .quiz-score,
    .guess-icon-container .quiz-score {
        font-size: 0.9rem;
    }

    /* Back button positioning */
    .guess-team-container .back-to-home-btn,
    .guess-name-container .back-to-home-btn,
    .guess-icon-container .back-to-home-btn {
        margin-bottom: 10px;
    }
}

/* Extra compact for smaller desktop screens */
@media (min-width: 769px) and (max-height: 800px) {
    .guess-team-container .player-image,
    .guess-name-container .player-image {
        width: 150px;
        height: 150px;
        margin: 0 auto 10px;
    }

    .team-icon-display {
        width: 120px;
        height: 120px;
        max-width: 120px;
        margin: 0 auto 10px;
        padding: 15px;
    }

    .guess-team-container .quiz-card,
    .guess-name-container .quiz-card,
    .guess-icon-container .quiz-card {
        padding: 15px;
    }

    .guess-team-container .question,
    .guess-name-container .question,
    .guess-icon-container .question {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .guess-team-container .options-grid,
    .guess-name-container .options-grid,
    .guess-icon-container .options-grid {
        gap: 8px;
        margin-bottom: 10px;
    }

    .guess-team-container .option-btn,
    .guess-name-container .option-btn,
    .guess-icon-container .option-btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Extra compact splash for smaller desktop screens */
    .loldle-splash-container .splash-zoom-container {
        height: 157px;
    }

    .loldle-splash-container .loldle-card {
        padding: 20px;
    }

    .loldle-splash-container .loldle-card h2 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .loldle-splash-container .loldle-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .loldle-splash-container .splash-display {
        margin-bottom: 10px;
    }

    .loldle-splash-container .guess-input-container {
        margin-bottom: 10px;
    }

    .loldle-splash-container .guess-input-container input {
        padding: 10px 15px;
    }

    .loldle-splash-container .btn-guess {
        padding: 10px 20px;
    }

    .loldle-splash-container .attempts-container {
        margin-bottom: 8px;
    }

    .loldle-splash-container .attempts-container > p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
}

.loldle-classic-container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* En PC: reducir padding horizontal de la card para dar más espacio a la grilla */
@media (min-width: 769px) {
    .loldle-classic-container .loldle-card {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .loldle-classic-container {
        max-width: 100%;
    }
}

.loldle-card {
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 170, 110, 0.1);
    text-align: center;
    overflow-x: hidden;
}

.loldle-card h2 {
    color: #C8AA6E;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.loldle-subtitle {
    color: #A09B8C;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Ability Display */
.ability-display {
    margin-bottom: 30px;
}

.ability-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 3px solid #C8AA6E;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ability-icon-container img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
}

.ability-key {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(200, 170, 110, 0.9);
    color: #010A13;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ability-info h3 {
    color: #F0E6D2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Splash Display */
.splash-display {
    margin-bottom: 30px;
}

.splash-zoom-container {
    width: 100%;
    height: 278px;
    overflow: hidden;
    border: 3px solid #C8AA6E;
    border-radius: 15px;
    position: relative;
    background: #000;
}

.splash-zoom-container canvas {
    width: 100%;
    height: 100%;
    display: block;
    /* Prevent right-click save and drag */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: auto;
}

/* Guess Input */
.guess-input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.autocomplete-wrapper {
    flex: 1;
    position: relative;
}

.guess-input-container input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    color: #F0E6D2;
    font-size: 1rem;
    font-family: inherit;
}

.guess-input-container input:focus {
    outline: none;
    border-color: #C8AA6E;
    background: rgba(15, 30, 45, 0.8);
}

.guess-input-container input::placeholder {
    color: #A09B8C;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 20, 40, 0.98);
    border: 2px solid #C8AA6E;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 12px 20px;
    cursor: pointer;
    color: #F0E6D2;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(200, 170, 110, 0.1);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: rgba(200, 170, 110, 0.2);
    color: #C8AA6E;
}

.autocomplete-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #C8AA6E;
}

/* Mobile Scrollbar for Autocomplete */
@media (max-width: 768px) {
    .autocomplete-dropdown {
        max-height: 200px;
    }
}

.btn-guess {
    padding: 15px 30px;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    border: 2px solid #C8AA6E;
    border-radius: 12px;
    color: #F0E6D2;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-guess:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.4) 0%, rgba(200, 170, 110, 0.3) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.5);
}

.btn-guess:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Attempts */
.attempts-container {
    margin-bottom: 20px;
}

.attempts-container > p {
    color: #C8AA6E;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#abilityAttemptsList,
#splashAttemptsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attempt-item {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    color: #A09B8C;
    font-size: 1rem;
    text-align: center;
}

.attempt-item.correct {
    background: rgba(20, 200, 0, 0.2);
    border-color: #14C800;
    color: #14C800;
}

.attempt-item.incorrect {
    background: rgba(200, 0, 0, 0.1);
    border-color: rgba(200, 0, 0, 0.3);
}

/* ========== LOLDLE QUOTE ========== */
.quote-display {
    margin-bottom: 30px;
}

.quote-box {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 3px solid #C8AA6E;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(200, 170, 110, 0.3);
    font-family: Georgia, serif;
    line-height: 0.8;
}

.quote-box p {
    color: #F0E6D2;
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

#quoteAttemptsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ========== LOLDLE AUDIO ========== */
/* Audio Type Indicator */
.audio-type-indicator {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #C8AA6E;
    margin: 15px 0 20px;
    padding: 10px 20px;
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audio-display {
    margin-bottom: 30px;
}

.audio-player-container {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 3px solid #C8AA6E;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
}

.audio-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.audio-icon {
    color: #C8AA6E;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.audio-icon svg {
    filter: drop-shadow(0 4px 8px rgba(200, 170, 110, 0.3));
}

.audio-wave {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 40px;
}

.audio-wave span {
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, #C8AA6E 0%, rgba(200, 170, 110, 0.5) 100%);
    border-radius: 2px;
    animation: audioWave 1.2s ease-in-out infinite;
}

.audio-wave span:nth-child(1) { animation-delay: 0s; }
.audio-wave span:nth-child(2) { animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; }

@keyframes audioWave {
    0%, 100% {
        height: 10px;
        opacity: 0.4;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
}

.btn-play-audio {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid #C8AA6E;
    color: #F0E6D2;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-play-audio:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 170, 110, 0.3);
}

.btn-play-audio:active {
    transform: translateY(0);
}

.btn-play-audio span:first-child {
    font-size: 1.5rem;
}

#audioAttemptsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ========== LOLDLE EMOJI ========== */
.emoji-game-content {
    width: 100%;
}

.emoji-display {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.emoji-box {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 3px solid #C8AA6E;
    border-radius: 15px;
    padding: 25px 30px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.emoji-sequence {
    font-size: 4rem;
    text-align: center;
    line-height: 1.4;
    letter-spacing: 15px;
    animation: emojiFloat 3s ease-in-out infinite;
    word-break: break-word;
    overflow-wrap: break-word;
}

@keyframes emojiFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

#emojiAttemptsList {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 768px) {
    .emoji-sequence {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }

    .emoji-box {
        padding: 30px 20px;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .emoji-sequence {
        font-size: 1.8rem;
        letter-spacing: 5px;
    }

    .emoji-box {
        padding: 20px 15px;
        min-height: 80px;
    }
}

/* ========== CLASSIC MODE ========== */
.classic-guesses {
    box-sizing: border-box;
    margin: 30px 0;
    width: 100%;
}

/* En PC: sin scroll (ni vertical ni horizontal) */
@media (min-width: 769px) {
    .classic-guesses {
        overflow: visible;
        max-height: none;
    }
}

/* En móvil: con scroll vertical y horizontal */
@media (max-width: 768px) {
    .classic-guesses {
        overflow-x: auto;
        overflow-y: auto;
        max-height: 500px;
    }
}

.classic-header,
.classic-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    box-sizing: border-box;
    max-width: 100%;
    margin-bottom: 10px;
}

/* En móvil: scroll horizontal solo dentro del contenedor de la tabla */
@media (max-width: 768px) {
    .classic-header,
    .classic-row {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .classic-header,
    .classic-row {
        min-width: 500px;
    }
}

.classic-cell {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    color: #F0E6D2;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    position: relative;
    box-sizing: border-box;
}

.classic-header .classic-cell {
    background: rgba(200, 170, 110, 0.2);
    border-color: #C8AA6E;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.classic-cell.correct {
    background: rgba(20, 200, 0, 0.3);
    border-color: #14C800;
    animation: correctPulse 0.5s ease;
}

.classic-cell.partial {
    background: rgba(255, 165, 0, 0.3);
    border-color: #FFA500;
    animation: partialPulse 0.5s ease;
}

.classic-cell.incorrect {
    background: rgba(200, 0, 0, 0.2);
    border-color: rgba(200, 0, 0, 0.4);
}

.classic-cell img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes partialPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========== HARD MODE ========== */
.hardmode-question {
    margin-bottom: 30px;
}

.question-box {
    background: linear-gradient(135deg, rgba(200, 50, 50, 0.2) 0%, rgba(150, 20, 20, 0.3) 100%);
    border: 3px solid #C85050;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
}

.question-box p {
    color: #F0E6D2;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.hardmode-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.hardmode-option {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 20px;
    color: #F0E6D2;
    font-size: 1.1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hardmode-option:hover:not(.disabled) {
    background: rgba(200, 170, 110, 0.2);
    border-color: #C8AA6E;
    transform: scale(1.05);
}

.hardmode-option.selected-correct {
    background: rgba(20, 200, 0, 0.3);
    border-color: #14C800;
    animation: correctPulse 0.5s ease;
}

.hardmode-option.selected-incorrect {
    background: rgba(200, 0, 0, 0.2);
    border-color: #C80000;
}

.hardmode-option.show-correct {
    background: rgba(20, 200, 0, 0.3);
    border-color: #14C800;
}

.hardmode-option.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.hardmode-score {
    margin: 20px 0;
}

.hardmode-score p {
    color: #C8AA6E;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
}

#nextHardmodeBtn {
    margin-right: 10px;
}

@media (max-width: 600px) {
    .splash-zoom-container {
        height: 300px;
    }

    .ability-icon-container {
        width: 80px;
        height: 80px;
    }

    .guess-input-container {
        flex-direction: column;
    }

    .classic-header,
    .classic-row {
        grid-template-columns: repeat(7, 80px);
    }

    .classic-cell {
        font-size: 0.75rem;
        padding: 8px 4px;
        min-height: 50px;
    }

    .classic-cell img {
        width: 30px;
        height: 30px;
    }

    .hardmode-options {
        grid-template-columns: 1fr;
    }

    .quote-box p {
        font-size: 1.2rem;
    }
}

/* ========== ESPORTS TRIVIA ========== */
.esports-question-box {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(150, 120, 80, 0.3) 100%);
    border: 3px solid #C8AA6E;
}

.esports-trivia-container .hardmode-score {
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 15px;
}

/* ========== HOME SCREEN ========== */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.games-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.game-category {
    width: 100%;
}

.category-title {
    color: #C8AA6E;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(200, 170, 110, 0.5);
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.game-card {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 30, 0.9) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    width: 100%;
    max-width: 300px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #C8AA6E;
    box-shadow: 0 10px 30px rgba(200, 170, 110, 0.4);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(200, 170, 110, 0.5));
}

.game-card h3 {
    color: #F0E6D2;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-card p {
    color: #A09B8C;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .games-grid {
        gap: 30px;
    }

    .category-title {
        font-size: 1.2rem;
    }

    .game-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .game-card {
        padding: 20px 15px;
        max-width: 100%;
    }

    .game-icon {
        font-size: 3rem;
    }

    .game-card h3 {
        font-size: 1.2rem;
    }

    .game-card p {
        font-size: 0.85rem;
    }
}

/* ========== DAILY RUN & RANKING ========== */
.daily-challenges-preview {
    margin: 30px 0;
}

.challenges-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.challenges-list li {
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: #C8AA6E;
}

.daily-info {
    margin-top: 20px;
    color: #A09B8C;
    font-size: 0.95rem;
}

.daily-score-display {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid #C8AA6E;
    border-radius: 15px;
    padding: 15px 25px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #C8AA6E;
}

.daily-challenge-status {
    margin-bottom: 25px;
}

.daily-challenge-status p {
    color: #A09B8C;
    margin-bottom: 10px;
}

.daily-challenge-status h3 {
    color: #F0E6D2;
    font-size: 1.5rem;
}

.final-score-display {
    font-size: 1.8rem;
    color: #C8AA6E;
    margin: 30px 0;
    animation: scoreReveal 0.6s ease-out;
}

.final-score-display strong {
    font-size: 3.5rem;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5),
                 0 0 40px rgba(255, 215, 0, 0.3);
    animation: scorePulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes scoreReveal {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scorePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
                     0 0 50px rgba(255, 215, 0, 0.4);
    }
}

/* ================================
   DAILY RUN REWARDS SECTION
   ================================ */
.daily-run-rewards {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.15) 0%, rgba(15, 30, 45, 0.5) 100%);
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: rewardsSlideIn 0.5s ease-out 0.3s backwards;
}

@keyframes rewardsSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rewards-header {
    text-align: center;
    margin-bottom: 25px;
}

.rewards-header h4 {
    font-size: 1.8rem;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.rewards-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.7) 0%, rgba(15, 30, 45, 0.5) 100%);
    border-radius: 16px;
    border: 1px solid rgba(200, 170, 110, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: rewardItemIn 0.4s ease-out backwards;
}

.reward-item:nth-child(1) { animation-delay: 0.4s; }
.reward-item:nth-child(2) { animation-delay: 0.5s; }
.reward-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes rewardItemIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reward-item:hover {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.9) 0%, rgba(15, 30, 45, 0.7) 100%);
    border-color: rgba(200, 170, 110, 0.6);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(200, 170, 110, 0.3);
}

.reward-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 170, 110, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(200, 170, 110, 0.2);
}

.reward-icon i {
    color: #C8AA6E;
}

.reward-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.reward-label {
    color: #C8AA6E;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.reward-value, .reward-value-total {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.reward-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(200, 170, 110, 0.3) 50%, transparent 100%);
    margin: 10px 0;
}

.reward-total {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.2);
}

.reward-total .reward-value-total {
    font-size: 2.2rem;
}

.daily-login-prompt {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.15) 0%, rgba(15, 30, 45, 0.5) 100%);
    border: 2px dashed rgba(200, 170, 110, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.daily-login-prompt p {
    color: #C8AA6E;
    font-size: 1.1rem;
    margin: 0;
}

/* Animation for rewards */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.username-input-container {
    margin: 25px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.username-input-container input {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 15px 20px;
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    color: #F0E6D2;
    font-size: 1rem;
    font-family: inherit;
}

.username-input-container input:focus {
    outline: none;
    border-color: #C8AA6E;
}

.daily-message {
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.daily-message p {
    font-size: 1.2rem;
    color: #F0E6D2;
    margin-bottom: 15px;
}

.daily-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #C8AA6E;
}

/* Free Run Complete Styles */
.free-run-complete-container {
    max-width: 600px;
    margin: 0 auto;
}

.completion-message {
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
}

.trophy-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.congrats-text {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.completion-description {
    font-size: 1.2rem;
    color: #C8AA6E;
    margin: 0;
}

.completion-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 1.1rem;
    color: #A09B8C;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
}

@media (max-width: 768px) {
    .completion-message {
        padding: 20px;
        margin: 20px 0;
    }

    .trophy-icon {
        font-size: 3.5rem;
    }

    .congrats-text {
        font-size: 1.5rem;
    }

    .completion-description {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .completion-message {
        padding: 15px;
        margin: 15px 0;
    }

    .trophy-icon {
        font-size: 2.5rem;
    }

    .congrats-text {
        font-size: 1.2rem;
    }

    .completion-description {
        font-size: 0.9rem;
    }

    .completion-stats {
        padding: 15px;
        gap: 10px;
    }

    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 8px 0;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stat-value {
        font-size: 1rem;
    }
}

/* Ranking Table */
.ranking-date {
    margin: 20px 0;
    color: #A09B8C;
    font-size: 0.95rem;
}

/* Date Navigation */
.date-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
}

.current-date-display {
    flex: 1;
    text-align: center;
}

.current-date-display p {
    font-size: 1.3rem;
    font-weight: 700;
    color: #C8AA6E;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-date-nav {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #C8AA6E;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-date-nav:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    border-color: #C8AA6E;
    transform: scale(1.05);
}

.btn-date-nav:active {
    transform: scale(0.98);
}

.btn-date-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.btn-date-nav:disabled:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(200, 170, 110, 0.1) 100%);
    border-color: rgba(200, 170, 110, 0.3);
    transform: none;
}

/* Ocultar texto de navegación en mobile, mostrar solo flechas */
@media (max-width: 768px) {
    .btn-date-text {
        display: none;
    }

    .btn-date-nav {
        padding: 12px 15px;
        font-size: 1.2rem;
        min-width: 45px;
    }

    .date-navigation {
        padding: 15px;
        gap: 10px;
    }

    .current-date-display p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .btn-date-nav {
        padding: 10px 12px;
        font-size: 1.1rem;
        min-width: 40px;
    }

    .date-navigation {
        padding: 12px;
        margin: 20px 0;
        gap: 8px;
    }

    .current-date-display p {
        font-size: 1rem;
    }
}

/* Ranking Container - Ancho amplio para PC */
.ranking-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ranking-table {
    margin: 30px 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.ranking-header {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 100px 100px;
    gap: 15px;
    margin-bottom: 15px;
    background: rgba(200, 170, 110, 0.2);
    border: none;
    border-radius: 10px;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
}

/* Desktop - Optimización para PC */
@media (min-width: 769px) {
    .ranking-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .ranking-container .loldle-card {
        padding: 30px 20px;
        border: none;
        max-width: 100%;
    }

    .ranking-header,
    .ranking-row {
        grid-template-columns: 80px minmax(300px, 2fr) 140px 140px;
        gap: 25px;
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .ranking-container {
        padding: 0 10px;
    }

    .ranking-container .loldle-card {
        padding: 20px 10px;
    }

    .ranking-header {
        grid-template-columns: 45px 1.8fr 70px 80px;
        gap: 8px;
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .ranking-container {
        padding: 0 5px;
    }

    .ranking-container .loldle-card {
        padding: 15px 8px;
    }

    .ranking-header {
        grid-template-columns: 30px 1.5fr 55px 65px;
        gap: 4px;
        padding: 8px 5px;
        font-size: 0.7rem;
    }
}

/* Mode Selection Screen */
/* MÓVIL: Layout optimizado */
.mode-selection-screen {
    max-width: 100%;
    width: 100%;
    padding: 20px 10px;
    position: relative;
    z-index: 1;
}

/* Home Layout */
.home-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-grid {
    display: none;
}

/* MÓVIL: Botones Daily en stack vertical */
.mode-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.mode-button {
    width: 100%;
    min-height: 60px;
    padding: 15px 20px;
    border: 2px solid;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mode-button:active {
    transform: scale(0.98);
}

.mode-button i:first-child {
    font-size: 1.5rem;
}

.mode-button-text {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

.mode-button-status {
    color: #4ade80;
    font-size: 1.1rem;
}

.mode-button-coins {
    font-size: 0.9rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 4px;
}

.daily-ranked-button {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    color: #FFD700;
}

.daily-ranked-button:active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 215, 0, 0.15) 100%);
}

.daily-ranked-timer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 4px;
    font-weight: 600;
}

.daily-ranked-timer i {
    font-size: 0.85rem;
}

#dailyRankedCountdown {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.daily-run-button {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2) 0%, rgba(138, 43, 226, 0.1) 100%);
    border-color: rgba(138, 43, 226, 0.6);
    color: #8A2BE2;
}

.daily-run-button:active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3) 0%, rgba(138, 43, 226, 0.15) 100%);
}

@media (min-width: 769px) {
    .mode-selection-screen {
        max-width: 513px;
        margin: 0 auto;
        padding: 5px 15px;
    }

    .home-layout {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .home-layout .mode-options {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-top: 0;
    }

    .home-layout .mode-card {
        flex: 1;
        padding: 8px 6px;
    }

    /* Compact mode buttons for PC */
    .mode-buttons-row {
        flex-direction: row;
        gap: 6px;
        margin-bottom: 5px;
        padding: 0;
    }

    .mode-button {
        flex: 1;
        width: auto;
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 0.7rem;
        justify-content: center;
        gap: 6px;
    }

    .mode-button:hover {
        transform: translateY(-2px);
    }

    .mode-button:active {
        transform: scale(1);
    }

    .mode-button i:first-child {
        font-size: 1.1rem;
    }

    .mode-button-text {
        text-align: center;
    }

    .mode-button-status {
        font-size: 0.9rem;
    }

    .mode-button-coins {
        font-size: 0.65rem;
        gap: 2px;
    }

    .daily-ranked-button {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
        border-color: rgba(255, 215, 0, 0.5);
    }

    .daily-ranked-button:hover {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(255, 215, 0, 0.1) 100%);
        border-color: #FFD700;
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
    }

    .daily-run-button {
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0.05) 100%);
        border-color: rgba(138, 43, 226, 0.5);
    }

    .daily-run-button:hover {
        background: linear-gradient(135deg, rgba(138, 43, 226, 0.25) 0%, rgba(138, 43, 226, 0.1) 100%);
        border-color: #8A2BE2;
        box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
    }

    .home-grid {
        display: block;
        width: 100%;
    }

    /* PC Settings controls in home */
    .home-pc-settings {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
        padding: 10px 15px;
        background: rgba(15, 30, 45, 0.5);
        border: 1px solid rgba(200, 170, 110, 0.2);
        border-radius: 8px;
    }

    .pc-setting-item {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .pc-setting-item > span {
        color: #C8AA6E;
        font-size: 1rem;
    }

    .home-sound-toggle {
        background: rgba(200, 170, 110, 0.2);
        border: 1px solid rgba(200, 170, 110, 0.4);
        border-radius: 6px;
        padding: 6px 10px;
        color: #C8AA6E;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .home-sound-toggle:hover {
        background: rgba(200, 170, 110, 0.3);
        border-color: #C8AA6E;
    }

    .home-lang-select {
        background: rgba(15, 30, 45, 0.9);
        border: 1px solid rgba(200, 170, 110, 0.4);
        border-radius: 6px;
        padding: 6px 10px;
        color: #F0E6D2;
        font-size: 0.85rem;
        cursor: pointer;
        outline: none;
        transition: all 0.3s ease;
    }

    .home-lang-select:hover,
    .home-lang-select:focus {
        border-color: #C8AA6E;
        background: rgba(15, 30, 45, 1);
    }

    .home-lang-select option {
        background: #0A1929;
        color: #F0E6D2;
    }

    .home-grid-items {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 4px;
    }

    .home-grid-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 2px;
        background: rgba(15, 30, 45, 0.5);
        border: 2px solid rgba(200, 170, 110, 0.3);
        border-radius: 6px;
        text-decoration: none;
        color: #A09B8C;
        font-size: 0.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 40px;
    }

    .home-grid-item:hover {
        border-color: #C8AA6E;
        background: rgba(200, 170, 110, 0.15);
        color: #F0E6D2;
        transform: translateY(-3px);
    }

    .home-grid-item .grid-icon {
        font-size: 1rem;
        margin-bottom: 3px;
    }

    /* Smash or Pass category container */
    .home-grid-category {
        background: rgba(15, 30, 45, 0.5);
        border: 2px solid rgba(200, 170, 110, 0.3);
        border-radius: 8px;
        padding: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .category-title {
        color: #C8AA6E;
        font-size: 0.6rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }

    .category-items {
        display: flex;
        gap: 5px;
        width: 100%;
    }

    .home-grid-item-small {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 5px 3px;
        background: rgba(200, 170, 110, 0.1);
        border: 1px solid rgba(200, 170, 110, 0.2);
        border-radius: 5px;
        text-decoration: none;
        color: #A09B8C;
        font-size: 0.55rem;
        font-weight: 600;
        transition: all 0.3s ease;
        text-align: center;
    }

    .home-grid-item-small:hover {
        border-color: #C8AA6E;
        background: rgba(200, 170, 110, 0.25);
        color: #F0E6D2;
    }

    .home-grid-item-small .grid-icon {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }

    /* New item slider animation */
    .home-grid-item-new {
        position: relative;
        animation: slideInFromRight 0.6s ease-out;
        border-color: rgba(76, 175, 80, 0.5);
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(15, 30, 45, 0.5));
    }

    .home-grid-item-new:hover {
        border-color: #4CAF50;
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(200, 170, 110, 0.15));
    }

    @keyframes slideInFromRight {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .new-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: linear-gradient(135deg, #4CAF50, #45a049);
        color: #fff;
        font-size: 0.55rem;
        font-weight: 700;
        padding: 3px 6px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
        animation: badgePulse 2s ease-in-out infinite;
    }

    @keyframes badgePulse {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(76, 175, 80, 0.6);
        }
    }

    /* Hide hamburger menu on PC */
    .hamburger-menu {
        display: none;
    }

    /* Adjust mode cards for PC layout */
    .home-layout .mode-icon {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }

    .home-layout .mode-card h2 {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }

    .home-layout .mode-card p {
        font-size: 0.6rem;
        margin-bottom: 5px;
    }

    .home-layout .mode-btn {
        padding: 5px 12px;
        font-size: 0.65rem;
    }

    .home-layout .mode-status {
        font-size: 0.55rem !important;
    }

    .home-layout .mode-timer {
        font-size: 0.5rem !important;
        margin-top: 3px !important;
    }
}

.mode-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mode-card {
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(200, 170, 110, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mode-card:hover {
    transform: translateY(-10px);
    border-color: #C8AA6E;
    box-shadow: 0 15px 50px rgba(200, 170, 110, 0.3);
}

.mode-card:hover::before {
    opacity: 1;
}

.daily-ranked-card {
    border-color: rgba(255, 215, 0, 0.3);
}

.daily-ranked-card:hover {
    border-color: #FFD700;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
}

.free-mode-card {
    border-color: rgba(100, 200, 255, 0.3);
}

.free-mode-card:hover {
    border-color: #64C8FF;
    box-shadow: 0 15px 50px rgba(100, 200, 255, 0.4);
}

.free-run-card {
    border-color: rgba(138, 43, 226, 0.3);
}

.free-run-card:hover {
    border-color: #8A2BE2;
    box-shadow: 0 15px 50px rgba(138, 43, 226, 0.4);
}

.mode-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(200, 170, 110, 0.5));
    color: #FFD700;
}

.mode-card h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #F0E6D2;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mode-card p {
    color: #A09B8C;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.mode-btn {
    background: linear-gradient(135deg, #C8AA6E 0%, #8B7355 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #010A13;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.mode-btn:hover {
    background: linear-gradient(135deg, #F0E6D2 0%, #C8AA6E 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(200, 170, 110, 0.4);
}

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

/* Responsive para móviles pequeños (360px y similares) */
@media (max-width: 400px) {
    .mode-options {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .mode-card {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .mode-icon {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .mode-card h2 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .mode-card p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .mode-status {
        font-size: 0.8rem !important;
        margin-bottom: 10px;
    }

    .mode-timer {
        font-size: 0.75rem !important;
    }

    .mode-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .mode-selection-screen {
        padding: 15px 10px;
    }
}

/* Daily Rotation Screen */
.daily-rotation-screen {
    max-width: 800px;
    width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daily-rotation-screen .rotation-challenges {
    width: 100%;
}

.daily-rotation-screen .rotation-actions {
    width: 100%;
}

.rotation-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    color: #F0E6D2;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #F0E6D2 0%, #C8AA6E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotation-date {
    text-align: center;
    color: #A09B8C;
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rotation-challenges {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.rotation-challenge-card {
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.95) 0%, rgba(5, 20, 30, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 15px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.rotation-challenge-card:hover {
    border-color: #C8AA6E;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(200, 170, 110, 0.2);
}

.challenge-number {
    font-size: 2rem;
    font-weight: 900;
    color: #C8AA6E;
    min-width: 50px;
    text-align: center;
}

.challenge-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(200, 170, 110, 0.3));
    color: #C8AA6E;
    min-width: 60px;
    text-align: center;
}

.challenge-icon i {
    font-size: 2.5rem;
}

.challenge-info {
    flex: 1;
}

.challenge-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F0E6D2;
    margin-bottom: 5px;
}

.challenge-description {
    color: #A09B8C;
    font-size: 0.95rem;
}

.rotation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: rgba(200, 170, 110, 0.1);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #C8AA6E;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(200, 170, 110, 0.2);
    border-color: #C8AA6E;
    transform: scale(1.05);
}

.btn-secondary:active {
    transform: scale(0.98);
}

/* Back to Mode Selection Button */
.back-to-mode {
    text-align: center;
    margin-bottom: 30px;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: none;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 768px) {
    .ranking-list {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .ranking-list {
        gap: 4px;
    }
}

.ranking-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 80px 70px;
    gap: 10px;
    background: rgba(15, 30, 45, 0.4);
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.2s ease;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}

@media (max-width: 768px) {
    .ranking-row {
        grid-template-columns: 45px 1.8fr 70px 80px;
        gap: 8px;
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .ranking-row {
        grid-template-columns: 30px 1.5fr 55px 65px;
        gap: 4px;
        padding: 8px 5px;
        font-size: 0.75rem;
    }
}

.ranking-row:hover {
    background: rgba(200, 170, 110, 0.1);
}

.ranking-row.top3 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
}

.ranking-cell {
    color: #F0E6D2;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.ranking-rank {
    font-size: 1.2rem;
    color: #C8AA6E;
}

.ranking-username {
    text-align: left;
    justify-content: flex-start;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.ranking-points {
    color: #FFD700;
    font-weight: 700;
}

.ranking-time {
    color: #A09B8C;
    font-weight: 500;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.ranking-time .time-icon {
    color: #5B5A56;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ranking-username {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .ranking-username {
        gap: 3px;
    }
}

.player-rank {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    width: 100px;
}

.rank-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    margin: 0;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .rank-icon {
        width: 35px;
        height: 35px;
    }

    .player-rank {
        width: 35px;
    }
}

@media (max-width: 480px) {
    .rank-icon {
        width: 30px;
        height: 30px;
    }

    .player-rank {
        width: 30px;
    }
}

.player-name {
    font-size: 1rem;
    color: #F0E6D2;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

/* ================================
   RANKING: AVATARES Y ESTADÍSTICAS DE USUARIO
   ================================ */
.ranking-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #C8AA6E;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .ranking-avatar {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .ranking-avatar {
        width: 32px;
        height: 32px;
    }
}

.ranking-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.ranking-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-user-stats {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: rgba(240, 230, 210, 0.8);
}

.user-stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(200, 170, 110, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(200, 170, 110, 0.2);
}

.ranking-row.authenticated {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.05) 0%, rgba(15, 30, 45, 0.5) 100%);
    border-left: 3px solid rgba(200, 170, 110, 0.4);
}

.ranking-row.authenticated:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.1) 0%, rgba(15, 30, 45, 0.6) 100%);
}

/* Tu propio ranking - barra fija */
.my-ranking-bar {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.15) 0%, rgba(15, 30, 45, 0.8) 100%);
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: none;
}

.my-ranking-bar.visible {
    display: block;
}

.my-ranking-bar .ranking-row {
    background: transparent;
    padding: 0;
    margin: 0;
}

.my-ranking-label {
    color: #C8AA6E;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

/* Nueva barra compacta de posición del usuario */
.my-position-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.my-position-rank {
    color: #C8AA6E;
    font-size: 1.2rem;
    font-weight: 700;
    min-width: 60px;
}

.my-position-compact .player-rank {
    display: flex;
    align-items: center;
}

.my-position-compact .rank-icon-small {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.my-position-name {
    color: #F0E6D2;
    font-size: 1rem;
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my-position-score {
    color: #FFD700;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Responsive para la barra de posición */
@media (max-width: 480px) {
    .my-position-compact {
        gap: 8px;
    }

    .my-position-rank {
        font-size: 1rem;
        min-width: 50px;
    }

    .my-position-compact .rank-icon-small {
        width: 24px;
        height: 24px;
    }

    .my-position-name {
        font-size: 0.9rem;
    }

    .my-position-score {
        font-size: 0.85rem;
    }
}

/* Paginación */
.ranking-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
}

.pagination-btn {
    background: rgba(15, 30, 45, 0.8);
    border: 1px solid rgba(200, 170, 110, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    color: #A09B8C;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #C8AA6E;
    color: #F0E6D2;
    background: rgba(200, 170, 110, 0.1);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: #A09B8C;
    font-size: 0.8rem;
    padding: 0 10px;
}

.pagination-info strong {
    color: #C8AA6E;
}

/* Responsive para avatares */
@media (max-width: 768px) {
    .ranking-avatar {
        width: 40px;
        height: 40px;
    }

    .ranking-user-stats {
        font-size: 0.75rem;
        gap: 8px;
    }

    .user-stat-item {
        padding: 2px 6px;
    }
}

@media (max-width: 480px) {
    .ranking-avatar {
        width: 32px;
        height: 32px;
    }

    .ranking-user-stats {
        font-size: 0.7rem;
        gap: 6px;
    }

    .user-stat-item {
        padding: 1px 4px;
        gap: 2px;
    }

    .ranking-name-row {
        gap: 3px;
    }
}

@media (max-width: 768px) {
    .ranking-name-row {
        gap: 4px;
    }

    .player-name {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .ranking-rank {
        font-size: 1rem;
    }

    .ranking-points {
        font-size: 0.85rem;
    }

    .ranking-time {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .player-name {
        font-size: 0.8rem;
        max-width: 100%;
    }

    .ranking-time {
        font-size: 0.65rem;
    }

    .ranking-rank {
        font-size: 0.8rem;
    }

    .ranking-points {
        font-size: 0.7rem;
    }
}

/* Rank Colors - Solo iconos sin fondo */
.rank-iron {
    background: none;
    color: transparent;
    border: none;
}

.rank-bronze {
    background: none;
    color: transparent;
    border: none;
}

.rank-silver {
    background: none;
    color: transparent;
    border: none;
}

.rank-gold {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
}

.rank-platinum {
    background: none;
    color: transparent;
    border: none;
}

.rank-emerald {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
}

.rank-diamond {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
}

.rank-master {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
}

.rank-grandmaster {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
}

.rank-challenger {
    background: none;
    color: transparent;
    border: none;
    box-shadow: none;
    animation: none;
}

@keyframes challengerGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(244, 200, 116, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(244, 200, 116, 0.9);
    }
}

/* Daily Challenge Styles */
.daily-challenge-content {
    padding: 20px;
    text-align: center;
}

.challenge-hint {
    font-size: 1.2rem;
    color: #C8AA6E;
    margin-bottom: 20px;
    font-weight: 600;
}

.champion-hints {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
}

.champion-hints p {
    margin: 10px 0;
    color: #F0E6D2;
}

.champion-hints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px auto;
    max-width: 600px;
}

.hint-card {
    background: linear-gradient(135deg, rgba(15, 30, 45, 0.8) 0%, rgba(10, 20, 35, 0.9) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.hint-card:hover {
    border-color: rgba(200, 170, 110, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 170, 110, 0.2);
}

.hint-label {
    font-size: 0.85rem;
    color: #C8AA6E;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hint-value {
    font-size: 1.1rem;
    color: #F0E6D2;
    font-weight: 600;
}

.challenge-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.challenge-input {
    flex: 1;
    max-width: 300px;
    padding: 12px 20px;
    background: rgba(15, 30, 45, 0.8);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    color: #F0E6D2;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: all 0.3s ease;
}

.challenge-input:focus {
    outline: none;
    border-color: #C8AA6E;
    background: rgba(15, 30, 45, 0.9);
}

.challenge-input::placeholder {
    color: rgba(240, 230, 210, 0.5);
}

@media (max-width: 600px) {
    .challenges-list {
        grid-template-columns: 1fr;
    }

    .username-input-container {
        flex-direction: column;
    }

    .username-input-container input {
        max-width: 100%;
    }

    .ranking-header,
    .ranking-row {
        grid-template-columns: 50px 1fr 70px 70px;
        padding: 10px;
        font-size: 0.9rem;
    }

    .final-score-display {
        font-size: 1.4rem;
    }

    .final-score-display strong {
        font-size: 2rem;
    }
}

/* ================================
   GOOGLE ADSENSE AD CONTAINERS
   ================================ */

/* General Ad Container Styling */
.ad-container {
    width: 100%;
    max-width: 728px;
    margin: 20px auto;
    padding: 10px;
    background: rgba(12, 38, 61, 0.2);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90px;
    position: relative;
}

/* Top Banner Ad */
.ad-top-banner {
    margin-top: 15px;
    margin-bottom: 25px;
}

/* Results Page Ads */
.ad-results {
    margin: 25px auto;
    max-width: 336px;
}

/* Daily Run Complete Ad (High Conversion) */
.ad-daily-complete {
    margin: 25px auto;
    max-width: 336px;
}

/* Sidebar Ads (Desktop Only - Fixed Position) */
.ad-sidebar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(1, 10, 19, 0.95);
    border: 1px solid rgba(200, 170, 110, 0.3);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default, shown on desktop */
}

.ad-sidebar-right {
    right: 20px;
}

.ad-sidebar-left {
    left: 20px;
}

/* Show sidebar ads on larger screens */
@media (min-width: 1400px) {
    .ad-sidebar {
        display: block;
    }

    /* Content is already centered with max-width */
    .mode-selection-screen {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 40px;
    }

    /* Keep 7 columns for better distribution */
    .home-grid-items {
        grid-template-columns: repeat(7, 1fr);
    }
}

/* Mobile Responsive - Stack ads vertically */
@media (max-width: 768px) {
    .ad-container {
        max-width: 100%;
        margin: 15px auto;
        padding: 8px;
        min-height: 50px;
    }

    .ad-top-banner,
    .ad-results,
    .ad-daily-complete {
        max-width: 100%;
    }

    /* Hide sidebar ads on mobile */
    .ad-sidebar {
        display: none !important;
    }
}

/* Ad placeholder text (for testing before approval) */
.ad-container::before {
    content: '';
    /* This will be empty when ads are loaded */
}

/* Ensure ads don't break layout */
.ad-container ins {
    display: block;
    margin: 0 auto;
}

/* Smooth loading animation */
.ad-container {
    animation: fadeIn 0.5s ease-in;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   NEW AD PLACEMENTS - OPTIMIZED
   ================================ */

/* Home Screen Between Categories Ad */
.ad-home-between {
    margin: 40px auto;
    max-width: 728px;
    background: rgba(15, 30, 45, 0.3);
    border: 2px solid rgba(200, 170, 110, 0.2);
}

/* LoLdle Complete Ad */
.ad-loldle-complete {
    margin: 20px auto 15px;
    max-width: 336px;
    background: rgba(200, 170, 110, 0.05);
}

/* Sticky Bottom Ad (Mobile - High Performance) */
.ad-sticky-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(1, 10, 19, 0.98);
    border-top: 2px solid rgba(200, 170, 110, 0.4);
    padding: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default, shown on mobile */
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close button for sticky ad */
.ad-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(200, 170, 110, 0.3);
    border: 1px solid rgba(200, 170, 110, 0.5);
    color: #F0E6D2;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.ad-close-btn:hover {
    background: rgba(200, 170, 110, 0.6);
    transform: scale(1.1);
}

/* Show sticky ad only on mobile/tablet */
@media (max-width: 1024px) {
    .ad-sticky-bottom {
        display: block;
    }

    /* Adjust footer padding when sticky ad is present */
    footer {
        margin-bottom: 100px; /* Space for sticky ad */
    }
}

/* Ensure sticky ad doesn't overlap with footer */
@media (max-width: 768px) {
    .ad-sticky-bottom {
        padding: 8px 5px;
    }

    .ad-home-between {
        margin: 25px auto;
    }
}

/* ================================
   COMPACT FOOTER
   ================================ */

.compact-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(1, 10, 19, 0.98);
    border-top: 1px solid rgba(200, 170, 110, 0.15);
    padding: 8px 15px;
    text-align: center;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hidden state */
.compact-footer.hidden {
    transform: translateY(100%);
    opacity: 0;
}

.compact-footer.hidden .footer-toggle {
    transform: translateY(-35px);
    opacity: 1;
}

/* Footer Toggle Button */
.footer-toggle {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 30px;
    height: 25px;
    background: rgba(200, 170, 110, 0.3);
    border: 1px solid rgba(200, 170, 110, 0.5);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    color: #C8AA6E;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1000;
}

.footer-toggle:hover {
    background: rgba(200, 170, 110, 0.5);
    color: #F0E6D2;
    transform: scale(1.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.75rem;
}

.footer-copy {
    color: #8B8376;
    font-weight: 500;
}

.footer-separator {
    color: rgba(200, 170, 110, 0.3);
}

.footer-link {
    color: #C8AA6E;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.footer-link:hover {
    color: #F0E6D2;
    background: rgba(200, 170, 110, 0.1);
}

.footer-riot {
    color: #8B8376;
    font-size: 0.7rem;
}

/* Mobile Footer - Even More Compact */
@media (max-width: 768px) {
    .compact-footer {
        padding: 6px 10px;
    }

    .footer-content {
        gap: 8px;
        font-size: 0.7rem;
    }

    .footer-riot {
        display: none; /* Hide on mobile to save space */
    }

    .footer-toggle {
        right: 10px;
        width: 28px;
        height: 23px;
        font-size: 16px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .footer-content {
        font-size: 0.65rem;
        gap: 6px;
    }

    .footer-copy {
        font-size: 0.65rem;
    }
}

/* =====================================================
   DAILY COMPLETE SECTION STYLING
   ===================================================== */
.daily-complete {
    text-align: center;
    padding: 20px 15px;
    max-width: 480px;
    margin: 0 auto;
}

.daily-complete h3 {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
    animation: celebrateText 1s ease-out;
}

@keyframes celebrateText {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.daily-complete .final-score-display {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(200, 170, 110, 0.08) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    padding: 15px 25px;
    display: inline-block;
    margin: 10px 0 20px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
}

.daily-complete .final-score-display span {
    color: #F0E6D2;
    font-size: 1rem;
}

.daily-complete .final-score-display strong {
    color: #FFD700;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* View Ranking button in daily-complete */
.daily-complete .btn-restart {
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.15) 0%, rgba(200, 170, 110, 0.25) 100%);
    border: 2px solid rgba(200, 170, 110, 0.5);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.15);
}

.daily-complete .btn-restart:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.25) 0%, rgba(200, 170, 110, 0.35) 100%);
    box-shadow: 0 6px 20px rgba(200, 170, 110, 0.3);
}

/* =====================================================
   DAILY RUN REWARDS SECTION
   ===================================================== */
.daily-run-rewards {
    background: linear-gradient(135deg, rgba(20, 35, 50, 0.95) 0%, rgba(15, 25, 35, 0.98) 100%);
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    animation: slideInUp 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(200, 170, 110, 0.1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rewards-header {
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
}

.rewards-header h4 {
    color: #FFD700;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.rewards-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.reward-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 170, 110, 0.2);
}

.reward-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.reward-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reward-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reward-value {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 700;
}

.reward-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.4), transparent);
    margin: 6px 0;
}

/* Free Run Rewards Section */
.rewards-section {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.12) 0%, rgba(15, 30, 45, 0.9) 100%);
    border: 2px solid rgba(200, 170, 110, 0.4);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rewards-title {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Free Run Rewards Breakdown - Simple layout */
.rewards-section .rewards-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rewards-section .reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rewards-section .reward-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.rewards-section .reward-value {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.rewards-section .reward-total {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    margin-top: 8px;
}

.rewards-section .reward-total .reward-label {
    color: #FFD700;
    font-weight: 700;
    font-size: 15px;
}

.rewards-section .reward-total .reward-value {
    color: #FFD700;
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.reward-total {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(200, 170, 110, 0.08) 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    margin-top: 4px;
}

.reward-total .reward-label {
    color: #FFD700;
    font-weight: 600;
}

.reward-total .reward-value {
    color: #FFD700;
    font-size: 1.5rem;
}

.reward-value-total {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    }
}

.streak-info-box {
    display: flex;
    justify-content: center;
    gap: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(200, 170, 110, 0.1) 100%);
    border: 2px solid rgba(200, 170, 110, 0.25);
    border-radius: 16px;
    padding: 20px 30px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: streakBoxIn 0.5s ease-out 0.7s backwards;
}

@keyframes streakBoxIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.streak-stat,
.multiplier-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.streak-icon,
.multiplier-icon {
    font-size: 1.2rem;
    opacity: 0.9;
}

.streak-value,
.multiplier-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.streak-label,
.multiplier-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.raffle-cta {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(200, 170, 110, 0.2);
    animation: raffleCTAIn 0.5s ease-out 0.9s backwards;
}

@keyframes raffleCTAIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.raffle-cta p {
    color: #C8AA6E;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-raffle {
    background: linear-gradient(135deg, #FFD700 0%, #F0A500 100%);
    color: #1a1a1a;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-raffle::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-raffle:hover::before {
    left: 100%;
}

.btn-raffle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFE44D 0%, #FFB800 100%);
}

/* Login Prompt */
.daily-run-login-prompt {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(139, 115, 85, 0.2) 100%);
    border: 3px dashed rgba(200, 170, 110, 0.5);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: loginPromptIn 0.5s ease-out 0.3s backwards;
}

@keyframes loginPromptIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-prompt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.login-prompt-icon {
    font-size: 72px;
    animation: loginIconFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(200, 170, 110, 0.4));
}

@keyframes loginIconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.login-prompt-content h4 {
    font-size: 1.8rem;
    color: #FFD700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.login-prompt-content p {
    font-size: 1.1rem;
    color: #C8AA6E;
    margin: 0;
    line-height: 1.6;
}

.btn-login {
    background: linear-gradient(135deg, #C8AA6E 0%, #8B7355 100%);
    color: #0F1E2D;
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(200, 170, 110, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-login::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-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(200, 170, 110, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

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

.login-prompt-content h4 {
    color: #C8AA6E;
    font-size: 24px;
    margin: 0;
}

.login-prompt-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin: 0;
    max-width: 400px;
}

.btn-login {
    background: linear-gradient(135deg, #C8AA6E 0%, #8B7355 100%);
    color: #0F1E2D;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 170, 110, 0.6);
}

/* Auto-submit button styling */
.btn-authenticated {
    background: linear-gradient(135deg, #C8AA6E 0%, #8B7355 100%) !important;
    color: #0F1E2D !important;
    border: 2px solid rgba(200, 170, 110, 0.5) !important;
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.3) !important;
}

.btn-authenticated:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 170, 110, 0.5) !important;
}

/* Username input container adjustments */
.username-input-container {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.username-input-container #usernameInput {
    flex: 1;
    max-width: 300px;
}

/* When username input is hidden, center the button */
.username-input-container:has(#usernameInput[style*="display: none"]) {
    justify-content: center;
}

.username-input-container:has(#usernameInput[style*="display: none"]) #submitScoreBtn {
    width: auto;
    min-width: 200px;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .daily-complete {
        padding: 15px 12px;
        max-width: 100%;
    }

    .daily-complete h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .daily-complete .final-score-display {
        padding: 12px 20px;
        margin: 8px 0 15px;
    }

    .daily-complete .final-score-display span {
        font-size: 0.9rem;
    }

    .daily-complete .final-score-display strong {
        font-size: 1.8rem;
    }

    .daily-run-rewards {
        padding: 15px;
        margin: 12px 0;
    }

    .rewards-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .rewards-header h4 {
        font-size: 1rem;
    }

    .rewards-breakdown {
        gap: 6px;
        margin-bottom: 12px;
    }

    .reward-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .reward-icon {
        font-size: 1.3rem;
    }

    .reward-label {
        font-size: 0.8rem;
    }

    .reward-value {
        font-size: 1.1rem;
    }

    .reward-value-total {
        font-size: 1.5rem;
    }

    .streak-info-box {
        gap: 30px;
        padding: 12px 15px;
        margin: 10px 0;
    }

    .streak-value,
    .multiplier-value {
        font-size: 1.2rem;
    }

    .streak-label,
    .multiplier-label {
        font-size: 0.6rem;
    }

    .raffle-cta {
        margin-top: 12px;
        padding-top: 12px;
    }

    .raffle-cta p {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .btn-raffle {
        padding: 8px 24px;
        font-size: 0.85rem;
    }

    .login-prompt-icon {
        font-size: 48px;
    }

    .login-prompt-content h4 {
        font-size: 20px;
    }

    .login-prompt-content p {
        font-size: 14px;
    }

    .username-input-container {
        flex-direction: column;
        gap: 8px;
    }

    .username-input-container #usernameInput {
        max-width: 100%;
        width: 100%;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .daily-complete {
        padding: 12px 10px;
    }

    .daily-complete h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .daily-complete .final-score-display {
        padding: 10px 15px;
        border-radius: 10px;
    }

    .daily-complete .final-score-display span {
        font-size: 0.85rem;
    }

    .daily-complete .final-score-display strong {
        font-size: 1.6rem;
    }

    .daily-run-rewards {
        padding: 12px;
        margin: 10px 0;
        border-radius: 10px;
    }

    .rewards-header h4 {
        font-size: 0.95rem;
    }

    .reward-item {
        padding: 8px 10px;
        border-radius: 6px;
    }

    .reward-icon {
        font-size: 1.2rem;
    }

    .reward-label {
        font-size: 0.75rem;
    }

    .reward-value {
        font-size: 1rem;
    }

    .reward-total .reward-value,
    .reward-value-total {
        font-size: 1.3rem;
    }

    .streak-info-box {
        gap: 25px;
        padding: 10px 12px;
    }

    .streak-icon,
    .multiplier-icon {
        font-size: 1rem;
    }

    .streak-value,
    .multiplier-value {
        font-size: 1.1rem;
    }

    .streak-label,
    .multiplier-label {
        font-size: 0.55rem;
    }

    .btn-raffle {
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .daily-run-login-prompt {
        padding: 20px 15px;
    }

    .login-prompt-icon {
        font-size: 40px;
    }

    .login-prompt-content h4 {
        font-size: 18px;
    }

    .login-prompt-content p {
        font-size: 13px;
    }

    .btn-login {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* ========== WINNER OF THE WEEK ========== */
.winner-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.winner-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.1) 0%, rgba(15, 30, 45, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.5);
}

.winner-display {
    padding: 30px 20px;
}

.winner-loading {
    color: #A09B8C;
    font-size: 1.1rem;
}

.winner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.winner-avatar-container {
    position: relative;
    display: inline-block;
}

.winner-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #C8AA6E;
    box-shadow: 0 0 30px rgba(200, 170, 110, 0.5);
    animation: winnerGlow 2s ease-in-out infinite;
}

@keyframes winnerGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(200, 170, 110, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(200, 170, 110, 0.8), 0 0 80px rgba(200, 170, 110, 0.4);
    }
}

.winner-crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: crownBounce 1s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.winner-username {
    font-size: 1.8rem;
    color: #F0E6D2;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(200, 170, 110, 0.5);
}

.winner-prize {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    padding: 10px 20px;
    background: rgba(200, 170, 110, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(200, 170, 110, 0.3);
}

.prize-label {
    color: #A09B8C;
}

.prize-value {
    color: #4ade80;
    font-weight: 700;
}

.prize-icon {
    font-size: 1.5rem;
}

.winner-week {
    color: #A09B8C;
    font-size: 0.95rem;
}

.winner-entries {
    color: #A09B8C;
    font-size: 0.9rem;
    margin-top: 5px;
}

.winner-none {
    padding: 30px;
}

.no-winner-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: slotSpin 3s ease-in-out infinite;
}

@keyframes slotSpin {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.winner-none p {
    color: #F0E6D2;
    font-size: 1.2rem;
    margin: 10px 0;
}

.no-winner-hint {
    color: #A09B8C !important;
    font-size: 0.9rem !important;
}

#backFromWinnerBtn {
    margin-top: 20px;
}

/* Winners List Styles (10 winners) */
.winners-list {
    width: 100%;
    padding: 10px;
}

.winners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(200, 170, 110, 0.3);
}

.winner-month-info {
    color: #C8AA6E;
    font-size: 1rem;
}

.total-prize-info {
    color: #F0E6D2;
    font-size: 0.95rem;
}

.total-prize-info .prize-value {
    color: #C8AA6E;
    font-weight: bold;
}

.winners-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.winner-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(30, 35, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(200, 170, 110, 0.2);
    transition: all 0.2s ease;
}

.winner-row:hover {
    background: rgba(200, 170, 110, 0.1);
    border-color: rgba(200, 170, 110, 0.4);
}

.winner-row:first-child {
    background: rgba(200, 170, 110, 0.15);
    border-color: rgba(200, 170, 110, 0.4);
}

.winner-position {
    font-size: 1.2rem;
    min-width: 40px;
    text-align: center;
}

.winner-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #C8AA6E;
}

.winner-name {
    flex: 1;
    color: #F0E6D2;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.winner-region {
    color: #C8AA6E;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(200, 170, 110, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(200, 170, 110, 0.3);
}

.winner-prize-value {
    color: #C8AA6E;
    font-weight: bold;
    font-size: 0.9rem;
}

.prize-winners {
    color: #A09B8C;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .winner-avatar {
        width: 100px;
        height: 100px;
    }

    .winner-username {
        font-size: 1.5rem;
    }

    .winner-prize {
        font-size: 1.1rem;
        padding: 8px 15px;
    }

    .winners-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .winner-row {
        padding: 8px 10px;
        gap: 8px;
    }

    .winner-position {
        font-size: 1rem;
        min-width: 30px;
    }

    .winner-avatar-small {
        width: 30px;
        height: 30px;
    }

    .winner-name {
        font-size: 0.85rem;
    }

    .winner-prize-value {
        font-size: 0.8rem;
    }
}

/* ========== PC NO-SCROLL LAYOUT ========== */
@media (min-width: 769px) {
    /* Body fills viewport exactly */
    body {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        padding: 10px 20px;
    }

    /* Container fills available space */
    .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    /* Header más compacto */
    header {
        margin-bottom: 10px;
        flex-shrink: 0;
    }

    header h1 {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }

    header h1::after {
        bottom: -5px;
        width: 60px;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-top: 10px;
        letter-spacing: 1px;
    }

    /* Mode selection screen fills remaining space */
    .mode-selection-screen {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 30px !important;
        overflow: visible;
    }

    /* Home layout fills space */
    .home-layout {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 15px !important;
        overflow: visible;
    }

    /* Mode cards row - más compactas */
    .home-layout .mode-options {
        flex-shrink: 0;
        gap: 15px !important;
        padding-top: 15px;
    }

    .home-layout .mode-card {
        padding: 15px 12px !important;
    }

    .home-layout .mode-icon {
        font-size: 2rem !important;
        margin-bottom: 8px !important;
    }

    .home-layout .mode-card h2 {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    .home-layout .mode-card p {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
        line-height: 1.3;
    }

    .home-layout .mode-btn {
        padding: 6px 16px !important;
        font-size: 0.8rem !important;
    }

    /* Grid más compacto */
    .home-grid {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    /* PC Settings - alineación correcta */
    .home-pc-settings {
        align-self: flex-end;
        width: auto;
        margin-bottom: 10px;
        padding: 8px 12px !important;
        gap: 12px !important;
    }

    .pc-setting-item {
        gap: 6px !important;
    }

    .pc-setting-item > span {
        font-size: 0.9rem !important;
    }

    .home-sound-toggle {
        padding: 5px 8px !important;
        font-size: 0.85rem;
    }

    .home-lang-select {
        padding: 5px 8px !important;
        font-size: 0.8rem !important;
        max-width: 110px;
    }

    .home-grid-items {
        gap: 8px !important;
        flex: 1;
    }

    .home-grid-item {
        padding: 8px 6px !important;
        min-height: 60px !important;
        font-size: 0.7rem !important;
    }

    .home-grid-item .grid-icon {
        font-size: 1.2rem !important;
        margin-bottom: 4px !important;
    }

    /* Smash or Pass category más compacta */
    .home-grid-category {
        padding: 6px !important;
    }

    .category-title {
        font-size: 0.65rem !important;
        margin-bottom: 5px !important;
    }

    .category-items {
        gap: 5px !important;
    }

    .home-grid-item-small {
        padding: 5px 3px !important;
        font-size: 0.6rem !important;
    }

    .home-grid-item-small .grid-icon {
        font-size: 0.9rem !important;
        margin-bottom: 2px !important;
    }
}

/* Para pantallas PC más grandes (1200px+) */
@media (min-width: 1200px) {
    body {
        padding: 15px 40px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .mode-selection-screen {
        padding: 15px 50px !important;
    }

    .home-layout {
        gap: 20px !important;
    }

    .home-layout .mode-options {
        gap: 20px !important;
    }

    .home-layout .mode-card {
        padding: 18px 15px !important;
    }

    .home-layout .mode-icon {
        font-size: 2.3rem !important;
    }

    .home-layout .mode-card h2 {
        font-size: 1.2rem !important;
    }

    .home-layout .mode-card p {
        font-size: 0.8rem !important;
    }

    .home-layout .mode-btn {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }

    .home-grid-items {
        gap: 10px !important;
    }

    .home-grid-item {
        padding: 10px 8px !important;
        min-height: 70px !important;
        font-size: 0.75rem !important;
    }

    .home-grid-item .grid-icon {
        font-size: 1.4rem !important;
        margin-bottom: 6px !important;
    }

    /* PC Settings para pantallas grandes */
    .home-pc-settings {
        padding: 10px 15px !important;
        gap: 15px !important;
    }

    .pc-setting-item > span {
        font-size: 1rem !important;
    }

    .home-sound-toggle {
        padding: 6px 10px !important;
        font-size: 0.9rem;
    }

    .home-lang-select {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
        max-width: 120px;
    }
}

/* =====================================================
   PC NO-SCROLL - GAME CONTAINERS
   ===================================================== */
@media (min-width: 769px) {
    /* Todos los contenedores de juego con altura máxima */
    .game-container,
    .champions-game-container,
    .stats-container,
    .champions-stats-container,
    .loldle-ability-container,
    .loldle-splash-container,
    .loldle-quote-container,
    .loldle-audio-container,
    .loldle-emoji-container,
    .loldle-classic-container,
    .guess-team-container,
    .guess-name-container,
    .guess-icon-container,
    .hardmode-container,
    .esports-trivia-container,
    .daily-run-container,
    .ranking-container,
    .free-run-complete-container,
    .winner-container {
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Scrollbar styling para contenedores de juego */
    .game-container::-webkit-scrollbar,
    .champions-game-container::-webkit-scrollbar,
    .loldle-classic-container::-webkit-scrollbar {
        width: 6px;
    }

    .game-container::-webkit-scrollbar-track,
    .champions-game-container::-webkit-scrollbar-track,
    .loldle-classic-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

    .game-container::-webkit-scrollbar-thumb,
    .champions-game-container::-webkit-scrollbar-thumb,
    .loldle-classic-container::-webkit-scrollbar-thumb {
        background: rgba(200, 170, 110, 0.4);
        border-radius: 3px;
    }

    .game-container::-webkit-scrollbar-thumb:hover,
    .champions-game-container::-webkit-scrollbar-thumb:hover,
    .loldle-classic-container::-webkit-scrollbar-thumb:hover {
        background: rgba(200, 170, 110, 0.6);
    }

    /* ===== SMASH OR PASS - Players & Champions ===== */

    /* Imagen más grande para mejor visibilidad */
    .player-image,
    .champion-image {
        height: 250px;
    }

    /* Card más compacta */
    .card {
        padding: 15px;
    }

    /* Info del jugador más compacta */
    .player-info {
        margin-bottom: 10px;
    }

    .player-info h2 {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .player-info p {
        font-size: 0.85rem;
        margin-bottom: 3px;
    }

    /* Estadísticas globales más compactas */
    .global-stats {
        padding: 8px 10px;
        margin: 8px 0;
    }

    .global-stats h3 {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .stats-bars {
        gap: 4px;
    }

    .stat-bar {
        margin-bottom: 4px;
        gap: 6px;
    }

    .stat-label {
        font-size: 0.65rem;
        min-width: 50px;
    }

    .stat-value {
        font-size: 0.65rem;
        min-width: 60px;
    }

    .bar-container {
        height: 14px;
    }

    .total-votes {
        font-size: 0.65rem;
        margin-top: 6px;
    }

    /* Botones más compactos */
    .buttons {
        margin-top: 10px;
        gap: 15px;
    }

    .btn-smash,
    .btn-pass {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Counter más pequeño */
    .counter {
        margin-top: 10px;
    }

    .counter p {
        font-size: 0.85rem;
    }

    /* ===== DAILY RUN COMPLETE ===== */

    .daily-complete h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .daily-complete .final-score-display {
        padding: 15px 20px;
        margin: 10px 0 15px;
    }

    .daily-complete .final-score-display span {
        font-size: 1rem;
    }

    .daily-complete .final-score-display strong {
        font-size: 2rem;
    }

    /* Rewards section más compacta */
    .daily-run-rewards {
        padding: 15px;
        margin: 15px 0;
    }

    .rewards-header h4 {
        font-size: 1.1rem;
    }

    .reward-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .reward-icon {
        font-size: 1.5rem;
    }

    .reward-label {
        font-size: 0.8rem;
    }

    .reward-value {
        font-size: 1.2rem;
    }

    .streak-info-box {
        padding: 12px;
        margin: 12px 0;
    }

    .streak-value,
    .multiplier-value {
        font-size: 1.2rem;
    }

    .streak-label,
    .multiplier-label {
        font-size: 0.65rem;
    }

    /* Login prompt más compacto */
    .daily-run-login-prompt {
        padding: 20px;
        margin: 15px 0;
    }

    .login-prompt-icon {
        font-size: 2.5rem;
    }

    .login-prompt-content h4 {
        font-size: 1.1rem;
    }

    .login-prompt-content p {
        font-size: 0.85rem;
    }

    /* ===== QUIZ GAMES (Team/Name/Icon) ===== */

    .quiz-card {
        padding: 20px;
    }

    .quiz-card .player-image {
        height: 180px;
        margin-bottom: 10px;
    }

    /* Imagen cuadrada centrada para guess team y guess name en móvil */
    .guess-team-container .player-image,
    .guess-name-container .player-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 15px;
    }

    .quiz-info h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .quiz-info .question {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .options-grid {
        gap: 8px;
        margin-bottom: 10px;
    }

    .option-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .quiz-score {
        margin-top: 10px;
    }

    .quiz-score p {
        font-size: 0.85rem;
    }

    /* ===== LOLDLE GAMES ===== */

    .loldle-card {
        padding: 20px;
    }

    .loldle-card h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .loldle-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    /* Ability/Splash display más compacto */
    .ability-display,
    .splash-display {
        margin-bottom: 15px;
    }

    .ability-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .ability-icon-container img {
        width: 48px;
        height: 48px;
    }

    /* Input de autocompletado */
    .autocomplete-container {
        margin-bottom: 15px;
    }

    .autocomplete-input {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Classic - tabla de intentos con scroll interno */
    .classic-guesses {
        max-height: 250px;
        overflow-y: auto;
    }

    /* ===== HARDMODE / ESPORTS TRIVIA ===== */

    .trivia-card {
        padding: 20px;
    }

    .trivia-question {
        font-size: 1rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .trivia-options {
        gap: 8px;
    }

    .trivia-option {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* ===== FREE RUN COMPLETE ===== */

    .free-run-complete-container .loldle-card {
        padding: 20px;
    }

    .completion-message {
        padding: 20px;
        margin: 15px 0;
    }

    .trophy-icon {
        font-size: 2.5rem;
    }

    .congrats-text {
        font-size: 1.3rem;
    }

    .completion-description {
        font-size: 0.9rem;
    }
}

/* =====================================================
   CUSTOM NOTIFICATION SYSTEM
   ===================================================== */

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    pointer-events: none;
}

/* Individual Toast */
.toast {
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.98) 0%, rgba(5, 20, 30, 0.98) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(200, 170, 110, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 1rem;
    font-weight: 700;
    color: #F0E6D2;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 0.9rem;
    color: #A09B8C;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #A09B8C;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #F0E6D2;
}

/* Toast Types */
.toast.success {
    border-color: rgba(100, 200, 100, 0.5);
}

.toast.success .toast-icon {
    color: #64c864;
}

.toast.success .toast-title {
    color: #64c864;
}

.toast.error {
    border-color: rgba(200, 80, 80, 0.5);
}

.toast.error .toast-icon {
    color: #c85050;
}

.toast.error .toast-title {
    color: #c85050;
}

.toast.warning {
    border-color: rgba(200, 170, 110, 0.5);
}

.toast.warning .toast-icon {
    color: #C8AA6E;
}

.toast.warning .toast-title {
    color: #C8AA6E;
}

.toast.info {
    border-color: rgba(100, 180, 200, 0.5);
}

.toast.info .toast-icon {
    color: #64b4c8;
}

.toast.info .toast-title {
    color: #64b4c8;
}

/* Custom Modal Dialog */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal {
    background: linear-gradient(135deg, rgba(1, 10, 19, 0.98) 0%, rgba(5, 20, 30, 0.98) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 16px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(200, 170, 110, 0.15);
    transform: scale(0.8) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-modal-overlay.show .custom-modal {
    transform: scale(1) translateY(0);
}

.custom-modal-icon {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 15px;
}

.custom-modal-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #F0E6D2;
    margin-bottom: 15px;
}

.custom-modal-message {
    text-align: center;
    font-size: 1rem;
    color: #A09B8C;
    line-height: 1.5;
    margin-bottom: 25px;
    white-space: pre-line;
}

.custom-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.custom-modal-btn-primary {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.3) 0%, rgba(200, 170, 110, 0.2) 100%);
    border: 2px solid #C8AA6E;
    color: #F0E6D2;
}

.custom-modal-btn-primary:hover {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.4) 0%, rgba(200, 170, 110, 0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 170, 110, 0.4);
}

.custom-modal-btn-secondary {
    background: rgba(15, 30, 45, 0.8);
    border: 2px solid rgba(160, 155, 140, 0.3);
    color: #A09B8C;
}

.custom-modal-btn-secondary:hover {
    background: rgba(25, 40, 55, 0.9);
    border-color: rgba(160, 155, 140, 0.5);
    color: #F0E6D2;
}

/* Toast Container Mobile */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .toast {
        padding: 12px 15px;
    }

    .custom-modal {
        padding: 20px;
        margin: 15px;
    }

    .custom-modal-title {
        font-size: 1.2rem;
    }

    .custom-modal-buttons {
        flex-direction: column;
    }

    .custom-modal-btn {
        width: 100%;
    }
}

/* =====================================================
   LIVE TICKETS COUNTER (Bottom Style)
   ===================================================== */

.live-tickets-counter {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2) 0%, rgba(15, 30, 45, 0.95) 100%);
    border: 2px solid rgba(200, 170, 110, 0.6);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 15px auto;
    max-width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(200, 170, 110, 0.2);
}

.live-tickets-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.2), transparent);
    transition: left 0.5s ease;
}

.live-tickets-counter.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.live-tickets-counter.pulse::before {
    left: 100%;
}

.live-tickets-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.live-tickets-icon {
    font-size: 1.2rem;
}

.live-tickets-label {
    font-size: 0.85rem;
    color: #C8AA6E;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.live-tickets-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C8AA6E;
    text-shadow: 0 2px 10px rgba(200, 170, 110, 0.5);
    transition: all 0.3s ease;
    line-height: 1;
}

.live-tickets-value.pulse {
    animation: ticketPulseAnim 0.5s ease;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
}

@keyframes ticketPulseAnim {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.live-tickets-plus {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #4CAF50;
    opacity: 0;
    pointer-events: none;
}

.live-tickets-plus.show {
    animation: ticketFloatUp 1.2s ease forwards;
}

@keyframes ticketFloatUp {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-80%) scale(1.3);
    }
    100% {
        opacity: 0;
        transform: translateY(-120%) scale(0.8);
    }
}

.live-tickets-subtitle {
    font-size: 0.7rem;
    color: #A09B8C;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .live-tickets-counter {
        padding: 12px 15px;
        margin: 10px auto;
        max-width: 250px;
    }

    .live-tickets-value {
        font-size: 2rem;
    }

    .live-tickets-label {
        font-size: 0.75rem;
    }
}

/* =====================================================
   FIX: AD SIDEBAR SPACING - MUST BE AT END TO OVERRIDE
   ===================================================== */
@media (min-width: 1400px) {
    /* Adjust mode selection screen to respect ad sidebars */
    .mode-selection-screen {
        padding-left: 200px !important;
        padding-right: 200px !important;
        max-width: calc(100% - 40px) !important;
        margin: 0 auto !important;
    }

    /* Ensure home layout doesn't overflow */
    .home-layout {
        max-width: 1000px !important;
        margin: 0 auto !important;
    }

    /* Mode options centered with proper spacing */
    .home-layout .mode-options {
        max-width: 100% !important;
        justify-content: center !important;
    }

    /* Grid items also respect the space */
    .home-grid {
        max-width: 100% !important;
    }

    .home-grid-items {
        max-width: 100% !important;
    }
}

/* Extra large screens need more spacing */
@media (min-width: 1600px) {
    .mode-selection-screen {
        padding-left: 220px !important;
        padding-right: 220px !important;
    }

    .home-layout {
        max-width: 1100px !important;
    }
}

/* Very large screens */
@media (min-width: 1800px) {
    .mode-selection-screen {
        padding-left: 240px !important;
        padding-right: 240px !important;
    }

    .home-layout {
        max-width: 1200px !important;
    }
}

/* =====================================================
   FIX: DAILY ROTATION SCREEN - PC NO-SCROLL
   ===================================================== */
@media (min-width: 769px) {
    /* Daily rotation screen fills available space without scroll */
    .daily-rotation-screen {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px 20px !important;
        max-height: calc(100vh - 80px);
        overflow: hidden;
    }

    /* Título más compacto */
    .rotation-title {
        font-size: 1.8rem !important;
        margin-bottom: 5px !important;
    }

    .rotation-date {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
    }

    /* Challenges container - fills available space */
    .rotation-challenges {
        flex: 1;
        gap: 10px !important;
        margin-bottom: 15px !important;
        overflow-y: auto;
        max-height: calc(100vh - 280px);
    }

    /* Cards más compactas */
    .rotation-challenge-card {
        padding: 12px 15px !important;
        gap: 12px !important;
        border-radius: 10px !important;
    }

    .challenge-number {
        font-size: 1.3rem !important;
        min-width: 35px !important;
    }

    .challenge-icon {
        font-size: 2rem !important;
        min-width: 40px !important;
    }

    .challenge-icon i {
        font-size: 1.6rem !important;
    }

    .challenge-name {
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }

    .challenge-description {
        font-size: 0.8rem !important;
    }

    /* Actions más compactas */
    .rotation-actions {
        gap: 10px !important;
        flex-shrink: 0;
    }

    .rotation-actions .btn-primary,
    .rotation-actions .btn-secondary {
        padding: 10px 25px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }
}

/* Para pantallas PC más grandes */
@media (min-width: 1200px) {
    .daily-rotation-screen {
        padding: 15px 30px !important;
    }

    .rotation-title {
        font-size: 2rem !important;
    }

    .rotation-challenges {
        gap: 12px !important;
        max-height: calc(100vh - 260px);
    }

    .rotation-challenge-card {
        padding: 15px 20px !important;
        gap: 15px !important;
    }

    .challenge-name {
        font-size: 1.2rem !important;
    }

    .challenge-description {
        font-size: 0.85rem !important;
    }

    .rotation-actions .btn-primary,
    .rotation-actions .btn-secondary {
        padding: 12px 30px !important;
        font-size: 0.95rem !important;
    }
}

/* ========== GUESS ITEM MINIGAME STYLES ========== */

.guess-item-container {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 20px;
}

.guess-item-container .loldle-card {
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.98), rgba(5, 15, 30, 0.99));
    border-radius: 12px;
    padding: 22px;
    border: 2px solid rgba(200, 170, 110, 0.4);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 45px rgba(200, 170, 110, 0.05);
}

.guess-item-container .loldle-card h2 {
    color: #F0E6D2;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guess-item-container .loldle-subtitle {
    color: #A09B8C;
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.item-question-type {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
    padding: 9px 12px;
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.1), rgba(0, 0, 0, 0.3));
    border-radius: 8px;
    border: 1px solid rgba(200, 170, 110, 0.2);
}

.item-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 9px;
    border: 1px solid rgba(200, 170, 110, 0.15);
}

.item-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.item-icon-large {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 2px solid rgba(200, 170, 110, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 22px rgba(200, 170, 110, 0.1);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.item-icon-large:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 30px rgba(200, 170, 110, 0.2);
}

.item-name-display {
    color: #C8AA6E;
    font-size: 1rem;
    font-weight: bold;
    margin: 8px 0 0 0;
    text-align: center;
}

.item-hint {
    color: #888;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* Recipe components display */
.recipe-components {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(0, 0, 0, 0.3));
    border-radius: 14px;
    border: 2px solid rgba(76, 175, 80, 0.4);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.item-icon-component {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid rgba(200, 170, 110, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    background: rgba(0, 0, 0, 0.2);
}

.item-icon-component:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.recipe-plus {
    color: #4CAF50;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
/* ================================================
   SECTION DIVIDER
   ================================================ */
.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 10px 20px 10px;
    opacity: 0.8;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 170, 110, 0.5), transparent);
}

.divider-text {
    color: #C8AA6E;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.divider-text i {
    font-size: 0.7rem;
    color: #FFD700;
}

/* Desktop: Divider más compacto */
@media (min-width: 769px) {
    .section-divider {
        margin: 12px 0 10px 0;
    }

    .divider-text {
        font-size: 0.65rem;
        gap: 4px;
    }

    .divider-text i {
        font-size: 0.6rem;
    }
}

/* ================================================
   STREAMER PROMOTION SPACES
   ================================================ */

/* MÓVIL: Visible con diseño adaptado */
.streamer-promotion-section {
    display: block;
    margin-top: 0;
    padding: 15px;
    background: rgba(15, 30, 45, 0.6);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 12px;
}

/* DESKTOP: Diseño compacto */
@media (min-width: 769px) {
    .streamer-promotion-section {
        margin-top: 4px;
        padding: 10px;
        border-radius: 8px;
    }
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

/* MÓVIL: Tamaños más grandes */
.promotion-title {
    color: #C8AA6E;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promotion-title i {
    font-size: 1.2rem;
}

.how-to-promote-btn {
    background: transparent;
    border: 1px solid rgba(200, 170, 110, 0.5);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #C8AA6E;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* DESKTOP: Tamaños compactos */
@media (min-width: 769px) {
    .promotion-header {
        margin-bottom: 8px;
    }

    .promotion-title {
        font-size: 0.7rem;
        gap: 4px;
    }

    .promotion-title i {
        font-size: 0.85rem;
    }

    .how-to-promote-btn {
        border-radius: 5px;
        padding: 4px 8px;
        font-size: 0.6rem;
        gap: 3px;
    }
}

.how-to-promote-btn:hover {
    background: rgba(200, 170, 110, 0.1);
    border-color: #C8AA6E;
}

/* Promo Info Popup */
.promo-info-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 320px;
    max-width: 90vw;
}

.promo-info-popup.active {
    display: block;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Overlay para el popup */
.promo-info-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.promo-info-overlay.active {
    display: block;
}

.promo-info-content {
    background: rgba(1, 10, 19, 0.98);
    border: 1px solid #C89B3C;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.promo-info-content h4 {
    color: #C89B3C;
    font-size: 0.9rem;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.promo-info-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.promo-info-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: #F0E6D2;
}

.step-number {
    background: #C89B3C;
    color: #0A1428;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.promo-info-benefit {
    background: rgba(200, 155, 60, 0.15);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #C8AA6E;
    margin-bottom: 12px;
}

.promo-info-benefit i {
    font-size: 1rem;
}

.promo-info-close {
    width: 100%;
    background: linear-gradient(135deg, #C89B3C 0%, #785A28 100%);
    border: none;
    border-radius: 4px;
    padding: 8px;
    color: #0A1428;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-info-close:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(200, 155, 60, 0.3);
}

/* Incentive message - MÓVIL */
.promotion-incentive {
    text-align: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: linear-gradient(90deg, rgba(200, 155, 60, 0.15), rgba(200, 155, 60, 0.25), rgba(200, 155, 60, 0.15));
    border-radius: 8px;
    border: 1px solid rgba(200, 155, 60, 0.4);
    box-shadow: 0 2px 10px rgba(200, 155, 60, 0.1);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(200, 155, 60, 0.1);
    }
    50% {
        box-shadow: 0 2px 15px rgba(200, 155, 60, 0.25);
    }
}

.incentive-text {
    color: #FFD700;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* DESKTOP: Incentive más compacto */
@media (min-width: 769px) {
    .promotion-incentive {
        margin-bottom: 8px;
        padding: 6px 10px;
        border-radius: 4px;
    }

    .incentive-text {
        font-size: 0.65rem;
    }
}

/* MÓVIL: Grid de 6 filas con scroll horizontal */
/* Orden de columnas: Premium (1ra), Medium (2da), Basic (3ra+) */
.promotion-grid {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: 140px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 170, 110, 0.5) rgba(15, 30, 45, 0.3);
    max-height: 780px;
}

/* Scrollbar personalizado para WebKit (Chrome, Safari) */
.promotion-grid::-webkit-scrollbar {
    height: 6px;
}

.promotion-grid::-webkit-scrollbar-track {
    background: rgba(15, 30, 45, 0.3);
    border-radius: 10px;
}

.promotion-grid::-webkit-scrollbar-thumb {
    background: rgba(200, 170, 110, 0.5);
    border-radius: 10px;
}

.promotion-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 170, 110, 0.7);
}

/* MÓVIL: Cards del grid */
.promo-space {
    width: 140px;
    height: 120px;
    scroll-snap-align: start;
}

/* MÓVIL: Orden de columnas - Premium primero, luego Medium, luego Basic */
.promo-space.size-large {
    order: 1;
}

.promo-space.size-medium {
    order: 2;
}

.promo-space.size-small {
    order: 3;
}

/* MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
    .promotion-grid {
        grid-auto-columns: 120px;
        gap: 8px;
        max-height: 690px;
    }

    .promo-space {
        width: 120px;
        height: 105px;
    }

    .streamer-promotion-section {
        padding: 10px;
    }
}

/* DESKTOP: 6 columnas grid */
@media (min-width: 769px) {
    .promotion-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto auto auto auto auto;
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: 6px;
        overflow-x: visible;
        overflow-y: visible;
        padding-bottom: 0;
        max-height: none;
    }

    .promo-space {
        width: auto;
        height: auto;
    }

    /* Reset order en desktop - mantener orden del HTML */
    .promo-space.size-large,
    .promo-space.size-medium,
    .promo-space.size-small {
        order: 0;
    }
}

/* Different space sizes */
.promo-space {
    background: rgba(10, 25, 41, 0.8);
    border: 2px dashed rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.promo-space.empty {
    cursor: pointer;
}

.promo-space.empty:hover {
    border-color: rgba(200, 170, 110, 0.5);
    background: rgba(200, 170, 110, 0.1);
}

.promo-space.occupied {
    border-style: solid;
    border-color: rgba(145, 70, 255, 0.4);
    cursor: pointer;
}

.promo-space.occupied:hover {
    border-color: #9146FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.3);
}

/* Size variations */
/* MÓVIL: En el carrusel todos los tamaños son iguales */
.promo-space.size-large,
.promo-space.size-medium,
.promo-space.size-small {
    /* Tamaños definidos arriba en .promo-space dentro de móvil */
}

/* DESKTOP: Tamaños variables */
@media (min-width: 769px) {
    .promo-space.size-large {
        grid-column: span 2;
        grid-row: span 2;
        min-height: 106px;
        aspect-ratio: auto;
    }

    .promo-space.size-medium {
        grid-column: span 2;
        min-height: 48px;
        aspect-ratio: auto;
    }

    .promo-space.size-small {
        min-height: 48px;
        aspect-ratio: auto;
    }
}

/* Occupied space content */
.promo-occupied-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    width: 100%;
    height: 100%;
}

.promo-occupied-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.size-large .promo-occupied-avatar {
    width: 50px;
    height: 50px;
}

.promo-occupied-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.promo-occupied-name {
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.size-large .promo-occupied-name {
    font-size: 0.85rem;
}

.promo-occupied-count {
    font-size: 0.55rem;
    color: #A09B8C;
    white-space: nowrap;
}

.size-large .promo-occupied-count {
    font-size: 0.7rem;
}

.promo-follow-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.size-large .promo-follow-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
}

/* Twitch occupied slot */
.promo-space.occupied.platform-twitch {
    border-color: rgba(145, 70, 255, 0.4);
}

.promo-space.occupied.platform-twitch:hover {
    border-color: #9146FF;
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.3);
}

.promo-space.occupied.platform-twitch .promo-follow-btn {
    background: #9146FF;
    color: white;
}

.promo-space.occupied.platform-twitch .promo-follow-btn:hover {
    background: #7d3bdb;
}

/* YouTube occupied slot */
.promo-space.occupied.platform-youtube {
    border-color: rgba(255, 0, 0, 0.4);
}

.promo-space.occupied.platform-youtube:hover {
    border-color: #FF0000;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.promo-space.occupied.platform-youtube .promo-follow-btn {
    background: #FF0000;
    color: white;
}

.promo-space.occupied.platform-youtube .promo-follow-btn:hover {
    background: #cc0000;
}

/* Already followed state */
.promo-follow-btn.followed {
    background: rgba(74, 222, 128, 0.2) !important;
    color: #4ade80 !important;
    cursor: default;
}

.promo-follow-btn.followed:hover {
    background: rgba(74, 222, 128, 0.3) !important;
}

/* Ticket badge on follow button */
.ticket-badge {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.7em;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Ticket reward notification */
.ticket-reward-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: linear-gradient(135deg, #C89B3C 0%, #785A28 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(200, 155, 60, 0.5);
    transition: transform 0.3s ease;
    font-weight: 600;
}

.ticket-reward-notification.show {
    transform: translateX(-50%) translateY(0);
}

.ticket-reward-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-icon {
    font-size: 1.5rem;
}

.ticket-text {
    font-size: 1rem;
}

/* Follow login prompt */
.follow-login-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(1, 10, 19, 0.95);
    border: 1px solid #C89B3C;
    color: #F0E6D2;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 10000;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.follow-login-prompt.show {
    transform: translateX(-50%) translateY(0);
}

.prompt-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Empty space content */
.promo-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
}

.promo-empty-content i {
    font-size: 1.2rem;
    color: rgba(200, 170, 110, 0.4);
    margin-bottom: 4px;
    display: block;
}

.promo-empty-content .size-label {
    font-size: 0.6rem;
    color: rgba(200, 170, 110, 0.5);
    text-transform: uppercase;
    font-weight: 600;
}

.promo-empty-content .price-label {
    font-size: 0.5rem;
    color: #C8AA6E;
    margin-top: 2px;
}

/* Promotion Modal */
.promotion-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.promotion-modal.active {
    display: flex;
}

.promotion-modal-content {
    background: linear-gradient(135deg, #0A1929 0%, #0F1E2D 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.promotion-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.promotion-modal-header h2 {
    color: #F0E6D2;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.promotion-modal-header h2 i {
    color: #C8AA6E;
}

.close-promotion-modal {
    background: none;
    border: none;
    color: #A09B8C;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.close-promotion-modal:hover {
    color: #F0E6D2;
}

.promotion-modal-body {
    padding: 20px;
}

/* Step indicator */
.promo-steps {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.promo-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(200, 170, 110, 0.2);
    border: 2px solid rgba(200, 170, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A09B8C;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.promo-step.active {
    background: #C8AA6E;
    border-color: #C8AA6E;
    color: #010A13;
}

.promo-step.completed {
    background: #4ade80;
    border-color: #4ade80;
    color: white;
}

/* Platform selection */
.platform-selection {
    margin-bottom: 20px;
}

.platform-selection h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.platform-options {
    display: flex;
    gap: 10px;
}

.platform-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: rgba(15, 30, 45, 0.8);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-option i {
    font-size: 2rem;
}

.platform-option[data-platform="twitch"] i {
    color: #9146FF;
}

.platform-option[data-platform="youtube"] i {
    color: #FF0000;
}

.platform-option span {
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.85rem;
}

.platform-option:hover {
    border-color: rgba(200, 170, 110, 0.5);
    transform: translateY(-2px);
}

.platform-option.selected[data-platform="twitch"] {
    border-color: #9146FF;
    background: rgba(145, 70, 255, 0.1);
}

.platform-option.selected[data-platform="youtube"] {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.1);
}

/* Size selection */
.size-selection {
    margin-bottom: 20px;
}

.size-selection h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.size-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-option {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.size-option:hover {
    border-color: rgba(200, 170, 110, 0.5);
    background: rgba(200, 170, 110, 0.1);
}

.size-option.selected {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
}

.size-option-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.size-preview {
    background: rgba(200, 170, 110, 0.3);
    border-radius: 4px;
}

.size-preview.preview-large {
    width: 40px;
    height: 40px;
}

.size-preview.preview-medium {
    width: 40px;
    height: 20px;
}

.size-preview.preview-small {
    width: 20px;
    height: 20px;
}

.size-name {
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.85rem;
}

.size-price {
    color: #C8AA6E;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Duration selection */
.duration-selection {
    margin-bottom: 20px;
}

.duration-selection h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.duration-option {
    background: rgba(15, 30, 45, 0.5);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.duration-option:hover {
    border-color: rgba(200, 170, 110, 0.5);
}

.duration-option.selected {
    border-color: #C8AA6E;
    background: rgba(200, 170, 110, 0.15);
}

.duration-time {
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
}

.duration-price {
    color: #C8AA6E;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* Twitch/YouTube connection */
.twitch-connection,
.youtube-connection {
    margin-bottom: 20px;
}

.twitch-connection h3,
.youtube-connection h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.twitch-connect-btn {
    width: 100%;
    background: linear-gradient(135deg, #9146FF 0%, #6441A5 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.twitch-connect-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(145, 70, 255, 0.3);
}

.youtube-connect-btn {
    width: 100%;
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.youtube-connect-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

/* Connected state */
.twitch-connected,
.youtube-connected {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
}

.twitch-connected {
    background: rgba(145, 70, 255, 0.1);
    border: 2px solid rgba(145, 70, 255, 0.3);
}

.youtube-connected {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
}

.twitch-connected-avatar,
.youtube-connected-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.twitch-connected-avatar {
    border: 2px solid #9146FF;
}

.youtube-connected-avatar {
    border: 2px solid #FF0000;
}

.twitch-connected-info,
.youtube-connected-info {
    flex: 1;
}

.twitch-connected-name,
.youtube-connected-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.twitch-connected-status,
.youtube-connected-status {
    color: #4ade80;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.twitch-disconnect-btn,
.youtube-disconnect-btn {
    background: transparent;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.twitch-disconnect-btn {
    border: 1px solid rgba(145, 70, 255, 0.5);
    color: #9146FF;
}

.twitch-disconnect-btn:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: #9146FF;
}

.youtube-disconnect-btn {
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #FF0000;
}

.youtube-disconnect-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #FF0000;
}

/* Order summary */
.order-summary {
    margin-bottom: 20px;
}

.order-summary h3 {
    color: #C8AA6E;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(200, 170, 110, 0.1);
}

.order-item-label {
    color: #A09B8C;
    font-size: 0.85rem;
}

.order-item-value {
    color: #F0E6D2;
    font-weight: 600;
    font-size: 0.85rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: 8px;
}

.order-total-label {
    color: #F0E6D2;
    font-weight: 700;
    font-size: 1rem;
}

.order-total-value {
    color: #C8AA6E;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Action buttons */
.promo-action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.promo-btn-back {
    flex: 1;
    background: rgba(15, 30, 45, 0.8);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 8px;
    padding: 10px;
    color: #A09B8C;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn-back:hover {
    border-color: #C8AA6E;
    color: #F0E6D2;
}

.promo-btn-next {
    flex: 2;
    background: linear-gradient(135deg, #C8AA6E 0%, #9A7B4F 100%);
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #010A13;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-btn-next:hover {
    transform: scale(1.02);
    box-shadow: 0 3px 15px rgba(200, 170, 110, 0.4);
}

.promo-btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* PayPal container */
#paypal-button-container {
    margin-top: 15px;
}

/* Success state */
.promo-success {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.promo-success-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 155, 60, 0.3) 0%, transparent 70%);
    animation: pulseGlow 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.promo-success-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.promo-success-icon i {
    font-size: 4rem;
    color: #C89B3C;
    filter: drop-shadow(0 0 20px rgba(200, 155, 60, 0.5));
    animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

.promo-success h3 {
    color: #C89B3C;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.promo-success-main {
    color: #F0E6D2;
    font-size: 1rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.promo-success-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.success-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #A09B8C;
    font-size: 0.85rem;
}

.success-detail-item i {
    color: #C89B3C;
    font-size: 1rem;
}

.promo-success-btn {
    background: linear-gradient(135deg, #C89B3C 0%, #785A28 100%);
    border: 2px solid #C89B3C;
    color: #0A1428;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(200, 155, 60, 0.3);
}

.promo-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 155, 60, 0.5);
    background: linear-gradient(135deg, #d4a84a 0%, #8a6830 100%);
}

.promo-success-btn:active {
    transform: translateY(0);
}

.promo-success-btn i {
    font-size: 1.1rem;
}

/* Price options grid */
.item-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.item-price-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(40, 55, 80, 0.9), rgba(30, 40, 60, 0.95));
    border: 2px solid rgba(200, 170, 110, 0.35);
    border-radius: 12px;
    color: #F0E6D2;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.item-price-option:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(60, 80, 110, 0.95), rgba(50, 70, 100, 0.98));
    border-color: rgba(200, 170, 110, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.item-price-option:disabled {
    cursor: not-allowed;
    opacity: 0.75;
}

.item-price-option.correct {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.5), rgba(56, 142, 60, 0.6)) !important;
    border-color: #4CAF50 !important;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3) !important;
}

.item-price-option.incorrect {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.5), rgba(211, 47, 47, 0.6)) !important;
    border-color: #f44336 !important;
    box-shadow: 0 4px 16px rgba(244, 67, 54, 0.3) !important;
}

/* Session display for Guess Item */
.guess-item-container .game-rewards-display {
    margin-bottom: 20px;
}

.guess-item-container .item-session-display {
    background: linear-gradient(135deg, rgba(200, 170, 110, 0.2), rgba(15, 30, 45, 0.9));
    border: 2px solid rgba(200, 170, 110, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Responsive styles for Guess Item */
@media (max-width: 480px) {
    .guess-item-container {
        padding: 10px;
    }

    .guess-item-container .loldle-card {
        padding: 15px;
    }

    .item-question-type {
        font-size: 1rem;
    }

    .item-icon-large {
        width: 64px;
        height: 64px;
    }

    .item-icon-component {
        width: 48px;
        height: 48px;
    }

    .recipe-plus {
        font-size: 1.2rem;
    }

    .item-options-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .item-price-option {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .item-name-display {
        font-size: 1.1rem;
    }
}

/* ================================
   OPTIMIZACIÓN MÓVIL PARA RANKING
   Pantallas pequeñas (≤400px)
   ================================ */
@media (max-width: 400px) {
    /* Ocultar icono de rank para liberar espacio */
    .rank-icon {
        display: none;
    }

    .player-rank {
        display: none;
    }

    /* Ocultar columna de tiempo para más espacio al nombre */
    .ranking-time {
        display: none !important;
    }

    /* Ajustar grid sin columna de tiempo: rank | username | points */
    .ranking-header,
    .ranking-row {
        grid-template-columns: 30px 1fr 80px;
        gap: 4px;
    }

    /* Ocultar header de tiempo también */
    .ranking-header .ranking-time {
        display: none;
    }

    /* Más espacio para el nombre del jugador */
    .player-name {
        font-size: 0.85rem;
        max-width: 100%;
    }

    /* Avatar un poco más pequeño para dar más espacio al nombre */
    .ranking-avatar {
        width: 28px;
        height: 28px;
    }

    /* Ajustar gap en ranking-name-row */
    .ranking-name-row {
        gap: 6px;
    }

    /* Stats de usuario más compactas */
    .ranking-user-stats {
        font-size: 0.65rem;
        gap: 4px;
    }
}
