/* ============================================
   LESSYX AI FUTURE - Main Stylesheet
   Dark/Neon/Glassmorphism Futuristic Design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Dark theme (default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a82;

    --neon-cyan: #00e5ff;
    --neon-magenta: #e040fb;
    --neon-violet: #7c4dff;
    --neon-green: #00e676;
    --neon-orange: #ffab40;

    --accent: var(--neon-cyan);
    --accent-rgb: 0, 229, 255;

    --gradient-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
    --gradient-hot: linear-gradient(135deg, var(--neon-magenta), var(--neon-orange));

    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-glow: 0 0 20px rgba(var(--accent-rgb), 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);

    --header-height: 72px;
    --container-max: 1280px;
    --container-narrow: 800px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme */
.lessyx-light {
    --bg-primary: #f8f9fc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #eef0f5;
    --bg-card: rgba(0, 0, 0, 0.02);
    --bg-card-hover: rgba(0, 0, 0, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a60;
    --text-muted: #8a8a9e;

    --accent: #0066ff;
    --accent-rgb: 0, 102, 255;

    --shadow-glow: 0 0 20px rgba(var(--accent-rgb), 0.1);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* --- 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-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--neon-magenta);
}

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

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

.container-narrow {
    max-width: var(--container-narrow);
}

/* --- Glass Card --- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(var(--accent-rgb), 0.2);
    box-shadow: var(--shadow-glow);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0a0f;
}

.btn-primary:hover {
    color: #0a0a0f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.3);
}

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

.btn-outline:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.2), 0 0 60px rgba(var(--accent-rgb), 0.1);
}

/* --- Neon text --- */
.neon-text {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5), 0 0 40px rgba(var(--accent-rgb), 0.2);
}

/* --- Glitch Effect --- */
.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text:hover::before {
    animation: glitch-1 0.3s ease;
    opacity: 0.7;
    color: var(--neon-cyan);
    z-index: -1;
}

.glitch-text:hover::after {
    animation: glitch-2 0.3s ease;
    opacity: 0.7;
    color: var(--neon-magenta);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
    40% { clip-path: inset(50% 0 30% 0); transform: translate(3px, -1px); }
    60% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
    80% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    20% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -2px); }
    40% { clip-path: inset(30% 0 50% 0); transform: translate(-3px, 1px); }
    60% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -1px); }
    80% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 2px); }
}

/* =====================
   HEADER
   ===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all var(--transition);
}

.lessyx-light .site-header {
    background: rgba(248, 249, 252, 0.85);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 32px;
}

/* Logo */
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

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

.logo-yx {
    color: var(--accent);
}

.logo-tagline {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-list .menu-item a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-list .menu-item a:hover,
.nav-list .current-menu-item a,
.nav-list .current-cat a {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.search-toggle,
.theme-toggle,
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.search-toggle:hover,
.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.nav-toggle {
    display: none;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-overlay-inner {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.search-form-overlay {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-input-overlay {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border-glass);
    padding: 20px 0;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    outline: none;
    transition: border-color var(--transition);
}

.search-input-overlay:focus {
    border-color: var(--accent);
}

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

.search-submit-overlay {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 12px;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition);
}

.search-close:hover {
    color: var(--accent);
}

/* =====================
   HERO SECTION
   ===================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 70%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--header-height);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* =====================
   SECTIONS
   ===================== */
.section-latest,
.section-categories,
.section-newsletter {
    padding: 100px 0;
}

.section-categories {
    background: var(--bg-secondary);
}

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

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* =====================
   POST CARDS & GRID
   ===================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.posts-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.post-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image-link {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    flex: 1;
}

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

.card-title a:hover {
    color: var(--accent);
}

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

/* Category Badge */
.post-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cat-color, var(--accent));
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    margin-bottom: 12px;
    text-decoration: none;
    transition: all var(--transition);
    width: fit-content;
}

.post-category-badge {
    background: color-mix(in srgb, var(--cat-color) 10%, transparent);
    border-color: color-mix(in srgb, var(--cat-color) 20%, transparent);
}

.post-category-badge:hover {
    background: color-mix(in srgb, var(--cat-color) 20%, transparent);
    color: var(--cat-color);
}

.post-category-badge.small {
    padding: 2px 10px;
    font-size: 0.75rem;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

.meta-sep {
    opacity: 0.4;
}

/* Placeholder Image */
.placeholder-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
}

.placeholder-image.small {
    aspect-ratio: 3/2;
    min-height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* =====================
   FEATURED POST
   ===================== */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    margin-bottom: 48px;
}

.featured-image {
    position: relative;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, var(--bg-primary));
    opacity: 0.3;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.featured-title a {
    color: var(--text-primary);
}

.featured-title a:hover {
    color: var(--accent);
}

.featured-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* =====================
   CATEGORIES GRID
   ===================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    position: relative;
    padding: 36px;
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-4px);
    color: var(--text-primary);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px var(--cat-color));
}

.category-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.category-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cat-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--cat-color);
    opacity: 0;
    filter: blur(80px);
    transition: opacity 0.6s;
    pointer-events: none;
}

.category-card:hover .category-glow {
    opacity: 0.12;
}

/* =====================
   NEWSLETTER
   ===================== */
.newsletter-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 60px;
    gap: 60px;
    overflow: hidden;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter-desc {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 1.05rem;
}

.newsletter-form-big {
    display: flex;
    gap: 12px;
}

.newsletter-input-big {
    flex: 1;
    padding: 14px 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-input-big:focus {
    border-color: var(--accent);
}

.newsletter-visual {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    opacity: 0.3;
    animation: ring-rotate 8s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: var(--neon-magenta);
    animation-direction: reverse;
    animation-duration: 6s;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-color: var(--neon-violet);
    animation-duration: 4s;
}

@keyframes ring-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-emoji {
    font-size: 3rem;
    z-index: 1;
}

/* =====================
   SINGLE POST
   ===================== */
.single-post {
    padding-top: calc(var(--header-height) + 60px);
}

.single-header {
    margin-bottom: 48px;
}

.single-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin: 16px 0 24px;
}

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

.meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-author img {
    border-radius: 50%;
}

.single-hero-image {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* Prose (article content) */
.prose {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.prose h2, .prose h3, .prose h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 2em 0 0.8em;
    line-height: 1.3;
}

.prose h2 { font-size: 1.8rem; }
.prose h3 { font-size: 1.4rem; }
.prose h4 { font-size: 1.2rem; }

.prose p {
    margin-bottom: 1.5em;
}

.prose a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose img {
    border-radius: var(--radius-md);
    margin: 2em 0;
}

.prose blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 2em 0;
    background: var(--bg-glass);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-primary);
}

.prose code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 2px 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    color: var(--neon-green);
}

.prose pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    overflow-x: auto;
    margin: 2em 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
}

.prose ul, .prose ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
    overflow-x: auto;
    display: block;
}

.prose thead {
    display: table-header-group;
}

.prose tbody {
    display: table-row-group;
}

.prose tr {
    display: table-row;
}

.prose th,
.prose td {
    display: table-cell;
    padding: 12px 16px;
    border: 1px solid var(--border-glass);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
}

.prose td {
    color: var(--text-secondary);
}

.prose td code {
    font-size: 0.85em;
    background: rgba(var(--accent-rgb), 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .prose table {
        font-size: 0.8rem;
    }

    .prose th,
    .prose td {
        padding: 8px 10px;
    }
}

/* Single Footer */
.single-footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
}

.single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag-link {
    padding: 4px 14px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.tag-link:hover {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.1);
}

.single-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.share-btn {
    padding: 6px 16px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: var(--font-body);
}

.share-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Reactions */
.post-reactions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 0;
}

.reactions-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.reaction-btn:hover {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    transform: translateY(-2px);
}

.reaction-btn.reacted {
    border-color: var(--accent);
    color: var(--accent);
}

.reaction-icon {
    font-size: 1.2rem;
}

.reaction-count {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: var(--bg-secondary);
    margin-top: 80px;
}

/* =====================
   ARCHIVE
   ===================== */
.archive-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 60vh;
}

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

.archive-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 15px var(--cat-color));
}

.archive-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

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

.archive-count {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
}

.pagination .page-numbers li a,
.pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition);
    text-decoration: none;
}

.pagination .page-numbers li a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pagination .page-numbers li .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0f;
    font-weight: 600;
}

.no-posts {
    padding: 80px 40px;
    text-align: center;
}

.no-posts-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-posts h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.no-posts p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* =====================
   404 PAGE
   ===================== */
.error-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--header-height) 24px 0;
}

.error-glitch {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    position: relative;
}

.error-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 16px;
}

.error-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================
   FOOTER
   ===================== */
.mobile-break {
    display: none;
}

.site-footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    overflow: hidden;
}

.site-footer .container {
    padding-left: 48px;
    padding-right: 48px;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: var(--gradient-primary);
    filter: blur(1px);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--accent);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: #0a0a0f;
    cursor: pointer;
    transition: all var(--transition);
}

.newsletter-btn:hover {
    transform: translateX(3px);
}

/* AI Disclaimer */
.footer-ai-disclaimer {
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
    background: rgba(var(--accent-rgb), 0.03);
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.disclaimer-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.7;
}

.disclaimer-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.disclaimer-content strong {
    color: var(--text-secondary);
}

.disclaimer-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.disclaimer-content a:hover {
    color: var(--neon-magenta);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
}

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

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-top:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* =====================
   ANIMATIONS
   ===================== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.8s ease forwards;
}

.animate-in:nth-child(2) { animation-delay: 0.15s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.45s; }

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================
   COMMENTS
   ===================== */
/* Comments Area */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

.comments-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.comment-list {
    list-style: none;
}

.comment-list .comment {
    padding: 24px;
    margin-bottom: 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.comment-list .comment .comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-list .comment .comment-author img {
    border-radius: 50%;
}

.comment-list .comment .comment-author .fn {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-list .comment .comment-metadata {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.comment-list .comment .comment-metadata a {
    color: var(--text-muted);
}

.comment-list .comment .comment-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Comment Form */
.comment-form.glass-card:hover {
    background: var(--bg-glass);
    border-color: var(--border-glass);
    box-shadow: none;
}

.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.comment-notes {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.comment-notes .required {
    color: var(--accent);
}

.comment-form {
    padding: 32px;
    margin-top: 16px;
}

.comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.comment-form .required {
    color: var(--accent);
    margin-left: 2px;
}

.comment-form p {
    margin-bottom: 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Cookie consent checkbox */
.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    background: var(--bg-primary);
    cursor: pointer;
    margin-top: 2px;
    transition: all var(--transition);
}

.comment-form-cookies-consent input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.comment-form-cookies-consent input[type="checkbox"]:checked::after {
    content: '\2713';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #0a0a0f;
    font-weight: 700;
}

.comment-form-cookies-consent label {
    display: inline;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    cursor: pointer;
}

/* Submit button */
.form-submit {
    margin-top: 8px;
    margin-bottom: 0;
}

.form-submit .btn {
    padding: 14px 36px;
    font-size: 1rem;
    justify-content: center;
}

/* Logged-in user info */
.logged-in-as {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.logged-in-as a {
    color: var(--accent);
}

/* Responsive comments */
@media (max-width: 768px) {
    .comment-form {
        padding: 24px 20px;
    }

    .comment-list .comment {
        padding: 20px 16px;
    }

    .form-submit .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .comment-form {
        padding: 20px 16px;
    }

    .comment-reply-title {
        font-size: 1.3rem;
    }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-image img {
        min-height: 300px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-visual {
        display: none;
    }

    .newsletter-form-big {
        justify-content: center;
    }

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

    .footer-top {
        padding: 60px 0 32px;
    }

    .site-footer .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .posts-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .main-nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-height));
        background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 24px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }

    .lessyx-light .main-nav {
        background: linear-gradient(180deg, rgba(248, 249, 252, 0.98) 0%, rgba(235, 238, 245, 0.98) 100%);
    }

    .main-nav.open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list .menu-item {
        border-bottom: 1px solid var(--border-glass);
    }

    .nav-list .menu-item:last-child {
        border-bottom: none;
    }

    .nav-list .menu-item a {
        font-size: 1.15rem;
        font-weight: 500;
        padding: 18px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 0;
        color: var(--text-primary);
    }

    .nav-list .menu-item a::after {
        content: '\203A';
        font-size: 1.4rem;
        color: var(--text-muted);
        transition: transform var(--transition), color var(--transition);
    }

    .nav-list .menu-item a:hover,
    .nav-list .current-menu-item a,
    .nav-list .current-cat a {
        background: rgba(var(--accent-rgb), 0.06);
    }

    .nav-list .menu-item a:hover::after {
        transform: translateX(4px);
        color: var(--accent);
    }

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

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-top {
        padding: 48px 0 24px;
    }

    .site-footer .container {
        padding-left: 32px;
        padding-right: 32px;
    }

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

    .footer-links {
        text-align: center;
    }

    .newsletter-form {
        justify-content: center;
    }

    .disclaimer-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .disclaimer-icon {
        font-size: 1.8rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.8;
    }

    .footer-glow {
        width: 80%;
        max-width: 400px;
    }

    .mobile-break {
        display: block;
    }

    .featured-content {
        padding: 24px;
    }

    .featured-title {
        font-size: 1.4rem;
    }

    .section-latest,
    .section-categories,
    .section-newsletter {
        padding: 60px 0;
    }

    .newsletter-card {
        padding: 32px 24px;
    }

    .newsletter-form-big {
        flex-direction: column;
    }

    .single-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .single-meta .meta-sep {
        display: none;
    }

    .post-reactions {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-input-overlay {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

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

    .category-card {
        padding: 24px;
    }

    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-desc {
        font-size: 0.85rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        height: 42px;
    }

    .disclaimer-content p {
        font-size: 0.78rem;
    }

    .footer-bottom {
        padding: 16px 0;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-ai-disclaimer {
        padding: 16px 0;
    }

    .site-footer .container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* ========================
   COOKIE BANNER
   ======================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.97));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-glass);
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.cookie-banner-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
    color: var(--neon-magenta);
}

.cookie-banner-text strong {
    color: var(--text-primary);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    border: none;
    color: #0a0a0f;
}

.cookie-btn-accept:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
}

.cookie-btn-reject:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.cookie-manage-link {
    color: var(--text-muted) !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    font-size: inherit;
}

.cookie-manage-link:hover {
    color: var(--accent) !important;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        padding: 20px 32px;
        gap: 16px;
        text-align: center;
    }

    .cookie-banner-text p {
        font-size: 0.82rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-inner {
        padding: 16px 24px;
        gap: 12px;
    }

    .cookie-banner-text p {
        font-size: 0.78rem;
    }

    .cookie-btn {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

/* ========================
   WELCOME MODAL
   ======================== */
.welcome-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.welcome-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.welcome-modal {
    position: relative;
    max-width: 540px;
    width: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 48px 40px 40px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.welcome-modal-overlay.active .welcome-modal {
    transform: scale(1) translateY(0);
}

.welcome-modal-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.welcome-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: modalPulse 2s ease-in-out infinite;
}

@keyframes modalPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.welcome-modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.welcome-modal-title .logo-less {
    color: #fff;
}

.welcome-modal-title .logo-yx {
    color: var(--neon-cyan, #00e5ff);
}

.welcome-modal-body {
    text-align: left;
    margin-bottom: 28px;
}

.welcome-modal-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.welcome-modal-body p:last-child {
    margin-bottom: 0;
}

.welcome-modal-body strong {
    color: var(--neon-cyan, #00e5ff);
    font-weight: 600;
}

.welcome-modal-body a {
    color: var(--neon-cyan, #00e5ff);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.welcome-modal-body a:hover {
    color: #fff;
}

.welcome-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--neon-cyan, #00e5ff), #0091ea);
    color: #0a0e17;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.welcome-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}

@media (max-width: 480px) {
    .welcome-modal {
        padding: 36px 24px 28px;
    }

    .welcome-modal-icon {
        font-size: 2.5rem;
    }

    .welcome-modal-title {
        font-size: 1.3rem;
    }

    .welcome-modal-body p {
        font-size: 0.88rem;
    }

    .welcome-modal-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
