/* ============================================
   BuyTheFans - Editorial Neon Luxury Design
   A distinctive, production-grade aesthetic
   ============================================ */

/* ---------- Custom Fonts ---------- */
/* Fonts loaded via HTML link tags: Inter and Plus Jakarta Sans */

/* ---------- CSS Variables ---------- */
:root {
    /* Brand Colors - Neon Pink Core */
    --primary: #fa329c;
    --primary-light: #ff5eb5;
    --primary-dark: #d91a7e;
    --primary-glow: rgba(250, 50, 156, 0.5);

    /* Secondary Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-violet: #8b5cf6;
    --neon-orange: #ff6b35;

    /* Deep Backgrounds */
    --bg-deep: #0a0a0f;
    --bg-dark: #0f0f17;
    --bg-surface: #16161f;
    --bg-elevated: #1e1e2a;
    --bg-glass: rgba(22, 22, 31, 0.8);

    /* Light Theme Overrides (current) */
    --bg-light: #fafafa;
    --bg-light-elevated: #ffffff;
    --surface-light: #f5f5f7;

    /* Text Colors */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.7);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #fa329c 0%, #ff6bb3 50%, #ff8dc7 100%);
    --gradient-neon: linear-gradient(135deg, #fa329c 0%, #8b5cf6 100%);
    --gradient-sunset: linear-gradient(135deg, #fa329c 0%, #ff6b35 100%);
    --gradient-hero: linear-gradient(180deg,
        #fff8fb 0%,
        #fff0f7 30%,
        #ffe8f3 60%,
        #ffd6e8 100%);
    --gradient-mesh:
        radial-gradient(ellipse at 20% 0%, rgba(250, 50, 156, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 70%);

    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(250, 50, 156, 0.1);
    --glass-border-hover: rgba(250, 50, 156, 0.3);
    --glass-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 2px rgba(0, 0, 0, 0.04);
    --glass-shadow-hover:
        0 20px 60px rgba(250, 50, 156, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);

    /* Neon Glow Effects */
    --glow-primary: 0 0 30px rgba(250, 50, 156, 0.4), 0 0 60px rgba(250, 50, 156, 0.2);
    --glow-text: 0 0 40px rgba(250, 50, 156, 0.6);

    /* Spacing */
    --container-max: 1320px;
    --section-padding: 120px;
    --section-padding-mobile: 80px;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-quart);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 48px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

body.noscroll {
    overflow: hidden;
}

/* Animated Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Custom Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid var(--surface-light);
}

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

/* ---------- Container ---------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

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

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

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

.text-glow {
    text-shadow: var(--glow-text);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(250, 50, 156, 0.35);
    border: none;
}

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

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--bg-light-elevated);
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 20px 40px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--glass-shadow-hover);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.navbar-brand img {
    transition: var(--transition-fast);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-link {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

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

.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navbar-nav {
        position: fixed;
        inset: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition-slow);
        z-index: 1000;
    }

    .navbar-nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        font-size: 32px;
        font-weight: 700;
    }
}

/* ---------- Hero Section ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Animated Mesh Gradient Background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    animation: meshMove 20s ease-in-out infinite;
}

@keyframes meshMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(2%, -2%) scale(1.02); }
    66% { transform: translate(-2%, 2%) scale(0.98); }
}

/* Floating Orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    right: -200px;
    top: -200px;
    background: radial-gradient(circle, rgba(250, 50, 156, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 1s var(--ease-out-expo) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

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

.hero-text h1 {
    margin-bottom: 28px;
    line-height: 1.05;
}

.hero-text h1 .text-gradient {
    display: block;
    font-size: 1.1em;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stat {
    position: relative;
}

.hero-stat::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero-stat:first-child::before {
    display: none;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s var(--ease-out-expo) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    padding: 36px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-card h3 {
    margin-bottom: 24px;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.hero-features {
    padding: 20px;
    background: var(--surface-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.hero-features-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-feature-item::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stat::before {
        display: none;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 568px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-stat-value {
        font-size: 28px;
    }
}

/* ---------- Section Styles ---------- */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-alt {
    background: var(--surface-light);
}

/* ---------- Blog Grid ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ---------- Blog Card ---------- */
.blog-card {
    background: var(--bg-light-elevated);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, var(--primary) 100%);
    -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;
    opacity: 0;
    transition: var(--transition-normal);
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow-hover);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

.blog-card-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.blog-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card h3 a {
    transition: var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.blog-card-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.blog-card-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-stats i {
    font-size: 14px;
}

.read-more {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.read-more:hover {
    gap: 12px;
}

/* ---------- Featured Blog ---------- */
.featured-blog {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    margin-bottom: 72px;
    align-items: center;
}

.featured-blog-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    position: relative;
}

.featured-blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4) 100%);
}

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

.featured-blog:hover .featured-blog-image img {
    transform: scale(1.05);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gradient-neon);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.featured-blog h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-blog p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

@media (max-width: 968px) {
    .featured-blog {
        grid-template-columns: 1fr;
    }

    .featured-blog-image {
        height: 320px;
    }
}

/* ---------- Rating Stars ---------- */
.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating .star {
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.rating .star.filled,
.rating .star:hover {
    color: #FBBF24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.rating-interactive .star:hover ~ .star {
    color: var(--text-muted);
}

/* ---------- Comments Section ---------- */
.comments-section {
    margin-top: 80px;
}

.comment-form {
    margin-bottom: 48px;
}

.comment-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 568px) {
    .comment-form .form-grid {
        grid-template-columns: 1fr;
    }
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comment {
    background: var(--bg-light-elevated);
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.comment:hover {
    border-color: var(--glass-border-hover);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.comment-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.comment-meta h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.comment-meta span {
    font-size: 13px;
    color: var(--text-muted);
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ---------- Forms ---------- */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-light-elevated);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(250, 50, 156, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
    line-height: 1.6;
}

/* ---------- Newsletter ---------- */
.newsletter {
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter h2 {
    margin-bottom: 16px;
}

.newsletter p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 36px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    background: var(--bg-light-elevated);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(250, 50, 156, 0.1);
}

@media (max-width: 568px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--surface-light);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light-elevated);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 72px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-light-elevated);
    border: 1.5px solid var(--glass-border);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination .active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

.pagination .disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- Search & Filter ---------- */
.search-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    background: var(--bg-light-elevated);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(250, 50, 156, 0.1);
}

.search-box svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--bg-light-elevated);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
    cursor: pointer;
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

/* ---------- Single Blog ---------- */
.blog-single {
    padding-top: 140px;
}

.blog-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 48px;
}

.blog-header .category {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    margin-bottom: 28px;
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

.blog-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 28px;
    line-height: 1.15;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    color: var(--text-secondary);
    font-size: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-featured-image {
    max-width: 1100px;
    margin: 0 auto 56px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--glass-shadow-hover);
}

.blog-featured-image img {
    width: 100%;
    height: auto;
}

.blog-content {
    max-width: 760px;
    margin: 0 auto;
}

.blog-content h2 {
    font-size: 28px;
    margin: 48px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.blog-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.blog-content h3 {
    font-size: 22px;
    margin: 36px 0 16px;
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 24px;
}

.blog-content ul,
.blog-content ol {
    margin: 24px 0;
    padding-left: 28px;
    color: var(--text-secondary);
}

.blog-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 17px;
}

.blog-content ul li {
    list-style: disc;
}

.blog-content ol li {
    list-style: decimal;
}

.blog-content blockquote {
    margin: 40px 0;
    padding: 32px 36px;
    background: var(--surface-light);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.blog-content img {
    margin: 40px auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
}

.blog-content a {
    color: var(--primary);
    font-weight: 500;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* Tags */
.blog-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 48px 0;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.blog-tags > span {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.tag {
    padding: 10px 18px;
    background: var(--surface-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 50, 156, 0.3);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0;
}

.share-buttons > span {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.share-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 16px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.share-btn:hover {
    color: white;
    transform: translateY(-3px);
}

.share-btn.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.share-btn.twitter:hover {
    background: #000000;
    border-color: #000000;
}

.share-btn.linkedin:hover {
    background: #0A66C2;
    border-color: #0A66C2;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* ---------- Toast Notifications ---------- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-light-elevated);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.4s var(--ease-out-expo);
    border-left: 4px solid var(--primary);
}

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

.toast-success {
    border-left-color: #10B981;
}

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

.toast-message {
    font-weight: 500;
    color: var(--text-primary);
}

.toast-close {
    cursor: pointer;
    color: var(--text-muted);
    font-size: 20px;
    transition: var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* ---------- Loading & Animations ---------- */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--surface-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade In Up Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation */
.stagger > * {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerFadeIn 0.6s var(--ease-out-expo) forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Alert Messages ---------- */
.alert {
    padding: 18px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1.5px solid rgba(239, 68, 68, 0.3);
    color: #DC2626;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1.5px solid rgba(245, 158, 11, 0.3);
    color: #D97706;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    color: #2563EB;
}

/* ---------- 404 Page ---------- */
.error-page {
    background: var(--gradient-hero);
    min-height: 100vh;
}

.error-content {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    position: relative;
}

.error-code::after {
    content: '404';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
}

.error-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 20px;
}

.error-description {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ---------- Search Autocomplete ---------- */
.search-container {
    position: relative;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-light-elevated);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 1000;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-result-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
    background: rgba(250, 50, 156, 0.05);
}

.search-result-item img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.search-result-placeholder {
    width: 64px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    opacity: 0.2;
}

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

.search-result-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title mark {
    background: rgba(250, 50, 156, 0.2);
    color: var(--primary);
    padding: 1px 4px;
    border-radius: 4px;
}

.search-result-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.search-result-category {
    background: var(--gradient-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.search-result-date {
    color: var(--text-muted);
}

.search-no-results {
    padding: 32px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
}

/* Scrollbar for search dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
