/**
 * Klasičan Gejming - Main Stylesheet
 * Premium Gaming Portal - Dark theme with neon accents
 * © 2025 Klasičan Gejming
 */

/* ===== Font Awesome Icons Fix ===== */
.fa, .fas, .far, .fal, .fad, .fab, .fa-brands {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --bg-primary: #050508;
    --bg-secondary: #0a0a12;
    --bg-card: #12121c;
    --bg-card-hover: #1a1a28;
    --bg-hover: #1e1e2d;
    --bg-input: #0d0d15;
    
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6b6b80;
    
    --border-color: #1f1f30;
    --border-light: #2a2a40;
    --border-glow: rgba(255, 45, 117, 0.3);
    
    /* Accent colors */
    --accent-pink: #ff2d75;
    --accent-pink-light: #ff5c94;
    --accent-pink-dark: #cc2460;
    --accent-cyan: #00d4ff;
    --accent-cyan-light: #40e0ff;
    --accent-purple: #9945ff;
    --accent-purple-light: #b06aff;
    --accent-green: #00ff88;
    --accent-yellow: #ffcc00;
    --accent-orange: #ff6b35;
    --accent-red: #ff3366;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    --gradient-cyan: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --gradient-fire: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-pink) 100%);
    --gradient-neon: linear-gradient(90deg, var(--accent-cyan), var(--accent-pink), var(--accent-purple), var(--accent-cyan));
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 40, 0.8) 0%, rgba(18, 18, 28, 0.9) 100%);
    
    /* Glass effect */
    --glass-bg: rgba(18, 18, 28, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow-pink: 0 0 30px rgba(255, 45, 117, 0.4);
    --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.4);
    --shadow-glow-purple: 0 0 30px rgba(153, 69, 255, 0.4);
    --shadow-inner: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    
    /* Border radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Container */
    --container-width: 1400px;
    --container-padding: 24px;
    
    /* Z-index layers */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 1000;
    --z-toast: 2000;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== Animated Background ===== */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0a0015 0%, #050510 25%, #0d0520 50%, #05051a 75%, #0a0010 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Animated gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(255, 45, 117, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 100%, rgba(153, 69, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 40% 50% at 90% 90%, rgba(255, 45, 117, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: gradientPulse 15s ease-in-out infinite alternate;
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 45, 117, 0.4) 0%, transparent 0.5%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.4) 0%, transparent 0.5%),
        radial-gradient(circle at 50% 50%, rgba(153, 69, 255, 0.3) 0%, transparent 0.3%),
        radial-gradient(circle at 20% 70%, rgba(0, 255, 136, 0.3) 0%, transparent 0.4%),
        radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.3) 0%, transparent 0.4%);
    background-size: 100% 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
    animation: particleFloat 20s linear infinite;
}

@keyframes gradientPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; }
    100% { opacity: 1; transform: scale(1.02); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(1deg); }
}

/* Scanline effect for retro vibe */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-pink);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.btn-outline {
    background: transparent;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
}

.btn-outline:hover {
    background: var(--accent-pink);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-top {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--accent-pink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rss-link {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rss-link:hover {
    color: var(--accent-cyan);
}

.search-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    padding: 8px;
    transition: color var(--transition-fast);
}

.search-toggle:hover {
    color: var(--accent-pink);
}

.login-link,
.user-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 0, 128, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-pink);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.login-link:hover,
.user-link:hover {
    background: var(--accent-pink);
    color: var(--bg-dark);
}

.user-link .user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .login-link span,
    .user-link .user-name {
        display: none;
    }
    
    /* Responsive logo */
    .logo-image {
        height: 50px;
    }
    
    .logo-klasican,
    .logo-gejming {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .footer-logo .logo-klasican,
    .footer-logo .logo-gejming {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo-text-wrapper {
        display: none;
    }
    
    .logo-image {
        height: 45px;
    }
}

.header-main {
    padding: 16px 0;
}

.header-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none !important;
    text-decoration: none;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 45, 117, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover .logo-image {
    filter: drop-shadow(0 0 20px rgba(255, 45, 117, 0.6)) drop-shadow(0 0 30px rgba(0, 212, 255, 0.4));
    transform: scale(1.02);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo .logo-image {
    height: 45px;
}

/* Logo Text with Orbitron font */
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-klasican {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo-gejming {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-logo .logo-klasican,
.footer-logo .logo-gejming {
    font-size: 16px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* Main Nav */
.main-nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

.nav-link.active {
    color: var(--accent-pink);
}

.nav-link i {
    font-size: 14px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ===== Search Modal ===== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    position: relative;
}

.search-form {
    display: flex;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
}

.search-form input::placeholder {
    color: var(--text-muted);
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    padding: 20px 24px;
    background: var(--accent-pink);
    border: none;
    color: white;
    font-size: 18px;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 36px;
    cursor: pointer;
}

.search-close:hover {
    color: var(--accent-pink);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 32px;
}

.mobile-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    background: var(--bg-card);
    color: var(--accent-pink);
}

.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-footer .social-links {
    justify-content: center;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 24px 0;
}

.hero-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-slide {
    display: none;
    position: relative;
    aspect-ratio: 21/9;
}

.hero-slide.active {
    display: block;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: white;
    opacity: 0.5;
}

.hero-content {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2rem;
    margin: 16px 0;
    line-height: 1.2;
}

.hero-content h2 a:hover {
    color: var(--accent-pink);
}

.hero-excerpt {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.hero-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-meta i {
    margin-right: 6px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active,
.slider-dot:hover {
    background: var(--accent-pink);
    transform: scale(1.2);
}

/* ===== Category Badge ===== */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--cat-color, var(--cat-default));
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.category-badge.large {
    padding: 8px 16px;
    font-size: 12px;
}

/* Category specific colors */
.category-badge[data-category="pc-igre"],
.category-badge.cat-pc { --cat-color: var(--cat-pc); }
.category-badge[data-category="playstation"],
.category-badge.cat-playstation { --cat-color: var(--cat-playstation); }
.category-badge[data-category="xbox"],
.category-badge.cat-xbox { --cat-color: var(--cat-xbox); }
.category-badge[data-category="nintendo"],
.category-badge.cat-nintendo { --cat-color: var(--cat-nintendo); }
.category-badge[data-category="esports"],
.category-badge.cat-esports { --cat-color: var(--cat-esports); }
.category-badge[data-category="mobile"],
.category-badge.cat-mobile { --cat-color: var(--cat-mobile); }
.category-badge[data-category="vr"],
.category-badge.cat-vr { --cat-color: var(--cat-vr); }
.category-badge[data-category="hardver"],
.category-badge.cat-hardver { --cat-color: var(--cat-hardver); }

/* ===== Main Grid ===== */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 40px 0;
}

.content-area {
    min-width: 0;
}

/* ===== Section Header ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
}

.section-header h2 i {
    color: var(--accent-pink);
}

.view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 500;
}

.view-all:hover {
    color: var(--accent-pink);
}

/* ===== News Grid ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.news-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 1;
}

.news-card.featured:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.card-image {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card.featured:first-child .card-image {
    aspect-ratio: 16/12;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    opacity: 0.5;
}

.card-image .category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.card-content {
    padding: 16px;
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card.featured:first-child .card-content h3 {
    font-size: 1.25rem;
}

.card-content h3 a:hover {
    color: var(--accent-pink);
}

.card-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.card-meta i {
    margin-right: 4px;
}

/* ===== Load More ===== */
.load-more {
    text-align: center;
    margin-top: 32px;
}

/* ===== Sidebar ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.sidebar-widget h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget h3 i {
    color: var(--accent-pink);
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-post {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.popular-post:hover {
    background: var(--bg-hover);
}

.post-number {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--accent-pink);
    opacity: 0.5;
    line-height: 1;
}

.popular-post:hover .post-number {
    opacity: 1;
}

.post-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.post-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.category-item:hover {
    background: var(--bg-hover);
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.category-name {
    flex: 1;
    font-weight: 500;
}

.category-count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-input);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-primary);
    border: none;
    text-align: center;
}

.newsletter-widget h3 {
    border: none;
    justify-content: center;
    color: white;
}

.newsletter-widget h3 i {
    color: white;
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    color: white;
}

.sidebar-newsletter-form {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.sidebar-newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: white;
}

.sidebar-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-newsletter-form button {
    padding: 12px 16px;
    background: white;
    border: none;
    color: var(--accent-pink);
}

/* Social Widget */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    font-size: 13px;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.twitter { background: #1da1f2; }
.social-btn.youtube { background: #ff0000; }
/* ===== Categories Section ===== */
.categories-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 10, 30, 0.8) 0%, rgba(5, 5, 15, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 0%, rgba(255, 45, 117, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 80% 100%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.categories-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.categories-section .section-header h2 {
    font-family: 'Exo 2', 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #fff 0%, #b0b0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-section .section-header h2 i {
    margin-right: 12px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.category-card {
    background: linear-gradient(135deg, rgba(20, 15, 35, 0.9) 0%, rgba(10, 10, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cat-color, var(--accent-pink)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-card:hover {
    border-color: var(--cat-color, var(--accent-pink));
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(var(--cat-color-rgb, 255, 45, 117), 0.2);
}

.category-card:hover::before {
    opacity: 0.15;
}

.category-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cat-color, var(--accent-pink)) 0%, rgba(var(--cat-color-rgb, 255, 45, 117), 0.6) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(var(--cat-color-rgb, 255, 45, 117), 0.3);
    transition: all 0.4s ease;
}

.category-card:hover .category-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(var(--cat-color-rgb, 255, 45, 117), 0.4);
}

.category-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.category-card-count {
    font-size: 13px;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-card-count::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--cat-color, var(--accent-pink));
    border-radius: 50%;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-section {
        padding: 60px 0;
    }
    
    .categories-section .section-header h2 {
        font-size: 1.6rem;
    }
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-content i {
    font-size: 48px;
    color: white;
    opacity: 0.8;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 4px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    width: 300px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 16px 32px;
    background: white;
    border: none;
    border-radius: var(--radius-md);
    color: var(--accent-pink);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.newsletter-form button .btn-loading {
    display: none;
}

.newsletter-form button.loading .btn-text {
    display: none;
}

.newsletter-form button.loading .btn-loading {
    display: inline;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    margin: 16px 0;
    font-size: 14px;
}

.footer-about .social-links {
    gap: 16px;
}

.footer-about .social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-about .social-links a:hover {
    background: var(--accent-pink);
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links h4,
.footer-recent h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-pink);
}

.footer-post {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-post:last-child {
    border: none;
}

.footer-post-title {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    transition: color var(--transition-fast);
}

.footer-post:hover .footer-post-title {
    color: var(--accent-pink);
}

.footer-post-date {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-muted);
}

/* Site Friends */
.site-friends {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.site-friends h4 {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.site-friends h4 i {
    color: var(--accent-pink);
}

.friends-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.friends-grid a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    transition: all var(--transition-fast);
}

.friends-grid a:hover {
    background: var(--bg-hover);
    border-color: var(--accent-pink);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 100;
    box-shadow: 0 5px 20px rgba(255, 45, 117, 0.4);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 45, 117, 0.6), 0 0 40px rgba(0, 212, 255, 0.3);
}

/* ===== Cookie Notice ===== */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
}

.cookie-notice p {
    margin: 0;
    font-size: 14px;
}

.cookie-notice a {
    color: var(--accent-pink);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    opacity: 0;
    transition: all var(--transition-normal);
}

.toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: var(--accent-green);
}

.toast-success i {
    color: var(--accent-green);
}

.toast-error {
    border-color: var(--accent-red);
}

.toast-error i {
    color: var(--accent-red);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* ===== Article Page ===== */
.article-page {
    padding-bottom: 60px;
}

.article-header {
    padding: 40px 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumbs a:hover {
    color: var(--accent-pink);
}

.article-header h1 {
    font-size: 2.5rem;
    margin: 16px 0;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar span {
    font-weight: 600;
    color: white;
}

.author-name {
    font-weight: 600;
}

.meta-items {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.meta-items i {
    margin-right: 6px;
}

.article-featured-image {
    margin-bottom: 40px;
}

.article-featured-image figure {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.article-content {
    min-width: 0;
}

.article-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.article-body {
    font-size: 17px;
    line-height: 1.8;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 32px 0 16px;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.article-body a {
    color: var(--accent-pink);
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.article-body blockquote {
    border-left: 4px solid var(--accent-pink);
    padding-left: 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.article-section h2 {
    margin-bottom: 20px;
}

.article-gallery {
    margin-top: 40px;
}

.article-gallery h3 {
    margin-bottom: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.tags-label {
    color: var(--text-muted);
    font-size: 14px;
}

.tag {
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tag:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

/* Article Rating */
.article-rating {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    text-align: center;
}

.article-rating h4 {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-secondary);
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.star-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 4px;
}

.star-btn:hover,
.star-btn.active {
    color: #ffd700;
    transform: scale(1.1);
}

.star-btn i.fas {
    color: #ffd700;
}

.rating-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.rating-avg {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
}

.rating-message {
    margin-top: 8px;
    font-size: 13px;
    color: var(--accent-cyan);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.share-label {
    color: var(--text-muted);
    font-size: 14px;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy { background: var(--bg-hover); color: var(--text-primary); }

/* Comments Section */
.comments-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.comments-section h3 {
    margin-bottom: 24px;
}

.comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.comment {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.comment.reply {
    margin-left: 40px;
    background: var(--bg-secondary);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.comment-author {
    display: block;
}

.comment-date {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-body {
    color: var(--text-secondary);
    line-height: 1.6;
}

.reply-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.reply-btn:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.reply-form {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg-input);
    border-radius: var(--radius-md);
}

.reply-form input,
.reply-form textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.comment-replies {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

/* Sprečava scroll animacije da pomeraju sidebar widget-e */
.article-sidebar .sidebar-widget {
    transform: none !important;
    opacity: 1 !important;
}

.article-sidebar .sidebar-widget.scroll-hidden,
.article-sidebar .sidebar-widget.scroll-visible {
    transform: none !important;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-post {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.related-post:hover {
    background: var(--bg-hover);
}

.related-image {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.5;
}

.related-info h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.share-sticky {
    position: sticky;
    top: 400px;
}

.share-sticky-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-widget {
        grid-column: span 2;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slide {
        aspect-ratio: 16/9;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .newsletter-widget {
        grid-column: span 1;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-sidebar {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h2 {
        font-size: 1rem;
    }
    
    .hero-excerpt {
        display: none;
    }
    
    .slider-controls {
        bottom: 12px;
        right: 12px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-success { border-left: 4px solid var(--accent-green); }
.toast-success i { color: var(--accent-green); }

.toast-error { border-left: 4px solid var(--accent-red); }
.toast-error i { color: var(--accent-red); }

.toast-warning { border-left: 4px solid var(--accent-yellow); }
.toast-warning i { color: var(--accent-yellow); }

.toast-info { border-left: 4px solid var(--accent-cyan); }
.toast-info i { color: var(--accent-cyan); }

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 4px;
    margin-left: auto;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ===== Glassmorphism Cards ===== */
.glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ===== Neon Borders ===== */
.neon-border {
    position: relative;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-neon);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.neon-border:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== Glowing Elements ===== */
.glow-pink {
    box-shadow: var(--shadow-glow-pink);
}

.glow-cyan {
    box-shadow: var(--shadow-glow-cyan);
}

.glow-purple {
    box-shadow: var(--shadow-glow-purple);
}

/* ===== Animated Background ===== */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.03) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

/* ===== Gradient Text ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-cyan {
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Premium Card Hover ===== */
.premium-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-lg), var(--shadow-glow-pink);
}

.premium-card:hover::before {
    left: 100%;
}

/* ===== Stats Counter ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--accent-pink);
    box-shadow: var(--shadow-glow-pink);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Floating Action Button ===== */
/* DISABLED - hiding floating buttons (NOT Font Awesome .fab icons!) */
.fab-button,
.fab-menu {
    display: none !important;
}

/* ===== Cursor Effects ===== */
/* DISABLED - hiding cursor effects */
.cursor-trailer {
    display: none !important;
}
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-pink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-trailer.hover {
    width: 40px;
    height: 40px;
    border-color: var(--accent-cyan);
}

/* ===== Ripple Effect ===== */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Social Hover ===== */
.social-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: white;
}

.social-links a[title="YouTube"]:hover { background: #ff0000; }
.social-links a[title="Instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links a[title="TikTok"]:hover { background: #000; box-shadow: 0 0 10px #00f2ea, 0 0 20px #ff0050; }
.social-links a[title="Twitter"]:hover { background: #1da1f2; }
.social-links a[title="Discord"]:hover { background: #5865f2; }

/* ===== Live Badge ===== */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--accent-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    animation: livePulse 2s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: liveDot 1s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes liveDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== WOW EFFECTS ===== */

/* Glowing card borders on hover */
.news-card,
.sidebar-widget,
.hero-slide,
.popular-post {
    position: relative;
}

/* Glowing card borders on hover - disabled to fix visual bug */
/*
.news-card::before,
.sidebar-widget::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--accent-pink), var(--accent-cyan), var(--accent-purple), transparent);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.news-card:hover::before,
.sidebar-widget:hover::before {
    opacity: 1;
    animation: borderGlow 3s ease infinite;
}
*/

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Neon text glow */
.section-header h2,
.footer-links h4 {
    text-shadow: 0 0 10px rgba(255, 45, 117, 0.3);
}

.section-header h2 i {
    filter: drop-shadow(0 0 8px var(--accent-pink));
}

/* Card lift and glow effect */
.news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(255, 45, 117, 0.2),
        0 0 60px rgba(0, 212, 255, 0.1);
}

/* Hero section glow overlay */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientTextFlow 4s ease infinite;
}

@keyframes gradientTextFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulse animation for badges */
.category-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 2px 10px rgba(255, 45, 117, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(255, 45, 117, 0.5); }
}

/* Shimmer loading effect */
.shimmer {
    background: linear-gradient(90deg, 
        var(--bg-card) 0%, 
        var(--bg-hover) 50%, 
        var(--bg-card) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::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: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Image zoom on hover */
.card-image img,
.hero-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .card-image img,
.hero-slide:hover .hero-image img {
    transform: scale(1.08);
}

/* Footer gradient */
.site-footer {
    background: linear-gradient(180deg, 
        rgba(10, 10, 20, 0.95) 0%, 
        rgba(15, 5, 25, 0.98) 50%,
        rgba(5, 5, 15, 1) 100%);
    border-top: 1px solid;
    border-image: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-cyan), transparent) 1;
}

/* Header glassmorphism */
.site-header {
    background: rgba(10, 10, 20, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 45, 117, 0.1);
}

/* Floating animation for elements */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glow on focus for inputs */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.2), 0 0 20px rgba(255, 45, 117, 0.1);
}

/* Partner links styling */
.partner-links a {
    position: relative;
    transition: all 0.3s ease;
}

.partner-links a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--accent-cyan);
}

.partner-links a:hover {
    padding-left: 15px;
    color: var(--accent-cyan);
}

.partner-links a:hover::before {
    opacity: 1;
    left: 0;
}

/* Section dividers with gradient */
.section-header {
    position: relative;
    padding-bottom: 15px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-pink), var(--accent-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-pink-light), var(--accent-purple-light));
}

/* Selection color */
::selection {
    background: var(--accent-pink);
    color: white;
}

/* Back to top button glow - merged with main style */

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .newsletter-section,
    .back-to-top,
    .cookie-notice,
    .social-links,
    .article-share,
    .comments-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .article-body {
        max-width: 100%;
    }
}

/* ===== Fix Empty Icons ===== */
/* Ensure Font Awesome icons are visible */
.fas, .fab, .far, .fal, .fad {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}

.fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Fix icon circles that appear empty */
.nav-link i,
.social-links i,
.sidebar-widget i,
.card-meta i,
.hero-meta i,
.article-meta i,
.footer-links i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1em;
}

/* Remove any weird hover backgrounds on icons */
i::before {
    background: none !important;
}

/* Fix any floating/fixed elements stacking */
.back-to-top,
.cookie-notice,
.search-modal,
.mobile-menu {
    z-index: auto;
}

.back-to-top { z-index: 100; }
.cookie-notice { z-index: 1000; }
.search-modal { z-index: 2000; }
.mobile-menu { z-index: 1500; }

/* Hide any cursor trailer elements */
.cursor-dot,
.cursor-trailer {
    display: none !important;
}

/* ===== HIDE ALL UNWANTED FLOATING ELEMENTS ===== */
/* Keep only back-to-top button */
.floating-social,
.social-sidebar,
.fab-menu,
.floating-buttons,
.fixed-social,
.side-social,
.quick-actions-float {
    display: none !important;
}

/* Make sure back-to-top is visible */
.back-to-top {
    display: flex !important;
}

.back-to-top:not(.visible) {
    opacity: 0;
    visibility: hidden;
}