/* ═══════════════════════════════════════════════════
   NEW SCREENS — CSS (Glassmorphism + Premium Design)
   ═══════════════════════════════════════════════════ */

/* === SHARED: Modal Overlay === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    animation: fadeSlideIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #1a1640 0%, #2a2555 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h2 {
    color: white;
    font-size: 18px;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-body {
    padding: 24px;
}

/* === SHARED: Fullscreen Overlay === */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow-y: auto;
    animation: fadeSlideIn 0.35s ease;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ═══ 1. ONBOARDING ═══ */
.onboarding-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onboarding-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.step-dot.active {
    background: #38bdf8;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.step-dot.done {
    background: #22c55e;
}

.onboarding-step {
    display: none;
    animation: fadeSlideIn 0.4s ease;
}

.onboarding-step.active {
    display: block;
}

.onboarding-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.onboarding-step h1,
.onboarding-step h2 {
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
}

.onboarding-step p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 16px;
}

.onboarding-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 14px 20px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    text-align: left;
}

.feature-icon {
    margin-right: 10px;
}

.onboarding-btn {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.onboarding-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(14, 165, 233, 0.6);
}

.onboarding-skip {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    margin-top: 12px;
    font-size: 14px;
}

.onboarding-skip:hover {
    color: rgba(255, 255, 255, 0.7);
}

.onboarding-input {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    width: 100%;
    max-width: 320px;
    text-align: center;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.onboarding-input:focus {
    outline: none;
    border-color: #38bdf8;
}

.language-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.lang-option {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 14px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}

.lang-option.active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.lang-option:nth-child(5) {
    grid-column: 1 / -1;
}

.level-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.level-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.12);
    padding: 16px;
    border-radius: 16px;
    text-align: left;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.level-option.active {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

.level-badge {
    font-size: 20px;
    font-weight: 800;
    min-width: 40px;
}

.level-title {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.level-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

/* ═══ 2. AUTH MODAL ═══ */
.auth-modal-content {
    max-width: 420px;
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.auth-tab.active {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 16px;
    text-align: left;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-size: 14px;
}

.auth-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
}

.auth-input:focus {
    outline: none;
    border-color: #38bdf8;
}

.auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
}

.auth-footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
    font-size: 13px;
}

.auth-footer-text a {
    color: #38bdf8;
    text-decoration: none;
}

.auth-message {
    padding: 12px;
    border-radius: 10px;
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
}

/* ═══ 3. FULL PROFILE PAGE ═══ */
.profile-page-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px;
}

.profile-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.profile-page-header h2 {
    color: white;
    font-size: 20px;
}

.edit-profile-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.profile-hero-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.profile-hero-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-hero-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(56, 189, 248, 0.5);
}

.profile-level-ring {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    color: white;
    font-size: 12px;
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f0c29;
}

.profile-hero-card h2 {
    color: white;
    margin-bottom: 4px;
}

.profile-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 20px;
}

.xp-progress-section {
    margin-top: 16px;
}

.xp-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}

.xp-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    border-radius: 10px;
    transition: width 0.6s ease;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.p-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.p-stat-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.p-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
    display: block;
}

.p-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
}

.profile-section-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.profile-section-card h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.learning-chart {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-day {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    min-width: 30px;
}

.chart-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
    border-radius: 6px;
    transition: width 0.5s;
}

.profile-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.badge-item {
    text-align: center;
    padding: 12px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.4;
    transition: all 0.2s;
}

.badge-item.earned {
    opacity: 1;
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.08);
}

.badge-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 4px;
}

.badge-name {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

/* ═══ 4. VOCAB NOTEBOOK ═══ */
.vocab-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px;
}

.vocab-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.vocab-header h2 {
    flex: 1;
    color: white;
    font-size: 20px;
}

.vocab-search-wrap {
    width: 100%;
}

.vocab-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.vocab-search:focus {
    outline: none;
    border-color: #38bdf8;
}

.vocab-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.vocab-filter {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.vocab-filter.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}

.vocab-stats-bar {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 16px;
}

.vocab-stats-bar strong {
    color: white;
}

.vocab-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vocab-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    cursor: pointer;
}

.vocab-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vocab-word {
    font-weight: 700;
    color: white;
    font-size: 16px;
    min-width: 80px;
}

.vocab-meaning {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    flex: 1;
}

.vocab-type {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.vocab-strength {
    font-size: 18px;
}

/* ═══ 5. LEVEL MAP ═══ */
.levelmap-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px;
}

.levelmap-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.levelmap-header h2 {
    color: white;
    font-size: 20px;
}

.levelmap-road {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.road-connector {
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(56, 189, 248, 0.3), rgba(56, 189, 248, 0.1));
    margin: 8px 0;
    border-radius: 4px;
}

.levelmap-node {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
}

.levelmap-node.completed {
    border-color: rgba(34, 197, 94, 0.4);
}

.levelmap-node.current {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.levelmap-node.locked {
    opacity: 0.5;
}

.node-circle {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.levelmap-node.completed .node-circle {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.levelmap-node.current .node-circle {
    border-color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
}

.node-badge {
    font-size: 16px;
    font-weight: 800;
    color: white;
}

.node-check,
.node-star,
.node-lock {
    font-size: 14px;
    position: absolute;
    bottom: -2px;
    right: -2px;
}

.node-info {
    flex: 1;
}

.node-info h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 4px;
}

.node-info p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 8px;
}

.node-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 4px;
}

.node-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    border-radius: 6px;
}

.node-pct {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.coming-soon-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
}

/* ═══ 6. DAILY CHALLENGE ═══ */
.daily-modal-content {
    max-width: 460px;
}

.daily-streak-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 145, 0, 0.1);
    border: 1px solid rgba(255, 145, 0, 0.2);
    border-radius: 14px;
    margin-bottom: 20px;
}

.streak-fire {
    font-size: 28px;
}

.streak-count {
    font-size: 32px;
    font-weight: 800;
    color: #fb923c;
}

.streak-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.daily-week {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.day-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.day-dot span:first-child {
    font-weight: 600;
}

.dot-icon {
    font-size: 18px;
}

.day-dot.completed {
    color: #22c55e;
}

.day-dot.today {
    color: #38bdf8;
}

.daily-tasks {
    margin-bottom: 20px;
}

.daily-tasks h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 16px;
}

.daily-task {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
}

.task-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-icon {
    font-size: 20px;
}

.task-name {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.task-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-progress {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    min-width: 30px;
}

.task-pbar {
    width: 60px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.task-pbar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
    border-radius: 6px;
}

.daily-reward {
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(56, 189, 248, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.daily-reward strong {
    color: #22c55e;
}

/* ═══ 7. GRAMMAR LIBRARY ═══ */
.grammar-lib-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 20px;
}

.grammar-lib-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.grammar-lib-header h2 {
    flex: 1;
    color: white;
    font-size: 20px;
}

.grammar-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
}

.grammar-search:focus {
    outline: none;
    border-color: #38bdf8;
}

.grammar-lib-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.glib-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.glib-tab.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: #38bdf8;
    color: #38bdf8;
}

.grammar-lib-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grammar-rule-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}

.grammar-rule-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.grammar-rule-card h4 {
    color: #38bdf8;
    margin-bottom: 6px;
    font-size: 15px;
}

.grammar-rule-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
}

.grammar-rule-card .rule-level {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

/* ═══ 8. ABOUT MODAL ═══ */
.about-modal-content {
    max-width: 440px;
}

.about-app-info {
    text-align: center;
    margin-bottom: 24px;
}

.about-logo {
    font-size: 56px;
    margin-bottom: 12px;
}

.about-app-info h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 6px;
}

.about-version {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-bottom: 12px;
}

.about-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.about-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
}

.about-feature span:first-child {
    font-size: 18px;
}

.about-credits {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

.about-credits p {
    margin-bottom: 4px;
}

/* ═══ 9. HELP / FAQ ═══ */
.help-modal-content {
    max-width: 500px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 16px;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    border-radius: 12px;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-arrow {
    transition: transform 0.3s;
    font-size: 12px;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 14px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question {
    border-radius: 12px 12px 0 0;
}

/* ═══ 10. NOTIFICATIONS ═══ */
.notifications-modal-content {
    max-width: 460px;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    transition: all 0.2s;
}

.notif-item.unread {
    background: rgba(56, 189, 248, 0.06);
    border-color: rgba(56, 189, 248, 0.15);
}

.notif-icon {
    font-size: 24px;
    min-width: 30px;
}

.notif-body {
    flex: 1;
}

.notif-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 4px;
}

.notif-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.notif-empty {
    text-align: center;
    padding: 40px;
}

.notif-empty span {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}

.notif-empty p {
    color: rgba(255, 255, 255, 0.4);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    .language-grid {
        grid-template-columns: 1fr;
    }
}