/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Screens */
.screen {
    display: none;
    animation: fadeIn 0.3s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Screen */
.logo {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #e94560, #f9d423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Welcome Leaderboard */
.welcome-leaderboard {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-leaderboard h3 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.leaderboard-mini {
    font-size: 0.85rem;
}

.leaderboard-mini th,
.leaderboard-mini td {
    padding: 6px 4px;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-box p {
    margin: 8px 0;
    font-size: 1rem;
}

.tip-box {
    background: rgba(233, 69, 96, 0.1);
    border-left: 4px solid #e94560;
    padding: 12px 16px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.tip-box p {
    font-size: 0.9rem;
    color: #e0e0e0;
}

/* Nickname Status */
.nickname-status {
    font-size: 0.8rem;
    color: #a0a0a0;
    margin-top: 4px;
    min-height: 1.2em;
}

.nickname-status.returning {
    color: #f9d423;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560, #f9d423);
    color: #fff;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-choice {
    flex: 1;
    padding: 20px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-choice:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.btn-choice:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-choice.selected {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.2);
}

.btn-choice.correct {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
}

.btn-choice.wrong {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.2);
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    background: linear-gradient(135deg, #e94560, #f9d423);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.badge-eval {
    background: linear-gradient(135deg, #4ade80, #22c55e);
}

.practice-count {
    color: #a0a0a0;
}

/* Evaluation Info */
.eval-info {
    text-align: center;
    padding: 8px 16px;
    background: rgba(74, 222, 128, 0.15);
    border-radius: 8px;
    margin-bottom: 16px;
    color: #4ade80;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Stage Badge */
.stage-badge {
    background: linear-gradient(135deg, #e94560, #f9d423);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Progress */
.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e94560, #f9d423);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 0.9rem;
    color: #a0a0a0;
    min-width: 40px;
}

/* Lives Display */
.lives-display {
    display: flex;
    gap: 4px;
    font-size: 1.3rem;
}

.life {
    transition: all 0.3s ease;
}

.life.lost {
    opacity: 0.4;
    filter: grayscale(1);
}

@keyframes lifeLost {
    0% { transform: scale(1); }
    30% { transform: scale(1.4); }
    60% { transform: scale(0.8); }
    100% { transform: scale(1); opacity: 0.4; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}

.lives-display.shake {
    animation: shake 0.5s ease;
}

/* Score */
.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 12px;
}

.score-label {
    font-size: 0.7rem;
    color: #a0a0a0;
    text-transform: uppercase;
}

.score-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9d423;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
}

.stat-icon {
    font-size: 1.2rem;
}

/* Player */
.player-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.waveform {
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.waveform-progress {
    height: 100%;
    background: linear-gradient(90deg, rgba(233, 69, 96, 0.3), rgba(249, 212, 35, 0.3));
    width: 0%;
    transition: width 0.1s linear;
}

.btn-play {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94560, #f9d423);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.2s ease;
}

.btn-play:hover {
    transform: scale(1.1);
}

.play-icon {
    font-size: 24px;
    color: #fff;
    margin-left: 4px;
}

.btn-play.playing .play-icon {
    margin-left: 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.player-controls .btn-play {
    margin: 0;
}

.btn-replay {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    transition: all 0.2s ease;
}

.btn-replay:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.btn-replay:active {
    transform: scale(0.95);
}

.time-display {
    text-align: center;
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Choices */
.choices {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

/* Feedback */
.feedback {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feedback.correct {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.feedback.wrong {
    background: rgba(248, 113, 113, 0.2);
    color: #f87171;
}

.hidden {
    display: none !important;
}

/* ============================================================================
   Stage Intro Screen
   ============================================================================ */

.stage-intro-container {
    text-align: center;
    padding: 40px 20px;
}

.stage-number {
    font-size: 1rem;
    font-weight: 700;
    color: #e94560;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.stage-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #e94560, #f9d423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stage-description {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.stage-condition {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stage-condition span {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-lives {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 2rem;
}

/* ============================================================================
   Game Over Screen
   ============================================================================ */

.game-over-container {
    text-align: center;
}

.game-over-icon {
    font-size: 80px;
    margin-bottom: 16px;
    animation: gameOverPulse 2s ease infinite;
}

@keyframes gameOverPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.game-over-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 8px;
    -webkit-text-fill-color: #f87171;
}

.game-over-stage {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.game-over-score {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(90deg, #e94560, #f9d423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-over-score-label {
    font-size: 1rem;
    color: #a0a0a0;
    margin-bottom: 24px;
}

/* All Clear Icon */
.all-clear-icon {
    font-size: 80px;
    text-align: center;
    margin-bottom: 16px;
    animation: bounce 2s ease infinite;
}

/* ============================================================================
   Stage Summary
   ============================================================================ */

.stage-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.stage-summary h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #a0a0a0;
}

.stage-summary-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.stage-summary-row.cleared {
    background: rgba(74, 222, 128, 0.1);
}

.stage-summary-row.failed {
    background: rgba(248, 113, 113, 0.1);
}

.stage-summary-row.locked {
    background: rgba(255, 255, 255, 0.03);
    opacity: 0.5;
}

.stage-summary-status {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.stage-summary-name {
    flex: 1;
    font-weight: 600;
}

.stage-summary-detail {
    color: #a0a0a0;
    font-size: 0.85rem;
}

/* ============================================================================
   Results
   ============================================================================ */

.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.final-score {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #e94560, #f9d423);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-score-label {
    font-size: 1.2rem;
    color: #a0a0a0;
}

.results-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.result-stat {
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.result-label {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.results-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.results-breakdown h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #a0a0a0;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-row:last-child {
    border-bottom: none;
}

.rank-display {
    text-align: center;
    padding: 20px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
}

.rank-display h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* Demographics Form */
.demographics-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.demographics-form h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #a0a0a0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: #a0a0a0;
    margin-bottom: 6px;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.form-group select option {
    background: #1a1a2e;
}

.form-group textarea {
    resize: vertical;
}

/* Results Actions */
.results-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Thank You */
.share-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.share-box p {
    margin-bottom: 16px;
    color: #a0a0a0;
}

/* Score popup animation */
.score-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    color: #4ade80;
    animation: popUp 0.5s ease forwards;
    pointer-events: none;
    z-index: 100;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes popUp {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -100%) scale(1);
    }
}

/* Debug Info */
.debug-info {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.5);
    border-radius: 6px;
    font-family: monospace;
    font-size: 11px;
    color: #ff9999;
    word-break: break-all;
    display: none;
}

/* User Form */
.user-form {
    margin: 24px 0;
}

.user-form .form-group {
    margin-bottom: 12px;
}

.user-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.user-form input:focus {
    outline: none;
    border-color: #e94560;
    background: rgba(255, 255, 255, 0.1);
}

.user-form input::placeholder {
    color: #888;
}

.user-form input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    border-color: rgba(249, 212, 35, 0.3);
    background: rgba(249, 212, 35, 0.05);
}

/* ============================================================================
   Leaderboard Section
   ============================================================================ */

.leaderboard-section {
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.leaderboard-section h3 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.percentile-display {
    text-align: center;
    margin-bottom: 20px;
}

.percentile-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.3), rgba(249, 212, 35, 0.3));
    border-radius: 16px;
    border: 2px solid rgba(233, 69, 96, 0.5);
}

.percentile-rank {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.percentile-text {
    font-size: 1.1rem;
    color: #f9d423;
    font-weight: 600;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table th {
    color: #a0a0a0;
    font-weight: 600;
    font-size: 0.85rem;
}

.leaderboard-table td:nth-child(2) {
    text-align: left;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-table tr.current-user {
    background: rgba(233, 69, 96, 0.2);
}

.leaderboard-table tr.current-user td {
    color: #f9d423;
    font-weight: 600;
}

.leaderboard-table tr.separator td {
    color: #666;
    font-size: 0.8rem;
    border: none;
}

.leaderboard-toggle {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #a0a0a0;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.leaderboard-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f9d423;
}

.no-data,
.loading {
    text-align: center;
    color: #888;
    padding: 20px;
}

/* ============================================================================
   Mobile Adjustments
   ============================================================================ */

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .choices {
        flex-direction: column;
    }

    .final-score,
    .game-over-score {
        font-size: 3.5rem;
    }

    .results-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .header-left {
        order: 1;
    }

    .header-right {
        order: 0;
        justify-content: space-between;
    }

    .stage-name {
        font-size: 2rem;
    }

    .stage-condition {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .stage-summary-row {
        font-size: 0.8rem;
    }

    .result-value {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   Share Modal
   ============================================================================ */

.share-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.share-modal.hidden { display: none; }

.share-modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.share-modal-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.share-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.share-card-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.share-card-title { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.share-card-score { font-size: 2rem; font-weight: 700; color: var(--primary); }
.share-card-detail { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.3rem; }
.share-card-percentile {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4ade80;
    margin-top: 0.5rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.share-btn {
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
    color: #fff;
}

.share-btn:hover { transform: scale(1.05); }
.share-btn:active { transform: scale(0.95); }

.share-x { background: #000; }
.share-threads { background: #000; }
.share-facebook { background: #1877f2; }
.share-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.share-copy { background: rgba(255, 255, 255, 0.15); color: var(--text-primary); }

.share-close {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 0.5rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.share-close:hover { border-color: rgba(255, 255, 255, 0.4); }

/* ============================================================================
   Language Toggle
   ============================================================================ */

.lang-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ============================================================================
   About & Privacy Section
   ============================================================================ */

.about-section {
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-toggle {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #a0a0a0;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.about-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.about-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.about-section.open .about-arrow {
    transform: rotate(180deg);
}

.about-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.about-section.open .about-content {
    max-height: 1200px;
}

.about-block {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-block h4 {
    font-size: 0.85rem;
    color: #e94560;
    margin-bottom: 6px;
    font-weight: 600;
}

.about-block p {
    font-size: 0.82rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.about-block ul {
    list-style: none;
    padding: 0;
}

.about-block ul li {
    font-size: 0.82rem;
    color: #b0b0b0;
    line-height: 1.5;
    padding: 3px 0 3px 16px;
    position: relative;
}

.about-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-size: 0.75rem;
}

.about-block a {
    color: #f9d423;
    text-decoration: none;
}

.about-block a:hover {
    text-decoration: underline;
}
