/* UI Evolution for Roleta da Sorte - Minimalist & Focused Design */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    /* Cores personalizáveis (herdam do branding quando disponível) */
    --primary-glow: var(--preview-primary, #c93232);
    --secondary-glow: var(--preview-secondary, #e5e7eb);
    --accent-color: var(--preview-accent, #f59e0b);

    /* Cores base */
    --success-green: #10b981;
    --error-red: #ef4444;
    --text-light: #ffffff;
    --background-dark: #0d1117;
    --card-bg: rgba(31, 41, 55, 0.5);
    --card-border: rgba(255, 255, 255, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, var(--primary-glow) -50%, transparent 40%),
        radial-gradient(circle at 85% 30%, var(--secondary-glow) -50%, transparent 25%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    min-height: 100vh;
    color: var(--text-light);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(69, 177, 209, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(150, 206, 180, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Layout Principal */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 15px;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    position: relative;
}

/* Header Section */
.header-section {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.lang-button {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #4ECDC4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-button.active {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-color: #4ECDC4;
    color: white;
}

.lang-button .flag {
    font-size: 1.5rem;
    display: block;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Action Section */
.action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Elementos Flutuantes */
.main-logo {
    max-height: 120px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    -webkit-filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

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

.hidden {
    display: none;
}

/* Input group with inline action (e.g., show/hide password) */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .input-field {
    width: 100%;
    padding-right: 44px; /* space for toggle */
}

.input-group .input-toggle {
    position: absolute;
    right: 8px;
    height: 30px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--card-border);
    background: rgba(255,255,255,0.06);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.input-group .input-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.main-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.main-catchphrase {
    font-size: 0.95rem;
    opacity: 0.7;
    text-align: center;
    margin-top: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.footer-text {
    font-size: 1rem;
    opacity: 0.7;
    text-align: center;
}

/* Secção da Roleta (Protagonista) */
.wheel-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    animation: zoomIn 1s ease-out 0.4s both;
}

@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

.wheel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.wheel-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 0 auto;
    transition: var(--transition);
}

.wheel-wrapper:hover {
    transform: scale(1.02);
}

/* Language Status with Flags */
.wheel-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flag-status {
    font-size: 1.8rem;
    opacity: 0.4;
    transition: var(--transition);
    cursor: pointer;
    -webkit-filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    transform: scale(0.9);
}

.flag-status:hover {
    opacity: 0.8;
    transform: scale(1);
}

.flag-status.active {
    opacity: 1;
    transform: scale(1.1);
    animation: flagPulse 2s ease-in-out infinite;
}

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

#wheelCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.5),
        0 0 0 12px #0d1117,
        0 0 0 14px rgba(255, 255, 255, 0.1);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, #e5e7eb, #b0b5c0);
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid var(--error-red);
    -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    z-index: 11;
}

/* Botão de Ação */
.spin-button {
    background: linear-gradient(135deg, #F87171, #EF4444, #DC2626);
    border: none;
    border-radius: 60px;
    padding: 20px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 
        0 10px 30px rgba(239, 68, 68, 0.4),
        inset 0 -3px 6px rgba(0,0,0,0.2),
        0 0 0 0 rgba(239, 68, 68, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0.5);
    }
    50% { 
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.6), 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% { 
        box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4), 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.spin-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
}

.spin-button::before {
    left: 125%;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(239, 68, 68, 0.6),
        inset 0 -3px 6px rgba(0,0,0,0.2);
    animation: none;
}

.spin-button:active {
    transform: translateY(-1px) scale(1.02);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.button-icon {
    font-size: 1.4rem;
    -webkit-filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

/* Modals (mantidos com o tema escuro) */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.modal.show { display: flex; }
.modal-content { background: rgba(31, 41, 55, 0.8); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: var(--border-radius); border: 1px solid var(--card-border); padding: 0; max-width: 500px; width: 100%; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); color: var(--text-light); animation: modalSlideIn 0.3s ease-out; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(50px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-header { background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)); color: var(--text-light); padding: 25px; border-radius: var(--border-radius) var(--border-radius) 0 0; text-align: center; }
.modal-body { padding: 30px; }
.prize-info-modal { text-align: center; margin-bottom: 20px; padding: 10px; background-color: rgba(17, 24, 39, 0.8); border-radius: 8px; font-size: 1rem; border: 1px solid var(--card-border); }
.prize-info-modal strong { color: var(--secondary-glow); font-weight: 600; }
.question-text { font-size: 1.2rem; font-weight: 500; text-align: center; margin-bottom: 30px; line-height: 1.6; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.option-button { background: rgba(255, 255, 255, 0.05); border: 2px solid var(--card-border); border-radius: 12px; padding: 20px 15px; font-size: 1rem; font-weight: 500; color: var(--text-light); cursor: pointer; transition: var(--transition); }
.option-button:hover { border-color: var(--primary-glow); background: rgba(109, 40, 217, 0.2); transform: translateY(-2px); }
.option-button.correct { background: var(--success-green); border-color: var(--success-green); }
.option-button.incorrect { background: var(--error-red); border-color: var(--error-red); }
.prize-display { background: linear-gradient(135deg, var(--accent-color), #d97706); color: var(--text-dark); padding: 20px; border-radius: 12px; font-size: 1.3rem; font-weight: 600; margin-bottom: 20px; }
.prize-display.loss { background: rgba(255, 255, 255, 0.1) !important; border: 1px solid rgba(255, 255, 255, 0.2); color: var(--text-light); box-shadow: none; }
.close-button { background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow)); color: var(--text-light); border: none; border-radius: 50px; padding: 15px 40px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: var(--transition); }

/* Link de Admin */
.admin-link { position: fixed; top: 20px; right: 20px; font-size: 1.8rem; text-decoration: none; color: rgba(255, 255, 255, 0.7); z-index: 1000; transition: var(--transition); }
.admin-link:hover { transform: scale(1.1) rotate(45deg); color: rgba(255, 255, 255, 1); }

/* Language Selection - Hidden by default, can be activated by admin */
.language-switcher {
    display: none !important;
}

/* Animação de Vencedor */
.winner-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 2000; display: none; align-items: center; justify-content: center; }
.winner-overlay.show { display: flex; }
.winner-content { text-align: center; color: var(--text-light); animation: winnerBounce 1s ease-out; }
@keyframes winnerBounce { 0% { opacity: 0; transform: scale(0.5); } 50% { transform: scale(1.1); } 100% { opacity: 1; transform: scale(1); } }
.winner-title { font-size: 3rem; }
.winner-prize { font-size: 1.8rem; color: var(--accent-color); }

/* Responsivo */
@media (max-width: 768px) {
    .app-container {
        max-width: 500px;
        padding: 20px 15px;
    }
    
    .wheel-wrapper { 
        width: 350px; 
        height: 350px; 
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .main-catchphrase {
        font-size: 1rem;
    }
    
    .spin-button {
        padding: 18px 35px;
        font-size: 1.2rem;
    }
    
    .lang-button {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .lang-button .lang-label {
        display: none;
    }
    
    .wheel-status {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .wheel-wrapper { 
        width: 300px; 
        height: 300px; 
    }
    
    .options-grid { 
        grid-template-columns: 1fr; 
    }
    
    .language-switcher {
        gap: 8px;
        padding: 8px;
    }
    
    .lang-button .flag {
        font-size: 1.4rem;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .spin-button {
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}

/* Remote controller extracted styles */
.remote-center { display:flex; align-items:center; justify-content:center; min-height:100vh; padding:16px; }
.remote-container { width:100%; max-width: 520px; display:flex; flex-direction:column; gap:12px; }
.remote-card { background: var(--card-bg); border:1px solid var(--card-border); border-radius: 16px; padding: clamp(16px, 4vw, 24px); width: 100%; }
.remote-row { display:flex; gap:8px; }
.remote-input { max-width:140px; text-align:center; padding:10px; border-radius:8px; border:1px solid var(--card-border); background: rgba(255,255,255,0.06); color:var(--text-light); }
.remote-buzzer-wrap { display:flex; align-items:center; justify-content:center; padding: 8px 0; }
.remote-buzzer { width: clamp(96px, 22vw, 140px); height: clamp(96px, 22vw, 140px); border-radius: 50%; border: none; background: radial-gradient(circle at 30% 30%, #ff7a7a, #d93636); color:#fff; font-weight:800; letter-spacing:.6px; cursor:pointer; box-shadow: inset 0 6px 12px rgba(255,255,255,0.2), inset 0 -10px 18px rgba(0,0,0,0.38), 0 10px 26px rgba(217,54,54,0.35); display:flex; align-items:center; justify-content:center; text-align:center; animation: buzzerPulse 1.1s ease-in-out infinite; -webkit-user-select:none; user-select:none; }
.remote-buzzer:active { transform: translateY(1px) scale(0.99); }
.remote-buzzer:disabled { opacity:.7; animation:none; cursor:not-allowed; }
@keyframes buzzerPulse { 0%,100% { box-shadow: inset 0 6px 12px rgba(255,255,255,0.2), inset 0 -10px 18px rgba(0,0,0,0.38), 0 0 0 0 rgba(217,54,54,0.45), 0 10px 26px rgba(217,54,54,0.35);} 50% { box-shadow: inset 0 6px 12px rgba(255,255,255,0.22), inset 0 -10px 18px rgba(0,0,0,0.4), 0 0 0 12px rgba(217,54,54,0.0), 0 10px 26px rgba(217,54,54,0.45);} }
.remote-list { display:flex; flex-direction:column; gap:10px; max-height: 40vh; overflow:auto; margin-top:8px; }
.remote-item { display:flex; align-items:center; justify-content:space-between; padding:10px 12px; border:1px solid var(--card-border); border-radius:10px; background: rgba(255,255,255,0.04); }
.remote-options { display:flex; flex-direction:column; gap:10px; margin-top: 10px; }
.remote-hint { margin-top: 6px; font-size: .9rem; opacity: .8; text-align:center; }
.remote-opt { width: 100%; padding: 14px; border-radius: 12px; border:1px solid var(--card-border); color: #fff; font-weight: 600; cursor: pointer; transition: transform .08s ease, filter .2s; }
.remote-opt:active { transform: scale(0.98); }
.remote-opt:disabled { opacity: .7; cursor: not-allowed; }
.remote-opt.o0 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.remote-opt.o1 { background: linear-gradient(135deg, #10b981, #059669); }
.remote-opt.o2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.remote-opt.o3 { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.remote-opt:hover { filter: brightness(1.05); }
.remote-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items:center; justify-content:center; z-index: 2000; }
.remote-overlay.show { display: flex; }
.remote-modal { width: 92vw; max-width: 520px; background: var(--card-bg); border:1px solid var(--card-border); border-radius: 16px; padding: 16px; }
.remote-timerWrap { height: 8px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow:hidden; margin: 8px 0 10px; }
.remote-timerFill { height:100%; width: 100%; background: linear-gradient(90deg, #10b981, #f59e0b, #ef4444); transition: width .2s linear; }
.remote-feedback { text-align:center; font-weight:700; margin-top:8px; }

/* Winner QR Modal Styles */
.winner-qr-modal {
    background: rgba(0, 0, 0, 0.8);
}

.winner-qr-modal .modal-content {
    width: 86vw;
    max-width: 360px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: clamp(16px, 3vw, 28px) clamp(12px, 3vw, 24px);
}

.winner-qr-modal h2 { margin-bottom: 16px; font-size: 22px; }

.prize-celebration {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.prize-celebration .prize-icon { font-size: clamp(36px, 8vw, 48px); margin-bottom: 8px; }

.prize-celebration .prize-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }

.qr-container { background: white; padding: clamp(10px, 2.5vw, 16px); border-radius: 12px; margin: clamp(10px, 2.5vw, 16px) 0; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }

.qr-container h3 { color: #333; margin-bottom: 10px; font-size: 16px; }

.qr-code-wrapper { display:flex; justify-content:center; margin: 12px 0; }

.qr-instructions { color:#666; font-size: 13px; line-height: 1.45; margin-top: 10px; }

.qr-url {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    color: #333;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    margin-top: 10px;
}

.winner-actions { display:flex; gap:10px; justify-content:center; margin-top: 18px; }

.winner-actions button { padding: 10px 18px; border:none; border-radius:10px; font-size:14px; font-weight:600; cursor:pointer; transition: all .3s ease; }

.skip-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.close-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
}

.close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

@media (max-width: 768px) {
    .winner-qr-modal .modal-content {
        margin: 10px;
        padding: 30px 20px;
    }
    
    .qr-container {
        padding: 20px;
    }
    
    .winner-actions {
        flex-direction: column;
    }
    
    .winner-actions button {
        width: 100%;
    }
}

/* Confetti Effect */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* Enhanced Spin Button */
.spin-button {
    background: linear-gradient(135deg, #FF6B6B, #EE5253, #FF4757);
    border: none;
    border-radius: 50px;
    padding: 22px 50px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 10px 25px rgba(255, 71, 87, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.spin-button:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(255, 71, 87, 0.5),
        0 0 0 6px rgba(255, 255, 255, 0.2);
}

.spin-button:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

/* Modern Modal Design */
.modal-content {
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.modal-header {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.05), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
}

.modal-header h2 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.option-button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.option-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-glow);
    transform: translateY(-2px);
}

/* Manual Entry Form Styles */
.manual-entry-form {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

.manual-entry-form h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #fff;
}

.form-group {
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #4ECDC4;
    background: rgba(0, 0, 0, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4ECDC4, #45B7D1);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

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

.manual-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.manual-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

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