/* =============================================
   MAINPAGE V2 - Modern Redesign
   Styl inspirowany djmarcinkrus.pl/preview
   Zachowana kolorystyka fioletowa
============================================== */

/* =============================================
   DESIGN TOKENS
============================================== */
:root {
    /* Primary colors - fioletowa paleta (zachowana) */
    --v2-primary: #a973b8;
    --v2-primary-light: #b58ecf;
    --v2-primary-dark: #8b4a9c;
    --v2-accent: #7a4994;

    /* Extended palette */
    --v2-primary-50: #faf5fc;
    --v2-primary-100: #f3e8f6;
    --v2-primary-200: #e7d1ed;
    --v2-primary-300: #d4b0de;
    --v2-primary-400: #b58ecf;
    --v2-primary-500: #a973b8;
    --v2-primary-600: #8b4a9c;
    --v2-primary-700: #7a4994;
    --v2-primary-800: #5e3673;
    --v2-primary-900: #4a2d5c;

    /* Dark palette for dark sections */
    --v2-dark-bg: #b592da;
    --v2-dark-bg-lighter: #ad77dd;
    --v2-dark-card: rgba(255,255,255,0.06);
    --v2-dark-card-border: rgba(169,115,184,0.18);
    --v2-dark-text: rgba(255,255,255,0.85);
    --v2-dark-text-muted: rgba(255,255,255,0.55);

    /* Neutrals */
    --v2-gray-50: #fafafa;
    --v2-gray-100: #f5f5f5;
    --v2-gray-200: #e5e5e5;
    --v2-gray-300: #d4d4d4;
    --v2-gray-400: #a3a3a3;
    --v2-gray-500: #737373;
    --v2-gray-600: #525252;
    --v2-gray-700: #404040;
    --v2-gray-800: #262626;
    --v2-gray-900: #171717;

    /* Semantic */
    --v2-success: #22c55e;
    --v2-danger: #ef4444;
    --v2-warning: #f59e0b;

    /* Backgrounds */
    --v2-bg-body: #ffffff;
    --v2-bg-card: #ffffff;
    --v2-bg-glass: rgba(255, 255, 255, 0.72);
    --v2-bg-glass-dark: rgba(26, 14, 36, 0.92);

    /* Shadows */
    --v2-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --v2-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --v2-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --v2-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --v2-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --v2-shadow-purple: 0 8px 30px rgba(169,115,184,0.25);
    --v2-shadow-purple-lg: 0 20px 40px rgba(139,74,156,0.3);
    --v2-shadow-glow: 0 0 40px rgba(169,115,184,0.15);

    /* Spacing scale */
    --v2-space-1: 0.25rem;
    --v2-space-2: 0.5rem;
    --v2-space-3: 0.75rem;
    --v2-space-4: 1rem;
    --v2-space-5: 1.25rem;
    --v2-space-6: 1.5rem;
    --v2-space-8: 2rem;
    --v2-space-10: 2.5rem;
    --v2-space-12: 3rem;
    --v2-space-16: 4rem;
    --v2-space-20: 5rem;
    --v2-space-24: 6rem;

    /* Border radius */
    --v2-radius-sm: 8px;
    --v2-radius-md: 12px;
    --v2-radius-lg: 16px;
    --v2-radius-xl: 24px;
    --v2-radius-full: 9999px;

    /* Transitions */
    --v2-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --v2-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --v2-duration-fast: 150ms;
    --v2-duration: 250ms;
    --v2-duration-slow: 400ms;

    /* Content widths */
    --v2-max-w: 1200px;
    --v2-max-w-narrow: 800px;
}

/* =============================================
   BASE RESET
============================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.v2-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--v2-bg-body);
    color: var(--v2-gray-700);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* =============================================
   TYPOGRAPHY
============================================== */
.v2-h1 {
    font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.v2-h2 {
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.v2-h3 {
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.v2-h4 {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
}

.v2-body-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--v2-gray-600);
}

.v2-body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.v2-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--v2-primary-400);
}

/* Gradient text */
.v2-gradient-text {
    background: linear-gradient(135deg, var(--v2-primary-400), var(--v2-primary-200));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   LAYOUT
============================================== */
.v2-container {
    width: 100%;
    max-width: var(--v2-max-w);
    margin: 0 auto;
    padding: 0 var(--v2-space-6);
}

.v2-container--narrow {
    max-width: var(--v2-max-w-narrow);
}

.v2-main {
    padding-top: 80px;
}

/* =============================================
   HEADER - Transparent → dark on scroll
============================================== */
.v2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-header.scrolled {
    background: var(--v2-bg-glass-dark);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.v2-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: var(--v2-max-w);
    margin: 0 auto;
    padding: 0 var(--v2-space-6);
}

/* Logo */
.v2-logo {
    display: flex;
    align-items: center;
    gap: var(--v2-space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.v2-logo__img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: var(--v2-shadow-sm);
    transition: transform var(--v2-duration) var(--v2-ease);
}

.v2-logo:hover .v2-logo__img {
    transform: scale(1.05) rotate(-3deg);
}

.v2-logo__text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    transition: color var(--v2-duration) var(--v2-ease);
}

/* Desktop Nav */
.v2-nav {
    display: flex;
    align-items: center;
    gap: var(--v2-space-1);
}

.v2-nav__link {
    padding: var(--v2-space-2) var(--v2-space-4);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: var(--v2-radius-sm);
    transition: all var(--v2-duration) var(--v2-ease);
    position: relative;
    white-space: nowrap;
}

.v2-nav__link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.v2-nav__link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
    font-weight: 600;
}

/* CTA Button in nav */
.v2-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: var(--v2-space-2);
    padding: var(--v2-space-2) var(--v2-space-5);
    background: linear-gradient(135deg, var(--v2-primary-400), var(--v2-primary-600));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--v2-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--v2-duration) var(--v2-ease);
    box-shadow: var(--v2-shadow-purple);
    text-decoration: none;
    margin-left: var(--v2-space-4);
}

.v2-nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--v2-shadow-purple-lg);
    background: linear-gradient(135deg, var(--v2-primary-500), var(--v2-primary-700));
}

/* Dropdown */
.v2-dropdown {
    position: relative;
}

.v2-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: var(--v2-space-1);
    cursor: pointer;
}

.v2-dropdown__arrow {
    font-size: 0.65em;
    transition: transform var(--v2-duration) var(--v2-ease);
    opacity: 0.6;
}

.v2-dropdown:hover .v2-dropdown__arrow,
.v2-dropdown.open .v2-dropdown__arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.v2-dropdown__menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--v2-dark-bg-lighter);
    border: 1px solid var(--v2-dark-card-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-radius: var(--v2-radius-md);
    padding: var(--v2-space-3) 0;
    padding-top: calc(var(--v2-space-3) + 8px);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--v2-ease), visibility 0.25s;
    list-style: none;
    z-index: 100;
    pointer-events: none;
}

.v2-dropdown:hover .v2-dropdown__menu,
.v2-dropdown.open .v2-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v2-dropdown__menu li {
    list-style: none;
}

.v2-dropdown__menu a {
    display: block;
    padding: var(--v2-space-3) var(--v2-space-5);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: all var(--v2-duration-fast) var(--v2-ease);
}

.v2-dropdown__menu a:hover {
    background: rgba(169,115,184,0.15);
    color: #fff;
}

.v2-dropdown__menu a.active {
    color: var(--v2-primary-300);
    font-weight: 600;
    background: rgba(169,115,184,0.1);
}

/* Nested dropdown */
.v2-dropdown__nested {
    position: relative;
}

.v2-dropdown__nested-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--v2-space-3) var(--v2-space-5);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all var(--v2-duration-fast) var(--v2-ease);
}

.v2-dropdown__nested-toggle:hover {
    background: rgba(169,115,184,0.15);
    color: #fff;
}

.v2-dropdown__nested-arrow {
    font-size: 0.6em;
    transition: transform var(--v2-duration) var(--v2-ease);
}

.v2-dropdown__nested-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--v2-dark-bg-lighter);
    border: 1px solid var(--v2-dark-card-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border-radius: var(--v2-radius-md);
    padding: var(--v2-space-2) 0;
    min-width: 120px;
    margin-left: 0;
    list-style: none;
    transition: opacity 0.25s var(--v2-ease), visibility 0.25s;
    pointer-events: none;
}

.v2-dropdown__nested:hover .v2-dropdown__nested-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.v2-dropdown__nested:hover .v2-dropdown__nested-arrow {
    transform: rotate(90deg);
}

/* Hamburger */
.v2-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    border-radius: var(--v2-radius-sm);
    transition: background var(--v2-duration) var(--v2-ease);
}

.v2-hamburger:hover {
    background: rgba(255,255,255,0.1);
}

.v2-hamburger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-hamburger__line + .v2-hamburger__line {
    margin-top: 5px;
}

.v2-hamburger.active .v2-hamburger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.v2-hamburger.active .v2-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.v2-hamburger.active .v2-hamburger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay nav */
.v2-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--v2-dark-bg);
    z-index: 999;
    padding: 100px var(--v2-space-8) var(--v2-space-8);
    flex-direction: column;
    gap: var(--v2-space-2);
    overflow-y: auto;
    animation: v2FadeIn var(--v2-duration-slow) var(--v2-ease);
}

.v2-mobile-nav.active {
    display: flex;
}

.v2-mobile-nav__link {
    display: block;
    padding: var(--v2-space-4) var(--v2-space-4);
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    border-radius: var(--v2-radius-md);
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-mobile-nav__link:hover,
.v2-mobile-nav__link.active {
    background: rgba(169,115,184,0.15);
    color: #fff;
}

.v2-mobile-nav__dropdown-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--v2-space-4);
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    border-radius: var(--v2-radius-md);
    cursor: pointer;
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-mobile-nav__dropdown-title:hover {
    background: rgba(169,115,184,0.1);
}

.v2-mobile-nav__sub {
    display: none;
    padding-left: var(--v2-space-4);
    list-style: none;
}

.v2-mobile-nav__sub.open {
    display: block;
}

.v2-mobile-nav__sub a {
    display: block;
    padding: var(--v2-space-3) var(--v2-space-4);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    border-radius: var(--v2-radius-sm);
    transition: all var(--v2-duration-fast) var(--v2-ease);
}

.v2-mobile-nav__sub a:hover,
.v2-mobile-nav__sub a.active {
    color: var(--v2-primary-300);
    background: rgba(169,115,184,0.1);
}

.v2-mobile-nav__nested-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--v2-space-3) var(--v2-space-4);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    border-radius: var(--v2-radius-sm);
    transition: all var(--v2-duration-fast) var(--v2-ease);
}

.v2-mobile-nav__nested-title:hover {
    background: rgba(169,115,184,0.1);
    color: var(--v2-primary-300);
}

.v2-mobile-nav__nested-sub {
    display: none;
    padding-left: var(--v2-space-4);
    list-style: none;
}

.v2-mobile-nav__nested-sub.open {
    display: block;
}

.v2-mobile-nav__nested-sub a {
    display: block;
    padding: var(--v2-space-2) var(--v2-space-4);
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.5);
}

.v2-mobile-nav__cta {
    display: block;
    margin-top: var(--v2-space-4);
    padding: var(--v2-space-4);
    background: linear-gradient(135deg, var(--v2-primary-400), var(--v2-primary-600));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--v2-radius-lg);
    transition: all var(--v2-duration) var(--v2-ease);
}

/* =============================================
   HERO SECTION - Dark, full viewport
============================================== */
.v2-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--v2-dark-bg) 0%, var(--v2-primary-900) 50%, var(--v2-dark-bg-lighter) 100%);
    margin-top: -80px;
    padding-top: 80px;
}

.v2-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169,115,184,0.15), transparent 70%);
    pointer-events: none;
}

.v2-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,74,156,0.1), transparent 70%);
    pointer-events: none;
}

.v2-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--v2-space-12);
    align-items: center;
    max-width: var(--v2-max-w);
    margin: 0 auto;
    padding: var(--v2-space-16) var(--v2-space-6);
    width: 100%;
}

.v2-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-6);
}

.v2-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--v2-space-2);
    padding: var(--v2-space-2) var(--v2-space-4);
    background: rgba(169,115,184,0.15);
    border: 1px solid rgba(169,115,184,0.25);
    border-radius: var(--v2-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--v2-primary-300);
    width: fit-content;
    backdrop-filter: blur(8px);
}

.v2-hero__title {
    color: #fff;
}

.v2-hero__subtitle {
    font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.2rem);
    color: var(--v2-dark-text-muted);
    line-height: 1.8;
}

.v2-hero__divider {
    display: flex;
    align-items: center;
    gap: var(--v2-space-4);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--v2-primary-400);
    letter-spacing: 0.05em;
}

.v2-hero__divider span {
    opacity: 0.4;
}

.v2-hero__actions {
    display: flex;
    gap: var(--v2-space-4);
    flex-wrap: wrap;
}

.v2-hero__stats {
    display: flex;
    gap: var(--v2-space-8);
    padding-top: var(--v2-space-6);
    border-top: 1px solid rgba(169,115,184,0.15);
}

.v2-hero__stat {
    text-align: center;
}

.v2-hero__stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--v2-primary-300);
    line-height: 1;
    margin-bottom: var(--v2-space-1);
}

.v2-hero__stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--v2-dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v2-hero__image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.v2-hero__image img {
    width: 100%;
    max-width: 800px;
    border-radius: var(--v2-radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 3px solid rgba(169,115,184,0.2);
}

.v2-hero__image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: var(--v2-radius-xl);
    border: 1px solid rgba(169,115,184,0.1);
    pointer-events: none;
}

/* =============================================
   BUTTONS
============================================== */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--v2-space-2);
    padding: var(--v2-space-3) var(--v2-space-6);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--v2-radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--v2-duration) var(--v2-ease);
    text-decoration: none;
    line-height: 1.4;
}

.v2-btn--primary {
    background: linear-gradient(135deg, var(--v2-primary-400), var(--v2-primary-600));
    color: #fff;
    box-shadow: var(--v2-shadow-purple);
}

.v2-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--v2-shadow-purple-lg);
}

.v2-btn--primary:active {
    transform: translateY(0);
}

.v2-btn--outline {
    background: transparent;
    border-color: rgba(169,115,184,0.4);
    color: var(--v2-primary-300);
}

.v2-btn--outline:hover {
    background: rgba(169,115,184,0.1);
    border-color: var(--v2-primary-400);
    transform: translateY(-2px);
}

/* On light backgrounds */
.v2-section--light .v2-btn--outline {
    border-color: var(--v2-primary-300);
    color: var(--v2-primary-600);
}

.v2-section--light .v2-btn--outline:hover {
    background: var(--v2-primary-50);
    border-color: var(--v2-primary-400);
}

.v2-btn--lg {
    padding: var(--v2-space-4) var(--v2-space-8);
    font-size: 1.05rem;
}

.v2-btn--sm {
    padding: var(--v2-space-2) var(--v2-space-4);
    font-size: 0.8125rem;
}

.v2-btn--ghost {
    background: transparent;
    color: var(--v2-gray-600);
    padding: var(--v2-space-2) var(--v2-space-3);
}

.v2-btn--ghost:hover {
    color: var(--v2-primary-600);
    background: var(--v2-primary-50);
}

/* =============================================
   SECTIONS
============================================== */
.v2-section {
    padding: var(--v2-space-20) 0;
}

/* Light background section (default) */
.v2-section--light {
    background: #fff;
}

/* Alt light with subtle gradient */
.v2-section--alt {
    background: linear-gradient(180deg, var(--v2-primary-50) 0%, #fff 100%);
}

/* Dark section (like reference) */
.v2-section--dark {
    background: linear-gradient(135deg, var(--v2-dark-bg) 0%, var(--v2-primary-900) 50%, var(--v2-dark-bg-lighter) 100%);
    color: var(--v2-dark-text);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(169,115,184,0.1);
}

/* Alternate gradient direction for visual variety */
.v2-section--dark:nth-of-type(even) {
    background: linear-gradient(225deg, var(--v2-dark-bg) 0%, var(--v2-primary-900) 50%, var(--v2-dark-bg-lighter) 100%);
}

.v2-section--dark:first-child,
.v2-hero + .v2-poster-modal + .v2-section--dark {
    border-top: none;
}

.v2-section--dark::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(169,115,184,0.08), transparent 70%);
    pointer-events: none;
}

.v2-section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--v2-space-12);
}

.v2-section__label {
    margin-bottom: var(--v2-space-3);
}

.v2-section--dark .v2-section__label {
    color: var(--v2-primary-300);
}

.v2-section__title {
    margin-bottom: var(--v2-space-4);
}

.v2-section--light .v2-section__title,
.v2-section--alt .v2-section__title {
    color: var(--v2-primary-800);
}

.v2-section--dark .v2-section__title {
    color: #fff;
}

.v2-section__desc {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.v2-section--light .v2-section__desc,
.v2-section--alt .v2-section__desc {
    color: var(--v2-gray-500);
}

.v2-section--dark .v2-section__desc {
    color: var(--v2-dark-text-muted);
}

/* =============================================
   CARDS - Light background variant
============================================== */
.v2-card {
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.08);
    border-radius: var(--v2-radius-lg);
    padding: var(--v2-space-8);
    transition: all var(--v2-duration) var(--v2-ease);
    position: relative;
    overflow: hidden;
}

.v2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--v2-primary-400), var(--v2-primary-600));
    opacity: 0;
    transition: opacity var(--v2-duration) var(--v2-ease);
}

.v2-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--v2-shadow-xl);
    border-color: rgba(169,115,184,0.15);
}

.v2-card:hover::before {
    opacity: 1;
}

/* Dark section cards */
.v2-section--dark .v2-card {
    background: var(--v2-dark-card);
    border-color: var(--v2-dark-card-border);
}

.v2-section--dark .v2-card:hover {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(169,115,184,0.3);
}

.v2-section--dark .v2-card::before {
    background: linear-gradient(90deg, var(--v2-primary-300), var(--v2-primary-500));
}

.v2-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--v2-space-5);
    font-size: 1.5rem;
}

.v2-section--light .v2-card__icon,
.v2-section--alt .v2-card__icon {
    background: var(--v2-primary-100);
    color: var(--v2-primary-600);
}

.v2-section--dark .v2-card__icon {
    background: rgba(169,115,184,0.15);
    color: var(--v2-primary-300);
}

.v2-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--v2-space-3);
}

.v2-section--light .v2-card__title,
.v2-section--alt .v2-card__title {
    color: var(--v2-primary-800);
}

.v2-section--dark .v2-card__title {
    color: #fff;
}

.v2-card__subtitle {
    font-size: 0.9375rem;
    margin-bottom: var(--v2-space-4);
    font-style: italic;
}

.v2-section--light .v2-card__subtitle,
.v2-section--alt .v2-card__subtitle {
    color: var(--v2-gray-500);
}

.v2-section--dark .v2-card__subtitle {
    color: var(--v2-dark-text-muted);
}

.v2-card__text {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.v2-section--light .v2-card__text,
.v2-section--alt .v2-card__text {
    color: var(--v2-gray-600);
}

.v2-section--dark .v2-card__text {
    color: var(--v2-dark-text-muted);
}

.v2-card__list {
    list-style: none;
    padding: 0;
}

.v2-card__list li {
    position: relative;
    padding-left: var(--v2-space-6);
    padding-bottom: var(--v2-space-3);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.v2-section--light .v2-card__list li,
.v2-section--alt .v2-card__list li {
    color: var(--v2-gray-600);
}

.v2-section--dark .v2-card__list li {
    color: var(--v2-dark-text-muted);
}

.v2-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--v2-primary-400);
}

/* =============================================
   GRID LAYOUTS
============================================== */
.v2-grid {
    display: grid;
    gap: var(--v2-space-6);
}

.v2-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.v2-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.v2-grid--auto {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

@media (max-width: 768px) {
    .v2-grid--2,
    .v2-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   NEWS / AKTUALNOSCI
============================================== */
.v2-news {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--v2-space-8);
    align-items: start;
}

.v2-news__content {
    border-radius: var(--v2-radius-lg);
    padding: var(--v2-space-8);
}

.v2-section--light .v2-news__content {
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.08);
}

.v2-section--dark .v2-news__content {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
}

.v2-news__content p {
    line-height: 1.8;
}

.v2-section--light .v2-news__content p {
    color: var(--v2-gray-600);
}

.v2-section--dark .v2-news__content p {
    color: var(--v2-dark-text-muted);
}

.v2-news__poster img {
    width: 100%;
    border-radius: var(--v2-radius-lg);
    box-shadow: var(--v2-shadow-lg);
    transition: transform var(--v2-duration) var(--v2-ease);
    cursor: pointer;
}

.v2-news__poster img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .v2-news {
        grid-template-columns: 1fr;
    }
    .v2-news__poster {
        display: flex;
        justify-content: center;
    }
    .v2-news__poster img {
        max-width: 280px;
    }
}

/* =============================================
   INFO GRID (Najważniejsze informacje)
============================================== */
.v2-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--v2-space-6);
}

.v2-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--v2-space-5);
    padding: var(--v2-space-6) var(--v2-space-8);
    border-radius: var(--v2-radius-lg);
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-section--light .v2-info-item,
.v2-section--alt .v2-info-item {
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.06);
}

.v2-section--light .v2-info-item:hover,
.v2-section--alt .v2-info-item:hover {
    box-shadow: var(--v2-shadow-md);
    border-color: rgba(169,115,184,0.12);
}

.v2-section--dark .v2-info-item {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
}

.v2-section--dark .v2-info-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(169,115,184,0.3);
}

.v2-info-item__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.v2-section--light .v2-info-item__icon,
.v2-section--alt .v2-info-item__icon {
    background: var(--v2-primary-100);
}

.v2-section--dark .v2-info-item__icon {
    background: rgba(169,115,184,0.15);
}

.v2-info-item__label {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: var(--v2-space-2);
}

.v2-section--light .v2-info-item__label,
.v2-section--alt .v2-info-item__label {
    color: var(--v2-primary-600);
}

.v2-section--dark .v2-info-item__label {
    color: var(--v2-primary-300);
}

.v2-info-item__value {
    font-size: 1.0625rem;
    line-height: 1.6;
}

.v2-section--light .v2-info-item__value,
.v2-section--alt .v2-info-item__value {
    color: var(--v2-gray-600);
}

.v2-section--dark .v2-info-item__value {
    color: var(--v2-dark-text-muted);
}

/* =============================================
   ABOUT SECTION (O prowadzącej)
============================================== */
.v2-about {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--v2-space-10);
    align-items: center;
}

.v2-about__content {
    border-radius: var(--v2-radius-lg);
    padding: var(--v2-space-8);
}

.v2-section--light .v2-about__content,
.v2-section--alt .v2-about__content {
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.08);
}

.v2-section--dark .v2-about__content {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
}

.v2-section--light .v2-about__content .v2-h3 {
    color: var(--v2-primary-700);
}

.v2-section--dark .v2-about__content .v2-h3 {
    color: #fff;
}

.v2-about__list {
    list-style: none;
    padding: 0;
    margin-top: var(--v2-space-5);
}

.v2-about__list li {
    padding: var(--v2-space-3) 0;
    padding-left: var(--v2-space-6);
    position: relative;
    font-size: 0.9375rem;
}

.v2-section--light .v2-about__list li,
.v2-section--alt .v2-about__list li {
    color: var(--v2-gray-600);
    border-bottom: 1px solid var(--v2-gray-100);
}

.v2-section--dark .v2-about__list li {
    color: var(--v2-dark-text-muted);
    border-bottom: 1px solid rgba(169,115,184,0.1);
}

.v2-about__list li:last-child {
    border-bottom: none;
}

.v2-about__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--v2-primary-400);
    font-weight: 700;
}

.v2-about__image img {
    width: 100%;
    border-radius: var(--v2-radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: transform var(--v2-duration) var(--v2-ease);
    cursor: pointer;
}

.v2-section--dark .v2-about__image img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 2px solid rgba(169,115,184,0.2);
}

.v2-about__image img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .v2-about {
        grid-template-columns: 1fr;
    }
    .v2-about__image {
        display: flex;
        justify-content: center;
        order: -1;
    }
    .v2-about__image img {
        max-width: 280px;
    }
}

/* =============================================
   CONTACT
============================================== */
.v2-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--v2-space-5);
}

.v2-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--v2-space-4);
    padding: var(--v2-space-6);
    border-radius: var(--v2-radius-lg);
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-section--light .v2-contact-item,
.v2-section--alt .v2-contact-item {
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.06);
}

.v2-section--light .v2-contact-item:hover,
.v2-section--alt .v2-contact-item:hover {
    box-shadow: var(--v2-shadow-md);
    transform: translateY(-2px);
}

.v2-section--dark .v2-contact-item {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
}

.v2-section--dark .v2-contact-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    border-color: rgba(169,115,184,0.3);
}

.v2-contact-item__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--v2-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.v2-section--light .v2-contact-item__icon,
.v2-section--alt .v2-contact-item__icon {
    background: linear-gradient(135deg, var(--v2-primary-100), var(--v2-primary-200));
}

.v2-section--dark .v2-contact-item__icon {
    background: rgba(169,115,184,0.15);
}

.v2-contact-item__label {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--v2-space-1);
}

.v2-section--light .v2-contact-item__label,
.v2-section--alt .v2-contact-item__label {
    color: var(--v2-primary-600);
}

.v2-section--dark .v2-contact-item__label {
    color: var(--v2-primary-300);
}

.v2-contact-item__value {
    font-size: 0.9375rem;
    line-height: 1.5;
}

.v2-section--light .v2-contact-item__value,
.v2-section--alt .v2-contact-item__value {
    color: var(--v2-gray-700);
}

.v2-section--dark .v2-contact-item__value {
    color: var(--v2-dark-text);
}

/* =============================================
   FOOTER - Dark, multi-column
============================================== */
.v2-footer {
    background: var(--v2-dark-bg);
    border-top: 1px solid rgba(169,115,184,0.1);
    padding: var(--v2-space-16) 0 var(--v2-space-8);
    color: var(--v2-dark-text);
}

.v2-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--v2-space-10);
    margin-bottom: var(--v2-space-10);
}

.v2-footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-4);
}

.v2-footer__brand-top {
    display: flex;
    align-items: center;
    gap: var(--v2-space-3);
}

.v2-footer__brand-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
}

.v2-footer__brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.v2-footer__brand-desc {
    font-size: 0.9375rem;
    color: var(--v2-dark-text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.v2-footer__col-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--v2-space-5);
}

.v2-footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-3);
    list-style: none;
}

.v2-footer__links a {
    font-size: 0.9375rem;
    color: var(--v2-dark-text-muted);
    transition: color var(--v2-duration-fast) var(--v2-ease);
}

.v2-footer__links a:hover {
    color: var(--v2-primary-300);
}

.v2-footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--v2-space-3);
    font-size: 0.9375rem;
    color: var(--v2-dark-text-muted);
    margin-bottom: var(--v2-space-3);
}

.v2-footer__contact-item .icon {
    font-size: 1rem;
}

.v2-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--v2-space-6);
    border-top: 1px solid rgba(169,115,184,0.1);
}

.v2-footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
    .v2-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--v2-space-8);
    }
    .v2-footer__bottom {
        flex-direction: column;
        gap: var(--v2-space-3);
        text-align: center;
    }
}

/* =============================================
   GALLERY - V2
============================================== */
.v2-gallery-sections {
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-8);
}

.v2-gallery-section {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
    border-radius: var(--v2-radius-lg);
    padding: var(--v2-space-6) var(--v2-space-8);
    box-shadow: var(--v2-shadow-sm);
}

.v2-section--light .v2-gallery-section {
    background: var(--v2-bg-card);
    border-color: rgba(169,115,184,0.06);
}

.v2-gallery-section__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: var(--v2-space-5);
    padding-bottom: var(--v2-space-3);
    border-bottom: 2px solid rgba(169,115,184,0.2);
}

.v2-section--light .v2-gallery-section__title {
    color: var(--v2-primary-700);
    border-bottom-color: var(--v2-primary-100);
}

.v2-section--dark .v2-gallery-section__title {
    color: #fff;
}

.v2-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: clamp(0.6rem, 0.4rem + 0.6vw, 1.2rem);
}

.v2-gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--v2-radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--v2-primary-50);
    box-shadow: var(--v2-shadow-xs);
    transition: transform var(--v2-duration) var(--v2-ease), box-shadow var(--v2-duration) var(--v2-ease);
}

.v2-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--v2-ease);
    -webkit-user-drag: none;
    user-select: none;
}

.v2-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-lg);
}

.v2-gallery-item:hover img {
    transform: scale(1.07);
}

/* Lazy loading */
.v2-lazy-image {
    position: relative;
    overflow: hidden;
}

.v2-lazy-image img {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.v2-lazy-image img.loaded {
    opacity: 1;
}

.v2-lazy-image .image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border: 3px solid var(--v2-primary-100);
    border-top: 3px solid var(--v2-primary-500);
    border-radius: 50%;
    animation: v2Spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.2s;
}

.v2-lazy-image[data-loaded="false"] .image-loader {
    opacity: 1;
}

.v2-lazy-image[data-loaded="true"] .image-loader {
    opacity: 0;
}

/* Load more */
.v2-load-more {
    text-align: center;
    padding: var(--v2-space-8) 0;
}

.v2-load-more .v2-btn .btn-text,
.v2-load-more .v2-btn .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: var(--v2-space-2);
}

/* =============================================
   LIGHTBOX V2
============================================== */
.v2-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.v2-lightbox.is-open {
    display: flex;
}

.v2-lightbox__topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    padding: var(--v2-space-4) var(--v2-space-6);
    z-index: 10;
}

.v2-lightbox__close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--v2-duration) var(--v2-ease);
    backdrop-filter: blur(8px);
}

.v2-lightbox__close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.v2-lightbox__stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 90vw;
    max-height: 85vh;
}

.v2-lightbox__image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.v2-lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    -webkit-user-drag: none;
    user-select: none;
}

.v2-lightbox__image.loaded {
    opacity: 1;
}

.v2-lightbox__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.v2-lightbox__spinner .spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: v2Spin 1s linear infinite;
}

.v2-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--v2-duration) var(--v2-ease);
    backdrop-filter: blur(8px);
    z-index: 10;
}

.v2-lightbox__nav:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
}

.v2-lightbox__prev { left: var(--v2-space-4); }
.v2-lightbox__next { right: var(--v2-space-4); }

.v2-lightbox__counter {
    position: absolute;
    bottom: var(--v2-space-6);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: var(--v2-space-2) var(--v2-space-4);
    border-radius: var(--v2-radius-full);
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

/* =============================================
   FORM V2
============================================== */
.v2-signup-page {
    padding-top: calc(80px + var(--v2-space-12));
}

.v2-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--v2-bg-card);
    border: 1px solid rgba(169,115,184,0.08);
    border-radius: var(--v2-radius-xl);
    box-shadow: var(--v2-shadow-lg);
    padding: var(--v2-space-10);
}

.v2-form-header {
    text-align: center;
    margin-bottom: var(--v2-space-8);
}

.v2-form-header h2 {
    color: var(--v2-primary-700);
    margin-bottom: var(--v2-space-2);
}

.v2-form-header p {
    color: var(--v2-gray-500);
    font-size: 0.9375rem;
}

.v2-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 var(--v2-space-6);
}

.v2-fieldset__legend {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--v2-primary-700);
    margin-bottom: var(--v2-space-4);
    padding-bottom: var(--v2-space-2);
    border-bottom: 2px solid var(--v2-primary-100);
    width: 100%;
}

.v2-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--v2-space-5);
}

.v2-form-group {
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-2);
}

.v2-form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--v2-gray-600);
}

.v2-form-group input,
.v2-form-group textarea {
    width: 100%;
    padding: var(--v2-space-3) var(--v2-space-4);
    font-family: inherit;
    font-size: 1rem;
    border: 2px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-sm);
    background: var(--v2-gray-50);
    transition: all var(--v2-duration) var(--v2-ease);
    line-height: 1.5;
}

.v2-form-group input:hover,
.v2-form-group textarea:hover {
    border-color: var(--v2-primary-300);
}

.v2-form-group input:focus,
.v2-form-group textarea:focus {
    outline: none;
    border-color: var(--v2-primary-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(169,115,184,0.12);
}

.v2-form-group .field-error {
    font-size: 0.75rem;
    color: var(--v2-danger);
    font-weight: 600;
}

.v2-form-group .field-hint {
    font-size: 0.75rem;
    color: var(--v2-gray-400);
}

.v2-form-group .is-invalid {
    border-color: var(--v2-danger) !important;
    background: #fef2f2;
}

.v2-checkbox-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--v2-space-3);
}

.v2-checkbox-item {
    display: flex;
    align-items: center;
    gap: var(--v2-space-3);
    padding: var(--v2-space-3) var(--v2-space-4);
    border: 1px solid var(--v2-gray-200);
    border-radius: var(--v2-radius-sm);
    cursor: pointer;
    transition: all var(--v2-duration-fast) var(--v2-ease);
}

.v2-checkbox-item:hover {
    border-color: var(--v2-primary-300);
    background: var(--v2-primary-50);
}

.v2-checkbox-item:has(input:checked) {
    border-color: var(--v2-primary-400);
    background: var(--v2-primary-50);
}

.v2-checkbox-item input[type="checkbox"] {
    width: auto;
    accent-color: var(--v2-primary-500);
}

.v2-form-actions {
    display: flex;
    gap: var(--v2-space-4);
    justify-content: space-between;
    margin-top: var(--v2-space-6);
}

.v2-form-disclaimer {
    font-size: 0.75rem;
    color: var(--v2-gray-400);
    text-align: center;
    margin-top: var(--v2-space-3);
}

/* --- Dark theme form overrides --- */
.v2-section--dark .v2-form-wrap {
    background: rgba(255,255,255,0.06);
    border-color: rgba(169,115,184,0.18);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.v2-section--dark .v2-form-header h2 {
    color: #fff;
}

.v2-section--dark .v2-form-header p {
    color: rgba(255,255,255,0.65);
}

.v2-section--dark .v2-fieldset__legend {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(169,115,184,0.25);
}

.v2-section--dark .v2-form-group label {
    color: rgba(255,255,255,0.8);
}

.v2-section--dark .v2-form-group input,
.v2-section--dark .v2-form-group textarea {
    background: rgba(255,255,255,0.07);
    border-color: rgba(169,115,184,0.2);
    color: #fff;
}

.v2-section--dark .v2-form-group input::placeholder,
.v2-section--dark .v2-form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.v2-section--dark .v2-form-group input:hover,
.v2-section--dark .v2-form-group textarea:hover {
    border-color: rgba(169,115,184,0.4);
}

.v2-section--dark .v2-form-group input:focus,
.v2-section--dark .v2-form-group textarea:focus {
    background: rgba(255,255,255,0.1);
    border-color: var(--v2-primary-400);
    box-shadow: 0 0 0 4px rgba(169,115,184,0.2);
    color: #fff;
}

.v2-section--dark .v2-form-group .field-hint {
    color: rgba(255,255,255,0.45);
}

.v2-section--dark .v2-form-group .is-invalid {
    border-color: var(--v2-danger) !important;
    background: rgba(220,38,38,0.12);
    color: #fff;
}

.v2-section--dark .v2-checkbox-item {
    border-color: rgba(169,115,184,0.2);
    color: rgba(255,255,255,0.85);
}

.v2-section--dark .v2-checkbox-item:hover {
    border-color: rgba(169,115,184,0.4);
    background: rgba(169,115,184,0.1);
}

.v2-section--dark .v2-checkbox-item:has(input:checked) {
    border-color: var(--v2-primary-400);
    background: rgba(169,115,184,0.15);
}

.v2-section--dark .v2-checkbox-item span {
    color: rgba(255,255,255,0.85);
}

.v2-section--dark .v2-form-disclaimer {
    color: rgba(255,255,255,0.4);
}

.v2-section--dark .v2-req {
    color: #f87171;
}

@media (max-width: 640px) {
    .v2-form-wrap {
        padding: var(--v2-space-6);
        border-radius: var(--v2-radius-lg);
    }
    .v2-form-grid {
        grid-template-columns: 1fr;
    }
    .v2-form-actions {
        flex-direction: column-reverse;
    }
    .v2-form-actions .v2-btn {
        width: 100%;
    }
}

/* =============================================
   SCROLL ANIMATIONS
============================================== */
.v2-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--v2-ease), transform 0.6s var(--v2-ease);
}

.v2-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.v2-reveal--delay-1 { transition-delay: 100ms; }
.v2-reveal--delay-2 { transition-delay: 200ms; }
.v2-reveal--delay-3 { transition-delay: 300ms; }

/* =============================================
   ANIMATIONS
============================================== */
@keyframes v2FadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes v2Spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes v2SlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes v2Float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =============================================
   RESPONSIVE
============================================== */
@media (max-width: 900px) {
    .v2-nav, .v2-nav__cta {
        display: none;
    }
    .v2-hamburger {
        display: flex;
    }
    .v2-section {
        padding: var(--v2-space-12) 0;
    }
    .v2-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--v2-space-10) var(--v2-space-6);
    }
    .v2-hero__content {
        align-items: center;
        order: 2;
    }
    .v2-hero__actions {
        justify-content: center;
    }
    .v2-hero__stats {
        justify-content: center;
    }
    .v2-hero__image {
        order: 1;
    }
    .v2-hero__image img {
        max-width: 320px;
    }
}

@media (max-width: 640px) {
    .v2-container {
        padding: 0 var(--v2-space-4);
    }
    .v2-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .v2-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .v2-lightbox__prev { left: var(--v2-space-2); }
    .v2-lightbox__next { right: var(--v2-space-2); }
    .v2-gallery-section {
        padding: var(--v2-space-4) var(--v2-space-5);
    }
}

@media (max-width: 480px) {
    .v2-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .v2-hero__actions {
        flex-direction: column;
        align-items: center;
    }
    .v2-hero__actions .v2-btn {
        width: 100%;
        max-width: 300px;
    }
    .v2-hero__stats {
        flex-wrap: wrap;
        gap: var(--v2-space-4);
    }
}

/* =============================================
   HEADER SIGNUP-ONLY
============================================== */
.v2-header--signup,
.v2-header--gallery {
    background: var(--v2-bg-glass-dark);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
}

.v2-header--signup .v2-header__inner {
    justify-content: center;
}

/* =============================================
   MODAL (for poster modals on main page)
============================================== */
.v2-poster-modal {
    position: fixed;
    z-index: 1500;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
}

.v2-poster-modal.is-open {
    display: flex;
}

.v2-poster-modal__content {
    position: relative;
    max-width: min(90vw, 900px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v2-poster-modal__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--v2-radius-md);
    box-shadow: var(--v2-shadow-xl);
}

.v2-poster-modal__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--v2-duration) var(--v2-ease);
    backdrop-filter: blur(8px);
}

.v2-poster-modal__close:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Visually hidden */
.v2-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Error alerts */
.v2-alert {
    padding: var(--v2-space-4);
    border-radius: var(--v2-radius-md);
    margin-bottom: var(--v2-space-6);
}

.v2-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.v2-alert ul {
    list-style: none;
    padding: 0;
}

.v2-alert li {
    margin-bottom: var(--v2-space-1);
}

/* Archive year selector */
.v2-year-select {
    text-align: center;
    margin-bottom: var(--v2-space-6);
}

.v2-year-select select {
    padding: var(--v2-space-3) var(--v2-space-5);
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid var(--v2-primary-300);
    border-radius: var(--v2-radius-full);
    background: var(--v2-bg-card);
    color: var(--v2-primary-700);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--v2-duration) var(--v2-ease);
}

.v2-year-select select:focus {
    outline: none;
    border-color: var(--v2-primary-500);
    box-shadow: 0 0 0 4px rgba(169,115,184,0.12);
}

/* Req asterisk */
.v2-req {
    color: var(--v2-primary-500);
    font-weight: 700;
}

/* =============================================
   GALLERY PAGE DARK STYLING
============================================== */
.v2-gallery-page {
    min-height: calc(100vh - 80px);
    padding-top: calc(80px + var(--v2-space-12));
}

.v2-gallery-page .v2-gallery-section {
    background: var(--v2-dark-card);
    border: 1px solid var(--v2-dark-card-border);
}

.v2-gallery-page .v2-gallery-section__title {
    color: #fff;
}

/* Year selector (archive page) */
.v2-year-select {
    display: flex;
    align-items: center;
    gap: var(--v2-space-3);
    margin-bottom: var(--v2-space-8);
    justify-content: center;
}

.v2-year-select label {
    font-weight: 600;
    color: var(--v2-dark-text-muted);
}

.v2-year-select select {
    padding: var(--v2-space-2) var(--v2-space-4);
    border-radius: var(--v2-radius-sm);
    border: 1px solid var(--v2-dark-card-border);
    background: var(--v2-dark-card);
    color: var(--v2-dark-text);
    font-family: inherit;
    font-size: 0.9375rem;
}
