/* ==========================================================================
   NEXUS THEME – Cyberpunk/Neon Gaming
   ITSWEBER CMS
   ========================================================================== */

/* ==========================================================================
   1. TOKENS & CSS VARIABLES
   ========================================================================== */

:root {
    /* Void / Background */
    --void: #0a0a1a;
    --void-deep: #060612;
    --void-light: #0e0e24;

    /* Surfaces */
    --surface: #12122a;
    --surface-2: #1a1a3a;
    --surface-3: #22224a;
    --surface-4: #2a2a5a;

    /* Borders */
    --border: #2a2a5a;
    --border-glow: #3a3a7a;
    --border-subtle: #1e1e3e;

    /* Text */
    --text: #e8e8f0;
    --text-muted: #a8a8c8;
    --text-dim: #555577;
    --text-bright: #ffffff;

    /* Neon Palette */
    --neon-pink: #ff00ff;
    --neon-pink-dim: #cc00cc;
    --neon-pink-dark: #880088;
    --neon-pink-glow: rgba(255, 0, 255, 0.3);
    --neon-cyan: #00ffff;
    --neon-cyan-dim: #00cccc;
    --neon-cyan-dark: #008888;
    --neon-cyan-glow: rgba(0, 255, 255, 0.3);
    --neon-purple: #8800ff;
    --neon-purple-dim: #6600cc;
    --neon-blue: #4444ff;
    --neon-yellow: #ffff00;
    --neon-green: #00ff88;
    --neon-red: #ff0044;

    /* CMS Compatibility Mappings */
    --color-primary: #ff00ff;
    --color-accent: #ff00ff;
    --color-bg: #0a0a1a;
    --color-text: #e8e8f0;
    --color-surface: #12122a;
    --color-surface-alt: #1a1a3a;
    --color-border: #2a2a5a;
    --color-text-muted: #8888aa;
    --color-heading: #e8e8f0;
    --color-link: #ff00ff;
    --color-link-hover: #00ffff;
    --color-success: #00ff88;
    --color-warning: #ffff00;
    --color-error: #ff0044;

    /* Typography */
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    --font-size-4xl: 3.5rem;
    --font-size-5xl: 5rem;
    --line-height-tight: 1.1;
    --line-height-snug: 1.3;
    --line-height-normal: 1.6;
    --line-height-relaxed: 1.8;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --content-width: 1200px;
    --narrow-width: 900px;
    --header-height: 70px;
    --border-radius: 0;
    --border-radius-sm: 2px;
    --border-radius-lg: 4px;

    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-glitch: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Glow Presets */
    --glow-pink-sm: 0 0 5px rgba(255, 0, 255, 0.3), 0 0 10px rgba(255, 0, 255, 0.1);
    --glow-pink-md: 0 0 10px rgba(255, 0, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.2), 0 0 40px rgba(255, 0, 255, 0.1);
    --glow-pink-lg: 0 0 15px rgba(255, 0, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.3), 0 0 60px rgba(255, 0, 255, 0.15);
    --glow-cyan-sm: 0 0 5px rgba(0, 255, 255, 0.3), 0 0 10px rgba(0, 255, 255, 0.1);
    --glow-cyan-md: 0 0 10px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.2), 0 0 40px rgba(0, 255, 255, 0.1);
    --glow-cyan-lg: 0 0 15px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3), 0 0 60px rgba(0, 255, 255, 0.15);
    --glow-purple-sm: 0 0 5px rgba(136, 0, 255, 0.3), 0 0 10px rgba(136, 0, 255, 0.1);

    /* Clip-path Signature */
    --clip-cyber: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    --clip-cyber-sm: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    --clip-cyber-lg: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    --clip-hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    /* Transitions */
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 250ms var(--ease-out);
    --transition-slow: 400ms var(--ease-out);

    /* ── Section Color Scheme Tokens (PFLICHT) ── */
    --scheme-primary-bg:    var(--neon-pink, #ff00ff);
    --scheme-primary-text:  #fff;
    --scheme-primary-muted: rgba(255,255,255,0.7);
    --scheme-alt-bg:        var(--surface, #12122a);
    --scheme-alt-text:      var(--text, #e8e8f0);
    --scheme-dark-bg:       var(--void, #0a0a1a);
    --scheme-dark-text:     var(--text, #e8e8f0);
    --scheme-dark-muted:    var(--text-muted, #a8a8c8);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--text);
    background-color: var(--void);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scanline overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 10000;
}

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

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

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

a:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-bright);
    line-height: var(--line-height-tight);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--neon-pink);
    color: var(--void);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--void-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink-dark);
}


/* ==========================================================================
   3. SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--neon-pink);
    color: var(--void);
    padding: var(--space-sm) var(--space-md);
    z-index: 10000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
}

.skip-link:focus {
    top: 0;
}


/* ==========================================================================
   4. CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

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


/* ==========================================================================
   5. HEADER
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(10, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-base);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), transparent);
    opacity: 0.6;
}

.site-header.scrolled {
    background: rgba(6, 6, 18, 0.95);
    box-shadow: 0 4px 30px rgba(255, 0, 255, 0.08);
    border-bottom-color: rgba(255, 0, 255, 0.3);
}

.site-header.scrolled::after {
    opacity: 1;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    position: relative;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-list li a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--text-bright);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.nav-list li a.active::after {
    background: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--neon-pink);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--neon-pink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-search {
    position: relative;
}

.header-search input {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: var(--space-sm) var(--space-md);
    padding-right: 36px;
    font-size: var(--font-size-sm);
    clip-path: var(--clip-cyber-sm);
    width: 180px;
    transition: all var(--transition-base);
}

.header-search input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
    width: 220px;
}

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

.header-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: var(--neon-pink);
    color: var(--void);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.header-cta:hover {
    background: var(--neon-cyan);
    color: var(--void);
    box-shadow: var(--glow-cyan-md);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}


/* ==========================================================================
   6. BREADCRUMBS
   ========================================================================== */

.breadcrumbs {
    padding: var(--space-lg) 0;
    margin-top: var(--header-height);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-dim);
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item a:hover {
    color: var(--neon-pink);
}

.breadcrumb-item:last-child {
    color: var(--neon-cyan);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--text-dim);
    margin-right: var(--space-xs);
}


/* ==========================================================================
   7. PAGE SECTIONS / PAGE BUILDER
   ========================================================================== */

.page-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.page-section + .page-section {
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--font-size-md);
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    margin: var(--space-md) auto 0;
}

/* Color Scheme Modifiers for Page Builder */
.scheme-primary {
    background: var(--surface);
    border-top: 1px solid var(--neon-pink-dark);
    border-bottom: 1px solid var(--neon-pink-dark);
}

.scheme-dark {
    background: var(--void-deep);
}

.scheme-alt {
    background: var(--surface-2);
}

.scheme-light {
    background: var(--surface-3);
    color: var(--text);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.surface-elevated {
    background: var(--surface);
    border: 1px solid var(--border);
}


/* ==========================================================================
   8. HERO SECTION – THE SIGNATURE PIECE
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-4xl) 0;
    padding-top: calc(var(--header-height) + var(--space-4xl));
}

/* Gradient mesh background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 600px 600px at 20% 30%, rgba(255, 0, 255, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 20%, rgba(0, 255, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 700px 700px at 60% 70%, rgba(136, 0, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 30% 80%, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    animation: meshFloat 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 500px 500px at 70% 60%, rgba(255, 0, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 10% 50%, rgba(0, 255, 255, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 450px 450px at 90% 80%, rgba(136, 0, 255, 0.12) 0%, transparent 70%);
    animation: meshFloat 25s ease-in-out infinite reverse;
}

@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25%      { transform: translate(5%, -3%) rotate(2deg); }
    50%      { transform: translate(-3%, 5%) rotate(-1deg); }
    75%      { transform: translate(3%, 2%) rotate(1deg); }
}

/* Grid overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 0, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
    mask-image: radial-gradient(ellipse 80% 80% at center, black, transparent);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

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

/* Hero Badge / Eyebrow */
.hero-badge,
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid var(--neon-cyan-dark);
    color: var(--neon-cyan);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xl);
    clip-path: var(--clip-cyber-sm);
}

.hero-badge::before,
.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan-sm);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 8vw, var(--font-size-5xl));
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-xl);
    color: var(--text-bright);
}

.hero-title em,
.hero-title .neon-word {
    font-style: normal;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-md);
    position: relative;
    display: inline-block;
}

/* Glitch effect on hero title em */
.hero-title em::before,
.hero-title .neon-word::before,
.hero-title em::after,
.hero-title .neon-word::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-title em::before,
.hero-title .neon-word::before {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan-md);
    clip-path: inset(0 0 65% 0);
    animation: glitch-top 4s infinite linear;
}

.hero-title em::after,
.hero-title .neon-word::after {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-md);
    clip-path: inset(65% 0 0 0);
    animation: glitch-bottom 4s infinite linear;
}

@keyframes glitch-top {
    0%, 92%, 100% { transform: translate(0); }
    93%           { transform: translate(-3px, -1px); }
    94%           { transform: translate(3px, 1px); }
    95%           { transform: translate(-2px, 0); }
    96%           { transform: translate(0); }
}

@keyframes glitch-bottom {
    0%, 92%, 100% { transform: translate(0); }
    93%           { transform: translate(3px, 1px); }
    94%           { transform: translate(-3px, -1px); }
    95%           { transform: translate(2px, 0); }
    96%           { transform: translate(0); }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: var(--line-height-relaxed);
}

/* Hero CTAs */
.hero-ctas,
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
}

.btn-hero,
.btn-primary {
    background: var(--neon-pink);
    color: #fff;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    box-shadow: var(--glow-pink-sm);
}

.btn-hero:hover,
.btn-primary:hover {
    background: var(--neon-cyan);
    color: var(--void);
    box-shadow: var(--glow-cyan-lg);
    text-shadow: none;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-cyan-md);
    transform: translateY(-2px);
    color: var(--neon-cyan);
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-cyan-sm);
    transform: translateY(-2px);
    color: var(--neon-cyan);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-xs);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-base);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
}

.hero-stats .stat-number,
.hero-stats .stat-value {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.hero-stats .stat-label {
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

/* Hero Layout Variants */
.hero-section[data-layout="boxed"],
.hero-section.--layout-boxed {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.hero-section[data-layout="split"],
.hero-section.--layout-split {
    text-align: left;
}

.hero-section[data-layout="split"] .hero-content,
.hero-section.--layout-split .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    text-align: left;
    max-width: none;
}

.hero-section[data-layout="split"] .hero-ctas,
.hero-section.--layout-split .hero-ctas {
    justify-content: flex-start;
}

.hero-section[data-layout="centered"],
.hero-section.--layout-centered {
    text-align: center;
}

/* Hero text color variants */
.hero-section.--text-white { color: var(--text-bright); }
.hero-section.--text-dark { color: var(--text); }

/* Hero size variants */
.hero-section.--hsize-sm { min-height: 60vh; }
.hero-section.--hsize-md { min-height: 75vh; }
.hero-section.--hsize-lg { min-height: 90vh; }
.hero-section.--hsize-xl { min-height: 100vh; }

/* Hero overlay variants */
.hero-section.--overlay-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.3);
    z-index: 1;
}

.hero-section.--overlay-medium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.5);
    z-index: 1;
}

.hero-section.--overlay-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 26, 0.7);
    z-index: 1;
}

.hero-section.--overlay-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(10, 10, 26, 0.4) 50%, rgba(10, 10, 26, 0.9) 100%);
    z-index: 1;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video,
.hero-video-bg iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-inline-wrap {
    position: relative;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    overflow: hidden;
}

.hero-video-inline-wrap video,
.hero-video-inline-wrap iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Portrait */
.hero-portrait {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-portrait-wrap {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--neon-pink);
    box-shadow: var(--glow-pink-md);
}

.hero-portrait-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Scroll Indicator */
.hero-scroll,
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-dim);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span:last-child {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--neon-pink), transparent);
    display: block;
    animation: scrollLine 2s ease-in-out infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--neon-pink), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Hero with background image */
.hero-section[style*="background-image"] .hero-bg {
    display: none;
}

.hero-section[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ==========================================================================
   9. INTRO SECTION
   ========================================================================== */

.intro-section {
    padding: var(--space-4xl) 0;
    text-align: center;
}

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

.intro-section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
}

.intro-section h2 em,
.intro-section h2 strong {
    font-style: normal;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-sm);
}

.intro-section p {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    line-height: var(--line-height-relaxed);
}

.intro-section .accent-word {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan-sm);
}


/* ==========================================================================
   10. FEATURES SECTION
   ========================================================================== */

.features-section {
    padding: var(--space-4xl) 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-item {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-2xl);
    clip-path: var(--clip-cyber);
    position: relative;
    transition: all var(--transition-base);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-item:hover {
    border-color: var(--neon-pink-dark);
    transform: translateY(-4px);
    box-shadow: var(--glow-pink-sm);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item .feature-icon,
.feature-item .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-xl);
    clip-path: var(--clip-cyber-sm);
}

.feature-item h3,
.feature-item .feature-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-bright);
}

.feature-item p,
.feature-item .feature-desc {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.feature-item:nth-child(even) .feature-icon,
.feature-item:nth-child(even) .icon {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-cyan-dark);
    color: var(--neon-cyan);
}

.feature-item:nth-child(even):hover {
    border-color: var(--neon-cyan-dark);
    box-shadow: var(--glow-cyan-sm);
}

.feature-item:nth-child(even)::before {
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
}


/* ==========================================================================
   11. SERVICE CARDS SECTION
   ========================================================================== */

.service-cards-section {
    padding: var(--space-4xl) 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-2xl);
    clip-path: var(--clip-cyber);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card .service-icon {
    font-size: var(--font-size-2xl);
    color: var(--neon-pink);
    margin-bottom: var(--space-lg);
}

.service-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}


/* ==========================================================================
   12. CTA SECTION
   ========================================================================== */

.cta-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.cta-box,
.cta-content {
    background: var(--surface);
    padding: var(--space-4xl) var(--space-2xl);
    text-align: center;
    position: relative;
    clip-path: polygon(
        0 20px,
        20px 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
    overflow: hidden;
}

/* Animated neon border via mask-composite */
.cta-box::before,
.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: conic-gradient(
        from 0deg,
        var(--neon-pink),
        var(--neon-cyan),
        var(--neon-purple),
        var(--neon-pink),
        var(--neon-cyan),
        var(--neon-pink)
    );
    clip-path: polygon(
        0 20px,
        20px 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% calc(100% - 20px),
        calc(100% - 20px) 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: borderRotate 6s linear infinite;
    pointer-events: none;
}

/* Background glow pulse */
.cta-box::after,
.cta-content::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 300px at 50% 50%, rgba(255, 0, 255, 0.06) 0%, transparent 70%);
    animation: ctaPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes borderRotate {
    to { filter: hue-rotate(360deg); }
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

.cta-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.cta-title .gradient-text {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-section p,
.cta-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn,
.cta-content .btn {
    margin-top: var(--space-md);
}


/* ==========================================================================
   13. BLOG SECTION / BLOG LIST
   ========================================================================== */

.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-image img {
    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-image .post-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: rgba(255, 0, 255, 0.9);
    color: var(--void);
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
}

.post-card-body {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    text-transform: none;
    letter-spacing: 0;
}

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

.post-card-title a:hover {
    color: var(--neon-pink);
}

.post-card-excerpt {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-lg);
    flex: 1;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.post-card-meta .author {
    color: var(--neon-cyan);
}

.post-card-meta .date {
    color: var(--text-dim);
}

.post-card-meta .read-time {
    margin-left: auto;
    color: var(--text-dim);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-2xl) 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 700;
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

.pagination .current,
.pagination .active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    color: var(--void);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 var(--space-md);
}


/* ==========================================================================
   14. BLOG SINGLE
   ========================================================================== */

.blog-single {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
}

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

.post-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.post-header .post-category {
    display: inline-block;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    clip-path: var(--clip-cyber-sm);
}

.post-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
    text-transform: none;
    letter-spacing: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    font-size: var(--font-size-sm);
    color: var(--text-dim);
}

.post-meta .author {
    color: var(--neon-cyan);
}

.post-meta .separator {
    color: var(--border);
}

.post-featured-image {
    margin-bottom: var(--space-3xl);
    clip-path: var(--clip-cyber-lg);
    overflow: hidden;
}

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

/* Post Content Typography */
.post-content {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: var(--text);
}

.post-content h2 {
    font-size: var(--font-size-2xl);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border);
    text-transform: none;
}

.post-content h3 {
    font-size: var(--font-size-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    text-transform: none;
}

.post-content p {
    margin-bottom: var(--space-lg);
    color: var(--text);
}

.post-content a {
    color: var(--neon-pink);
    text-decoration: underline;
    text-decoration-color: var(--neon-pink-dark);
    text-underline-offset: 3px;
}

.post-content a:hover {
    color: var(--neon-cyan);
    text-decoration-color: var(--neon-cyan);
}

.post-content blockquote {
    border-left: 3px solid var(--neon-pink);
    background: var(--surface);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--text-muted);
    clip-path: var(--clip-cyber);
}

.post-content pre,
.post-content code {
    font-family: var(--font-mono);
}

.post-content code {
    background: var(--surface-2);
    padding: 2px 6px;
    font-size: 0.9em;
    color: var(--neon-cyan);
    border: 1px solid var(--border);
}

.post-content pre {
    background: var(--void-deep);
    border: 1px solid var(--border);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    overflow-x: auto;
    clip-path: var(--clip-cyber);
}

.post-content pre code {
    background: none;
    border: none;
    padding: 0;
    color: var(--text);
}

.post-content ul,
.post-content ol {
    margin: var(--space-lg) 0;
    padding-left: var(--space-xl);
}

.post-content ul {
    list-style: none;
}

.post-content ul li::before {
    content: '>';
    color: var(--neon-pink);
    font-weight: 700;
    margin-right: var(--space-sm);
}

.post-content ol {
    list-style: decimal;
}

.post-content ol li::marker {
    color: var(--neon-pink);
}

.post-content li {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.post-content img {
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    margin: var(--space-xl) 0;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.post-content th {
    background: var(--surface);
    color: var(--neon-cyan);
    text-transform: uppercase;
    font-size: var(--font-size-xs);
    letter-spacing: 0.1em;
    padding: var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--neon-pink-dark);
}

.post-content td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    margin: var(--space-2xl) 0;
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.post-tags a,
.post-tags span {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.post-tags a:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}


/* ==========================================================================
   15. BLOG PREVIEW SECTION
   ========================================================================== */

.blog-preview-section {
    padding: var(--space-4xl) 0;
}

.blog-preview-section .blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.blog-preview-section .section-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}


/* ==========================================================================
   16. STATS SECTION
   ========================================================================== */

.stats-section {
    padding: var(--space-4xl) 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-xl);
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--neon-pink-dark), transparent);
}

.stat-item .stat-number,
.stat-item .stat-value {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-item .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-item .stat-desc {
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    margin-top: var(--space-xs);
}


/* ==========================================================================
   17. TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
    padding: var(--space-4xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-2xl);
    clip-path: var(--clip-cyber);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: var(--space-md);
    right: var(--space-xl);
    font-size: 4rem;
    line-height: 1;
    color: var(--neon-pink-dark);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
    transform: translateY(-2px);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-rating .star {
    color: var(--neon-yellow);
    font-size: var(--font-size-sm);
}

.testimonial-rating .star.empty {
    color: var(--text-dim);
}

.testimonial-text {
    color: var(--text);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.testimonial-author img,
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan-dark);
    object-fit: cover;
}

.testimonial-avatar--initials,
.testimonial-avatar-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan-dark);
    background: rgba(0, 217, 255, 0.12);
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.5);
}

.testimonial-author-info .name,
.testimonial-author .author-name {
    font-weight: 700;
    color: var(--text-bright);
    font-size: var(--font-size-sm);
}

.testimonial-author-info .role,
.testimonial-author .author-role {
    font-size: var(--font-size-xs);
    color: var(--neon-cyan);
}


/* ==========================================================================
   18. TEAM SECTION
   ========================================================================== */

.team-section {
    padding: var(--space-4xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.team-card {
    background: var(--surface);
    border: 1px solid rgba(0, 255, 255, 0.1);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
    clip-path: polygon(
        0 15px,
        15px 0,
        calc(100% - 15px) 0,
        100% 15px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        15px 100%,
        0 calc(100% - 15px)
    );
}

/* Hexagonal border glow */
.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(180deg, var(--neon-cyan), transparent 50%, var(--neon-pink));
    clip-path: polygon(
        0 15px,
        15px 0,
        calc(100% - 15px) 0,
        100% 15px,
        100% calc(100% - 15px),
        calc(100% - 15px) 100%,
        15px 100%,
        0 calc(100% - 15px)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity var(--transition-base);
}

.team-card:hover::before { opacity: 0.8; }

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 255, 255, 0.1), 0 0 80px rgba(255, 0, 255, 0.05);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: var(--clip-hex);
}

.team-avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    clip-path: var(--clip-hex);
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    z-index: -1;
}

.team-name {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    text-transform: none;
}

.team-role {
    font-size: var(--font-size-sm);
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.team-bio {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.team-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.team-social a:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}


/* ==========================================================================
   19. TOPIC CARDS SECTION
   ========================================================================== */

.topic-cards-section {
    padding: var(--space-4xl) 0;
}

.topic-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.topic-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-2xl);
    clip-path: var(--clip-cyber);
    transition: all var(--transition-base);
    text-decoration: none;
    display: block;
}

.topic-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
    transform: translateY(-3px);
}

.topic-card .topic-icon {
    font-size: var(--font-size-2xl);
    color: var(--neon-pink);
    margin-bottom: var(--space-md);
}

.topic-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    text-transform: none;
}

.topic-card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.topic-card .topic-count {
    font-size: var(--font-size-xs);
    color: var(--neon-cyan);
    margin-top: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ==========================================================================
   20. HIGHLIGHT GRID SECTION
   ========================================================================== */

.highlight-grid-section {
    padding: var(--space-4xl) 0;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-2xl);
    clip-path: var(--clip-cyber);
    position: relative;
    transition: all var(--transition-base);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan));
}

.highlight-card:hover {
    border-color: var(--neon-pink-dark);
    transform: translateY(-2px);
    box-shadow: var(--glow-pink-sm);
}

.highlight-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    text-transform: none;
}

.highlight-card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}


/* ==========================================================================
   21. FEATURE SHOWCASE SECTION
   ========================================================================== */

.feature-showcase-section {
    padding: var(--space-4xl) 0;
}

.feature-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.feature-showcase-content h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-md);
}

.feature-showcase-content p {
    color: var(--text-muted);
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xl);
}

.feature-showcase-image {
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-lg);
    overflow: hidden;
}

.feature-showcase-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition-slow);
}

.feature-showcase-image:hover img {
    transform: scale(1.03);
}

.feature-showcase-section:nth-child(even) .feature-showcase-grid {
    direction: rtl;
}

.feature-showcase-section:nth-child(even) .feature-showcase-content,
.feature-showcase-section:nth-child(even) .feature-showcase-image {
    direction: ltr;
}


/* ==========================================================================
   22. PROCESS STEPS SECTION
   ========================================================================== */

.process-steps-section {
    padding: var(--space-4xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    padding-top: var(--space-3xl);
}

.process-step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    font-size: var(--font-size-lg);
    font-weight: 900;
    clip-path: var(--clip-cyber-sm);
    box-shadow: var(--glow-pink-sm);
    z-index: 1;
}

.process-step:nth-child(even) .process-step-number {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.process-step h3 {
    font-size: var(--font-size-md);
    margin-bottom: var(--space-sm);
    text-transform: none;
    margin-top: var(--space-md);
}

.process-step p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}


/* ==========================================================================
   23. TRUST SHOWCASE SECTION
   ========================================================================== */

.trust-showcase-section {
    padding: var(--space-4xl) 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3xl);
}

.trust-item {
    opacity: 0.4;
    filter: grayscale(100%) brightness(1.5);
    transition: all var(--transition-base);
}

.trust-item:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

.trust-item img {
    max-height: 48px;
    width: auto;
}


/* ==========================================================================
   24. RATING HIGHLIGHT SECTION
   ========================================================================== */

.rating-highlight-section {
    padding: var(--space-4xl) 0;
    text-align: center;
}

.rating-highlight-value {
    font-size: var(--font-size-5xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.rating-highlight-stars {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    color: var(--neon-yellow);
    font-size: var(--font-size-xl);
}

.rating-highlight-text {
    color: var(--text-muted);
    font-size: var(--font-size-md);
}


/* ==========================================================================
   25. BEFORE/AFTER SECTION
   ========================================================================== */

.before-after-section {
    padding: var(--space-4xl) 0;
}

.before-after-container {
    position: relative;
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-lg);
    overflow: hidden;
}

.before-after-slider {
    position: relative;
    cursor: col-resize;
}

.before-after-before,
.before-after-after {
    width: 100%;
}

.before-after-label {
    position: absolute;
    top: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: rgba(10, 10, 26, 0.8);
    color: var(--neon-cyan);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    clip-path: var(--clip-cyber-sm);
}

.before-after-label.before { left: var(--space-md); }
.before-after-label.after { right: var(--space-md); }


/* ==========================================================================
   26. VIDEO SECTION
   ========================================================================== */

.video-section {
    padding: var(--space-4xl) 0;
}

.video-container {
    position: relative;
    aspect-ratio: 16/9;
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-lg);
    overflow: hidden;
    background: var(--void-deep);
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 255, 0.8);
    color: var(--void);
    font-size: var(--font-size-2xl);
    clip-path: var(--clip-cyber);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--glow-pink-md);
}

.video-play-btn:hover {
    background: var(--neon-pink);
    box-shadow: var(--glow-pink-lg);
    transform: translate(-50%, -50%) scale(1.1);
}


/* ==========================================================================
   27. SOCIAL EMBED SECTION
   ========================================================================== */

.social-embed-section {
    padding: var(--space-4xl) 0;
}

.social-embed-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-xl);
    clip-path: var(--clip-cyber);
}

.social-embed-container iframe {
    width: 100%;
    border: none;
}


/* ==========================================================================
   28. HTML SECTION
   ========================================================================== */

.html-section {
    padding: var(--space-4xl) 0;
}

.html-section .html-content {
    color: var(--text);
}

.html-section .html-content a {
    color: var(--neon-pink);
}

.html-section .html-content a:hover {
    color: var(--neon-cyan);
}


/* ==========================================================================
   29. GALLERY
   ========================================================================== */

.gallery-section {
    padding: var(--space-4xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    cursor: pointer;
    transition: all var(--transition-base);
}

.gallery-item:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
}

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

.gallery-item:hover img,
.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.9));
    color: var(--text-bright);
    font-size: var(--font-size-sm);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.gallery-album-card {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    overflow: hidden;
    transition: all var(--transition-base);
}

.gallery-album-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
    transform: translateY(-2px);
}

.gallery-album-card .album-cover {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.gallery-album-card .album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-album-card .album-info {
    padding: var(--space-lg);
}

.gallery-album-card .album-title {
    font-size: var(--font-size-md);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.gallery-album-card .album-count {
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}


/* ==========================================================================
   30. EVENTS SECTION
   ========================================================================== */

.events-section {
    padding: var(--space-4xl) 0;
}

.events-list {
    display: grid;
    gap: var(--space-lg);
}

.event-card {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-xl);
    padding: var(--space-xl);
    align-items: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan));
}

.event-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
    transform: translateX(4px);
}

.event-date {
    text-align: center;
    min-width: 70px;
}

.event-date .day {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-sm);
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.event-date .year {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}

.event-info {
    flex: 1;
}

.event-info h3,
.event-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    text-transform: none;
}

.event-info p,
.event-description {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.event-game {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan-dark);
    color: var(--neon-cyan);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
}

.event-prize {
    font-size: var(--font-size-lg);
    font-weight: 900;
    color: var(--neon-yellow);
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.3);
}

.event-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}

.event-status {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    clip-path: var(--clip-cyber-sm);
}

.event-status.open,
.event-status.status-open {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.event-status.full,
.event-status.status-full {
    background: rgba(255, 0, 68, 0.15);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: var(--neon-red);
}

.event-status.live,
.event-status.status-live {
    background: rgba(255, 0, 255, 0.15);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    animation: liveGlow 2s ease-in-out infinite;
}

@keyframes liveGlow {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: var(--glow-pink-sm); }
}

.event-status.completed,
.event-status.status-completed {
    background: rgba(85, 85, 119, 0.15);
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}

.event-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
}


/* ==========================================================================
   31. EVENTS PREVIEW SECTION
   ========================================================================== */

.events-preview-section {
    padding: var(--space-4xl) 0;
}

.events-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.events-preview-section .section-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}


/* ==========================================================================
   32. CONTACT SECTION
   ========================================================================== */

.contact-section {
    padding: var(--space-4xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
    text-transform: none;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

.contact-info-item .icon {
    color: var(--neon-pink);
    width: 20px;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-form label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: var(--space-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    clip-path: var(--clip-cyber-sm);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-dim);
}

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

.contact-form .btn {
    align-self: flex-start;
}

.form-message {
    padding: var(--space-md);
    clip-path: var(--clip-cyber-sm);
    font-size: var(--font-size-sm);
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.form-message.error {
    background: rgba(255, 0, 68, 0.1);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: var(--neon-red);
}


/* ==========================================================================
   33. DOWNLOADS SECTION
   ========================================================================== */

.downloads-section {
    padding: var(--space-4xl) 0;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.download-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: var(--space-xl);
    clip-path: var(--clip-cyber);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all var(--transition-base);
}

.download-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
}

.download-card .download-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--neon-cyan-dark);
    color: var(--neon-cyan);
    font-size: var(--font-size-xl);
    clip-path: var(--clip-cyber-sm);
    flex-shrink: 0;
}

.download-card .download-info {
    flex: 1;
}

.download-card .download-title {
    font-weight: 700;
    font-size: var(--font-size-md);
    margin-bottom: var(--space-xs);
}

.download-card .download-meta {
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}

.download-card .download-btn {
    flex-shrink: 0;
}


/* ==========================================================================
   34. SEARCH RESULTS
   ========================================================================== */

.search-results {
    padding: var(--space-3xl) 0;
}

.search-results .search-form {
    margin-bottom: var(--space-2xl);
    display: flex;
    gap: var(--space-md);
}

.search-results .search-form input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    padding: var(--space-md) var(--space-lg);
    font-size: var(--font-size-md);
    clip-path: var(--clip-cyber-sm);
}

.search-results .search-form input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.search-results .search-form button {
    padding: var(--space-md) var(--space-xl);
    background: var(--neon-pink);
    color: var(--void);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.search-results .search-form button:hover {
    background: var(--neon-pink-dim);
    box-shadow: var(--glow-pink-md);
}

.search-result-item {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--surface);
}

.search-result-item h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    text-transform: none;
}

.search-result-item h3 a {
    color: var(--text-bright);
}

.search-result-item h3 a:hover {
    color: var(--neon-pink);
}

.search-result-item p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.search-result-item .search-url {
    color: var(--neon-cyan-dim);
    font-size: var(--font-size-xs);
    margin-top: var(--space-xs);
}

.search-result-count {
    font-size: var(--font-size-sm);
    color: var(--text-dim);
    margin-bottom: var(--space-xl);
}


/* ==========================================================================
   35. MAINTENANCE PAGE
   ========================================================================== */

.maintenance-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: var(--space-2xl);
}

.maintenance-content {
    max-width: 500px;
}

.maintenance-content h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-md);
}

.maintenance-content p {
    color: var(--text-muted);
    font-size: var(--font-size-md);
}

.maintenance-content .maintenance-icon {
    font-size: 4rem;
    margin-bottom: var(--space-xl);
    color: var(--neon-cyan);
}


/* ==========================================================================
   36. TOURNAMENT SECTION (Nexus-exclusive)
   ========================================================================== */

.tournament-section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.tournament-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tournament-list {
    display: grid;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.tournament-card {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--space-xl);
    padding: var(--space-xl) var(--space-2xl);
    align-items: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.tournament-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple));
}

.tournament-card:hover {
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
    transform: translateX(4px);
}

.tournament-date {
    text-align: center;
    min-width: 80px;
}

.tournament-date .day {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-sm);
    line-height: 1;
}

.tournament-date .month {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: var(--space-xs);
}

.tournament-date .time {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--neon-cyan);
    margin-top: var(--space-xs);
}

.tournament-info {
    flex: 1;
}

.tournament-game {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid var(--neon-cyan-dark);
    color: var(--neon-cyan);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    clip-path: var(--clip-cyber-sm);
    margin-bottom: var(--space-sm);
}

.tournament-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    text-transform: none;
    letter-spacing: 0;
}

.tournament-title a {
    color: var(--text-bright);
}

.tournament-title a:hover {
    color: var(--neon-pink);
}

.tournament-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}

.tournament-players {
    color: var(--text-muted);
}

.tournament-format {
    color: var(--neon-purple);
}

.tournament-prize {
    text-align: center;
    min-width: 100px;
}

.tournament-prize .prize-amount {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 900;
    color: var(--neon-yellow);
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
    line-height: 1;
}

.tournament-prize .prize-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-xs);
}

.tournament-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-sm);
    min-width: 120px;
}

.tournament-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    clip-path: var(--clip-cyber-sm);
}

.tournament-status.open,
.tournament-status.status-open {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.tournament-status.full,
.tournament-status.status-full {
    background: rgba(255, 0, 68, 0.15);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: var(--neon-red);
}

.tournament-status.live,
.tournament-status.status-live {
    background: rgba(255, 0, 255, 0.15);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    animation: liveGlow 2s ease-in-out infinite;
}

.tournament-status.live::before,
.tournament-status.status-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--neon-pink);
    border-radius: 50%;
    animation: liveDot 1s ease-in-out infinite;
}

@keyframes liveDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.tournament-status.completed,
.tournament-status.status-completed {
    background: rgba(85, 85, 119, 0.15);
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}


/* ==========================================================================
   37. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--void-deep);
    border-top: 1px solid var(--border);
    padding-top: var(--space-4xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    text-decoration: none;
}

.footer-brand .footer-logo img {
    height: 32px;
    width: auto;
}

.footer-brand .footer-logo-text {
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-brand .footer-tagline {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-xl);
    line-height: var(--line-height-relaxed);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-md);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    transform: translateY(-2px);
}

/* Platform-specific social glow */
.footer-social a.discord:hover,
.footer-social a[href*="discord"]:hover {
    border-color: #5865F2;
    color: #5865F2;
    box-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
}

.footer-social a.twitch:hover,
.footer-social a[href*="twitch"]:hover {
    border-color: #9146FF;
    color: #9146FF;
    box-shadow: 0 0 10px rgba(145, 70, 255, 0.4);
}

.footer-social a.youtube:hover,
.footer-social a[href*="youtube"]:hover {
    border-color: #FF0000;
    color: #FF0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.footer-social a.twitter:hover,
.footer-social a[href*="twitter"]:hover,
.footer-social a[href*="x.com"]:hover {
    border-color: var(--text-bright);
    color: var(--text-bright);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-social a.instagram:hover,
.footer-social a[href*="instagram"]:hover {
    border-color: #E4405F;
    color: #E4405F;
    box-shadow: 0 0 10px rgba(228, 64, 95, 0.4);
}

.footer-social a.facebook:hover,
.footer-social a[href*="facebook"]:hover {
    border-color: #1877F2;
    color: #1877F2;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.4);
}

.footer-social a.steam:hover,
.footer-social a[href*="steam"]:hover {
    border-color: #171A21;
    color: var(--text-bright);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.footer-social a.tiktok:hover,
.footer-social a[href*="tiktok"]:hover {
    border-color: #ff0050;
    color: #ff0050;
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.4);
}

.footer-col-title {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-pink);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav a {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    padding: var(--space-xs) 0;
}

.footer-nav a:hover {
    color: var(--neon-cyan);
    padding-left: var(--space-sm);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
}

.footer-bottom .copyright {
    color: var(--text-dim);
}

.footer-bottom .legal-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom .legal-links a {
    color: var(--text-dim);
    font-size: var(--font-size-xs);
}

.footer-bottom .legal-links a:hover {
    color: var(--neon-pink);
}


/* ==========================================================================
   38. SCROLL TO TOP
   ========================================================================== */

.scroll-to-top {
    position: fixed;
    bottom: var(--space-2xl);
    right: var(--space-2xl);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    font-size: var(--font-size-lg);
    clip-path: var(--clip-cyber-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--glow-pink-sm);
}

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

.scroll-to-top:hover {
    background: var(--neon-pink);
    color: var(--void);
    box-shadow: var(--glow-pink-lg);
    transform: translateY(-4px);
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 8px;
    background: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
}

.scroll-to-top::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}


/* ==========================================================================
   39. SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

.reveal-from-left {
    transform: translateX(-30px);
}

.reveal-from-left.visible {
    transform: translateX(0);
}

.reveal-from-right {
    transform: translateX(30px);
}

.reveal-from-right.visible {
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-scale.visible {
    transform: scale(1);
}


/* ==========================================================================
   40. PARTICLES (CSS-only floating particles)
   ========================================================================== */

.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.6);
    animation: particleFloat linear infinite;
    opacity: 0;
}

.particle:nth-child(1) { left: 10%; animation-duration: 25s; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; animation-duration: 30s; animation-delay: 3s; width: 1px; height: 1px; background: var(--neon-pink); box-shadow: 0 0 6px rgba(255, 0, 255, 0.6); }
.particle:nth-child(3) { left: 40%; animation-duration: 22s; animation-delay: 6s; }
.particle:nth-child(4) { left: 55%; animation-duration: 28s; animation-delay: 2s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 70%; animation-duration: 35s; animation-delay: 5s; background: var(--neon-pink); box-shadow: 0 0 6px rgba(255, 0, 255, 0.6); }
.particle:nth-child(6) { left: 85%; animation-duration: 20s; animation-delay: 8s; width: 1px; height: 1px; }
.particle:nth-child(7) { left: 5%;  animation-duration: 32s; animation-delay: 10s; background: var(--neon-pink); box-shadow: 0 0 6px rgba(255, 0, 255, 0.6); }
.particle:nth-child(8) { left: 60%; animation-duration: 27s; animation-delay: 4s; }
.particle:nth-child(9) { left: 90%; animation-duration: 24s; animation-delay: 7s; width: 1px; height: 1px; }
.particle:nth-child(10){ left: 35%; animation-duration: 33s; animation-delay: 1s; background: var(--neon-pink); box-shadow: 0 0 6px rgba(255, 0, 255, 0.6); }

@keyframes particleFloat {
    0%   { transform: translateY(110vh); opacity: 0; }
    5%   { opacity: 0.6; }
    95%  { opacity: 0.6; }
    100% { transform: translateY(-10vh); opacity: 0; }
}


/* ==========================================================================
   41. COLOR SCHEME MODIFIERS (Page Builder overrides)
   ========================================================================== */

.scheme-primary {
    --section-bg: var(--surface);
    --section-text: var(--text);
    --section-heading: var(--text-bright);
    --section-accent: var(--neon-pink);
    background: var(--section-bg);
}

.scheme-primary h2,
.scheme-primary h3 {
    color: var(--section-heading);
}

.scheme-primary p {
    color: var(--section-text);
}

.scheme-dark {
    --section-bg: var(--void-deep);
    --section-text: var(--text);
    --section-heading: var(--text-bright);
    background: var(--section-bg);
}

.scheme-dark h2,
.scheme-dark h3 {
    color: var(--section-heading);
}

.scheme-alt {
    --section-bg: var(--surface-2);
    --section-text: var(--text);
    --section-heading: var(--text-bright);
    background: var(--section-bg);
}

.scheme-alt h2,
.scheme-alt h3 {
    color: var(--section-heading);
}

.scheme-light {
    --section-bg: var(--surface-3);
    --section-text: var(--text);
    --section-heading: var(--text-bright);
    background: var(--section-bg);
}

.scheme-light h2,
.scheme-light h3 {
    color: var(--section-heading);
}

/* Accent within schemes */
.scheme-primary .section-title::after { background: var(--neon-pink); }
.scheme-dark .section-title::after { background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan)); }
.scheme-alt .section-title::after { background: var(--neon-cyan); }
.scheme-light .section-title::after { background: var(--neon-purple); }

/* === Section Color Schemes – CMS Standard (Unified v3.4) === */
.section--scheme-primary { background: var(--scheme-primary-bg); color: var(--scheme-primary-text); }
.section--scheme-primary h2,
.section--scheme-primary h3 { color: var(--scheme-primary-text); }
.section--scheme-primary p,
.section--scheme-primary .section-subtitle,
.section--scheme-primary .intro-text { color: var(--scheme-primary-muted); }
.section--scheme-primary .testimonial-card,
.section--scheme-primary .feature-card,
.section--scheme-primary .highlight-card { color: var(--text, #e8e8f0); }
.section--scheme-primary .testimonial-text,
.section--scheme-primary .feature-card p { color: var(--text-muted, #a8a8c8); }
.section--scheme-primary .testimonial-author-name { color: var(--text, #e8e8f0); }
.section--scheme-primary .testimonial-author-role { color: var(--text-muted, #a8a8c8); }

.section--scheme-alt { background: var(--scheme-alt-bg); color: var(--scheme-alt-text); }

.section--scheme-dark { background: var(--scheme-dark-bg); color: var(--scheme-dark-text); }
.section--scheme-dark h2,
.section--scheme-dark h3,
.section--scheme-dark p { color: var(--scheme-dark-text); }
.section--scheme-dark .testimonial-card,
.section--scheme-dark .feature-card { color: var(--scheme-dark-text); }

.section--scheme-none { background: transparent; }


/* ==========================================================================
   42. GALLERY LIGHTBOX
   ========================================================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid var(--border);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: var(--font-size-lg);
    clip-path: var(--clip-cyber-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: var(--font-size-xl);
    clip-path: var(--clip-cyber-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.lightbox-caption {
    text-align: center;
    padding: var(--space-md) 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.lightbox-counter {
    text-align: center;
    color: var(--text-dim);
    font-size: var(--font-size-xs);
}


/* ==========================================================================
   43. RESPONSIVE
   ========================================================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    :root {
        --font-size-5xl: 3.5rem;
        --font-size-4xl: 2.5rem;
        --font-size-3xl: 2rem;
    }

    .header-search {
        display: none;
    }

    .feature-showcase-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .feature-showcase-section:nth-child(even) .feature-showcase-grid {
        direction: ltr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .tournament-card {
        grid-template-columns: auto 1fr auto;
    }

    .tournament-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.75rem;
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }

    .container {
        padding: 0 var(--space-md);
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--void-deep);
        border-left: 1px solid var(--border);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        transition: right var(--transition-base);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }

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

    .nav-list li a {
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--border-subtle);
        font-size: var(--font-size-base);
    }

    .nav-list li a::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    /* Hero Mobile */
    .hero-section {
        min-height: 80vh;
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        text-align: center;
    }

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

    .hero-section[data-layout="split"] .hero-content,
    .hero-section.--layout-split .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-portrait-wrap {
        width: 200px;
        height: 200px;
    }

    /* Grids Mobile */
    .feature-list,
    .service-cards-grid,
    .testimonials-grid,
    .team-grid,
    .topic-cards-grid,
    .highlight-grid,
    .downloads-grid,
    .gallery-album-grid {
        grid-template-columns: 1fr;
    }

    .blog-list {
        grid-template-columns: 1fr;
    }

    .blog-preview-section .blog-preview-grid {
        grid-template-columns: 1fr;
    }

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

    .stat-item + .stat-item::before {
        display: none;
    }

    /* Events Mobile */
    .event-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .event-date {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        text-align: left;
    }

    .event-actions {
        flex-direction: row;
        align-items: center;
    }

    /* Tournament Mobile */
    .tournament-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .tournament-date {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        text-align: left;
    }

    .tournament-prize {
        text-align: left;
    }

    .tournament-actions {
        flex-direction: row;
        align-items: center;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-bottom .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Process Steps Mobile */
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

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

    /* Lightbox Mobile */
    .lightbox-prev { left: var(--space-sm); }
    .lightbox-next { right: var(--space-sm); }

    .lightbox-prev,
    .lightbox-next {
        width: 36px;
        height: 36px;
    }

    /* Scroll to Top Mobile */
    .scroll-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 40px;
        height: 40px;
    }

    /* Events Preview Mobile */
    .events-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* Small - 480px */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --space-4xl: 3rem;
    }

    .hero-section {
        min-height: 70vh;
    }

    .hero-badge,
    .hero-eyebrow {
        font-size: 0.65rem;
    }

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

    .stat-item .stat-number,
    .stat-item .stat-value {
        font-size: var(--font-size-3xl);
    }

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cta-box,
    .cta-content {
        padding: var(--space-2xl) var(--space-lg);
    }

    .post-header h1 {
        font-size: var(--font-size-2xl);
    }

    .footer-social {
        flex-wrap: wrap;
    }
}


/* ==========================================================================
   44. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg {
        animation: none;
    }

    .particle {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-title em::before,
    .hero-title em::after,
    .hero-title .neon-word::before,
    .hero-title .neon-word::after {
        display: none;
    }

    .hero-scroll::after {
        animation: none;
    }

    .cta-box::before,
    .cta-content::before {
        animation: none;
    }
}


/* ==========================================================================
   45. PRINT
   ========================================================================== */

@media print {
    body {
        background: #fff;
        color: #000;
    }

    body::before {
        display: none;
    }

    .site-header,
    .site-footer,
    .scroll-to-top,
    .particles,
    .hero-bg,
    .hero-grid,
    .hero-scroll,
    .nav-toggle {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-title {
        color: #000;
        text-shadow: none;
    }

    .hero-title em,
    .hero-title .neon-word {
        color: #000;
        text-shadow: none;
        -webkit-text-fill-color: initial;
    }

    .post-content a {
        color: #000;
        text-decoration: underline;
    }

    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }

    .btn {
        border: 1px solid #000;
        clip-path: none;
        box-shadow: none;
    }

    * {
        clip-path: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
}


/* ==========================================================================
   46. UTILITY CLASSES
   ========================================================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }
.gap-4 { gap: var(--space-xl); }


/* ==========================================================================
   47. NEXUS-SPECIFIC MISSING CLASSES
   ========================================================================== */

/* ── Section Label (cyan eyebrow) ──────────────────────────── */
.section-label {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
}

/* ── Neon Tag (eyebrow prefix label) ───────────────────────── */
.neon-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
}

/* ── Neon Badge (team roles, blog categories) ──────────────── */
.neon-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.25);
    color: var(--neon-cyan);
    clip-path: var(--clip-cyber-sm);
}

.neon-badge.pink {
    background: rgba(255, 0, 255, 0.08);
    border-color: rgba(255, 0, 255, 0.25);
    color: var(--neon-pink);
}

/* ── Neon Divider (inside stat items) ──────────────────────── */
.neon-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    opacity: 0.3;
    margin: var(--space-md) 0;
    border: none;
}

/* ── Cyber Card (clipped-corner card with glowing border) ───── */
.cyber-card {
    position: relative;
    background: var(--surface);
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
    transition: all var(--transition-base);
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, var(--neon-pink), transparent 40%, transparent 60%, var(--neon-cyan));
    clip-path: polygon(
        0 0,
        calc(100% - 20px) 0,
        100% 20px,
        100% 100%,
        20px 100%,
        0 calc(100% - 20px)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

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

.cyber-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 0, 255, 0.15), 0 0 60px rgba(0, 255, 255, 0.08);
}

/* Cyber card corner accents */
.cyber-card__corner {
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 2;
}

.cyber-card__corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--neon-pink);
    border-left: 2px solid var(--neon-pink);
}

.cyber-card__corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--neon-cyan);
    border-right: 2px solid var(--neon-cyan);
}

/* Cyber card body */
.cyber-card .blog-card-image,
.cyber-card .card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    position: relative;
    overflow: hidden;
}

.cyber-card .blog-card-placeholder,
.cyber-card .card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-dim);
    background:
        linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(0, 255, 255, 0.05)),
        var(--surface-2);
}

.cyber-card .blog-card-body,
.cyber-card .card-body {
    padding: var(--space-lg);
}

/* ── Blog Grid & Blog Card classes ─────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-pink-dark);
    box-shadow: var(--glow-pink-sm);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-2);
}

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

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-dim);
    background:
        linear-gradient(135deg, rgba(255, 0, 255, 0.05), rgba(0, 255, 255, 0.05)),
        var(--surface-2);
}

.blog-card-body {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Neon Button Variants ───────────────────────────────────── */
.btn-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    background: var(--neon-cyan);
    color: var(--void);
    border: none;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    box-shadow: var(--glow-cyan-sm);
}

.btn-neon:hover {
    background: var(--neon-cyan-dim);
    box-shadow: var(--glow-cyan-lg);
    transform: translateY(-2px);
    color: var(--void);
}

.btn-outline-neon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 700;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.btn-outline-neon:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-cyan-md);
    transform: translateY(-2px);
    color: var(--neon-cyan);
}

/* ── CTA Box extras ─────────────────────────────────────────── */
.cta-box__border-glow {
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--neon-pink), var(--neon-cyan), var(--neon-purple), var(--neon-pink));
    z-index: -1;
    animation: ctaBorderSpin 4s linear infinite;
    clip-path: var(--clip-cyber-lg);
    pointer-events: none;
}

.cta-eyebrow {
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: var(--space-md);
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.cta-text {
    color: var(--text-muted);
    font-size: var(--font-size-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xl);
}

/* ── Glow Ring / Pulse Ring (team card image effects) ───────── */
.glow-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.1);
    pointer-events: none;
}

.pulse-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 0, 255, 0.2);
    animation: avatarPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50%      { transform: scale(1.05); opacity: 0.6; }
}

/* ── Team Card Classes (from team section template) ─────────── */
.team-section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.team-section-title {
    font-size: var(--font-size-3xl);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: var(--space-md);
}

.team-section-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.team-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-initials {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    background: var(--surface-2);
    border: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.15), inset 0 0 20px rgba(0, 255, 255, 0.05);
    position: relative;
}

.team-card-name {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: var(--space-xs);
}

.team-card-role {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 10px;
    margin-bottom: var(--space-md);
    background: rgba(0, 255, 255, 0.08);
    border: 1px solid rgba(0, 255, 255, 0.25);
    color: var(--neon-cyan);
    clip-path: var(--clip-cyber-sm);
}

.team-card-bio {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-md);
}

.team-card-social {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
}

.team-card-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.team-card-social a:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

/* ── Stats Item Classes (stats section template) ────────────── */
.stat-item-value,
.stats-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--space-xs);
    display: block;
}

.stats-prefix,
.stats-suffix {
    font-size: var(--font-size-xl);
    font-weight: 700;
}

.stats-item-label,
.stats-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.stats-item-icon {
    font-size: var(--font-size-xl);
    color: var(--neon-pink);
    margin-bottom: var(--space-sm);
}

/* ── Tournament Status BEM Variants ─────────────────────────── */
.tournament-status--open {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.tournament-status--full {
    background: rgba(255, 0, 68, 0.15);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: var(--neon-red);
}

.tournament-status--live {
    background: rgba(255, 0, 255, 0.15);
    border: 1px solid var(--neon-pink-dark);
    color: var(--neon-pink);
    animation: liveGlow 2s ease-in-out infinite;
}

.tournament-status--live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--neon-pink);
    border-radius: 50%;
    display: inline-block;
    margin-right: var(--space-xs);
    animation: liveDot 1s ease-in-out infinite;
}

.tournament-status--completed {
    background: rgba(85, 85, 119, 0.15);
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}

/* ── Tournament Date Explicit Classes ───────────────────────── */
.tournament-date-day {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 900;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-sm);
    line-height: 1;
}

.tournament-date-month {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: var(--space-xs);
}

/* ── Tournament Details & Link ──────────────────────────────── */
.tournament-details {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.tournament-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neon-cyan);
    transition: color var(--transition-fast);
}

.tournament-link:hover {
    color: var(--neon-pink);
}


/* ==========================================================================
   BLOG LIST – Missing Template Classes
   ========================================================================== */

.neon-text {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.blog-section {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    min-height: 60vh;
}

/* Blog category nav bar */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.blog-category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.blog-category-link:hover {
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

.blog-category-link.active {
    color: var(--void);
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

.blog-category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    line-height: 1;
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    border-radius: 2px;
}

.blog-category-link.active .blog-category-count {
    color: var(--void);
    background: rgba(0, 0, 0, 0.25);
}

/* Blog card inner elements */
.blog-card-image-link {
    display: block;
}

.blog-category {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neon-pink);
    margin-bottom: var(--space-sm);
}

.blog-card-body h2 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-sm);
}

.blog-card-body h2 a {
    color: var(--text-bright);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card-body h2 a:hover {
    color: var(--neon-pink);
}

.blog-card-body p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: var(--line-height-normal);
    margin-bottom: var(--space-md);
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
    margin-top: auto;
}

/* Blog pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--neon-cyan);
    background: var(--surface);
    border: 1px solid var(--neon-cyan-dark);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.pagination-link:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
    color: var(--neon-cyan);
}

.pagination-link.disabled {
    color: var(--text-dim);
    border-color: var(--border);
    pointer-events: none;
    opacity: 0.4;
}

.pagination-info {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}


/* ==========================================================================
   BLOG SINGLE – Missing Template Classes
   ========================================================================== */

.blog-article {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    clip-path: var(--clip-cyber-lg);
    margin-bottom: var(--space-2xl);
}

.article-title {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-lg);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-2xl);
}

.article-category {
    color: var(--neon-pink);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--font-size-xs);
    padding: 2px 10px;
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--neon-pink-dark);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.article-category:hover {
    background: rgba(255, 0, 255, 0.2);
    box-shadow: var(--glow-pink-sm);
    color: var(--neon-pink);
}

.article-reading-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
}

.article-reading-time svg {
    width: 14px;
    height: 14px;
}

/* Table of Contents */
.article-toc {
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.article-toc-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-base);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-cyan);
    margin-bottom: var(--space-md);
}

.article-toc-title svg {
    width: 16px;
    height: 16px;
}

.article-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.article-toc-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    display: block;
    padding: 2px 0;
}

.article-toc-list li a:hover {
    color: var(--neon-pink);
}

.toc-level-2 {
    /* top-level headings – no indent */
}

.toc-level-3 {
    padding-left: var(--space-lg);
}

/* Article prose content */
.article-content {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    color: var(--text);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text-bright);
    font-weight: 800;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    line-height: var(--line-height-snug);
}

.article-content h2 { font-size: var(--font-size-2xl); }
.article-content h3 { font-size: var(--font-size-xl); }
.article-content h4 { font-size: var(--font-size-lg); }

.article-content p {
    margin-bottom: var(--space-lg);
}

.article-content a {
    color: var(--neon-pink);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
}

.article-content a:hover {
    color: var(--neon-cyan);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.article-content li {
    margin-bottom: var(--space-sm);
    color: var(--text);
}

.article-content li::marker {
    color: var(--neon-pink);
}

.article-content blockquote {
    border-left: 3px solid var(--neon-pink);
    background: var(--surface);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-xl) 0;
    color: var(--text-muted);
    font-style: italic;
}

.article-content pre {
    background: var(--void-deep);
    border: 1px solid var(--border);
    padding: var(--space-lg);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: var(--font-size-sm);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    clip-path: var(--clip-cyber-sm);
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 2px;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text);
}

.article-content img {
    max-width: 100%;
    height: auto;
    clip-path: var(--clip-cyber-sm);
    margin: var(--space-lg) 0;
}

.article-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), transparent);
    margin: var(--space-2xl) 0;
}

/* Related posts */
.article-related {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--border);
}

.article-related-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-bright);
    margin-bottom: var(--space-xl);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.related-post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all var(--transition-base);
}

.related-post-card:hover {
    color: inherit;
}

.related-post-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-2);
}

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

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

.related-post-body {
    padding: var(--space-lg);
}

.related-post-body h4 {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--text-bright);
    line-height: var(--line-height-snug);
    transition: color var(--transition-fast);
}

.related-post-card:hover .related-post-body h4 {
    color: var(--neon-pink);
}

.related-post-date {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-dim);
    margin-bottom: var(--space-sm);
}

/* Article footer (back button) */
.article-footer {
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}


/* ==========================================================================
   EVENTS – Missing Template Classes
   ========================================================================== */

.events-section {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-4xl);
    min-height: 60vh;
}

.events-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.events-category-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.events-category-filter a {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    clip-path: var(--clip-cyber-sm);
    transition: all var(--transition-fast);
}

.events-category-filter a:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

.events-category-filter a.active {
    color: var(--void);
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan-sm);
}

/* Featured events */
.events-featured {
    margin-bottom: var(--space-3xl);
}

.events-featured-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink-sm);
    margin-bottom: var(--space-xl);
}

.events-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.event-card--featured {
    display: flex;
    flex-direction: row;
    min-height: 280px;
}

.event-card--featured .event-card-image {
    width: 45%;
    min-height: 100%;
}

.event-card--featured .event-card-body {
    width: 55%;
}

.event-card--featured h3 {
    font-size: var(--font-size-xl);
}

/* Event card (new template structure) */
.event-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--surface-2);
}

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

.event-card:hover .event-card-image img,
.cyber-card:hover .event-card-image img {
    transform: scale(1.05);
}

.event-card-body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.event-card-body h3 {
    font-size: var(--font-size-lg);
    font-weight: 800;
    line-height: var(--line-height-snug);
}

.event-card-body h3 a {
    color: var(--text-bright);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.event-card-body h3 a:hover {
    color: var(--neon-pink);
}

.event-card-body p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: var(--line-height-normal);
}

.event-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.event-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.meta-icon svg {
    width: 100%;
    height: 100%;
}

.event-time {
    color: var(--text-muted);
}

.event-location {
    color: var(--text-muted);
}

.event-category {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.event-category a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.event-category a:hover {
    color: var(--neon-pink);
}

.event-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neon-cyan);
    text-decoration: none;
    margin-top: auto;
    transition: color var(--transition-fast);
}

.event-card-link:hover {
    color: var(--neon-pink);
}

/* Event status badges */
.event-status-badge {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    clip-path: var(--clip-cyber-sm);
}

.event-status-badge--postponed {
    background: rgba(255, 255, 0, 0.15);
    border: 1px solid rgba(255, 255, 0, 0.3);
    color: var(--neon-yellow);
}

.event-status-badge--cancelled {
    background: rgba(255, 0, 68, 0.15);
    border: 1px solid rgba(255, 0, 68, 0.3);
    color: var(--neon-red);
}

/* All events heading & grid */
.events-all-title {
    font-size: var(--font-size-xl);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-bright);
    margin-bottom: var(--space-xl);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
}

/* Events pagination (reuse .pagination but also style .pagination-btn) */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    font-weight: 700;
    clip-path: var(--clip-cyber-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink-sm);
}

.pagination-btn.active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    color: var(--void);
}

/* Event card status modifiers (postponed/cancelled overlay) */
.event-card--postponed {
    opacity: 0.75;
}

.event-card--cancelled {
    opacity: 0.6;
}

.event-card--cancelled .event-card-body h3 a {
    text-decoration: line-through;
    text-decoration-color: var(--neon-red);
}


/* ==========================================================================
   RESPONSIVE – Blog, Article, Events
   ========================================================================== */

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

    .blog-categories {
        gap: var(--space-xs);
    }

    .blog-category-link {
        padding: 6px var(--space-md);
        font-size: var(--font-size-xs);
    }

    .blog-pagination {
        gap: var(--space-md);
    }

    .article-title {
        font-size: var(--font-size-2xl);
    }

    .article-meta {
        gap: var(--space-sm);
    }

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

    .events-featured-grid {
        grid-template-columns: 1fr;
    }

    .event-card--featured {
        flex-direction: column;
    }

    .event-card--featured .event-card-image,
    .event-card--featured .event-card-body {
        width: 100%;
    }

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

    .events-category-filter {
        gap: var(--space-xs);
    }

    .events-category-filter a {
        padding: 6px var(--space-md);
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding-top: calc(var(--header-height) + var(--space-xl));
    }

    .blog-article {
        padding-top: calc(var(--header-height) + var(--space-xl));
    }

    .article-title {
        font-size: var(--font-size-xl);
    }

    .article-toc {
        padding: var(--space-md);
    }

    .article-content {
        font-size: var(--font-size-base);
    }

    .events-section {
        padding-top: calc(var(--header-height) + var(--space-xl));
    }

    .blog-pagination {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
