/**
 * English Trainer - Style Global
 * Design moderne avec fond image et éléments graphiques
 */

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* MOBILE RESET - Forcer pleine largeur */
@media (max-width: 768px) {
    html, body, .page-container, main, .main-content {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    
    .main-content > *,
    .vocab-layout,
    .vocab-main,
    .vocab-main > *,
    .flashcard,
    .quiz-options,
    .btn-group,
    .card,
    .word-bank,
    .sentence-build {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

:root {
    --primary: #667eea;
    --vocab-color: #FF6B6B;
    --verbs-color: #4ECDC4;
    --sentences-color: #FFE66D;
    --stats-color: #A66CFF;
    --admin-color: #FF8C42;
    --revision-color: #06D6A0;
    --success: #06D6A0;
    --danger: #FF6B6B;
    --warning: #FFE66D;
    --dark: #1a1a2e;
    --dark-light: #16213e;
}

html {
    height: -webkit-fill-available;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   BACKGROUND
   ======================================== */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
    display: none; /* Caché par défaut */
}

/* Afficher l'image seulement sur grands écrans */
@media (min-width: 769px) {
    .bg-image {
        display: block;
    }
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.93) 0%,
        rgba(30, 41, 59, 0.90) 50%,
        rgba(15, 23, 42, 0.93) 100%
    );
}

/* Particules décoratives - desktop only */
.particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.06;
    display: none;
}

@media (min-width: 769px) {
    .particle {
        display: block;
    }
}

.particle-1 {
    width: 250px;
    height: 250px;
    background: var(--vocab-color);
    top: -80px;
    right: -80px;
    filter: blur(60px);
}

.particle-2 {
    width: 200px;
    height: 200px;
    background: var(--verbs-color);
    bottom: -60px;
    left: -60px;
    filter: blur(50px);
}

/* ========================================
   LAYOUT
   ======================================== */
.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (max-width: 768px) {
    .page-container {
        padding: 0;
        width: 100%;
    }
    
    /* TOUT en pleine largeur */
    .main-content,
    .flashcard,
    .quiz-options,
    .btn-group,
    .card,
    .vocab-layout,
    .vocab-main,
    .mode-selector,
    .word-bank,
    .sentence-build {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.navbar {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Desktop navbar visible, mobile cachée par défaut */
.navbar-desktop { display: flex; }
.navbar-mobile { display: none; }

@media (max-width: 768px) {
    .navbar-desktop { display: none; }
    .navbar-mobile { 
        display: flex; 
        padding: 0.4rem 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-nav-links {
        display: flex;
        gap: 0.25rem;
    }
    
    .mobile-nav-btn {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: none;
        background: rgba(255,255,255,0.1);
        color: white;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        cursor: pointer;
    }
    
    .mobile-nav-btn.active {
        background: rgba(102, 126, 234, 0.4);
    }
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--vocab-color), var(--verbs-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
}

.navbar-nav {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    list-style: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-link:hover, .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.12);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .main-content {
        max-width: 100%;
        padding: 0.5rem;
    }
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: white;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

/* ========================================
   FLASHCARD
   ======================================== */
.flashcard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.flashcard-word {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.flashcard-translation {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
}

.flashcard-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

/* ========================================
   QUIZ OPTIONS
   ======================================== */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.quiz-option.correct {
    background: rgba(6, 214, 160, 0.3);
    border-color: var(--success);
    color: var(--success);
}

.quiz-option.incorrect {
    background: rgba(255, 107, 107, 0.3);
    border-color: var(--danger);
    color: var(--danger);
}

/* Timer de réflexion */
.thinking-timer {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 1rem;
}

.hidden-answer {
    opacity: 0;
    pointer-events: none;
}

.reveal {
    opacity: 1;
    pointer-events: auto;
}

/* Animation supprimée - affichage instantané */

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #05BF8E);
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #E85555);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-group {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   FILTERS / BADGES
   ======================================== */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.filter-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
}

.filter-badge:hover, .filter-badge.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.filter-badge-a2 {
    background: rgba(78, 205, 196, 0.2);
    color: var(--verbs-color);
    border-color: var(--verbs-color);
}

.filter-badge-b1 {
    background: rgba(255, 107, 107, 0.2);
    color: var(--vocab-color);
    border-color: var(--vocab-color);
}

/* ========================================
   MODE SELECTOR
   ======================================== */
.mode-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mode-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.mode-btn.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: var(--primary);
    color: white;
}

/* ========================================
   PROGRESS BAR
   ======================================== */
.progress-bar-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--success), #05BF8E);
    transition: width 0.5s ease;
}

/* ========================================
   STATS
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   FORMS
   ======================================== */
.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--dark);
    color: white;
}

/* ========================================
   SENTENCES / WORD BUILDER
   ======================================== */
.word-bank {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 60px;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.word-chip {
    padding: 0.6rem 1rem;
    background: rgba(102, 126, 234, 0.3);
    border: 2px solid var(--primary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    color: white;
}

.word-chip:hover {
    background: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.word-chip.selected, .word-chip.used {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.sentence-build {
    min-height: 70px;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.answer-word {
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, var(--primary), #764ba2);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
    animation: popIn 0.2s ease;
}

.answer-word:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

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

/* ========================================
   SPEAKER BUTTON
   ======================================== */
.speaker-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: white;
}

.speaker-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* ========================================
   TABLES
   ======================================== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   ALERTS
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(6, 214, 160, 0.2);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* ========================================
   FOOTER
   ======================================== */
.page-footer {
    text-align: center;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.2);
}

.page-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

.animate-fade-in {
    animation: fadeIn 0.4s ease;
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s ease;
}

.animate-shake {
    animation: shake 0.3s ease;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }
    
    .flashcard {
        padding: 2rem 1.5rem;
        min-height: 160px;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .navbar {
        padding: 0.6rem 0.8rem;
    }
    
    .navbar-nav {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .flashcard-word {
        font-size: 1.5rem;
    }
    
    .filters {
        gap: 0.4rem;
    }
    
    .filter-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: rgba(255, 255, 255, 0.5); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.d-none { display: none; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ========================================
   MOBILE OPTIMIZATIONS - EXERCISE VIEW
   ======================================== */
@media (max-width: 768px) {
    /* Cacher les filtres desktop sur mobile */
    .desktop-filters {
        display: none !important;
    }
    
    /* Mode selector plus compact */
    .mode-selector {
        gap: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
    .mode-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    /* Main content compact pour Safari */
    .main-content {
        padding: 0.3rem;
        padding-bottom: env(safe-area-inset-bottom, 10px);
        display: flex;
        flex-direction: column;
        min-height: auto;
        max-height: calc(100vh - 55px);
        overflow-y: auto;
    }
    
    /* Flashcard compacte */
    .flashcard {
        padding: 0.8rem;
        min-height: 80px;
        max-height: 20vh;
        margin-bottom: 0.5rem;
        width: 100% !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .flashcard .flashcard-word,
    .flashcard .question-word,
    .flashcard > div:first-child {
        font-size: 1.5rem !important;
    }
    
    /* Speaker button plus petit */
    .flashcard .speaker-btn,
    .speaker-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    /* Quiz options compacts - 4 réponses visibles */
    .quiz-options {
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        width: 100% !important;
        display: grid !important;
    }
    
    .quiz-option {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    /* Bouton suivant compact */
    .btn-group {
        margin-top: 0.4rem;
        width: 100% !important;
        display: flex;
        flex-direction: column;
    }
    
    .btn-group .btn,
    .btn {
        padding: 0.7rem;
        font-size: 0.9rem;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Cacher éléments non essentiels */
    .card[style*="padding"] {
        padding: 0.4rem !important;
        margin-bottom: 0.3rem;
    }
    
    /* Word bank compact pour sentences */
    .word-bank {
        padding: 0.6rem;
        min-height: 50px;
    }
    
    .word-chip {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    .sentence-build {
        min-height: 50px;
        padding: 0.6rem;
    }
    
    .answer-word {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
    }
    
    /* Vocab layout mobile - FORCER pleine largeur */
    .vocab-layout {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100% !important;
    }
    
    .vocab-main {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100% !important;
        min-width: 100% !important;
    }
    
    /* Tous les enfants aussi */
    .vocab-main > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Panel de réglages mobile */
.mobile-settings-toggle {
    display: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .mobile-settings-toggle {
        display: block;
    }
}

.mobile-settings-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    z-index: 1000;
    padding: 1rem;
    overflow-y: auto;
}

.mobile-settings-panel.show {
    display: block;
}

.mobile-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-settings-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
}

.mobile-settings-section {
    margin-bottom: 1.5rem;
}

.mobile-settings-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.8rem;
}

.mobile-settings-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mobile-settings-btn {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-settings-btn.active {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.3);
}
