/* Modern CSS Reset and Variables - Red Pink Theme */
:root {
    --primary-red: #ff0055;
    --primary-pink: #ff3388;
    --primary-dark: #0f0f0f;
    --secondary-dark: #1a1a1a;
    --card-dark: #242424;
    --accent-dark: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333333;
    --hover-color: #2a2a2a;
    --sidebar-width: 240px;
    --header-height: 64px;
    --mobile-nav-height: 60px;
    --shadow: 0 8px 32px rgba(255, 0, 85, 0.15);
    --shadow-lg: 0 16px 48px rgba(255, 0, 85, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--primary-pink));
    --gradient-secondary: linear-gradient(135deg, #ff3388, #ff66aa);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    --gradient-card: linear-gradient(135deg, #242424, #1a1a1a);
}

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Enhanced Header with Glass Morphism */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    box-shadow: var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 160px;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.menu-btn:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 22px;
    gap: 10px;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    color: var(--primary-red);
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.3));
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Advanced Search with Modern Design */
.header-center {
    flex: 1;
    max-width: 640px;
    margin: 0 40px;
    position: relative;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.search-box {
    display: flex;
    flex: 1;
    height: 48px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--secondary-dark);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-box:focus-within {
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(255, 51, 136, 0.1), 0 8px 32px rgba(255, 0, 85, 0.15);
    transform: translateY(-1px);
}

.search-input {
    flex: 1;
    padding: 0 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    font-weight: 500;
}

.search-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-btn {
    padding: 0 28px;
    background: var(--accent-dark);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
    font-weight: 600;
}

.search-btn:hover {
    background: var(--primary-pink);
    color: white;
}

.voice-search-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.voice-search-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Header Right with Enhanced Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
    justify-content: flex-end;
}

.header-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    font-weight: 600;
    font-size: 14px;
}

.header-btn:hover {
    background: var(--hover-color);
    transform: translateY(-1px);
}

.btn-text {
    font-size: 14px;
    font-weight: 600;
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    width: 20px;
    height: 20px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 0, 85, 0.3);
}

/* Enhanced User Menu */
.user-menu {
    position: relative;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.user-avatar:hover {
    border-color: var(--primary-pink);
    transform: scale(1.1);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 12px 0;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px) scale(1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--hover-color);
    padding-left: 28px;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-pink);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 8px 0;
}

/* Advanced Sidebar with Glass Effect */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    transition: var(--transition-slow);
    z-index: 900;
}

.sidebar-content {
    padding: 24px 0;
}

.sidebar-section {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-header {
    padding: 12px 24px 8px;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    border-radius: 0;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    opacity: 0.1;
}

.sidebar-item:hover::before,
.sidebar-item.active::before {
    width: 4px;
}

.sidebar-item:hover, .sidebar-item.active {
    background: var(--hover-color);
    padding-left: 28px;
}

.sidebar-item.active {
    color: var(--primary-pink);
}

.sidebar-item i {
    width: 24px;
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
    z-index: 1;
}

.sidebar-item.active i {
    color: var(--primary-pink);
    transform: scale(1.1);
}

.sidebar-item:hover i {
    transform: scale(1.1);
}

.channel-item {
    padding: 12px 24px;
}

.channel-avatar.small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.channel-item:hover .channel-avatar.small {
    border-color: var(--primary-pink);
    transform: scale(1.1);
}

.channel-avatar.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Enhanced Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    transition: var(--transition-slow);
    background: var(--gradient-dark);
}

.content-wrapper {
    padding: 0;
}

/* Advanced Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 120px 40px;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(255, 0, 85, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary, .btn-tertiary {
    padding: 18px 36px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before, .btn-tertiary::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: var(--transition);
}

.btn-primary:hover::before, .btn-secondary:hover::before, .btn-tertiary:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--card-dark);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow);
}

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

.btn-tertiary:hover {
    color: var(--primary-pink);
    transform: translateY(-3px);
    background: rgba(255, 51, 136, 0.1);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature i {
    color: var(--primary-pink);
    font-size: 18px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    filter: blur(40px);
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg) scale(1.1); 
    }
}

/* Enhanced Stats Section */
.stats-section {
    padding: 100px 40px;
    background: var(--primary-dark);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-pink), transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: var(--gradient-card);
    padding: 48px 28px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::after {
    opacity: 0.05;
}

.stat-card i {
    font-size: 3.5rem;
    color: var(--primary-pink);
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(255, 0, 85, 0.3));
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Enhanced Featured Section */
.featured-section {
    padding: 100px 40px;
    background: var(--secondary-dark);
    position: relative;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    max-width: 1300px;
    margin: 0 auto 48px;
}

.featured-video-card {
    background: var(--gradient-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--shadow);
}

.featured-video-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow-lg);
}

.featured-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.featured-video-card:hover .featured-thumbnail img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 0, 85, 0.3);
}

.featured-content {
    padding: 24px;
}

.featured-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.featured-channel {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.section-actions {
    text-align: center;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline:hover::before {
    left: 0;
}

/* Enhanced Actions Section */
.actions-section {
    padding: 100px 40px;
    background: var(--primary-dark);
    position: relative;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.action-card {
    background: var(--gradient-card);
    padding: 48px 28px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.action-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-pink);
    box-shadow: var(--shadow-lg);
}

.action-card:hover::before {
    opacity: 0.05;
}

.action-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    color: white;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.3);
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(255, 0, 85, 0.4);
}

.action-icon.premium {
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.action-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.action-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

/* Enhanced Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 16px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10px;
    gap: 6px;
    padding: 12px;
    transition: var(--transition);
    flex: 1;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 12px;
    max-width: 80px;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.nav-item.active {
    color: var(--primary-pink);
    background: rgba(255, 51, 136, 0.1);
}

.nav-item.active i {
    transform: scale(1.2);
}

.nav-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Enhanced Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.modal-content {
    background: var(--gradient-card);
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    animation: modalScaleIn 0.3s ease forwards;
}

@keyframes modalScaleIn {
    to {
        transform: scale(1);
    }
}

.premium-modal {
    max-width: 500px;
}

.modal-header {
    padding: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
}

.modal-header h3 {
    font-size: 26px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--hover-color);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 28px;
}

.demo-video {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.premium-features {
    margin-bottom: 36px;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.premium-feature:last-child {
    border-bottom: none;
}

.premium-feature:hover {
    padding-left: 8px;
}

.premium-feature i {
    color: var(--primary-pink);
    width: 24px;
    font-size: 18px;
}

.premium-pricing {
    text-align: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.btn-premium {
    background: linear-gradient(135deg, #ffd700, #ff6b00);
    color: #000;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
}

.btn-premium:hover::before {
    left: 100%;
}

/* Enhanced Toast Notifications */
.toast-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 3000;
}

.toast {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary-pink);
    padding: 18px 22px;
    border-radius: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    backdrop-filter: blur(10px);
    transform-origin: top right;
}

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

.toast i {
    color: var(--primary-pink);
    font-size: 20px;
}

.toast.success {
    border-left-color: #00C851;
}

.toast.success i {
    color: #00C851;
}

.toast.error {
    border-left-color: #ff4444;
}

.toast.error i {
    color: #ff4444;
}

/* Enhanced Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.loading {
    animation: shimmer 1.5s infinite linear;
    background: linear-gradient(to right, var(--secondary-dark) 8%, var(--hover-color) 18%, var(--secondary-dark) 33%);
    background-size: 1000px 104px;
    border-radius: 12px;
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-pink);
}

/* Advanced Responsive Design */
@media (max-width: 1200px) {
    .sidebar {
        width: 72px;
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 72px;
    }
    
    .item-text, .sidebar-header {
        display: none;
    }
    
    .sidebar-item {
        justify-content: center;
        padding: 18px 0;
    }
    
    .sidebar-item i {
        margin: 0;
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 16px;
    }
    
    .header-center {
        margin: 0 20px;
    }
    
    .search-box {
        display: none;
    }
    
    .voice-search-btn {
        display: none;
    }
    
    .btn-text {
        display: none;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-primary, .btn-secondary, .btn-tertiary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-section, .stats-section, .featured-section, .actions-section {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 12px;
    }
    
    .header-left {
        min-width: auto;
    }
    
    .logo-text {
        display: none;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 40px 16px;
        min-height: 70vh;
    }
    
    .stats-section, .featured-section, .actions-section {
        padding: 40px 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stat-card, .action-card {
        padding: 36px 20px;
    }
}

/* Advanced Utility Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.hover-lift {
    transition: var(--transition);
}

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

/* Advanced Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}




/* index.css में variables update करें */
:root {
    /* Existing variables... */
    
    /* New theme variables */
    --theme-primary: #ff0055;
    --theme-secondary: #ff3388;
    --theme-accent: #00ff88;
    --theme-background: #0f0f0f;
    --theme-surface: #1a1a1a;
    --theme-text: #ffffff;
}

[data-theme="blue"] {
    --theme-primary: #0088ff;
    --theme-secondary: #00aaff;
    --theme-accent: #ffaa00;
}

[data-theme="purple"] {
    --theme-primary: #aa00ff;
    --theme-secondary: #cc44ff;
    --theme-accent: #00ffcc;
}

.theme-selector {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--card-dark);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1000;
}

.theme-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.theme-option.active {
    border-color: var(--text-primary);
    transform: scale(1.1);
}

/* index.css में add करें */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition.active {
    transform: scaleY(1);
    transform-origin: top;
}