/* =============================================
   SEO Satellite Website - Main Styles
   CLMM.cam - Premium Modern Design
   ============================================= */

/* === CSS Variables === */
:root {
    /* Primary palette - Casino Gold / Red */
    --primary-50: #fff7ed;
    --primary-100: #ffedd5;
    --primary-200: #fed7aa;
    --primary-300: #fdba74;
    --primary-400: #f59e0b;
    --primary-500: #d97706;
    --primary-600: #b45309;
    --primary-700: #92400e;
    --primary-800: #78350f;
    --primary-900: #451a03;

    /* Accent - Casino Red / Crimson */
    --accent-400: #f43f5e;
    --accent-500: #e11d48;
    --accent-600: #be123c;

    /* Warm accent - Neon Gold */
    --warm-400: #fbbf24;
    --warm-500: #f59e0b;

    /* Neutrals */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* Surfaces */
    --bg-primary: #0c0a14;
    --bg-secondary: #13101f;
    --bg-card: rgba(20, 16, 35, 0.85);
    --bg-card-hover: rgba(35, 28, 55, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-strong: rgba(255, 255, 255, 0.1);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders */
    --border-color: rgba(255, 215, 0, 0.08);
    --border-hover: rgba(255, 215, 0, 0.2);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #f59e0b, #ef4444, #dc2626);
    --gradient-hero: linear-gradient(135deg, #0c0a14, #1a0a20, #140a0a);
    --gradient-accent: linear-gradient(135deg, #f59e0b, #f43f5e);
    --gradient-warm: linear-gradient(135deg, #fbbf24, #ef4444);
    --gradient-card: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(239, 68, 68, 0.04));

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(245, 158, 11, 0.3);
    --shadow-glow-accent: 0 0 30px rgba(244, 63, 94, 0.3);

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;
    --navbar-height: 70px;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 600px 600px at 20% 10%, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(ellipse 500px 500px at 80% 50%, rgba(139, 92, 246, 0.06), transparent),
        radial-gradient(ellipse 400px 400px at 50% 90%, rgba(6, 182, 212, 0.05), transparent);
    pointer-events: none;
    z-index: 0;
}

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

a:hover {
    color: var(--accent-400);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-primary);
    text-decoration: none;
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: white;
    animation: pulse-glow 3s ease-in-out infinite;
}

.brand-dot {
    color: var(--accent-400);
}

.navbar-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.3));
    transition: all var(--transition-normal);
}

.navbar-logo:hover {
    filter: drop-shadow(0 2px 12px rgba(245, 158, 11, 0.5));
    transform: scale(1.03);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass-strong);
}

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

.nav-link i {
    font-size: 0.85rem;
}

.nav-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-left: 8px;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.65rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-glass-strong);
    color: var(--text-primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--primary-600);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* Hamburger */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: all var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.navbar-toggle.active .hamburger {
    background: transparent;
}

.navbar-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* === Main Content === */
.main-content {
    min-height: calc(100vh - var(--navbar-height));
    padding-top: var(--navbar-height);
    position: relative;
    z-index: 1;
}

/* === Section Styles === */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary-400);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Hero Section === */
.hero,
.hero-section {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 110px 0 50px;
}

.hero::before,
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero::after,
.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1), transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fbbf24;
    border-radius: 50%;
    opacity: 0.4;
    animation: particle-float 15s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-300);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fade-in-up 0.6s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fade-in-up 0.6s ease 0.1s both;
}

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

.hero-desc,
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fade-in-up 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fade-in-up 0.6s ease 0.3s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
    animation: fade-in-up 0.6s ease 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    padding: 18px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.hero-stat:hover {
    background: var(--bg-glass-strong);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
    display: block;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-main);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: var(--bg-glass-strong);
    border-color: var(--primary-400);
    color: var(--primary-400);
}

.btn-glow {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* === Cards === */
.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
    cursor: pointer;
}

/* Make entire card clickable via title link overlay */
.post-card-title a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Keep category tag and read-more above the overlay */
.category-tag,
.read-more,
.post-card-footer a {
    position: relative;
    z-index: 2;
}

/* post-card-image (link wrapper) */
.post-card-image {
    position: relative;
    width: 100%;
    padding-top: 50%;
    overflow: hidden;
    background: var(--gradient-card);
    display: block;
    flex-shrink: 0;
}

.post-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.post-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-400);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all var(--transition-fast);
}

.post-card-link:hover {
    color: var(--accent-400);
    gap: 8px;
}

.post-card-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background: var(--gradient-card);
}

.post-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card-img img {
    transform: scale(1.05);
}

.post-card-img .category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.category-tag {
    display: inline-flex;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Placeholder for posts without images */
.post-card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    font-size: 3rem;
    color: var(--primary-400);
    opacity: 0.5;
}

.post-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.post-card-meta i {
    margin-right: 4px;
    color: var(--primary-400);
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.post-card-title a:hover {
    color: var(--primary-400);
}

.post-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
    flex: 1;
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-400);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.read-more:hover {
    color: var(--accent-400);
    gap: 10px;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* === Posts Grid === */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* === Featured Posts === */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.about-feature:hover {
    background: var(--bg-glass-strong);
    border-color: var(--primary-500);
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
    pointer-events: none;
}

.about-image-placeholder,
.about-image-decoration {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    color: var(--primary-400);
    font-size: 4rem;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.about-image-decoration::before {
    content: '✦';
    font-size: 6rem;
    opacity: 0.15;
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.about-image-placeholder span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

/* === SEO Content Block === */
.seo-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.seo-block h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-block p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

/* === CTA Section === */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 60%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* === Section CTA === */
.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   Hero Banner Inline (inside hero)
   ============================================= */
.hero-banner-inline {
    margin-top: 40px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================
   Game Section — Casino Feature Cards
   ============================================= */
.game-section {
    position: relative;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-400);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

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

.game-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
    transition: transform 0.3s;
}

.game-card:hover .game-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.game-card-icon.accent {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.25);
}

.game-card-icon.warm {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25);
}

.game-card-icon.gold {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.25);
}

.game-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.game-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* =============================================
   Why Section — Trust Features
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-400);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.12);
}

.why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    color: white;
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.why-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   SEO Extended Section
   ============================================= */
.seo-extended {
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-extended-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-extended-inner h2 i {
    -webkit-text-fill-color: var(--primary-400);
    margin-right: 8px;
}

.seo-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.seo-col h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-400);
}

.seo-col h3 i {
    margin-right: 8px;
    color: var(--accent-400);
}

.seo-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.seo-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary-400);
}

.seo-highlight-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: white;
}

.seo-highlight-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.seo-highlight-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === CTA Icon === */
.cta-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: inline-block;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

/* =============================================
   Responsive — Game & Why & SEO Extended
   ============================================= */
@media screen and (max-width: 992px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-columns { grid-template-columns: 1fr; gap: 24px; }
}

@media screen and (max-width: 576px) {
    .game-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .seo-highlight-box { flex-direction: column; text-align: center; }
    .app-grid { grid-template-columns: 1fr; text-align: center; }
    .app-visual { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Partner Marquee — Scrolling Bank Logos
   ============================================= */
.partner-marquee {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(245, 158, 11, 0.08);
    border-bottom: 1px solid rgba(245, 158, 11, 0.08);
    overflow: hidden;
    position: relative;
}

.marquee-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.marquee-label i {
    color: var(--primary-400);
}

.marquee-track {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Fade edges */
.marquee-track::before,
.marquee-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.marquee-track::before {
    left: 0;
    background: linear-gradient(to right, rgba(10, 6, 20, 1), transparent);
}

.marquee-track::after {
    right: 0;
    background: linear-gradient(to left, rgba(10, 6, 20, 1), transparent);
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s;
    cursor: default;
}

.marquee-item:hover {
    background: rgba(245, 158, 11, 0.08);
}

.marquee-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

.marquee-item:hover img {
    filter: brightness(1.1);
}

.marquee-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

@media screen and (max-width: 576px) {
    .marquee-content { gap: 32px; }
    .marquee-item span { display: none; }
    .marquee-item img { width: 28px; height: 28px; }
    .marquee-item { padding: 6px 8px; }
}

/* =============================================
   App Download Section
   ============================================= */
.app-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(244, 63, 94, 0.04));
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.app-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.app-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.app-features-mini span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 6px 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
}

.app-features-mini span i {
    color: #34d399;
    font-size: 0.8rem;
}

.app-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.app-mockup {
    display: flex;
    justify-content: center;
}

.app-mockup-screen {
    width: 220px;
    height: 380px;
    background: linear-gradient(145deg, #1a1030, #0c0a14);
    border-radius: 32px;
    border: 3px solid rgba(245, 158, 11, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 158, 11, 0.1);
    position: relative;
    overflow: hidden;
}

.app-mockup-screen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(245, 158, 11, 0.1), transparent, rgba(244, 63, 94, 0.1), transparent);
    animation: spin 6s linear infinite;
}

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

.app-mockup-screen i {
    font-size: 3rem;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.app-mockup-screen span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.app-mockup-screen small {
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 992px) {
    .app-grid { grid-template-columns: 1fr; text-align: center; }
    .app-buttons { justify-content: center; }
    .app-features-mini { justify-content: center; }
}

/* =============================================
   FAQ Section — SEO Rich
   ============================================= */
.seo-faq {
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-faq-inner .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.seo-faq-inner .section-title i {
    color: var(--primary-400);
    margin-right: 8px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary-400);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h3 i {
    color: var(--primary-400);
    font-size: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
}

/* === SEO Content Block === */
.seo-content {
    padding: 60px 0;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-content-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.seo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.seo-content .seo-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.seo-keyword {
    padding: 6px 16px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.seo-keyword:hover {
    border-color: var(--primary-400);
    color: var(--primary-400);
}

/* === Gallery Preview === */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 1.5rem;
    color: white;
}

/* Gallery placeholder */
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    color: var(--primary-400);
    font-size: 2rem;
}

/* === Full Gallery Page === */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-500);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.gallery-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.gallery-card-title {
    font-size: 0.9rem;
    font-weight: 600;
}

/* === Single Post === */
.single-post {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.post-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.post-breadcrumb a {
    color: var(--text-secondary);
}

.post-breadcrumb a:hover {
    color: var(--primary-400);
}

.post-breadcrumb .separator {
    color: var(--gray-600);
}

.post-header {
    margin-bottom: 32px;
}

.post-category-tag {
    margin-bottom: 16px;
}

.post-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta-item i {
    color: var(--primary-400);
}

.post-featured-img {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
}

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

/* Post Content */
.post-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.post-content h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
}

.post-content p {
    margin-bottom: 16px;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.post-content ul, .post-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content a {
    color: var(--primary-400);
    text-decoration: underline;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-underline-offset: 3px;
}

.post-content a:hover {
    color: var(--accent-400);
}

.post-content blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--bg-glass);
    border-left: 4px solid var(--primary-500);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* Share buttons */
.post-share {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.post-share h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    color: white;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
}

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

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.telegram { background: #0088cc; }
.share-btn.pinterest { background: #e60023; }

.share-btn.facebook:hover { box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4); }
.share-btn.twitter:hover { box-shadow: 0 4px 15px rgba(29, 161, 242, 0.4); }
.share-btn.telegram:hover { box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4); }
.share-btn.pinterest:hover { box-shadow: 0 4px 15px rgba(230, 0, 35, 0.4); }

/* Related Posts */
.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* === Blog Page === */
.blog-header {
    padding: 40px 0 20px;
    text-align: center;
}

.search-form {
    max-width: 500px;
    margin: 24px auto 0;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 48px 12px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    outline: none;
    transition: all var(--transition-fast);
}

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

.search-input:focus {
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Category filter bar */
.category-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* === Static Page === */
.static-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.static-page .page-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.static-page .page-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.static-page .page-content h2 {
    font-size: 1.6rem;
    margin: 28px 0 14px;
    color: var(--text-primary);
}

.static-page .page-content h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    color: var(--text-primary);
}

.static-page .page-content p {
    margin-bottom: 16px;
}

.static-page .page-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.static-page .page-content li {
    margin-bottom: 8px;
}

.static-page .page-content a {
    color: var(--primary-400);
}

/* === Category Page === */
.category-header {
    padding: 40px 0 20px;
    text-align: center;
}

.category-header .category-tag {
    margin-bottom: 16px;
}

.category-header h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

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

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.page-link:hover {
    background: var(--bg-glass-strong);
    border-color: var(--primary-400);
    color: var(--primary-400);
}

.page-link.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
}

/* === 404 Page === */
.error-page {
    text-align: center;
    padding: 100px 0;
}

.error-code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-page h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.error-page p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 30px;
}

/* === Footer === */
.footer {
    position: relative;
    background: var(--bg-secondary);
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    color: var(--bg-primary);
    line-height: 0;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-400);
    padding-left: 4px;
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--primary-500);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.footer-contact li i {
    color: var(--primary-400);
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-contact a:hover {
    color: var(--primary-400);
}

.footer-visit-btn {
    margin-top: 20px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* === Lightbox === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-color);
    color: white;
    font-size: 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--primary-600);
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    object-fit: contain;
}

/* === Empty State === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
}

/* === Animations === */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 25px rgba(99, 102, 241, 0.6); }
}

@keyframes particle-float {
    0% { transform: translateY(100vh); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .gallery-preview { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
        --navbar-height: 60px;
    }

    /* Mobile navbar */
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 20px 30px;
        gap: 4px;
        transition: right var(--transition-normal);
        overflow-y: auto;
    }

    .navbar-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        margin: 12px 0 0;
        text-align: center;
        justify-content: center;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

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

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

    .hero-stats { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px; 
    }

    .hero-stat { 
        padding: 16px 12px; 
    }

    .hero-stat-number { 
        font-size: 1.5rem; 
    }

    .hero-buttons { 
        flex-direction: column; 
        width: 100%; 
    }

    .hero-buttons .btn { 
        width: 100%; 
        justify-content: center; 
    }

    /* Content */
    .section-title { font-size: 1.6rem; }
    .posts-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .gallery-preview { grid-template-columns: repeat(2, 1fr); }
    .about-features { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }

    /* Single post */
    .post-title { font-size: 1.7rem; }
    .post-meta { gap: 12px; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.7rem; }
    .section-title { font-size: 1.4rem; }
    .container { padding: 0 16px; }
    .error-code { font-size: 5rem; }
    
    .gallery-preview { grid-template-columns: 1fr 1fr; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .share-buttons {
        flex-wrap: wrap;
    }
}

/* =============================================
   Auth Pages
   ============================================= */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    backdrop-filter: blur(20px);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 16px;
}

.auth-header h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 20px;
    text-align: center;
}

.auth-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 20px;
    text-align: center;
}

.auth-success a { color: #4ade80; text-decoration: underline; }

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 11px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

textarea.form-input { min-height: 100px; resize: vertical; }
select.form-input { cursor: pointer; }

.btn-full { width: 100%; justify-content: center; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-400);
    font-weight: 600;
}

/* =============================================
   Hero Banner (Large)
   ============================================= */
.hero-banner-section {
    padding: 20px 0 40px;
    position: relative;
    z-index: 1;
}

.hero-banner-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.hero-banner-link {
    display: block;
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s;
    margin-bottom: 16px;
    box-shadow: 0 4px 30px rgba(245, 158, 11, 0.15);
}

.hero-banner-link:hover {
    border-color: var(--primary-400);
    box-shadow: 0 8px 40px rgba(245, 158, 11, 0.3);
    transform: translateY(-3px);
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.banner-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}

/* =============================================
   Inline Banner
   ============================================= */
.inline-banner-section {
    padding: 20px 0;
}

.inline-banner-link {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    max-width: 900px;
    margin: 0 auto;
}

.inline-banner-link:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
}

.inline-banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
}

/* =============================================
   Sticky Sidebar Banners
   ============================================= */
.sidebar-banner {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 90;
    width: 160px;
    transition: opacity 0.3s;
}

.sidebar-banner-left { left: 8px; }
.sidebar-banner-right { right: 8px; }

.sidebar-banner-link {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sidebar-banner-link:hover {
    border-color: var(--primary-400);
    box-shadow: 0 4px 30px rgba(245, 158, 11, 0.3);
}

.sidebar-banner-link img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1400px) {
    .sidebar-banner { display: none; }
}

/* =============================================
   User Dashboard
   ============================================= */
.user-dashboard {
    padding: 40px 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    font-size: 3rem;
    color: var(--primary-400);
}

.dashboard-user-info h1 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dashboard-user-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.dash-stat {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.dash-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-400);
}

.dash-stat.pending .dash-stat-num { color: #fbbf24; }
.dash-stat.approved .dash-stat-num { color: #34d399; }
.dash-stat.rejected .dash-stat-num { color: #f87171; }

.dash-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.dashboard-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.dashboard-section h2 {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
}

.user-posts-list {
    /* list */
}

.user-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    gap: 16px;
}

.user-post-item:last-child { border-bottom: none; }

.user-post-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.user-post-meta {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.user-post-meta i { margin-right: 4px; color: var(--primary-400); }

.admin-note {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.status-pending { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.status-approved { background: rgba(34, 197, 94, 0.12); color: #34d399; }
.status-rejected { background: rgba(239, 68, 68, 0.12); color: #f87171; }

/* =============================================
   Submit Post
   ============================================= */
.submit-post-page {
    padding: 40px 0;
}

.submit-form-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 32px;
}

.submit-form-card .form-group {
    margin-bottom: 20px;
}

.submit-form-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* =============================================
   Mobile - Auth & Dashboard
   ============================================= */
@media (max-width: 768px) {
    .auth-card { padding: 28px 20px; }
    .dashboard-header { flex-direction: column; text-align: center; }
    .dashboard-user-info { flex-direction: column; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .user-post-item { flex-direction: column; align-items: flex-start; }
    .hero-banner-img { max-height: 180px; }
}

/* === Print === */
@media print {
    .navbar, .footer, .back-to-top, .lightbox, .post-share, .sidebar-banner { display: none; }
    body { background: white; color: black; }
    .main-content { padding-top: 0; }
}
