@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #a855f7;
    --primary-dark: #9333ea;
    --primary-light: #c084fc;
    --accent-pink: #ec4899;
    --accent-yellow: #fbbf24;
    --accent-peach: #fca5a5;
    --bg-dark: #1a1a1a;
    --bg-card: #242424;
    --bg-input: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --border: #333333;
    --gradient: linear-gradient(135deg, #a855f7, #ec4899);
    --wave-color: #a855f7;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--primary); }


.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.landing-top {
    flex: 1;
    padding: 40px 32px 80px;
    position: relative;
    z-index: 2;
}

.yellow-dots {
    position: absolute;
    top: 40px;
    right: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    z-index: 3;
}

.yellow-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    display: block;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 80px 0 60px;
}

.brand-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.brand-logo-text {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
    max-width: 500px;
}

.landing-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.6;
}

.landing-bottom {
    background: var(--wave-color);
    padding: 60px 32px 40px;
    position: relative;
    border-radius: 60px 60px 0 0;
    margin-top: -40px;
    z-index: 1;
}

.landing-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--wave-color);
    border-radius: 60% 40% 0 0 / 100% 100% 0 0;
    transform: translateY(-40px);
}

.blob-yellow {
    position: absolute;
    right: -30px;
    top: -80px;
    width: 200px;
    height: 200px;
    background: var(--accent-yellow);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    z-index: 0;
    animation: blob 8s ease-in-out infinite;
}

.blob-peach {
    position: absolute;
    right: 60px;
    top: -160px;
    width: 140px;
    height: 140px;
    background: var(--accent-peach);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    animation: blob 10s ease-in-out infinite reverse;
}

@keyframes blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.landing-btn {
    padding: 18px 24px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.landing-btn-white {
    background: white;
    color: #1a1a1a;
}

.landing-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.landing-btn-dark {
    background: #1a1a1a;
    color: white;
}

.landing-btn-dark:hover {
    transform: translateY(-2px);
    background: #000;
}

.landing-footer {
    text-align: center;
    margin-top: 32px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.landing-footer a {
    color: white;
    font-weight: 700;
    text-decoration: none;
}


.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.auth-header {
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 0;
}

.back-btn:hover { color: var(--primary-light); }

.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin: 24px 0 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

.auth-form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-input);
    border: 2px solid transparent;
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-card);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-error {
    color: var(--error);
    font-size: 13px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.btn {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(168, 85, 247, 0.1);
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-sm {
    width: auto;
    padding: 10px 24px;
    font-size: 14px;
}

.link-text {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.link-text a {
    color: var(--primary-light);
    font-weight: 600;
}


.navbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-user {
    color: var(--text-secondary);
    font-size: 14px;
    margin-right: 12px;
    font-weight: 500;
}


.page-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 24px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 24px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.profile-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 24px;
}


.match-container {
    min-height: calc(100vh - 68px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.match-container::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--accent-yellow);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
}

.match-container::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
    z-index: 0;
}

.match-container > * { position: relative; z-index: 1; }

.pulse-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.4);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(168, 92, 246, 0.4), 0 20px 50px rgba(168, 85, 247, 0.4); 
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 0 30px rgba(168, 92, 246, 0), 0 20px 50px rgba(168, 85, 247, 0.4); 
    }
}

.match-title {
    font-size: 32px;
    font-weight: 700;
    margin: 32px 0 12px;
}

.match-status {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 400px;
}

.match-timer {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-light);
    margin: 20px 0;
    font-variant-numeric: tabular-nums;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--primary-light);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.match-btn {
    width: auto !important;
    padding: 18px 48px !important;
    font-size: 17px !important;
}


.call-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #2a1a3e 100%);
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.call-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
}

.call-container::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-pink);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
}

.call-container > * { position: relative; z-index: 1; }

.call-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.5);
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(168, 85, 247, 0.5); }
    50% { box-shadow: 0 20px 80px rgba(168, 85, 247, 0.8); }
}

.call-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.call-language {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.call-timer {
    font-size: 44px;
    font-weight: 300;
    color: white;
    margin: 24px 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}

.call-controls {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.call-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.call-btn:hover { transform: scale(1.1); }
.call-btn:active { transform: scale(0.95); }

.call-btn-mute { 
    background: rgba(255,255,255,0.15); 
    color: white; 
    backdrop-filter: blur(10px);
}
.call-btn-mute.active { background: var(--accent-yellow); color: #1a1a1a; }
.call-btn-end { 
    background: var(--error); 
    color: white; 
    width: 76px;
    height: 76px;
    font-size: 30px;
}


.rating-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.rating-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 440px;
    width: 100%;
    text-align: center;
}

.rating-card h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 24px 0;
}

.star {
    font-size: 40px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.3;
    filter: grayscale(1);
}

.star:hover, .star.active { 
    opacity: 1; 
    transform: scale(1.15); 
    filter: grayscale(0);
}

.feedback-input {
    width: 100%;
    padding: 16px;
    background: var(--bg-input);
    border: 2px solid transparent;
    border-radius: 16px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    resize: vertical;
    min-height: 90px;
    outline: none;
    margin: 16px 0;
}

.feedback-input:focus { border-color: var(--primary); }


.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 22px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 280px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.toast-show { opacity: 1; transform: translateX(0); }
.toast-success { background: rgba(16, 185, 129, 0.95); color: white; }
.toast-error { background: rgba(239, 68, 68, 0.95); color: white; }
.toast-info { background: rgba(168, 85, 247, 0.95); color: white; }
.toast-warning { background: rgba(245, 158, 11, 0.95); color: white; }


.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    backdrop-filter: blur(8px);
}

.loader-content {
    text-align: center;
    color: var(--text-primary);
}

.loader-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--accent-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }


@media (max-width: 768px) {
    .landing-title { font-size: 32px; }
    .auth-title { font-size: 28px; }
    .call-timer { font-size: 36px; }
    .call-avatar { width: 120px; height: 120px; font-size: 48px; }
    .pulse-ring { width: 150px; height: 150px; font-size: 52px; }
    .navbar { padding: 12px 20px; }
    .page-container { padding: 20px 16px; }
}

@media (max-width: 480px) {
    .landing-top { padding: 32px 24px 60px; }
    .landing-bottom { padding: 50px 24px 32px; }
    .landing-title { font-size: 28px; }
    .brand-logo-text { font-size: 30px; }
    .stats-grid { gap: 8px; }
    .stat-card { padding: 16px 8px; }
    .stat-value { font-size: 22px; }
    .call-controls { gap: 16px; }
    .call-btn { width: 60px; height: 60px; font-size: 22px; }
    .call-btn-end { width: 68px; height: 68px; }
}


.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: var(--bg-card);
    border-radius: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary-light);
    text-decoration: underline;
    font-weight: 600;
}


.app-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background: #f5f5f7;
    position: relative;
    padding-bottom: 80px;
}

/* Top Bar */
.top-bar {
    background: #1a1a1a;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.profile-mini {
    position: relative;
    cursor: pointer;
}

.profile-mini-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid var(--primary-light);
    font-size: 18px;
}

.profile-mini-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    background: white;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.top-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    font-size: 18px;
}

.stat-num {
    color: white;
    font-size: 14px;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.2);
}

.brand-mini-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 18px;
}

/* Home Content */
.home-content {
    padding: 16px;
}

/* Streak Card */
.streak-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.streak-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.streak-text {
    flex: 1;
}

.streak-title {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
}

.streak-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

/* Rooms Banner */
.rooms-banner {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    color: white;
}

.rooms-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rooms-icon {
    font-size: 36px;
}

.rooms-brand {
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}

.rooms-title {
    font-size: 22px;
    font-weight: 800;
    color: #f9a8d4;
}

.rooms-btn {
    background: white;
    color: #1a1a1a;
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-header h3 {
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 800;
}

.section-header a {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* Activity Card */
.activity-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.activity-empty {
    text-align: center;
    padding: 20px 0;
}

.activity-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.activity-empty-text {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
}

.activity-empty-sub {
    color: #6b6b6b;
    font-size: 13px;
}

/* Room Card */
.room-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.room-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.room-tag {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.room-tag-gray { background: #e5e7eb; color: #1a1a1a; }
.room-tag-pink { background: #fecdd3; color: #9f1239; }
.room-tag-green { background: #bbf7d0; color: #14532d; }

.room-title {
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 16px;
}

.room-users {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.room-user {
    text-align: center;
}

.room-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 4px;
}

.room-user-name {
    font-size: 11px;
    color: #1a1a1a;
    font-weight: 600;
}

.room-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.room-stats {
    display: flex;
    gap: 12px;
    color: #6b6b6b;
    font-size: 14px;
    font-weight: 600;
}

.room-join-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

/* Premium Card */
.premium-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    color: white;
    display: flex;
    gap: 16px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 60px;
    background: var(--primary);
    border-radius: 50% 50% 40% 60%;
    opacity: 0.3;
}

.premium-icon {
    font-size: 48px;
    flex-shrink: 0;
    z-index: 1;
}

.premium-content {
    flex: 1;
    z-index: 1;
}

.premium-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.premium-badge {
    background: var(--primary);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
}

.premium-features {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 12px;
}

.premium-btn {
    background: white;
    color: #1a1a1a;
    border: none;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

/* Bottom Nav */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 8px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    flex: 1;
    padding: 4px;
    color: #6b6b6b;
    transition: color 0.2s;
}

.nav-item.active { color: var(--primary); }
.nav-item:hover { color: var(--primary); }

.nav-icon { font-size: 22px; }

.nav-label {
    font-size: 11px;
    font-weight: 700;
}

.nav-start {
    position: relative;
}

.nav-start-btn {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
    margin-top: -28px;
    margin-bottom: 4px;
}

.nav-start .nav-label { color: #1a1a1a; }


.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.modal-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.modal-back-btn,
.modal-close-btn-inline {
    background: transparent;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
}

.modal-top-title {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.modal-option {
    width: 200px;
    height: 200px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 3px solid transparent;
    padding: 20px;
    text-align: center;
}

.modal-option:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

.modal-option-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.modal-option-label {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.modal-option-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-option-disabled:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    background: var(--accent-yellow);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.modal-footer-text {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 1.6;
}


.finding-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.finding-top {
    background: #1a1a1a;
    padding: 60px 32px 80px;
    position: relative;
    text-align: center;
    border-radius: 0 0 40% 40% / 0 0 20% 20%;
}

.finding-dots {
    position: absolute;
    top: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 70px;
}

.finding-dots span {
    width: 6px;
    height: 6px;
    background: #fca5a5;
    border-radius: 50%;
    opacity: 0.7;
}

.finding-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: -60px;
}

.finding-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: white;
    font-weight: 700;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2;
    position: relative;
}

.finding-content {
    padding: 80px 32px 40px;
    text-align: center;
    flex: 1;
    background: white;
}

.finding-title {
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}

.finding-subtitle {
    color: #6b6b6b;
    font-size: 15px;
    margin-bottom: 24px;
}

.finding-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f7;
    padding: 12px 20px;
    border-radius: 100px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.tip-icon { font-size: 18px; }

.finding-timer {
    color: #1a1a1a;
    font-size: 48px;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    margin: 20px 0;
}

.finding-langs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.lang-chip {
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.lang-arrow {
    color: #6b6b6b;
    font-size: 20px;
}

.finding-footer {
    padding: 20px 32px 40px;
    background: white;
}

.cancel-call-btn {
    width: 100%;
    background: #ef4444;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: inherit;
    transition: all 0.2s;
}

.cancel-call-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.cancel-icon {
    font-size: 20px;
    transform: rotate(135deg);
    display: inline-block;
}


.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-badge {
    background: var(--accent-yellow);
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.premium-note {
    font-size: 11px;
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

/* ============================================
   LANDING PAGE (index.html)
   ============================================ */
.lingbe-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    font-family: 'Nunito', 'Poppins', sans-serif;
}

.lingbe-top {
    background: #1a1a1a;
    padding: 40px 50px 80px;
    position: relative;
    flex: 1;
    min-height: 55vh;
}

.dots-decoration {
    position: absolute;
    top: 30px;
    right: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 60px;
    z-index: 5;
}

.dots-decoration span {
    width: 7px;
    height: 7px;
    background: #fbbf24;
    border-radius: 50%;
    display: block;
    opacity: 0.9;
}

.lingbe-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px 0 60px;
    position: relative;
    z-index: 3;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 22px;
    position: relative;
}

.logo-icon::before {
    content: 'S';
}

.logo-dot-1, .logo-dot-2 {
    display: none;
}

.logo-text {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin: 0;
}

.lingbe-heading {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    max-width: 500px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.blob-peach {
    position: absolute;
    right: 12%;
    top: 50%;
    width: 130px;
    height: 130px;
    background: #fecaca;
    border-radius: 50%;
    z-index: 1;
}

.blob-yellow {
    position: absolute;
    right: -30px;
    bottom: -60px;
    width: 220px;
    height: 200px;
    background: #fbbf24;
    border-radius: 50%;
    z-index: 2;
}

.lingbe-bottom {
    background: #a855f7;
    padding: 60px 50px 40px;
    position: relative;
    border-radius: 80px 80px 0 0;
    margin-top: -40px;
    z-index: 3;
    min-height: 35vh;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
    margin: 20px auto 0;
    position: relative;
    z-index: 2;
}

.lingbe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    width: 100%;
    font-family: inherit;
}

.lingbe-btn-white {
    background: white;
    color: #1a1a1a;
}

.lingbe-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.lingbe-btn-dark {
    background: #1a1a1a;
    color: white;
}

.lingbe-btn-dark:hover {
    transform: translateY(-2px);
    background: #000;
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.btn-icon {
    font-size: 18px;
}

.login-link {
    display: none;
}

.blob-bottom {
    display: none;
}

@media (max-width: 768px) {
    .lingbe-top { padding: 30px 24px 70px; }
    .lingbe-bottom { padding: 50px 24px 32px; }
    .lingbe-heading { font-size: 32px; }
    .logo-text { font-size: 32px; }
    .logo-icon { width: 36px; height: 36px; font-size: 20px; }
    .blob-yellow { width: 160px; height: 140px; }
    .blob-peach { width: 100px; height: 100px; }
    .dots-decoration { right: 24px; width: 50px; }
    .lingbe-btn { padding: 16px 20px; font-size: 15px; }
}