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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            color: black;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            color: black;
            margin-bottom: 30px;
        }

        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 1.2em;
            opacity: 0.9;
        }

        .progress-bar {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            height: 8px;
            margin: 20px 0;
            overflow: hidden;
        }

        .progress-fill {
            background: #ff4d91;
            height: 100%;
            transition: width 0.3s ease;
            border-radius: 20px;
        }

        .lesson-card {
            background: white;
            border-radius: 15px;
            padding: 30px;
            margin: 20px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .lesson-card:hover {
            transform: translateY(-2px);
        }

        .section-title {
            color: #ff006e;
            font-size: 1.8em;
            margin-bottom: 20px;
            border-bottom: 3px solid #ff006e;
            padding-bottom: 10px;
        }

        .theory-content {
            line-height: 1.8;
            margin-bottom: 25px;
        }

        .phrase-box {
            background: #ff006e; /* softer shade of #ff0006e */
            border-left: 4px solid #ff006e;
            padding: 15px;
            margin: 15px 0;
            border-radius: 5px;
        }

        .phrase-box .target-language-text {
            color: white !important;
        }

        .phrase-box .english-translation {
            color: white !important; 
        }

        .phrase-box .literal-translation {
            color: white !important;
        }

        .target-language-text {
            font-size: 1.3em;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }

        .literal-translation {
            color: white;
            margin-bottom: 5px;
            opacity: 0.8;
            font-style: normal;
        }

        .english-translation {
            color: #444;
        }

        .practice-section {
            background: #f0f4ff;
            border-radius: 10px;
            padding: 25px;
            margin-top: 25px;
        }

        .exercise-type {
            margin-bottom: 20px;
        }

        .exercise-title {
            font-size: 1.2em;
            color: #ff006e;
            margin-bottom: 10px;
            font-weight: bold;
        }

        .pronunciation-guide {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            border: 2px solid #e3f2fd;
        }

        .play-button {
            background: #ff4d91;
            color: white;
            border: black;
            padding: 3px 9px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.7em;
            margin-left: 10px;
            transition: background 0.2s ease transform 0.1s ease;
        }

        .play-button:active

        .play-button.playing {
            background: #ff1a6b;  /* darker/pinkish */
            transform: scale(0.95); /* slightly shrink to indicate click */
}

        .play-button:hover {
            background: #fa94bb;
        }

        .exercise-question {
            background: white;
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            border: 1px solid #ddd;
        }

        .options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 15px;
        }

        .option-button {
            background: #f8f9fa;
            border: 2px solid #ddd;
            padding: 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
        }

        .option-button:hover {
            border-color: #ff4d91;
            background: #f0f4ff;
        }

        .option-button.correct {
            border-color: #4CAF50;
            background: #e8f5e8;
        }

        .option-button.incorrect {
            border-color: #f44336;
            background: #ffeaea;
        }

        .feedback {
            margin-top: 15px;
            padding: 10px;
            border-radius: 5px;
            font-weight: bold;
        }

        .feedback.correct {
            background: #e8f5e8;
            color: #2e7d32;
        }

        .feedback.incorrect {
            background: #ffeaea;
            color: #c62828;
        }

        .navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }

        .nav-button {
            background: #ff006e;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1em;
            transition: background 0.3s ease;
        }

        .nav-button:hover {
            background: #ff4d91;
        }

        .nav-button:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

        .completion-message {
            text-align: center;
            background: linear-gradient(135deg, #4CAF50, #45a049);
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin: 20px 0;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .options {
                grid-template-columns: 1fr;
            }
        }

        .conversation-section {
            background: #f8f9ff;
            border-radius: 15px;
            padding: 25px;
            margin: 20px 0;
            border-left: 5px solid #ff006e;
        }

        .conversation-title {
            font-size: 1.3em;
            color: #ff006e;
            margin-bottom: 20px;
            font-weight: bold;
            text-align: center;
        }

        .conversation-line {
            display: flex;
            margin: 15px 0;
            align-items: flex-start;
        }

        .conversation-line.person-a {
            justify-content: flex-start;
        }

        .conversation-line.person-b {
            justify-content: flex-end;
        }

        .speech-bubble {
            max-width: 70%;
            padding: 15px 20px;
            border-radius: 20px;
            position: relative;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .speech-bubble.person-a {
            background: #ff006e;
            color: white;
            border-bottom-left-radius: 5px;
        }

        .person-a .target-language-text {
            color: white !important;
        }

        .person-a .literal-breakdown {
            color: white !important;
            font-style: italic;
        }


        .person-a .literal-translation {
            color: white !important;
            font-style: normal;
        }

        .speech-bubble.person-b {
            background: white;
            color: #ff006e;
            border-bottom-right-radius: 5px;
        }

        .person-b .target-language-text {
            color: #ff006e !important;
        }

        .person-b .literal-breakdown {
            color: #ff006e !important;
            font-style: italic;
        }

        .person-b .literal-translation {
            color: #ff006e !important;
            font-style: normal;
        }

        .pronoun {
            background: rgba(255, 255, 255, 0.3);
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: bold;
        }

        .person-b .pronoun {
            background: rgba(102, 126, 234, 0.2);
            color: #ff006e;
        }

        .speaker-label {
            font-size: 0.8em;
            color: #666;
            margin: 0 10px;
            align-self: center;
            font-weight: bold;
        }

        .conversation-note {
            background: #ffe0ec; /* very light pink background */
            border: 1px solid #ff80b3; /* soft pink border */
            color: #800037; /* deep rose text */
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            font-size: 0.9em;
        }



        .conversation-note strong {
            color: #ff006e;
        }

        .literal-breakdown {
            font-size: 0.7em;
            margin-top: 3px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 5px;
        }

        .person-b .literal-breakdown {
            border-top: 1px solid rgba(102, 126, 234, 0.2);
        }

        .speech-bubble {
                max-width: 85%;
            }
            
            .speaker-label {
                display: none; /* Hide labels on mobile to save space */
            }

            /* there could be an issue on where i've placed the styles here */
        .vocabulary-card {
            background: #ff006e;
            border-radius: 15px;
            padding: 25px;
            margin: 25px 0;
            color: black;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

        .vocabulary-title {
            font-size: 1.4em;
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            color: white;
        }

        .vocabulary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        .vocab-item {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            padding: 15px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: transform 0.3s ease, background 0.3s ease;
        }

        .vocab-item:hover {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.2);
        }

        .vocab-target-language {
            font-size: 1.3em;
            font-weight: bold;
            color: #fff;
            margin-bottom: 5px;
        }

        .vocab-type {
            font-size: 0.8em;
            color: #e0e7ff;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 8px;
        }

        .vocab-meaning {
            font-size: 1em;
            color: #f0f4ff;
            line-height: 1.4;
        }

        .vocab-note {
            font-size: 0.85em;
            color: #d1d9ff;
            font-style: italic;
            margin-top: 5px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 5px;
        }

        /* Mobile responsive */
        @media (max-width: 768px) {
            .vocabulary-grid {
                grid-template-columns: 1fr;
            }
            
            .vocabulary-card {
                padding: 20px;
            }
        }
        /* ===== PROSE WRITING SECTION ===== */
.prose-writing-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #4CAF50;
}

.writing-prompts {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #e3f2fd;
}

.writing-prompts h4 {
    color: #ff006e;
    margin-bottom: 10px;
}

.writing-prompts ul {
    margin-left: 20px;
    line-height: 1.6;
}

.writing-prompts li {
    margin: 8px 0;
    color: #555;
}

.example-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 1.1em;
}

.writing-area {
    margin: 20px 0;
}

.writing-area textarea {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    font-size: 1em;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.writing-area textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
}

.word-count {
    text-align: right;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.reference-link-box {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.2);
}

.reference-link-button {
    display: inline-block;
    background: white;
    color: #ff006e;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reference-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff5f9;
}

.reference-link-button:active {
    transform: translateY(0);
}

.share-section {
    text-align: center;
    margin-top: 20px;
}

.share-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ===== AUDIO COMPREHENSION SECTION ===== */
.audio-comprehension-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #ff006e;
}

.audio-player {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.audio-player audio {
    width: 100%;
    max-width: 400px;
    margin-bottom: 15px;
}

.replay-info {
    font-size: 0.9em;
    color: #667eea;
    font-weight: bold;
}

.audio-questions {
    margin-top: 25px;
}

.audio-questions .exercise-type {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    border: 2px solid #e3f2fd;
}

/* ===== COMPLETION SECTION ===== */
.completion-section {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.congratulations h3 {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.chapter-summary {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chapter-summary h4 {
    color: #ff4d91;
    margin-bottom: 10px;
}

.achievements {
    margin: 25px 0;
}

.achievements h4 {
    color: #ff4d91;
    margin-bottom: 15px;
}

.achievement-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.achievement-badge {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.achievement-badge:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.next-steps {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.next-steps h4 {
    color: #ff4d91;
    margin-bottom: 10px;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    .prose-writing-section,
    .audio-comprehension-section,
    .completion-section {
        padding: 20px;
        margin: 15px 0;
    }
    
    .writing-prompts,
    .chapter-summary,
    .next-steps {
        padding: 15px;
    }
    
    .achievement-list {
        flex-direction: column;
        align-items: center;
    }
    
    .achievement-badge {
        margin: 5px 0;
    }
    
    .congratulations h3 {
        font-size: 1.6em;
    }
    
    .audio-player audio {
        width: 100%;
    }
}

.reference-link-box {
        padding: 12px;
        margin: 12px 0;
    }
    
    .reference-link-button {
        padding: 10px 20px;
        font-size: 1em;
    }
/* ===== NAVIGATION BAR STYLES ===== */
.navigation-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lesson-nav, .section-nav, .quick-jump {
    margin-bottom: 15px;
}

.lesson-nav h4, .section-nav h4 {
    color: #ff006e;
    margin-bottom: 10px;
    font-size: 1em;
}

.lesson-buttons, .section-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lesson-btn, .section-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.lesson-btn:hover, .section-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.lesson-btn.active {
    background: #ff006e;
    color: white;
    border-color: #0000;
}

.section-btn.active {
    background: #ff006e;
    color: black;
    border-color: white;
}

.lesson-btn.completed {
    background: #ff006e;
    border-color: white;
    color: black;
}

.quick-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.quick-jump label {
    font-weight: bold;
    color: #ff006e;
}

#lessonSelect {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    font-size: 0.9em;
}

#lessonSelect:focus {
    outline: none;
    border-color: #ff006e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navigation-bar {
        padding: 15px;
    }
    
    .lesson-buttons, .section-buttons {
        gap: 5px;
    }
    
    .lesson-btn, .section-btn {
        padding: 6px 10px;
        font-size: 0.8em;
        min-width: 35px;
    }
    
    .quick-jump {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.table-section {
    background: #f8f9ff;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border-left: 5px solid #ff006e;
}

.table-introduction {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1em;
}

.table-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    overflow-x: auto; /* Allows horizontal scrolling on mobile */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 20px 0;
}

.lesson-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    min-width: 600px; /* Ensures table doesn't get too cramped */
}

.lesson-table thead th {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a);
    color: white;
    font-weight: bold;
    padding: 15px 12px;
    text-align: left;
    border: none;
    font-size: 0.95em;
}

.lesson-table thead th:first-child {
    border-top-left-radius: 8px;
}

.lesson-table thead th:last-child {
    border-top-right-radius: 8px;
}

.lesson-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    line-height: 1.4;
}

/* Alternating row colors */
.lesson-table tbody tr.even td {
    background-color: #f8f9fa;
}

.lesson-table tbody tr.odd td {
    background-color: white;
}

/* Hover effect for rows */
.lesson-table tbody tr:hover td {
    background-color: #e8f0fe !important;
    transition: background-color 0.2s ease;
}

/* Highlight Dholuo/audio text - use class for flexibility with different column counts */
.lesson-table tbody td.target-language-name-cell,
.lesson-table tbody td.audio-cell {
    font-weight: bold;
    color: #ff006e;
    font-size: 1.05em;
}

/* Style for dholuo-text inside table cells */
.lesson-table .target-language-text {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .table-section {
        padding: 20px;
    }
    
    .table-container {
        padding: 10px;
        margin: 15px 0;
    }
    
    .lesson-table {
        font-size: 0.9em;
        min-width: 500px; /* Still maintains minimum width but smaller */
    }
    /* hi useless comment */
    .lesson-table thead th,
    .lesson-table tbody td {
        padding: 10px 8px;
    }
    
    .table-introduction {
        font-size: 0.95em;
    }
}


/* Loading Spinner Styles */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff006e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Error Styles */
.error {
    background-color: #fee;
    border: 2px solid #fcc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.error h3 {
    margin-top: 0;
    color: #c33;
}

/* Connection Status Indicator */
.connection-status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    z-index: 1000;
}

.connection-status.online {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.connection-status.offline {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    padding: 20px;
}

.login-card {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.login-card h2 {
    margin-bottom: 15px;
    color: #ff006e;
}

.login-card p {
    margin-bottom: 20px;
    font-size: 0.95em;
}

.login-card input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.login-btn, .google-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: white;
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a);
    transition: all 0.3s ease;
}

.login-btn:hover, .google-btn:hover {
    transform: translateY(-2px);
}

.divider {
    margin: 20px 0;
    font-weight: bold;
    color: #666;
}

.signup-text {
    margin-top: 15px;
    font-size: 0.9em;
}

.signup-text a {
    color: #ff4d91;
    text-decoration: none;
}

.error-message {
    margin-top: 15px;
    color: #c62828;
    font-weight: bold;
}

.logout-btn {
  position: fixed; /* stays in place even if user scrolls */
  top: 20px;
  right: 20px;
  background-color: #ff3366;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
  z-index: 1000; /* ensures it's on top of everything */
}

.logout-btn:hover {
  background-color: #c0392b;
}

/* sign up page CSS */
/* ===== SIGNUP PAGE STYLES ===== */
.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    padding: 20px;
}

.signup-card {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.signup-card h2 {
    margin-bottom: 15px;
    color: #ff006e;
}

.signup-card p {
    margin-bottom: 20px;
    font-size: 0.95em;
}

.signup-card input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
}

.signup-btn, .google-signup-btn {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: white;
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    transition: all 0.3s ease;
}

.signup-btn:hover, .google-signup-btn:hover {
    transform: translateY(-2px);
}

.signup-text {
    margin-top: 15px;
    font-size: 0.9em;
}

.signup-text a {
    color: #ff4d91;
    text-decoration: none;
}

.signup-error-message {
    margin-top: 15px;
    color: #c62828;
    font-weight: bold;
}
.lives-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: rgba(255, 77, 145, 0.95);
  border-radius: 20px;
  padding: 10px 20px;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  color: white;
  font-size: 1.8rem;
  z-index: 9999; /* important â€” keeps it above everything else */
}


/* When showing hearts */
.lives-container.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
    animation: popIn 0.4s ease-out, shake 0.5s ease-in-out 0.4s;
}

/* Pop-in effect */
@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

/* Shake effect */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

.life.lost {
    opacity: 0.25;
    transform: scale(0.8);
    filter: none;
}

/* when out of lives */
.out-of-lives-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(255, 77, 145, 0.95);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.out-of-lives-popup.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ===== SIDEBAR NAVIGATION ===== */

/* Sidebar Toggle Button */
.sidebar-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
  transition: all 0.3s ease;
}

.sidebar-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 110, 0.4);
}

.sidebar-toggle .hamburger {
  color: white;
  font-size: 24px;
  line-height: 1;
}

/* Sidebar Container */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px; /* Start hidden off-screen */
  width: 250px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar.open {
  left: 0;
}

.sidebar-content {
  padding: 80px 20px 20px 20px; /* Top padding to avoid toggle button */
}

/* Sidebar Overlay (mobile only) */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Adjust sidebar navigation styles */
.sidebar .lesson-nav,
.sidebar .section-nav,
.sidebar .quick-jump {
  margin-bottom: 25px;
}

.sidebar .lesson-nav h4,
.sidebar .section-nav h4 {
  color: #ff006e;
  margin-bottom: 12px;
  font-size: 1em;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffe0ec;
}

/* Chapter Group Styles */
.chapters-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chapter-group {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.chapter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  background: #f8f9fa;
  transition: background 0.2s ease;
  user-select: none;
}

.chapter-header:hover {
  background: #e9ecef;
}

.chapter-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.chapter-toggle {
  font-size: 0.8em;
  color: #666;
  transition: transform 0.2s ease;
  display: inline-block;
  width: 12px;
}

.chapter-group.expanded .chapter-toggle {
  transform: rotate(90deg);
}

.chapter-title {
  font-size: 0.9em;
  font-weight: 600;
  color: #333;
}

.chapter-status {
  font-size: 0.85em;
  color: #666;
  white-space: nowrap;
}

.chapter-status.completed {
  color: #4CAF50;
}

.chapter-status.in-progress {
  color: #ff006e;
}

.chapter-status.locked {
  color: #999;
}

/* Chapter Lessons Container */
.chapter-lessons {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 12px;
}

.chapter-group.expanded .chapter-lessons {
  max-height: 500px;
  padding: 0 12px 12px 12px;
}

.chapter-lessons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Lesson buttons inside chapters */
.chapter-lessons-grid .lesson-btn {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 4px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
  text-align: center;
}

.chapter-lessons-grid .lesson-btn:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.chapter-lessons-grid .lesson-btn.active {
  background: #ff006e;
  color: white;
  border-color: #ff006e;
  font-weight: bold;
}

.chapter-lessons-grid .lesson-btn.completed {
  background: #e8f5e8;
  border-color: #4CAF50;
  color: #2e7d32;
}

.chapter-lessons-grid .lesson-btn.locked {
  background: #f5f5f5;
  color: #999;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

.chapter-lessons-grid .lesson-btn.locked:hover {
  transform: none;
  background: #f5f5f5;
}

/* Locked chapter styling */
.chapter-group.locked .chapter-header {
  cursor: default;
  opacity: 0.7;
}

.chapter-group.locked .chapter-header:hover {
  background: #f8f9fa;
}

/* Adjust main container when sidebar might be open */
.container {
  transition: margin-left 0.3s ease;
}

/* Desktop: Keep container centered */
@media (min-width: 769px) {
  /* Container stays centered, sidebar overlays */
  .sidebar-overlay {
    display: none; /* No overlay needed on desktop */
  }
}

/* Mobile: Sidebar slides over content */
@media (max-width: 768px) {
  .sidebar {
    width: 280px;
    left: -280px;
  }
  
  .sidebar-toggle {
    width: 45px;
    height: 45px;
    top: 15px;
    left: 15px;
  }
  
  .sidebar-toggle .hamburger {
    font-size: 20px;
  }
  
  .sidebar-content {
    padding: 70px 15px 20px 15px;
  }
  
  /* 3-column grid on mobile for better touch targets */
  .chapter-lessons-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== FLASHCARD MODE STYLES ===== */

/* Instruction area - always visible at top */
.flashcard-instruction {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    border: 2px solid rgba(255, 0, 110, 0.2);
}

.flashcard-instruction p {
    margin: 0;
    color: #333;
}

/* Start button screen */
.flashcard-start {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(255, 46, 138, 0.05) 100%);
    border-radius: 20px;
    margin: 30px 0;
    border: 2px dashed rgba(255, 0, 110, 0.3);
}

.flashcard-start-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 30px;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.3);
    transition: all 0.3s ease;
}

.flashcard-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.4);
}

.flashcard-start-btn:active {
    transform: translateY(-1px);
}

.flashcard-start-hint {
    margin-top: 15px;
    color: #666;
    font-size: 1em;
}

/* Flashcard stage - where cards appear */
.flashcard-stage {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    margin: 30px 0;
}

.flashcard-loading {
    font-size: 1.2em;
    color: #999;
    font-style: italic;
}

/* Individual flashcard */
.flashcard {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    text-align: left;
    border: 4px solid #ff006e;
    position: relative;
    overflow: hidden;
}

.flashcard-hint {
    color: #ff006e;
    font-weight: 600;
    font-size: 1em;
    margin-bottom: 20px;
    background: rgba(255, 0, 110, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.flashcard-content {
    margin: 30px 0;
    text-align: left;
}

.flashcard-target-language {
    font-size: 4.5em;
    font-weight: bold;
    color: #ff006e;
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: left;
    display: flex; /* ADD this to put word and button side-by-side */
    align-items: center; /* ADD this to vertically center them */
    gap: 20px; /* ADD this for spacing between word and button */
    max-width: 90%;
    flex-wrap: wrap;
}

.flashcard-play-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 0, 110, 0.4);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.flashcard-play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.5);
}

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

.flashcard-play-btn svg {
    color: white;
}

.flashcard-english {
    font-size: 1.5em;
    color: #333;
    margin-top: 20px;
    font-weight: 500;
    text-align: left;
}

.flashcard-literal {
    font-size: 1em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
    text_align: left;
}

.flashcard-play-count {
    font-size: 0.95em;
    color: #999;
    margin-top: 20px;
    font-weight: 500;
}

#play-count-0, #play-count-1, #play-count-2, #play-count-3, #play-count-4, #play-count-5, 
#play-count-6, #play-count-7, #play-count-8, #play-count-9 {
    color: #ff006e;
    font-weight: 700;
    font-size: 1.1em;
}

/* Manual controls */
.flashcard-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0 15px 0;
}

.flashcard-control-btn {
    background: white;
    border: 2px solid #ff006e;
    color: #ff006e;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flashcard-control-btn:hover:not(:disabled) {
    background: #ff006e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.flashcard-control-btn:active:not(:disabled) {
    transform: translateY(0);
}

.flashcard-control-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: #ccc;
    color: #ccc;
}

.flashcard-control-btn.pause-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    border: none;
    min-width: 120px;
}

.flashcard-control-btn.pause-btn:hover {
    background: linear-gradient(135deg, #e6006a 0%, #e62a7e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.4);
}

.flashcard-control-btn.pause-btn.resumed {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.flashcard-control-btn.pause-btn.resumed:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
}

/* Progress indicator */
.flashcard-progress {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-top: 20px;
    font-weight: 600;
}

#flashcard-current {
    color: #ff006e;
    font-size: 1.4em;
    font-weight: 700;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-out-left {
    animation: slideOutLeft 0.3s ease-out forwards;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.slide-in-right {
    animation: slideInRight 0.4s ease-out;
}

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

/* Completion screen */
.flashcard-complete {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    border-radius: 20px;
    border: 3px solid #4CAF50;
    animation: fadeIn 0.5s ease-in;
}

.completion-icon {
    font-size: 5em;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-in-out;
}

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

.flashcard-complete h3 {
    color: #ff006e;
    font-size: 2.2em;
    margin-bottom: 15px;
}

.flashcard-complete p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.flashcard-complete .nav-button {
    margin: 10px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .flashcard-start {
        padding: 40px 20px;
    }
    
    .flashcard-start-btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    
    .flashcard {
        padding: 30px 20px;
        width: 95%;
    }
    
    .flashcard-play-btn {
        width: 70px;
        height: 70px;
    }

    /* Play button states */
.flashcard-play-btn.playing {
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(255, 0, 110, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 0, 110, 0.6);
    }
}

.flashcard-play-btn.paused {
    opacity: 0.6;
    background: linear-gradient(135deg, #999 0%, #777 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flashcard-play-btn.paused:hover {
    opacity: 0.8;
}
    
    .flashcard-play-btn svg {
        width: 35px;
        height: 35px;
    }
    
    .flashcard-english {
        font-size: 1.3em;
    }
    
    .flashcard-stage {
        min-height: 400px;
    }
    
    .flashcard-instruction {
        font-size: 1em;
        padding: 15px;
    }
    
    .flashcard-controls {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .flashcard-control-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .flashcard-control-btn.pause-btn {
        min-width: 100px;
        order: -1;
        width: 100%;
    }
    
    .flashcard-complete {
        padding: 40px 20px;
    }
    
    .flashcard-complete h3 {
        font-size: 1.8em;
    }
    
    .completion-icon {
        font-size: 4em;
    }
}

/* Subtle upgrade prompt */
.flashcard-locked-message {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.upgrade-prompt-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 110, 0.3);
}

.upgrade-prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.4);
}

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

/* Make locked cards slightly different but not distracting */
.flashcard.locked {
    border-color: #e9ecef;
    opacity: 0.95;
}

.flashcard.locked .flashcard-hint {
    background: rgba(153, 153, 153, 0.1);
    color: #999;
}

/* Table row flashcards with multiple items */
.flashcard.table-row-card .flashcard-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flashcard-row-item {
    background: rgba(255, 0, 110, 0.05);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #ff006e;
}

.flashcard-item-label {
    font-size: 0.85em;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.flashcard-item-target {
    font-size: 2em;
    font-weight: bold;
    color: #ff006e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flashcard-item-english {
    font-size: 1.2em;
    color: #333;
    font-weight: 500;
}

.flashcard-play-btn-small {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.flashcard-play-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 0, 110, 0.4);
}

.flashcard-play-btn-small:active {
    transform: scale(0.98);
}

.flashcard-play-btn-small svg {
    color: white;
}

.flashcard-play-btn-small.playing {
    animation: pulse 1s ease-in-out infinite;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .flashcard-item-target {
        font-size: 1.6em;
    }
    
    .flashcard-item-english {
        font-size: 1.1em;
    }
    
    .flashcard-play-btn-small {
        width: 45px;
        height: 45px;
    }
    
    .flashcard-play-btn-small svg {
        width: 20px;
        height: 20px;
    }
}

/* Signup button for anonymous users */
.signup-btn-login-pg {
  position: fixed; /* stays in place even if user scrolls */
  top: 20px;
  right: 20px;
  background-color: #ff3366;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
  z-index: 1000; /* ensures it's on top of everything */
}


/* ===== FLOATING DISCORD BUTTON ===== */
.floating-discord-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    border: none;
}

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

.floating-discord-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.floating-discord-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* Discord Upgrade Modal */
.discord-upgrade-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.discord-upgrade-modal.visible {
    display: flex;
}

.discord-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.discord-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.discord-modal-icon {
    font-size: 4em;
    text-align: center;
    margin-bottom: 20px;
}

.discord-modal-content h2 {
    color: #ff006e;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.discord-modal-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 1em;
}

.discord-benefits {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin: 12px 0;
    font-size: 1em;
    color: #333;
}

.benefit-icon {
    font-size: 1.2em;
    margin-right: 12px;
    flex-shrink: 0;
}

.discord-upgrade-text {
    text-align: center;
    margin: 20px 0;
    color: #333;
}

.discord-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.discord-upgrade-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.discord-upgrade-btn.primary {
    background: linear-gradient(135deg, #ff006e 0%, #ff2e8a 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.discord-upgrade-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 0, 110, 0.4);
}

.discord-upgrade-btn.secondary {
    background: white;
    color: #ff006e;
    border: 2px solid #ff006e;
}

.discord-upgrade-btn.secondary:hover {
    background: #f8f9fa;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-discord-btn {
        width: 50px;
        height: 50px;
        bottom: 70px;
        right: 15px;
    }
    
    .floating-discord-btn svg {
        width: 26px;
        height: 26px;
    }
    
    .discord-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .discord-modal-content h2 {
        font-size: 1.5em;
    }
    
    .discord-modal-buttons {
        flex-direction: column;
    }
    
    .benefit-item {
        font-size: 0.95em;
    }
}
