/*
Theme Name: Shattered Synapse
Theme URI: https://shatteredsynapseproductions.com
Author: Shattered Synapse Productions
Author URI: https://shatteredsynapseproductions.com
Description: A high-impact, cyber-cinematic WordPress theme designed for independent film production companies. Features custom post types for film productions, flagship spotlight for "Que Est-Tu", video trailer background loops, interactive modals, and neon orange and blue aesthetics.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shattered-synapse
Tags: film, cinema, production, portfolio, dark, entertainment, responsive-layout, custom-post-types
*/

:root {
    --bg-obsidian: #050811;
    --bg-midnight: #0b1120;
    --bg-surface: #0f172a;
    --card-bg: rgba(15, 23, 42, 0.78);
    --card-hover: rgba(20, 30, 52, 0.92);
    --neon-blue: #00f0ff;
    --neon-blue-glow: rgba(0, 240, 255, 0.35);
    --neon-orange: #ff6a00;
    --neon-orange-glow: rgba(255, 106, 0, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-subtle: rgba(255, 255, 255, 0.09);
    --border-blue: rgba(0, 240, 255, 0.35);
    --border-orange: rgba(255, 106, 0, 0.35);
    --page-gutter: clamp(1rem, 4vw, 2rem);
    --font-heading: 'Orbitron', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.25s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
}

/* Browser Surfaces Theming */
::selection {
    background: var(--neon-blue);
    color: var(--bg-obsidian);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 240, 255, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.25) var(--bg-obsidian);
}

img,
video,
iframe {
    max-width: 100%;
}

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

body {
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    caret-color: var(--neon-blue);
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(255, 106, 0, 0.05) 0%, transparent 45%);
}

/* Ambient Spark / Synapse Lightning Gradients */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.18;
    transition: opacity 1s ease;
}
.glow-blue {
    width: 650px;
    height: 650px;
    top: -120px;
    left: -150px;
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
}
.glow-orange {
    width: 650px;
    height: 650px;
    bottom: -120px;
    right: -150px;
    background: radial-gradient(circle, var(--neon-orange) 0%, transparent 70%);
}

/* Typography Utility */
h1, h2, h3, h4, .brand-font {
    font-family: var(--font-heading);
    letter-spacing: 1.2px;
    line-height: 1.2;
}

.text-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 16px var(--neon-blue-glow);
}
.text-orange {
    color: var(--neon-orange);
    text-shadow: 0 0 16px var(--neon-orange-glow);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 17, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(5, 8, 17, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(0, 240, 255, 0.2);
}

.nav-container {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem var(--page-gutter);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--neon-blue-glow));
    transition: var(--transition);
}

.logo-brand:hover .logo-img {
    filter: drop-shadow(0 0 16px var(--neon-orange));
    transform: scale(1.03);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.1;
}

.logo-text .accent {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue-glow);
    font-size: 1.25rem;
}
.logo-text .sub {
    font-size: 0.7rem;
    color: var(--neon-orange);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 2.4vw, 2.2rem);
    list-style: none;
    align-items: center;
}

.nav-links li {
    min-width: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
}
.nav-links a:hover::after, .nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: clamp(0.5rem, 1.2vw, 1rem);
}

.btn-nav {
    background: linear-gradient(135deg, var(--neon-orange), #d9480f);
    color: #fff !important;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.65);
    transform: translateY(-2px);
}

.admin-link-btn {
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.admin-link-btn:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.2);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(7rem, 12vh, 9rem) var(--page-gutter) clamp(4rem, 10vh, 5rem);
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.28;
    filter: contrast(115%) brightness(85%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 8, 17, 0.45) 0%, rgba(5, 8, 17, 0.96) 100%),
                linear-gradient(to bottom, rgba(5, 8, 17, 0.65) 0%, transparent 40%, rgba(5, 8, 17, 1) 100%);
    z-index: 1;
}

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

.hero-title {
    font-size: clamp(2rem, 6.2vw, 4.8rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.hero-subtext {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, #00b4d8 100%);
    color: #050811;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #fff;
    color: #050811;
    box-shadow: 0 6px 30px rgba(0, 240, 255, 0.65);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-orange);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--neon-orange);
    background: rgba(255, 106, 0, 0.15);
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.4);
    transform: translateY(-2px);
}

/* Flagship Feature Spotlight */
.flagship-banner-wrap {
    max-width: 1380px;
    margin: -2rem auto clamp(3rem, 6vw, 5rem);
    padding: 0 var(--page-gutter);
    position: relative;
    z-index: 10;
}

.flagship-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 17, 32, 0.98) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 240, 255, 0.15);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.flagship-card > * {
    min-width: 0;
}

.flagship-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 24px 54px -10px rgba(0, 0, 0, 0.85), 0 0 32px rgba(0, 240, 255, 0.25);
}

.flagship-visual {
    position: relative;
    min-height: 420px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flagship-poster-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.flagship-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.flagship-play-btn {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.18);
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
    transition: var(--transition);
    padding-left: 4px;
}

.flagship-play-overlay:hover .flagship-play-btn {
    background: var(--neon-blue);
    color: #050811;
    box-shadow: 0 6px 32px var(--neon-blue);
    transform: scale(1.08);
}

.flagship-content {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flagship-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.9rem;
    background: rgba(255, 106, 0, 0.15);
    border: 1px solid var(--border-orange);
    color: var(--neon-orange);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 1.2rem;
}

.flagship-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.flagship-title a {
    color: inherit;
    text-decoration: none;
}

.flagship-title span {
    color: var(--neon-blue);
}

.flagship-subtitle {
    font-size: 1.1rem;
    color: var(--neon-orange);
    font-style: italic;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}

.flagship-logline {
    font-size: 1.12rem;
    color: #f1f5f9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1rem 1.4rem;
    background: rgba(5, 8, 17, 0.55);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-wrap: anywhere;
}

.flagship-synopsis {
    color: var(--text-secondary);
    font-size: 0.96rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.flagship-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border-subtle);
}

.flagship-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.flagship-meta-item .meta-label {
    font-size: 0.72rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.flagship-meta-item .meta-val {
    font-size: 0.94rem;
    font-weight: 600;
    color: #fff;
}

/* General Sections */
section {
    padding: clamp(4rem, 7vw, 7rem) var(--page-gutter);
    max-width: 1380px;
    margin: 0 auto;
    position: relative;
}

.section-head {
    text-align: center;
    margin-bottom: 4.5rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Productions Grid */
.productions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22.5rem), 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
}

.film-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.film-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-blue);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.15);
}

.film-card-thumb {
    height: 230px;
    position: relative;
    background: #0b1120;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.film-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    max-width: calc(100% - 2rem);
    background: rgba(5, 8, 17, 0.9);
    border: 1px solid var(--border-blue);
    color: var(--neon-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.film-card-status {
    position: absolute;
    top: auto;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    max-width: calc(100% - 2rem);
    background: rgba(255, 106, 0, 0.25);
    border: 1px solid var(--border-orange);
    color: var(--neon-orange);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.film-card-body {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.2rem);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.film-card-title {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
    overflow-wrap: anywhere;
}

.film-card-title a {
    color: inherit;
    text-decoration: none;
}

.film-card-tagline {
    color: var(--neon-orange);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    font-style: italic;
    overflow-wrap: anywhere;
}

.film-card-logline {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    overflow-wrap: anywhere;
}

.film-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.2rem;
}

.film-card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-card-details {
    color: var(--neon-blue);
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.btn-card-details:hover {
    color: #fff;
    transform: translateX(3px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.125rem), 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.service-card {
    min-width: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 2.8rem 2.2rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-orange);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 106, 0, 0.15);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--neon-blue);
    margin-bottom: 1.8rem;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.2);
}

.service-title {
    font-size: 1.28rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* About / Studio Section */
.about-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-info h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.25;
    margin-bottom: 1.8rem;
}

.about-info p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin-top: 2.8rem;
}

.stat-item {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--border-blue);
    transform: translateY(-3px);
}

.stat-val {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--neon-blue);
    text-shadow: 0 0 12px var(--neon-blue-glow);
    margin-bottom: 0.3rem;
    overflow-wrap: anywhere;
}

.stat-lbl {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.about-graphic-box {
    position: relative;
    min-height: 440px;
    border-radius: 16px;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, rgba(255, 106, 0, 0.06) 70%, transparent 100%);
    border: 1px solid var(--border-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
}

.about-graphic-box .synapse-center-logo {
    max-width: 280px;
    max-height: 280px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px var(--neon-blue)) drop-shadow(0 0 45px var(--neon-orange));
}

/* News / Blog Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22.5rem), 1fr));
    gap: clamp(1rem, 2.5vw, 2rem);
}

.news-card {
    min-width: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: clamp(1.25rem, 3vw, 2.2rem);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.news-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.news-cat {
    color: var(--neon-orange);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 700;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.news-title a {
    color: inherit;
    text-decoration: none;
}

.news-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    overflow-wrap: anywhere;
}

/* Contact Section */
.contact-grid {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(11, 17, 32, 0.96) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: clamp(1.5rem, 5vw, 4.5rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
}

.contact-grid > * {
    min-width: 0;
}

.contact-info-panel h3 {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.contact-info-panel p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-item-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--border-blue);
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 240, 255, 0.2);
}

.contact-item-text span {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item-text a, .contact-item-text p {
    color: #fff;
    text-decoration: none;
    font-size: 1.02rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.contact-item-text {
    min-width: 0;
}

.contact-form-panel {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.82rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    min-width: 0;
    background: rgba(5, 8, 17, 0.85);
    border: 1px solid var(--border-subtle);
    padding: 1rem 1.2rem;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #64748b;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.3);
    background: rgba(11, 17, 32, 0.95);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
footer {
    background: #03050a;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 2rem 2.8rem;
    text-align: center;
}

.footer-content {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.15rem;
    transition: var(--transition);
}

.footer-social-btn:hover {
    color: #fff;
    background: var(--neon-orange);
    border-color: var(--neon-orange);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.5);
    transform: translateY(-3px);
}

.copyright-text {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 17, 0.94);
    backdrop-filter: blur(14px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 3vw, 2rem);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal-backdrop.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: var(--bg-surface);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 240, 255, 0.2);
    padding: clamp(1rem, 4vw, 2.8rem);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--neon-orange);
    border-color: var(--neon-orange);
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.5);
}

.video-modal-window {
    max-width: 960px;
    padding: 1.5rem;
    background: #000;
    border: 1px solid var(--border-orange);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 106, 0, 0.25);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container video, .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Single Film & Post Details Styling */
.single-film-hero {
    padding: 9rem var(--page-gutter) 5rem;
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
}

.single-film-hero > * {
    min-width: 0;
}

.single-film-hero > div:first-child {
    width: 100%;
    max-width: 360px;
}

.single-film-poster {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-blue);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 240, 255, 0.2);
}

.single-film-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.single-film-title-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.single-film-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.single-film-logline {
    margin-bottom: 2rem;
}

.single-film-trailer {
    width: 100%;
    justify-content: center;
    margin-top: 1.5rem;
}

.single-film-copy {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    overflow-wrap: anywhere;
}

.meta-grid-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.25rem), 1fr));
    gap: clamp(0.75rem, 2vw, 1.5rem);
    margin: 2.5rem 0;
    padding: clamp(1rem, 3vw, 1.8rem);
    background: rgba(15, 23, 42, 0.6);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

/* Content pages */
.page-content,
.archive-page,
.single-post-page {
    margin: 9rem auto 5rem;
    padding: 0 var(--page-gutter);
}

.page-content {
    max-width: 1000px;
}

.archive-page {
    max-width: 1200px;
}

.single-post-page {
    max-width: 900px;
}

.page-title,
.archive-title,
.single-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    overflow-wrap: anywhere;
}

.page-entry-content,
.single-post-entry-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.single-post-entry-content {
    margin-bottom: 3rem;
}

.single-post-featured-image {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-blue);
}

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

.single-film-copy p,
.page-entry-content p,
.single-post-entry-content p {
    max-width: 75ch;
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
        background: rgba(5, 8, 17, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem var(--page-gutter) calc(1.5rem + env(safe-area-inset-bottom));
        gap: 0.25rem;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.65rem 0.75rem;
    }

    .hamburger {
        display: grid;
        place-items: center;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Tablet and narrower layouts */
@media (max-width: 1024px) {
    .flagship-card,
    .about-wrap,
    .contact-grid,
    .single-film-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .flagship-visual {
        min-height: clamp(18rem, 56vw, 32rem);
    }

    .about-wrap {
        gap: 2.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .single-film-hero > div:first-child {
        margin-inline: auto;
    }

    .single-film-hero > div:last-child {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 7rem;
    }

    .flagship-banner-wrap {
        margin-top: -1rem;
    }

    .flagship-meta {
        gap: 1rem 1.5rem;
    }

    .film-card-footer {
        flex-wrap: wrap;
    }

    .about-graphic-box {
        min-height: clamp(16rem, 52vw, 27.5rem);
    }

    .contact-item {
        align-items: flex-start;
    }

    .stats-row {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    }

    .section-head {
        margin-bottom: 3rem;
    }

    .footer-socials {
        gap: 0.75rem;
    }
}

@media (max-width: 600px) {
    .nav-container {
        padding-block: 0.65rem;
    }

    .logo-brand {
        gap: 0.5rem;
    }

    .logo-text .accent {
        font-size: 0.9rem;
        letter-spacing: 0.04em;
    }

    .logo-text .sub {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
    }

    .logo-brand .custom-logo {
        width: auto;
        max-width: 2.75rem;
        height: auto;
    }

    .nav-actions {
        gap: 0.35rem;
    }

    .btn-nav {
        padding: 0.55rem 0.7rem;
        font-size: 0.7rem;
        letter-spacing: 0.04em;
    }

    .admin-link-btn {
        padding: 0.45rem;
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: min(100%, 24rem);
        justify-content: center;
        text-align: center;
    }

    .flagship-badge {
        max-width: 100%;
        letter-spacing: 0.08em;
        overflow-wrap: anywhere;
    }

    .film-card-footer {
        align-items: flex-start;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .meta-grid-specs {
        margin-block: 1.5rem;
    }

    .modal-window {
        max-height: calc(100vh - 1.5rem);
        max-height: calc(100dvh - 1.5rem);
    }

    .video-modal-window {
        padding: 3.5rem 1rem 1rem;
    }

    .video-modal-window .modal-close-btn {
        top: 0.75rem;
        right: 0.75rem;
    }

    .single-film-hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .page-content,
    .archive-page,
    .single-post-page {
        margin-top: 7rem;
        margin-bottom: 3rem;
    }

    .news-meta-top {
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    .logo-text {
        display: none;
    }

    .btn-nav {
        padding-inline: 0.55rem;
        font-size: 0.65rem;
    }
}
