  /* Цвета навигации для светлой темы */
        
        /* Временно скрываем переключатель языков */
        .lang-switch, #langSwitch, #mobileLangSwitch {
            display: none !important;
        }
        
        .desktop-nav a,
        .bottom-nav .nav-item {
            color: #000;
        }

        /* Цвета навигации для темной темы */
        [data-theme="dark"] .desktop-nav a,
        [data-theme="dark"] .bottom-nav .nav-item {
            color: #ffffff;
        }

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

        :root {
            --bg-color: #f5f5f5;
            --card-bg: #ffffff;
            --text-color: #333;
            --border-color: #e0e0e0;
            --primary-color: #ff8a50;
            --primary-hover: #ff7043;
            --secondary-color: #666;
            --shadow: 0 2px 8px rgba(0,0,0,0.1);
            --header-height: 60px;
            --mobile-bottom-nav: 60px;
            
            /* Для совместимости со старыми стилями */
            --bg-primary: var(--card-bg);
            --bg-secondary: var(--card-bg);
            --bg-tertiary: #e9ecef;
            --text-primary: var(--text-color);
            --text-secondary: var(--secondary-color);
            --text-muted: #868e96;
            --accent-primary: var(--primary-color);
            --accent-hover: var(--primary-hover);
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
        }

        [data-theme="dark"] {
            --bg-color: #1a1a1a;
            --card-bg: #2d2d2d;
            --text-color: #ffffff;
            --border-color: #444;
            --secondary-color: #aaa;
            --shadow: 0 2px 8px rgba(0,0,0,0.3);
            
            /* Для совместимости */
            --bg-primary: #121212;
            --bg-secondary: #1e1e1e;
            --bg-tertiary: #2a2a2a;
            --text-primary: #ffffff;
            --text-secondary: #b3b3b3;
            --text-muted: #666666;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            padding-bottom: var(--mobile-bottom-nav);
        }

        /* Header - унифицированный с catalog.html */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background: var(--card-bg);
            border-bottom: 1px solid var(--border-color);
            display: none;
            align-items: center;
            padding: 0 32px;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .logo {
            font-size: 20px;
            font-weight: bold;
            color: var(--primary-color);
            margin-right: auto;
            cursor: pointer;
            text-decoration: none;
        }

        .logo:hover {
            color: var(--primary-hover);
        }

        .desktop-nav {
            display: flex;
            gap: 24px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .desktop-nav a {
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
        }

        .desktop-nav a.active {
            background: var(--primary-color);
            color: white;
        }

        .desktop-nav a:hover {
            background: var(--primary-hover);
            color: white;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .lang-switch, .theme-toggle {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .theme-toggle {
            font-size: 16px;
            width: 40px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .profile-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
            border: none;
        }

        .profile-btn:hover {
            background: var(--primary-hover);
            transform: scale(1.05);
        }

        .profile-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }

        /* Mobile Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--mobile-bottom-nav);
            background: var(--card-bg);
            border-top: 1px solid var(--border-color);
            display: flex;
            z-index: 1000;
            backdrop-filter: blur(8px);
        }

        .nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--text-secondary);
            font-size: 11px;
            gap: 4px;
            transition: all 0.2s ease;
            cursor: pointer;
            user-select: none;
        }

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

        .nav-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-icon svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        /* Main Content */
        .main-content {
            margin-top: 0;
        }

        /* Hero Carousel */
        .hero-section {
            position: relative;
            height: 450px;
            overflow: hidden;
            margin-bottom: 40px;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.5s ease;
            background-size: cover;
            background-position: center;
        }

        .carousel-slide.active {
            opacity: 1;
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(0, 0, 0, 0.8) 0%,
                rgba(0, 0, 0, 0.4) 50%,
                transparent 100%
            );
        }

        .slide-content {
            position: absolute;
            bottom: 60px;
            left: 40px;
            max-width: 500px;
            z-index: 2;
        }

        .slide-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 16px;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .slide-description {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 24px;
            line-height: 1.5;
        }

        .slide-meta {
            display: flex;
            gap: 16px;
            margin-bottom: 24px;
        }

        .slide-badge {
            background: var(--accent-primary);
            color: white;
            padding: 6px 12px;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
            font-weight: 600;
        }

        .slide-actions {
            display: flex;
            gap: 16px;
        }

        .btn {
            padding: 12px 24px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            border: none;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-primary {
            background: var(--accent-primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(8px);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            right: 40px;
            display: flex;
            gap: 8px;
            z-index: 3;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.2s;
        }

        .indicator.active {
            background: var(--accent-primary);
            transform: scale(1.2);
        }

        /* Content Sections */
        .content-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section {
            margin-bottom: 48px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .section-icon {
            font-size: 1.5rem;
        }

        .view-all-btn {
            color: var(--accent-primary);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s;
        }

        .view-all-btn:hover {
            color: var(--accent-hover);
            transform: translateX(4px);
        }

        /* Manga Grid */
        .manga-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
        }

        @media (max-width: 768px) {
            .manga-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 16px;
            }
        }

        /* Manga Card */
        .manga-card {
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
        }

        .manga-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow);
        }

        .card-image-container {
            position: relative;
            aspect-ratio: 3/4;
            overflow: hidden;
        }

        .card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .manga-card:hover .card-image {
            transform: scale(1.05);
        }

        .card-badges {
            position: absolute;
            top: 8px;
            right: 8px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            z-index: 2;
        }

        .badge {
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 4px 8px;
            border-radius: var(--radius-sm);
            font-size: 11px;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }

        .badge.rating {
            background: var(--accent-primary);
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .badge.new {
            background: #28a745;
        }

        .badge.hot {
            background: #dc3545;
        }

        .badge.updated {
            background: #ffc107;
            color: #000;
        }

        .card-info {
            padding: 12px;
        }

        .card-title {
            font-size: 14px;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-secondary);
            margin-bottom: 8px;
        }

        .card-chapters {
            font-weight: 500;
        }

        .card-type {
            background: var(--bg-tertiary);
            padding: 2px 6px;
            border-radius: 4px;
            font-size: 10px;
        }

        .card-time {
            font-size: 11px;
            color: var(--text-muted);
        }

        /* News Section */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 24px;
        }

        .news-card {
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            padding: 20px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .news-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .news-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .news-excerpt {
            color: var(--text-secondary);
            margin-bottom: 16px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 12px;
            color: var(--text-muted);
        }

        .news-tag {
            background: var(--accent-primary);
            color: white;
            padding: 4px 8px;
            border-radius: var(--radius-sm);
            font-size: 10px;
            font-weight: 600;
        }

        /* Recent Updates */
        .updates-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .update-item {
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            padding: 16px;
            display: flex;
            gap: 16px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .update-item:hover {
            background: var(--bg-tertiary);
            transform: translateX(4px);
        }

        .update-image {
            width: 60px;
            height: 80px;
            border-radius: var(--radius-sm);
            object-fit: cover;
            flex-shrink: 0;
        }

        .update-content {
            flex: 1;
            min-width: 0;
        }

        .update-title {
            font-weight: 600;
            margin-bottom: 6px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .update-chapter {
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 4px;
        }

        .update-time {
            color: var(--text-muted);
            font-size: 12px;
        }

        /* Loading */
        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px;
            color: var(--text-secondary);
        }

        .spinner {
            width: 32px;
            height: 32px;
            border: 3px solid var(--border-color);
            border-top: 3px solid var(--accent-primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 16px;
        }

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

        /* Side Menu */
        .side-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background: var(--card-bg);
            box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
            z-index: 2000;
            transition: right 0.3s ease;
            padding: var(--header-height) 0 0 0;
            overflow-y: auto;
        }

        .side-menu.open {
            right: 0;
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1500;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .menu-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .auth-buttons {
            padding: 20px;
        }

        .auth-btn {
            width: 100%;
            padding: 12px;
            margin-bottom: 12px;
            border: 1px solid var(--accent-primary);
            border-radius: var(--radius-sm);
            background: var(--accent-primary);
            color: white;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .auth-btn:hover {
            background: var(--accent-hover);
        }

        /* User Section */
        .user-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--accent-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            color: white;
        }

        .user-avatar svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
        }

        .user-name {
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 4px;
        }

        .user-email {
            font-size: 14px;
            color: var(--text-secondary);
        }

        /* Mobile Theme Toggle */
        .mobile-theme-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-theme-toggle span {
            color: var(--text-primary);
            font-weight: 500;
        }

        .mobile-theme-btn {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            cursor: pointer;
            font-size: 16px;
            width: 40px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .mobile-theme-btn:hover {
            border-color: var(--primary-color);
        }

        .mobile-theme-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }

        /* Mobile Language Select */
        .mobile-lang-select {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-lang-select select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            cursor: pointer;
        }

        .menu-item {
            display: block;
            padding: 16px 20px;
            color: var(--text-primary);
            text-decoration: none;
            border-bottom: 1px solid var(--border-color);
            transition: background 0.2s;
            cursor: pointer;
        }

        .menu-item:hover {
            background: var(--bg-color);
        }

        .logout-btn {
            color: #dc3545;
        }

        /* Responsive */
        @media (min-width: 768px) {
            body {
                padding-bottom: 0;
            }
            
            .header {
                display: flex;
            }
            
            .main-content {
                margin-top: var(--header-height);
            }
            
            .bottom-nav {
                display: none !important;
            }

            .slide-content {
                bottom: 80px;
                left: 60px;
            }

            .slide-title {
                font-size: 3rem;
            }

            .slide-description {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                height: 300px;
            }

            .slide-content {
                bottom: 40px;
                left: 20px;
                right: 20px;
                max-width: none;
            }

            .slide-title {
                font-size: 1.75rem;
            }

            .slide-description {
                font-size: 0.9rem;
            }

            .slide-actions {
                flex-direction: column;
                gap: 12px;
            }

            .carousel-indicators {
                bottom: 16px;
                right: 20px;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .content-container {
                padding: 0 16px;
            }
        }
        /* Основные переменные */
        :root {
            --bg-color: #f5f5f5;
            --card-bg: #ffffff;
            --text-color: #333;
            --border-color: #e0e0e0;
            --primary-color: #ff8a50;
            --primary-hover: #ff7043;
            --secondary-color: #666;
            --shadow: 0 2px 8px rgba(0,0,0,0.1);
            --header-height: 60px;
            --mobile-bottom-nav: 60px;
            --success-color: #10b981;
            --premium-color: #8b5cf6;
            --vip-color: #f59e0b;
        }

        [data-theme="dark"] {
            --bg-color: #1a1a1a;
            --card-bg: #2d2d2d;
            --text-color: #ffffff;
            --border-color: #444;
            --secondary-color: #aaa;
            --shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
            min-height: 100vh;
            padding-bottom: var(--mobile-bottom-nav);
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background: var(--card-bg);
            border-bottom: 1px solid var(--border-color);
            display: none;
            align-items: center;
            padding: 0 32px;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .logo {
            font-size: 20px;
            font-weight: bold;
            color: var(--primary-color);
            margin-right: auto;
            cursor: pointer;
            text-decoration: none;
        }

        .logo:hover {
            color: var(--primary-hover);
        }

        .desktop-nav {
            display: flex;
            gap: 24px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        .desktop-nav a {
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            color: var(--text-color);
        }

        .desktop-nav a.active {
            background: var(--primary-color);
            color: white;
        }

        .desktop-nav a:hover {
            background: var(--primary-hover);
            color: white;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .lang-switch, .theme-toggle {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            cursor: pointer;
            font-size: 12px;
            transition: all 0.2s ease;
        }

        .theme-toggle {
            font-size: 16px;
            width: 40px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .profile-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
            border: none;
        }

        .profile-btn:hover {
            background: var(--primary-hover);
            transform: scale(1.05);
        }

        .profile-btn svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
        }

        /* Main Content */
        .main-content {
            margin-top: 0;
            min-height: calc(100vh - var(--mobile-bottom-nav));
        }

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

        /* Hero Section */
        .hero-section {
            text-align: center;
            padding: 60px 20px;
            background: linear-gradient(135deg, rgba(255, 138, 80, 0.1) 0%, rgba(255, 112, 67, 0.1) 100%);
            margin-bottom: 40px;
            border-radius: 20px;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }

        .hero-title span {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            color: var(--secondary-color);
            margin-bottom: 32px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Period Toggle */
        .period-toggle {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
        }

        .toggle-container {
            background: var(--card-bg);
            border-radius: 38px;
            padding: 6px;
            box-shadow: var(--shadow);
            display: inline-flex;
            gap: 3px;
            justify-content: center;
            transform: scale(0.75);
        }

        .toggle-btn {
            padding: 9px 18px;
            border-radius: 38px;
            border: none;
            background: transparent;
            color: var(--secondary-color);
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            font-weight: 600;
            position: relative;
        }

        .toggle-btn.active {
            background: var(--primary-color);
            color: white;
            transform: scale(1.05);
        }

        .toggle-btn:hover:not(.active) {
            background: rgba(255, 138, 80, 0.1);
            color: var(--primary-color);
        }

        .discount-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background: var(--success-color);
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 8px;
            font-weight: bold;
        }

        /* Subscription Plans */
        .plans-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin-bottom: 60px;
        }

        .plan-card {
            background: var(--card-bg);
            border-radius: 12px;
            padding: 16px;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
        }

        .plan-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.15);
        }

        .plan-card.popular {
            border-color: var(--primary-color);
            box-shadow: 0 8px 32px rgba(255, 138, 80, 0.3);
        }

        .plan-card.premium {
            border-color: var(--premium-color);
            box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
        }

        .plan-card.vip {
            border-color: var(--vip-color);
            box-shadow: 0 8px 32px rgba(245, 158, 11, 0.3);
        }

        .popular-badge {
            position: absolute;
            top: 12px;
            right: -8px;
            background: var(--primary-color);
            color: white;
            padding: 4px 16px;
            font-size: 10px;
            font-weight: bold;
            border-radius: 12px;
            transform: rotate(12deg);
            box-shadow: 0 2px 8px rgba(255, 138, 80, 0.4);
        }

        .plan-header {
            text-align: center;
            margin-bottom: 16px;
        }

        .plan-icon {
            font-size: 2rem;
            margin-bottom: 8px;
            display: block;
        }

        .plan-name {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 4px;
            color: var(--text-color);
        }

        .plan-tier {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 8px;
            font-size: 10px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .plan-card .plan-tier {
            background: rgba(255, 138, 80, 0.1);
            color: var(--primary-color);
        }

        .plan-card.premium .plan-tier {
            background: rgba(139, 92, 246, 0.1);
            color: var(--premium-color);
        }

        .plan-card.vip .plan-tier {
            background: rgba(245, 158, 11, 0.1);
            color: var(--vip-color);
        }

        .plan-price {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 4px;
        }

        .plan-period {
            color: var(--secondary-color);
            font-size: 0.8rem;
        }

        .plan-features {
            list-style: none;
            padding: 0;
            margin: 16px 0;
        }

        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            font-size: 0.85rem;
        }

        .feature-icon {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            flex-shrink: 0;
        }

        .feature-available {
            color: var(--success-color);
        }

        .feature-unavailable {
            color: var(--secondary-color);
            opacity: 0.5;
        }

        .plan-button {
            width: 100%;
            padding: 10px 16px;
            border-radius: 8px;
            border: none;
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .plan-card .plan-button {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
            color: white;
        }

        .plan-card.premium .plan-button {
            background: linear-gradient(135deg, var(--premium-color), #7c3aed);
            color: white;
        }

        .plan-card.vip .plan-button {
            background: linear-gradient(135deg, var(--vip-color), #d97706);
            color: white;
        }

        .plan-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        }

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

        /* Free Plan Styles */
        .plan-card.free .plan-button {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .plan-card.free .plan-button:hover {
            background: var(--primary-color);
            color: white;
        }

        /* Bottom Navigation */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: var(--mobile-bottom-nav);
            background: var(--card-bg);
            border-top: 1px solid var(--border-color);
            display: flex;
            z-index: 1000;
            box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
        }

        .nav-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--secondary-color);
            font-size: 11px;
            gap: 4px;
            transition: all 0.2s ease;
            cursor: pointer;
            user-select: none;
        }

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

        .nav-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-icon svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
        }

        /* Side Menu */
        .side-menu {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background: var(--card-bg);
            box-shadow: -2px 0 8px rgba(0,0,0,0.2);
            z-index: 2000;
            transition: right 0.3s ease;
            padding: var(--header-height) 0 0 0;
            overflow-y: auto;
        }

        .side-menu.open {
            right: 0;
        }

        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 1500;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .menu-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .mobile-theme-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-theme-toggle span {
            font-weight: 500;
        }

        .mobile-theme-btn {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .mobile-theme-btn:hover {
            border-color: var(--primary-color);
        }

        .mobile-theme-btn svg {
            width: 16px;
            height: 16px;
            fill: currentColor;
        }

        .menu-item {
            display: block;
            padding: 16px 20px;
            color: var(--text-color);
            text-decoration: none;
            border-bottom: 1px solid var(--border-color);
            transition: background 0.2s;
            cursor: pointer;
        }

        .menu-item:hover {
            background: var(--bg-color);
        }

        .auth-buttons {
            padding: 20px;
        }

        .auth-btn {
            width: 100%;
            padding: 12px;
            margin-bottom: 12px;
            border: 1px solid var(--primary-color);
            border-radius: 6px;
            background: var(--primary-color);
            color: white;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        .auth-btn:hover {
            background: var(--primary-hover);
        }

        .user-info {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
            text-align: center;
        }

        .user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            margin: 0 auto 12px;
        }

        .user-avatar svg {
            width: 30px;
            height: 30px;
            stroke: currentColor;
        }

        .user-name {
            font-weight: 600;
            margin-bottom: 4px;
        }

        .user-email {
            font-size: 12px;
            color: var(--secondary-color);
        }

        .logout-btn {
            color: #dc3545;
            border-top: 1px solid var(--border-color);
            margin-top: 20px;
        }

        .logout-btn:hover {
            background: rgba(220, 53, 69, 0.1);
        }

        .mobile-lang-select {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-lang-select select {
            width: 100%;
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background: var(--card-bg);
            color: var(--text-color);
            font-size: 14px;
        }

        /* Notification */
        .notification {
            position: fixed;
            top: 80px;
            right: 20px;
            background: #10b981;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            box-shadow: var(--shadow);
            z-index: 1000;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .notification.show {
            transform: translateX(0);
        }

        .notification.error {
            background: #ef4444;
        }

        /* Responsive */
        @media (min-width: 768px) {
            body {
                padding-bottom: 0;
            }
            
            .header {
                display: flex;
            }
            
            .main-content {
                margin-top: var(--header-height);
            }
            
            .bottom-nav {
                display: none !important;
            }
            
            .mobile-theme-toggle,
            .mobile-lang-select {
                display: none;
            }
            
            .side-menu {
                padding-top: var(--header-height);
            }

            .hero-title {
                font-size: 4rem;
            }

            .plans-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .plans-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .plan-card {
                padding: 12px;
            }

            .plan-name {
                font-size: 1rem;
            }

            .plan-price {
                font-size: 1.6rem;
            }

            .mobile-theme-toggle,
            .mobile-lang-select {
                display: flex;
            }
            
            .side-menu {
                padding-top: 0;
            }
        }
