/* ========================================
   MUSEIT - Professional Website Styles
   Created by nexarats
   ======================================== */

/* CSS Variables */
:root {
    --primary: #FF6B35;
    --primary-light: #FF8C61;
    --primary-dark: #E55A2B;
    --secondary: #7C4DFF;
    --accent: #00D9FF;
    --dark: #0A0A1A;
    --dark-lighter: #12122A;
    --dark-card: #1A1A35;
    --dark-border: #2A2A4A;
    --text: #FFFFFF;
    --text-muted: #8B8BA3;
    --text-dim: #5A5A7A;
    --success: #00E676;
    --error: #FF5252;
    --warning: #FFD740;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-text: linear-gradient(90deg, var(--primary), var(--accent));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(10, 10, 26, 0.85) 0%,
            rgba(10, 10, 26, 0.9) 50%,
            var(--dark) 100%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-logo-img {
    height: 32px;
    max-height: 32px;
    max-width: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    gap: 12px;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

.btn-ghost {
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-download {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-download:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-download i {
    font-size: 1.8rem;
}

.btn-download div {
    text-align: left;
}

.btn-small {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-google {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--dark-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-lighter) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.gradient-bg {
    background: var(--gradient);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Leaderboard Section */
.leaderboard {
    background: var(--dark-lighter);
}

.leaderboard-container {
    max-width: 900px;
    margin: 0 auto;
}

.leaderboard-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    padding: 40px 0;
}

.podium-item {
    text-align: center;
    padding: 24px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.podium-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.podium-item.first {
    order: 2;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-color: rgba(255, 215, 0, 0.3);
}

.podium-item.second {
    order: 1;
}

.podium-item.third {
    order: 3;
}

.crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFD700;
    font-size: 2rem;
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.podium-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.podium-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.podium-item.first .podium-avatar img {
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.podium-rank {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--dark);
}

.podium-item h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

.podium-score {
    color: var(--primary);
    font-weight: 600;
}

.podium-bar {
    height: 6px;
    background: var(--gradient);
    border-radius: var(--radius-full);
    margin-top: 16px;
}

.podium-item.first .podium-bar {
    width: 100%;
}

.podium-item.second .podium-bar {
    width: 80%;
}

.podium-item.third .podium-bar {
    width: 60%;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}

.leaderboard-row:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary);
    transform: translateX(10px);
}

.leaderboard-row .rank {
    width: 32px;
    height: 32px;
    background: var(--dark-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
}

.leaderboard-row img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.leaderboard-row .name {
    flex: 1;
    font-weight: 600;
}

.leaderboard-row .songs {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.leaderboard-row .score {
    color: var(--primary);
    font-weight: 600;
}

/* Friends Section */
.friends-section {
    background: var(--dark);
}

.friends-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.friends-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.friends-header {
    padding: 20px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.friends-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.friends-header h3 i {
    color: var(--primary);
}

.friends-tabs {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
}

.badge {
    background: var(--error);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    margin-left: 4px;
}

.friends-search {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--dark-border);
}

.friends-search i {
    color: var(--text-muted);
}

.friends-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}

.friends-search input::placeholder {
    color: var(--text-dim);
}

.friends-list {
    max-height: 300px;
    overflow-y: auto;
}

.friend-item,
.request-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    transition: var(--transition);
    cursor: pointer;
}

.friend-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.friend-avatar {
    position: relative;
}

.friend-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--dark-card);
}

.friend-info {
    flex: 1;
}

.friend-info h4 {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.friend-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.friend-actions,
.request-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary);
    color: white;
}

.btn-accept {
    background: var(--success);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.btn-reject {
    background: var(--dark-lighter);
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.btn-reject:hover {
    background: var(--error);
    color: white;
}

.login-prompt {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    display: none;
}

.login-prompt a {
    color: var(--primary);
    font-weight: 600;
}

/* Chat Preview */
.chat-preview {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-user img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.chat-user h4 {
    font-weight: 600;
    font-size: 0.95rem;
}

.online-status {
    color: var(--success);
    font-size: 0.8rem;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 250px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    position: relative;
}

.message.received {
    background: var(--dark-lighter);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.sent {
    background: var(--gradient);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.message .time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    display: block;
}

.chat-input {
    padding: 16px 20px;
    border-top: 1px solid var(--dark-border);
    display: flex;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--dark-lighter);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-full);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-input .btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* Help Section */
.help-section {
    background: var(--dark-lighter);
}

.help-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.help-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.help-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    text-align: left;
}

.help-category:hover,
.help-category.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.help-category i {
    width: 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Tech Section */
.tech-section {
    background: var(--dark);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.tech-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.tech-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.tech-card h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.fonts-section {
    text-align: center;
}

.fonts-section h3 {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.font-display {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.font-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-preview {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 16px 0;
}

.font-weights {
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* About Section */
.about-section {
    background: var(--dark-lighter);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag {
    display: inline-block;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--dark);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 60px 20px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
}

.app-header i {
    font-size: 1.5rem;
}

.app-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.now-playing {
    text-align: center;
}

.album-art {
    width: 160px;
    height: 160px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    margin: 0 auto 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(255, 107, 53, 0.2);
    }
}

.song-title {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.song-artist {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.player-controls i:nth-child(2) {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--dark-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 440px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.modal-content {
    padding: 40px;
}

.modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.modal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
}

/* Auth Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--dark-lighter);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    color: var(--text-muted);
}

.forgot-link {
    text-align: right;
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: -8px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.btn-social {
    background: var(--dark-lighter);
    border: 1px solid var(--dark-border);
    color: var(--text);
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

.btn-google-sign i {
    color: #EA4335;
}

.modal-footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 24px;
}

.modal-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--dark-card);
    border: 1px solid var(--success);
    border-radius: var(--radius-full);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--success);
    font-weight: 500;
    z-index: 3000;
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    border-color: var(--error);
    color: var(--error);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-links {
        justify-content: center;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .help-categories {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .friends-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-links,
    .nav-auth {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        padding: 20px;
        border-bottom: 1px solid var(--dark-border);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-download {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .leaderboard-podium {
        flex-direction: column;
        align-items: center;
    }

    .podium-item.first {
        order: 1;
    }

    .podium-item.second {
        order: 2;
    }

    .podium-item.third {
        order: 3;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .leaderboard-row {
        flex-wrap: wrap;
    }

    .leaderboard-row .songs {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .modal-content {
        padding: 24px;
    }

    .friends-header {
        flex-direction: column;
        gap: 12px;
    }

    .friends-tabs {
        width: 100%;
        justify-content: center;
    }
}

/* Tilt Effect */
[data-tilt] {
    transform-style: preserve-3d;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* AI Section */
.ai-section {
    background: linear-gradient(180deg, var(--dark-lighter) 0%, var(--dark) 100%);
    overflow: hidden;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ai-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.ai-card.main-ai {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(255, 107, 53, 0.1));
    border-color: rgba(124, 77, 255, 0.3);
}

.ai-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 24px;
    position: relative;
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient);
    animation: aiPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes aiPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.ai-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.ai-card>p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.ai-metrics {
    display: flex;
    gap: 24px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ai-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ai-feature-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.ai-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.ai-feature-content h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.ai-feature-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.ai-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.ai-banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ai-banner-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.ai-banner-text p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.ai-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.ai-particles span:nth-child(1) {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.ai-particles span:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 0.5s;
}

.ai-particles span:nth-child(3) {
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.ai-particles span:nth-child(4) {
    top: 70%;
    right: 5%;
    animation-delay: 1.5s;
}

.ai-particles span:nth-child(5) {
    top: 40%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.6;
    }
}

/* App Notice */
.app-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 24px 0;
}

.app-notice i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.app-notice p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .ai-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ai-metrics {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ai-banner {
        flex-direction: column;
        text-align: center;
    }

    .ai-banner-content {
        flex-direction: column;
    }
}

/* Selection */
::selection {
    background: rgba(255, 107, 53, 0.3);
    color: var(--text);
}

/* ========================================
   AI Section - Extended Styles
   ======================================== */

/* AI Architecture Flow Diagram */
.ai-architecture {
    margin: 40px 0;
}

.ai-flow-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(26, 26, 53, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 30px 40px;
    flex-wrap: wrap;
}

.ai-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.ai-flow-step .flow-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.ai-flow-step.highlight .flow-icon {
    background: var(--gradient);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.ai-flow-step span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ai-flow-step.highlight span {
    color: var(--primary);
    font-weight: 600;
}

.ai-flow-arrow {
    color: var(--text-dim);
    font-size: 1.2rem;
}

/* Command Chips */
.ai-commands-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.command-chip {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-family: 'Outfit', monospace;
}

/* AI Extras Grid (PiP, Notifications, Background Audio) */
.ai-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.ai-extra-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.ai-extra-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.ai-extra-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.ai-extra-icon.pip-icon {
    background: linear-gradient(135deg, #7C4DFF 0%, #00D9FF 100%);
    color: white;
}

.ai-extra-icon.notification-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #FFD740 100%);
    color: white;
}

.ai-extra-icon.audio-icon {
    background: linear-gradient(135deg, #00E676 0%, #00D9FF 100%);
    color: white;
}

.ai-extra-card h4 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 10px;
}

.ai-extra-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.tech-badge {
    display: inline-block;
    background: rgba(124, 77, 255, 0.2);
    border: 1px solid rgba(124, 77, 255, 0.4);
    color: var(--secondary);
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: monospace;
}

/* AI Model Sizes */
.ai-model-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
}

.size-chip {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--accent);
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: monospace;
}

/* Responsive for new AI elements */
@media (max-width: 1024px) {
    .ai-extras-grid {
        grid-template-columns: 1fr;
    }

    .ai-flow-card {
        padding: 20px;
        gap: 15px;
    }

    .ai-flow-arrow {
        display: none;
    }

    .ai-flow-step .flow-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .ai-commands-preview {
        justify-content: center;
    }

    .ai-model-sizes {
        flex-direction: column;
        align-items: center;
    }

    .ai-flow-card {
        flex-direction: column;
    }
}

/* ========================================
   Profile Modal Styles
   ======================================== */
.profile-modal-content {
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
}

.avatar-edit-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: 2px solid var(--dark-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.avatar-edit-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--dark-border);
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.profile-stat i {
    font-size: 1.2rem;
    color: var(--primary);
}

.profile-stat span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.profile-stat small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.input-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: left;
}

/* User avatar in navbar - clickable */
.user-avatar {
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-avatar-large {
        width: 80px;
        height: 80px;
    }
}

/* ========================================
   Mobile Navigation Enhancement
   ======================================== */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-sm);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        display: none;
        border-top: 1px solid var(--dark-border);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--dark-border);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

    /* Hide desktop auth, show in mobile menu */
    .nav-auth {
        display: none !important;
    }

    .nav-links.active+.nav-auth,
    .nav-links .mobile-auth {
        display: flex;
    }
}

/* Mobile auth section in menu */
.mobile-auth-section {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--dark-border);
}

@media (max-width: 900px) {
    .mobile-auth-section {
        display: flex;
    }
}

.mobile-auth-section .btn {
    width: 100%;
    justify-content: center;
}

.mobile-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--dark-card);
    border-radius: var(--radius-md);
}

.mobile-user-menu img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.mobile-user-info {
    flex: 1;
}

.mobile-user-info .name {
    font-weight: 600;
    margin-bottom: 2px;
}

.mobile-user-info .email {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Username Lock Indicator */
.username-locked {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 215, 64, 0.1);
    border: 1px solid rgba(255, 215, 64, 0.3);
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.username-locked i {
    color: var(--warning);
}

.username-locked span {
    font-size: 0.8rem;
    color: var(--warning);
}

/* Profile Picture Upload */
.avatar-upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.avatar-upload-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer & App Preview Logo Images */
.footer-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.app-header-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.avatar-upload-content {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.avatar-upload-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin: 20px auto;
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.avatar-upload-btn:hover {
    transform: scale(1.05);
}

.avatar-upload-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

/* ========================================
   Profile Setup Extended Styles
   ======================================== */
.profile-setup-extended {
    max-width: 500px;
}

.profile-setup-extended .modal-header {
    margin-bottom: 16px;
}

.setup-avatar-selection {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.setup-avatar-main {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 3px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.setup-avatar-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.setup-avatar-main.has-avatar {
    border-color: var(--primary);
}

/* Preset Avatars */
.preset-avatars-section {
    margin-bottom: 20px;
    text-align: center;
}

.preset-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.preset-avatars-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.preset-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    overflow: hidden;
}

.preset-avatar:hover {
    transform: scale(1.1);
    border-color: var(--text-muted);
}

.preset-avatar.selected {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.preset-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Select Styling */
.select-wrapper select {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1rem;
    padding-right: 30px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.select-wrapper select option {
    background: var(--dark-card);
    color: var(--text);
}

/* Date input styling */
input[type="date"] {
    color-scheme: dark;
}