* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #0a0a0a;
    --primary-green: #00ff66;
    --accent-brown: #8B4513;
    --text-color: #ffffff;
    --link-border: #1a1a1a;
    --nav-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    background: radial-gradient(ellipse at center, #111111 0%, #000000 100%);
    color: var(--text-color);
    font-family: var(--nav-font);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Contenedor de partículas */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background-color: var(--primary-green);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-15px) translateX(-15px);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-40px) translateX(10px);
        opacity: 0.1;
    }
}

/* Landing principal */
.landing {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Contenedor orbital */
.orbit-container {
    position: relative;
    width: 650px;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Logo de la pera */
.logo-container {
    position: relative;
    z-index: 2;
}

.pear-logo {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 102, 0.4));
    transition: all 0.5s ease;
}

.pear-logo:hover {
    filter: drop-shadow(0 0 35px rgba(0, 255, 102, 0.6));
    transform: scale(1.05);
}

/* Enlaces orbitales */
.orbit-link {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    background: transparent;
    border: 2px solid #333;
    text-decoration: none;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
    z-index: 3;
    pointer-events: auto;
    opacity: 0;
}

.orbit-link.visible {
    opacity: 1;
}

.orbit-link::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.orbit-link:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(0, 255, 102, 0.05);
    transform: scale(1.15);
    box-shadow: 
        0 0 30px rgba(0, 255, 102, 0.2),
        inset 0 0 20px rgba(0, 255, 102, 0.05);
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 700px) {
    .orbit-container {
        width: 420px;
        height: 420px;
    }

    .pear-logo {
        width: 140px;
    }

    .orbit-link {
        width: 100px;
        height: 100px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .orbit-container {
        width: 320px;
        height: 320px;
    }

    .pear-logo {
        width: 100px;
    }

    .orbit-link {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
}

/* Efecto hover en el logo */
.pear-logo:hover .pear-body {
    stroke: #00ff99;
    transition: stroke 0.5s ease;
}

.pear-logo:hover .stem {
    stroke: #a0522d;
    transition: stroke 0.5s ease;
}

/* ==================== */
/* PÁGINA SÁBADOS DE CINE */
/* ==================== */

.cine-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
}

.back-link {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-green);
}

.cine-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cine-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.cine-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.ruleta-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ruleta-link:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(0, 255, 102, 0.05);
}

/* Próxima película */
.next-movie {
    margin-bottom: 4rem;
}

.next-movie h2 {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Contador encima de la card */
.countdown-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.countdown-wrapper .next-date {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Cuenta atrás compacta */
.countdown {
    display: flex;
    gap: 0.3rem;
    align-items: baseline;
}

.countdown-item {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}

.countdown-item::after {
    content: ':';
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    margin-left: 0.3rem;
}

.countdown-item:last-child::after {
    display: none;
}

.countdown-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    font-variant-numeric: tabular-nums;
    min-width: 1.6rem;
    text-align: center;
}

.countdown-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: lowercase;
    letter-spacing: 0;
}

.countdown-live {
    font-size: 1rem;
    color: var(--primary-green);
    animation: pulse 1s ease infinite;
}

/* Botón de Discord cuando llega a cero */
.discord-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    animation: pulse-discord 2s ease infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-live-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(88, 101, 242, 0.6);
}

@keyframes pulse-discord {
    0%, 100% { box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(88, 101, 242, 0.7); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Card de próxima película más grande */
.next-movie-card {
    height: 280px;
}

/* Badge con número de sesión */
.session-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pera-cine-icon {
    width: 50px;
    height: 50px;
}

.session-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-green);
    font-style: italic;
    text-shadow: 0 2px 10px rgba(0, 255, 102, 0.3);
}

/* Historial de películas */
.movie-history {
    margin-bottom: 3rem;
}

.movie-history h2 {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.movie-count {
    color: #555;
    font-weight: 400;
}

/* Grid de películas estilizado */
.movies-list-styled {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.movie-card-styled {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.movie-card-styled:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Imagen de fondo */
.movie-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

.movie-card-styled:hover .movie-bg {
    transform: scale(1.05);
}

/* Overlay con gradiente */
.movie-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.5) 100%);
    transition: background 0.3s ease;
}

.movie-card-styled:hover .movie-card-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.7) 100%);
}

/* Badge de sesión (abajo izquierda) */
.movie-session-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.movie-session-badge .pera-cine-icon {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.movie-session-badge .session-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-green);
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Título (abajo derecha) */
.movie-title-banner {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    text-align: right;
    z-index: 2;
}

.movie-title-banner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1.2;
}

.movie-title-banner .movie-year {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Info que aparece en hover */
.movie-hover-info {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.movie-card-styled:hover .movie-hover-info {
    opacity: 1;
    transform: translateY(0);
}

.movie-date-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--primary-green);
    color: #000;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.movie-hover-info .movie-synopsis {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.movie-hover-info .movie-director {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
}

.movie-hover-footer {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.movie-card-styled:hover .movie-hover-footer {
    opacity: 1;
    transform: translateY(0);
}

.movie-hover-footer .imdb-link {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

/* Lista compacta de películas (legacy) */
.movies-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.movie-row {
    display: grid;
    grid-template-columns: 50px 1fr 2fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.2s ease;
}

.movie-row:first-child {
    border-top: 1px solid #1a1a1a;
}

.movie-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.movie-thumb {
    width: 50px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

.movie-main {
    min-width: 0;
}

.movie-main h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-year {
    color: #555;
    font-weight: 400;
}

.movie-original {
    font-size: 0.8rem;
    color: #444;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-synopsis-compact {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    white-space: nowrap;
}

.imdb-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #111;
    background: #f5c518;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imdb-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 197, 24, 0.2);
}

.imdb-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: #111;
    background: #f5c518;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imdb-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 197, 24, 0.2);
}

.movie-director {
    font-size: 0.75rem;
    color: #555;
}

.movie-date {
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 500;
}

/* Responsive cine */
@media (max-width: 900px) {
    .movies-banner-grid {
        grid-template-columns: 1fr;
    }

    .movies-list-styled {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .movie-row {
        grid-template-columns: 50px 1fr auto;
        gap: 1rem;
    }

    .movie-synopsis-compact {
        display: none;
    }
}

@media (max-width: 600px) {
    .cine-page {
        padding: 1rem;
    }

    .cine-header {
        margin-bottom: 2rem;
    }

    .cine-header h1 {
        font-size: 1.6rem;
    }

    .cine-subtitle {
        font-size: 0.9rem;
    }

    .next-movie {
        margin-bottom: 2.5rem;
    }

    /* Countdown wrapper vertical en móvil */
    .countdown-wrapper {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.8rem 1.2rem;
        border-radius: 16px;
    }

    .countdown-wrapper .next-date {
        padding-right: 0;
        border-right: none;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: center;
        font-size: 0.8rem;
    }

    .countdown {
        gap: 0.2rem;
    }

    .countdown-number {
        font-size: 1.1rem;
        min-width: 1.3rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    .countdown-item::after {
        font-size: 0.9rem;
        margin-left: 0.2rem;
    }

    /* Cards de película */
    .movies-list-styled {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .movie-card-styled {
        height: 180px;
    }

    .next-movie-card {
        height: 220px;
    }

    .movie-session-badge {
        bottom: 0.6rem;
        left: 0.6rem;
    }

    .movie-session-badge .session-number {
        font-size: 1.4rem;
    }

    .movie-title-banner {
        bottom: 0.6rem;
        right: 0.6rem;
    }

    .movie-title-banner h3 {
        font-size: 1rem;
    }

    .movie-title-banner .movie-year {
        font-size: 0.75rem;
    }

    .movie-hover-info {
        top: 0.6rem;
        left: 0.6rem;
        right: 0.6rem;
    }

    .movie-hover-info .movie-synopsis {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
    }

    .movie-hover-info .movie-director {
        font-size: 0.65rem;
    }

    .movie-hover-footer {
        top: 0.6rem;
        right: 0.6rem;
    }

    /* Discord button */
    .discord-live-btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .next-movie-banner {
        height: 250px;
    }

    .next-movie-overlay {
        padding: 1.5rem;
    }

    .next-movie-content h3 {
        font-size: 1.6rem;
    }

    .movie-banner-card {
        height: 240px;
    }

    .movie-banner-content h3 {
        font-size: 1.2rem;
    }

    .movie-synopsis-banner {
        display: none;
    }

    .movie-row {
        grid-template-columns: 45px 1fr auto;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .movie-thumb {
        width: 45px;
        height: 67px;
    }

    .movie-main h3 {
        font-size: 0.9rem;
    }

    .movie-original {
        font-size: 0.7rem;
    }

    .movie-meta {
        gap: 0.15rem;
    }

    .movie-director {
        font-size: 0.7rem;
    }

    .movie-date {
        font-size: 0.75rem;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .cine-header h1 {
        font-size: 1.3rem;
    }

    .movie-card-styled {
        height: 160px;
    }

    .next-movie-card {
        height: 200px;
    }

    .movie-title-banner h3 {
        font-size: 0.9rem;
    }

    .countdown-wrapper {
        padding: 0.6rem 0.8rem;
    }
}

/* ==================== */
/* PÁGINA RULETA DE PELIS */
/* ==================== */

.ruleta-page {
    max-width: 1100px;
}

.ruleta-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Panel izquierdo */
.ruleta-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ruleta-search-section h2,
.ruleta-list-section h2 {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 0.8rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

/* Buscador */
.search-box {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-green);
}

.search-box input::placeholder {
    color: #555;
}

.search-btn {
    padding: 0.7rem 1.2rem;
    background: var(--primary-green);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

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

/* Resultados de búsqueda */
.search-results {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
    border-radius: 10px;
    border: 1px solid transparent;
}

.search-results.visible {
    max-height: 420px;
    overflow-y: auto;
    border-color: rgba(255, 255, 255, 0.08);
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.search-loading,
.search-no-results {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0.7rem;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.search-result-item.already-added {
    opacity: 0.5;
}

.search-result-poster {
    width: 36px;
    height: 54px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
}

.search-result-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #1a1a1a;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.search-result-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-year {
    font-size: 0.7rem;
    color: #666;
}

.add-movie-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--primary-green);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.add-movie-btn:hover:not(:disabled) {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

.add-movie-btn:disabled {
    cursor: default;
    color: #555;
    border-color: rgba(255, 255, 255, 0.06);
}

/* Lista de películas en la ruleta */
.ruleta-movies {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 350px;
    overflow-y: auto;
}

.ruleta-movies::-webkit-scrollbar {
    width: 4px;
}

.ruleta-movies::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.ruleta-empty {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    padding: 2rem 0;
}

.ruleta-movie-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.ruleta-movie-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.ruleta-movie-color {
    width: 6px;
    height: 32px;
    border-radius: 3px;
    flex-shrink: 0;
}

.ruleta-movie-poster {
    width: 28px;
    height: 42px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
}

.ruleta-movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-poster-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    background: #1a1a1a;
}

.ruleta-movie-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ruleta-movie-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ruleta-movie-year {
    font-size: 0.65rem;
    color: #666;
}

.remove-movie-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #555;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.remove-movie-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Panel derecho: Ruleta */
.ruleta-wheel-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-green);
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0, 255, 102, 0.4));
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.6);
    line-height: 1;
}

#wheel-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.spin-btn {
    padding: 0.9rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00cc55 100%);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 102, 0.3);
    letter-spacing: 0.5px;
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 102, 0.5);
}

.spin-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
}

/* Resultado del giro */
.spin-result {
    width: 100%;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.spin-result.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.result-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: rgba(0, 255, 102, 0.05);
    border: 1px solid rgba(0, 255, 102, 0.2);
    border-radius: 12px;
    animation: result-glow 2s ease infinite;
}

@keyframes result-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 255, 102, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 102, 0.25); }
}

.result-poster {
    width: 50px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.result-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-poster-lg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #1a1a1a;
    border-radius: 6px;
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.result-label {
    font-size: 0.75rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.result-year {
    font-size: 0.8rem;
    color: #888;
}

/* Guardar / Cargar / Exportar / Importar */
.ruleta-save-section {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ruleta-save-section h2 {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 0.8rem;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.save-row {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.save-row input {
    flex: 1;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.save-row input:focus {
    border-color: var(--primary-green);
}

.save-row input::placeholder {
    color: #555;
}

.save-btn,
.load-btn,
.delete-saved-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.save-btn:hover {
    background: rgba(0, 255, 102, 0.1);
    border-color: var(--primary-green);
}

.load-btn:hover {
    background: rgba(52, 152, 219, 0.15);
    border-color: #3498db;
}

.delete-saved-btn:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}

.saved-list-wrapper {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.saved-list-wrapper select {
    flex: 1;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ccc;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2rem;
}

.saved-list-wrapper select:focus {
    border-color: var(--primary-green);
}

.saved-list-wrapper select option {
    background: #1a1a1a;
    color: #ccc;
}

.export-row {
    display: flex;
    gap: 0.4rem;
}

.export-btn,
.import-btn {
    flex: 1;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #aaa;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
}

.export-btn:hover {
    background: rgba(0, 255, 102, 0.08);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.import-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
    color: #3498db;
}

.save-feedback {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 1.2rem;
}

.save-feedback.visible {
    opacity: 1;
}

.save-feedback.feedback-ok {
    color: var(--primary-green);
}

.save-feedback.feedback-error {
    color: #e74c3c;
}

/* Responsive ruleta */
@media (max-width: 900px) {
    .ruleta-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ruleta-wheel-section {
        position: static;
        order: -1;
    }

    .wheel-container {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .ruleta-layout {
        gap: 1.5rem;
    }

    .wheel-container {
        width: 280px;
        height: 280px;
    }

    .wheel-pointer {
        font-size: 1.6rem;
        top: -14px;
    }

    .spin-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .result-card {
        padding: 0.8rem;
    }

    .result-title {
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .wheel-container {
        width: 240px;
        height: 240px;
    }
}
