/* =====================================================
   TOR-TEA.SITE - Hlavní styly
   Premium mystický design v2.0
   ===================================================== */

/* CSS Variables - Premium Design System */
:root {
    --primary-dark: #0c0f1a;
    --primary-purple: #8b5cf6;
    --primary-blue: #1e293b;
    --secondary-purple: #7c3aed;
    
    --accent-gold: #f59e0b;
    --accent-cyan: #06b6d4;
    --accent-magenta: #d946ef;
    --accent-rose: #f43f5e;
    --accent-emerald: #10b981;
    
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --text-gold: #fcd34d;
    
    --bg-card: rgba(15, 23, 42, 0.7);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.55);
    
    --gradient-mystical: linear-gradient(145deg, #05060e 0%, #0c1022 30%, #120b20 60%, #080d1a 100%);
    --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-cosmic: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.08) 0%, transparent 50%),
                       radial-gradient(ellipse at 80% 50%, rgba(219,39,119,0.06) 0%, transparent 50%);
    --gradient-card: linear-gradient(145deg, rgba(30,41,59,0.6) 0%, rgba(15,23,42,0.8) 100%);
    
    --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.25), 0 0 50px rgba(124, 58, 237, 0.1);
    --shadow-glow-gold: 0 0 25px rgba(245, 158, 11, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(124,58,237,0.15);
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', '-apple-system', 'Segoe UI', sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-glass: 1px solid rgba(148, 163, 184, 0.08);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-mystical);
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.75;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--gradient-cosmic);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-magenta);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary-purple);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
    color: white;
}

.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: rgba(124, 58, 237, 0.06);
    border: 1.5px solid rgba(124, 58, 237, 0.4);
    color: var(--text-light);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* =====================================================
   HEADER - Glassmorphism
   ===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5, 6, 14, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(5, 6, 14, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.site-logo:hover {
    color: var(--accent-cyan);
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    background: rgba(107, 70, 193, 0.2);
}

.nav-link i {
    font-size: 0.875rem;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.625rem;
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(26, 26, 46, 0.98);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-radius: 6px;
}

.dropdown-link:hover {
    background: rgba(107, 70, 193, 0.2);
    color: var(--text-light);
}

.dropdown-link .count {
    margin-left: auto;
    font-size: 0.75rem;
    background: rgba(107, 70, 193, 0.3);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-toggle,
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.search-toggle:hover,
.mobile-menu-toggle:hover {
    background: rgba(107, 70, 193, 0.2);
    color: var(--text-light);
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

/* Search Panel */
.search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 26, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(107, 70, 193, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.search-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    flex: 1;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-submit {
    padding: 0.75rem 1.25rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: var(--accent-magenta);
}

.search-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 1rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: var(--bg-card);
    border-left: 4px solid;
    box-shadow: var(--shadow-card);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success { border-color: #48BB78; }
.alert-error { border-color: #E53E3E; }
.alert-warning { border-color: #ED8936; }
.alert-info { border-color: #4299E1; }

.alert-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.25rem;
}

/* Main Content */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    overflow: hidden;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--primary-dark) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(124,58,237,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(219,39,119,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(6,182,212,0.08) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Featured Card */
.featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.featured-card-image {
    position: relative;
    height: 250px;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 26, 0.9) 0%, transparent 100%);
}

.featured-card-content {
    padding: 1.5rem;
}

.featured-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--category-color, var(--primary-purple));
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.featured-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.featured-title a {
    color: var(--text-light);
}

.featured-title a:hover {
    color: var(--accent-cyan);
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.featured-meta i {
    margin-right: 0.375rem;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--accent-cyan);
}

/* Categories Section */
.categories-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--category-color, rgba(124,58,237,0.3));
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(124,58,237,0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 50%;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--category-color, var(--accent-cyan));
}

.category-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.category-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.category-count {
    font-size: 0.75rem;
    color: var(--accent-magenta);
}

/* Articles Section */
.articles-section {
    padding: 5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.articles-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Article Card - Premium Glass */
.article-card {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(145deg, rgba(124,58,237,0.2), transparent 50%, rgba(219,39,119,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card-image {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(45, 55, 72, 0.5);
    color: var(--text-muted);
    font-size: 2rem;
}

.article-video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 70, 193, 0.9);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
}

.article-card-content {
    padding: 1.25rem;
}

.article-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--category-color, var(--primary-purple));
    color: white;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 15px;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-light);
}

.article-title a:hover {
    color: var(--accent-cyan);
}

.article-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta i {
    margin-right: 0.25rem;
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-articles i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-articles h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, rgba(5,6,14,0.3) 0%, rgba(5,6,14,0.9) 100%);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    padding-top: 4rem;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 32px;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(107, 70, 193, 0.2);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-purple);
    color: white;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Newsletter Form */
.newsletter-form,
.newsletter-input-group {
    display: flex;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.625rem 1rem;
    background: rgba(45, 55, 72, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.newsletter-input-group button {
    padding: 0.625rem 1rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 0 6px 6px 0;
    color: white;
    cursor: pointer;
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(107, 70, 193, 0.1);
}

.footer-bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--primary-purple);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--gradient-accent);
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.4);
}

/* =====================================================
   BREADCRUMBS
   ===================================================== */
.breadcrumbs-section {
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.breadcrumbs a:hover {
    color: var(--accent-cyan);
}

.breadcrumbs span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 0.625rem;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-prev,
.pagination-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pagination-prev:hover,
.pagination-next:hover {
    background: var(--primary-purple);
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-purple);
    color: white;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

/* =====================================================
   VIDEO CONTAINER
   ===================================================== */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.newsletter-section {
    padding: 5rem 0;
}

.newsletter-box {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .newsletter-box {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        align-items: center;
    }
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.newsletter-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.newsletter-form-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .newsletter-input-wrapper {
        flex-direction: row;
    }
}

.newsletter-input-wrapper input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(13, 13, 26, 0.5);
    border: 1px solid rgba(107, 70, 193, 0.3);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.newsletter-privacy i {
    margin-right: 0.375rem;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-section {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.about-feature i {
    color: var(--accent-cyan);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.stat-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =====================================================
   MOBILE NAVIGATION OVERLAY
   ===================================================== */
@media (max-width: 767px) {
    .main-nav.mobile-active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(5, 6, 14, 0.97);
        backdrop-filter: blur(20px);
        z-index: 999;
        padding: 5rem 2rem 2rem;
        animation: fadeSlideIn 0.3s ease;
    }
    
    .main-nav.mobile-active .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .main-nav.mobile-active .nav-link {
        font-size: 1.25rem;
        padding: 1rem 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .main-nav.mobile-active .nav-link:hover,
    .main-nav.mobile-active .nav-link.active {
        background: rgba(124, 58, 237, 0.15);
    }
    
    .main-nav.mobile-active .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(15, 23, 42, 0.5);
        border: none;
        margin-top: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    body.menu-open { overflow: hidden; }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   ARTICLE DETAIL - Premium
   ===================================================== */
.article-detail .article-header {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.article-header-background {
    position: absolute;
    inset: 0;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,6,14,1) 0%, rgba(5,6,14,0.6) 40%, rgba(5,6,14,0.2) 100%);
}

.article-header-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.article-category-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: var(--category-color, var(--primary-purple));
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.article-detail .article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .article-detail .article-title { font-size: 3rem; }
}

.article-detail .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(124,58,237,0.3);
}

.author-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.meta-info {
    display: flex;
    gap: 1.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-body {
    padding: 3rem 0;
    z-index: 1;
    position: relative;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr 320px;
    }
}

.article-text {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.article-text h2,
.article-text h3 {
    color: var(--text-light);
    margin-top: 2.5rem;
}

.article-text p { margin-bottom: 1.5rem; }

.article-text a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-text img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

/* Article Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(148,163,184,0.1);
    margin-top: 2rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(124,58,237,0.2);
    color: var(--text-light);
}

/* Share Buttons */
.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.15);
    color: var(--text-muted);
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

/* Author Box */
.article-author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

/* Article Navigation */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(148,163,184,0.1);
}

.nav-prev, .nav-next {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.25rem;
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-next { text-align: right; }

.nav-prev:hover, .nav-next:hover {
    border-color: rgba(124,58,237,0.2);
    transform: translateY(-2px);
}

.nav-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-title {
    color: var(--text-light);
    font-weight: 500;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148,163,184,0.08);
}

.widget-title i {
    color: var(--accent-cyan);
}

.sidebar-newsletter {
    background: linear-gradient(145deg, rgba(124,58,237,0.15), rgba(15,23,42,0.8));
    border-color: rgba(124,58,237,0.2);
    text-align: center;
}

.sidebar-newsletter .newsletter-icon {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(5,6,14,0.5);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

/* Table of Contents */
.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 0.25rem;
}

.table-of-contents a {
    display: block;
    padding: 0.4rem 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: var(--transition-fast);
}

.table-of-contents a:hover {
    color: var(--text-light);
    background: rgba(124,58,237,0.08);
    border-left-color: var(--primary-purple);
}

.table-of-contents li.h3 a {
    padding-left: 1.5rem;
    font-size: 0.825rem;
}

/* Related Articles List */
.related-articles-list {
    list-style: none;
}

.related-article {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148,163,184,0.06);
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.related-article:hover { color: var(--text-light); }

.related-image {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-title {
    font-size: 0.85rem;
    display: block;
}

.related-category {
    font-size: 0.7rem;
    color: var(--category-color, var(--accent-cyan));
}

/* =====================================================
   ARCHIVE PAGE - Premium
   ===================================================== */
.archive-section {
    padding: 2rem 0 5rem;
    z-index: 1;
    position: relative;
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .archive-layout {
        grid-template-columns: 1fr 320px;
    }
}

.archive-header {
    margin-bottom: 2rem;
}

.archive-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.archive-title i {
    color: var(--accent-cyan);
}

.archive-subtitle {
    color: var(--text-muted);
}

.archive-category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.category-icon-large {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124,58,237,0.15);
    border-radius: var(--radius-md);
    font-size: 1.75rem;
    color: var(--category-color, var(--accent-cyan));
}

/* Archive Filters */
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148,163,184,0.08);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(148,163,184,0.1);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(124,58,237,0.15);
    border-color: rgba(124,58,237,0.3);
    color: var(--text-light);
}

.archive-search-form .search-input-group {
    display: flex;
}

.archive-search-form input {
    padding: 0.5rem 1rem;
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(148,163,184,0.1);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.archive-search-form button {
    padding: 0.5rem 1rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
}

/* Article List Item */
.article-list-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
    .article-list-item {
        grid-template-columns: 250px 1fr;
    }
}

.article-list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(124,58,237,0.15);
}

.article-list-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-list-item:hover .article-list-image img {
    transform: scale(1.05);
}

.article-list-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.article-list-title a {
    color: var(--text-light);
}

.article-list-title a:hover {
    color: var(--accent-cyan);
}

.article-list-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-list-meta-top,
.article-list-meta-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-list-meta-top { margin-bottom: 0.75rem; }

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.read-more-link:hover {
    gap: 0.75rem;
}

/* Sidebar Archive */
.sidebar-search-form {
    display: flex;
}

.sidebar-search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(5,6,14,0.5);
    border: 1px solid rgba(124,58,237,0.15);
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.sidebar-search-form button {
    padding: 0.6rem 1rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
}

.sidebar-categories {
    list-style: none;
}

.sidebar-categories a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(148,163,184,0.06);
}

.sidebar-categories a:hover {
    color: var(--text-light);
}

.cat-count {
    margin-left: auto;
    font-size: 0.75rem;
    background: rgba(124,58,237,0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.sidebar-popular {
    list-style: none;
}

.sidebar-popular li {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(148,163,184,0.06);
}

.popular-number {
    width: 28px;
    height: 28px;
    background: rgba(124,58,237,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    color: var(--accent-cyan);
}

.popular-title {
    color: var(--text-light);
    font-size: 0.85rem;
}

.popular-title:hover { color: var(--accent-cyan); }

.popular-views {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.no-results-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.4; }
.no-results h3 { color: var(--text-light); margin-bottom: 0.5rem; }

/* Error Page */
.error-section {
    padding: 8rem 0;
    text-align: center;
    z-index: 1;
    position: relative;
}

.error-icon { font-size: 5rem; color: var(--text-muted); opacity: 0.3; margin-bottom: 2rem; }
.error-title { font-size: 2.5rem; margin-bottom: 1rem; }
.error-text { color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.error-actions { display: flex; justify-content: center; gap: 1rem; }

/* Related Section */
.related-section {
    padding: 3rem 0 5rem;
    z-index: 1;
    position: relative;
}

/* Newsletter Section glass */
.newsletter-box {
    background: var(--gradient-card);
    border: var(--border-glass);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.newsletter-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Featured Card glow */
.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gradient-card);
    box-shadow: var(--shadow-card);
    border: var(--border-glass);
    transition: var(--transition);
}

.featured-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-5px);
}
