/* ============================================
   POOKING - BILLIARDS CITY
   Grunge Style CSS
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --color-primary: #2d2d2d;
    --color-primary-light: #3a3a3a;
    --color-primary-dark: #1a1a1a;
    --color-secondary: #d4c5a9;
    --color-secondary-light: #e2d6c0;
    --color-secondary-dark: #b8a98a;
    --color-accent: #8b0000;
    --color-accent-light: #a80000;
    --color-accent-dark: #6b0000;
    --color-bg: #1e1e1e;
    --color-bg-alt: #252525;
    --color-surface: #2d2d2d;
    --color-surface-light: #383838;
    --color-text: #d4c5a9;
    --color-text-muted: #9a8e78;
    --color-text-dim: #6b6152;
    --color-white: #f0ead6;
    --color-black: #0d0d0d;
    --color-olive: #4a4a2a;
    --color-dirty-beige: #c8b98a;

    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-heading: 'Oswald', 'Impact', sans-serif;
    --font-body: 'Source Code Pro', 'Courier New', monospace;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    --radius-sm: 2px;
    --radius-md: 4px;

    --shadow-sm: 2px 2px 0 rgba(0,0,0,0.3);
    --shadow-md: 4px 4px 0 rgba(0,0,0,0.4);
    --shadow-lg: 8px 8px 0 rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(139,0,0,0.3);

    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    --header-height: 80px;
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

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

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

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

a:hover {
    color: var(--color-secondary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

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

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

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

.hidden {
    display: none !important;
}

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

/* ---------- NOISE & GRAIN OVERLAYS ---------- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
    animation: grain-shift 8s steps(10) infinite;
}

@keyframes grain-shift {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--color-primary-dark);
    border-top: 3px solid var(--color-accent);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    box-shadow: 0 -4px 30px rgba(0,0,0,0.5);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.cookie-link {
    font-size: 0.8rem;
    color: var(--color-accent-light);
    text-decoration: underline;
}

.cookie-sep {
    color: var(--color-text-dim);
    margin: 0 var(--space-sm);
    font-size: 0.8rem;
}

.cookie-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.btn-cookie {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.btn-cookie-accept {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-cookie-accept:hover {
    background: var(--color-accent-light);
}

.btn-cookie-necessary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text-dim);
}

.btn-cookie-necessary:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.btn-cookie-settings {
    background: transparent;
    color: var(--color-text-muted);
    border-color: transparent;
    text-decoration: underline;
}

.btn-cookie-settings:hover {
    color: var(--color-secondary);
}

.cookie-details {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-surface-light);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.cookie-toggle input {
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    height: var(--header-height);
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--color-accent-dark);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    height: 64px;
    background: rgba(20, 20, 20, 0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

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

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

.logo-icon img {
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-accent-dark);
    border-radius: var(--radius-sm);
}

.site-header.scrolled .logo-icon img {
    width: 36px;
    height: 36px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 2px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 4px 0;
    z-index: 10001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-secondary);
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9989;
    background: rgba(13, 13, 13, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    text-transform: uppercase;
}

.mobile-nav-link:hover {
    color: var(--color-accent-light);
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    position: relative;
    transition: all var(--transition-base);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    color: var(--color-white);
    box-shadow: var(--shadow-glow);
    transform: translate(-2px, -2px);
}

.btn-primary:active {
    transform: translate(0, 0);
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary-dark);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-primary-dark);
    transform: translate(-2px, -2px);
}

.btn-jagged {
    clip-path: polygon(
        0% 4%, 3% 0%, 8% 3%, 15% 0%, 20% 2%, 28% 0%, 35% 3%, 42% 0%, 50% 2%, 58% 0%, 65% 3%, 72% 0%, 80% 2%, 85% 0%, 92% 3%, 97% 0%, 100% 4%,
        100% 96%, 97% 100%, 92% 97%, 85% 100%, 80% 98%, 72% 100%, 65% 97%, 58% 100%, 50% 98%, 42% 100%, 35% 97%, 28% 100%, 20% 98%, 15% 100%, 8% 97%, 3% 100%, 0% 96%
    );
    padding: 1.2rem 2.5rem;
}

.btn-full {
    width: 100%;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(139,0,0,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(139,0,0,0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-dark) 100%);
}

/* Hero BG elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-scratch {
    position: absolute;
    background: rgba(139,0,0,0.1);
    transform: rotate(-15deg);
}

.hero-scratch-1 {
    top: 10%;
    left: -5%;
    width: 50%;
    height: 2px;
    transform: rotate(-8deg);
}

.hero-scratch-2 {
    top: 40%;
    right: -10%;
    width: 60%;
    height: 1px;
    transform: rotate(5deg);
}

.hero-scratch-3 {
    bottom: 20%;
    left: 10%;
    width: 40%;
    height: 1px;
    transform: rotate(-3deg);
}

.hero-stamp {
    position: absolute;
    font-family: var(--font-display);
    font-size: 12rem;
    color: rgba(139,0,0,0.04);
    letter-spacing: 0.2em;
    transform: rotate(-12deg);
    top: 5%;
    right: -5%;
    user-select: none;
}

.hero-stamp-2 {
    font-size: 8rem;
    top: auto;
    right: auto;
    bottom: 10%;
    left: -3%;
    transform: rotate(8deg);
    color: rgba(212,197,169,0.03);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-accent-dark);
    background: rgba(139,0,0,0.1);
    animation: badge-pulse 3s ease infinite;
}

@keyframes badge-pulse {
    0%, 100% { border-color: var(--color-accent-dark); }
    50% { border-color: var(--color-accent-light); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: dot-blink 1.5s ease infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-lg);
}

.title-line {
    font-family: var(--font-display);
    line-height: 0.9;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(40px) skewX(-3deg);
    animation: title-reveal 0.8s ease forwards;
}

.title-line-1 {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--color-secondary);
    animation-delay: 0.2s;
}

.title-line-2 {
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--color-accent-light);
    animation-delay: 0.4s;
    margin-left: 0.5rem;
}

.title-line-3 {
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--color-text-muted);
    animation-delay: 0.6s;
    margin-left: 1rem;
}

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0) skewX(0);
    }
}

.hero-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    opacity: 0;
    animation: fade-up 0.8s ease 0.8s forwards;
}

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

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 0.8s ease 1s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    opacity: 0;
    animation: fade-up 0.8s ease 1.2s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-secondary);
    letter-spacing: 0.02em;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-surface-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: hero-img-reveal 1s ease 0.6s forwards;
}

@keyframes hero-img-reveal {
    from {
        opacity: 0;
        transform: translateX(40px) rotate(2deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    border: 3px solid var(--color-accent-dark);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    display: block;
    filter: saturate(0.85) contrast(1.05);
    transition: filter var(--transition-slow);
}

.hero-image-frame:hover .hero-image {
    filter: saturate(1) contrast(1.1);
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139,0,0,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.frame-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-secondary-dark);
    z-index: 3;
}

.frame-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.frame-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.frame-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.frame-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Floating cards */
.hero-float-card {
    position: absolute;
    background: rgba(45,45,45,0.95);
    border: 2px solid var(--color-accent-dark);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
    z-index: 4;
    animation: float-bob 4s ease-in-out infinite;
}

.card-1 {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-icon {
    color: var(--color-accent-light);
    font-size: 1rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-dim);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scroll-fade 2s ease infinite;
}

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

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

@keyframes scroll-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ---------- SOCIAL PROOF TICKER ---------- */
.social-proof {
    background: var(--color-accent-dark);
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    padding: var(--space-md) 0;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    animation: ticker-scroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

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

.ticker-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.ticker-sep {
    color: var(--color-accent-light);
    font-weight: 700;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: 0.05em;
    color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-accent {
    color: var(--color-accent-light);
    font-size: 0.6em;
    letter-spacing: 0.15em;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--color-accent);
    margin: var(--space-md) auto 0;
    position: relative;
}

.section-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 10px;
    height: 3px;
    background: var(--color-accent-dark);
}

.section-line::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 10px;
    height: 3px;
    background: var(--color-accent-dark);
}

/* ---------- ABOUT SECTION ---------- */
.about {
    padding: var(--space-3xl) 0;
    position: relative;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(139,0,0,0.04) 0%, transparent 50%),
        var(--color-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.about-block {
    margin-bottom: var(--space-xl);
    padding-left: var(--space-lg);
    border-left: 3px solid var(--color-accent-dark);
    position: relative;
}

.about-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -7px;
    width: 11px;
    height: 11px;
    background: var(--color-accent);
    border-radius: 50%;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.about-paragraph {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.about-image-wrapper {
    position: relative;
    border: 3px solid var(--color-surface-light);
    overflow: hidden;
    transform: rotate(1deg);
    transition: transform var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper:hover {
    transform: rotate(0deg);
}

.about-image {
    width: 100%;
    filter: saturate(0.8) contrast(1.05);
}

.about-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: rgba(13,13,13,0.85);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

/* Live Counters */
.live-counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.counter-card {
    background: var(--color-surface);
    border: 2px solid var(--color-surface-light);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.counter-card:hover {
    border-color: var(--color-accent-dark);
}

.counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.counter-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.counter-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: dot-blink 1.5s ease infinite;
    flex-shrink: 0;
}

.counter-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-secondary);
    letter-spacing: 0.02em;
}

.counter-suffix {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-secondary);
}

.counter-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-top: var(--space-sm);
}

/* ---------- SCREENSHOTS GALLERY ---------- */
.screenshots {
    padding: var(--space-3xl) 0;
    background:
        radial-gradient(ellipse at 30% 70%, rgba(139,0,0,0.04) 0%, transparent 50%),
        var(--color-bg-alt);
}

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

.gallery-item-large {
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-frame {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--color-surface-light);
    height: 100%;
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.gallery-frame:hover {
    border-color: var(--color-accent);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.75) contrast(1.05);
    transition: all var(--transition-slow);
}

.gallery-frame:hover .gallery-img {
    filter: saturate(1) contrast(1.1);
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(13,13,13,0.9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.gallery-frame:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent-light);
    letter-spacing: 0.05em;
}

.gallery-caption {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* ---------- FEATURES SECTION ---------- */
.features {
    padding: var(--space-3xl) 0;
    background:
        radial-gradient(ellipse at 80% 50%, rgba(139,0,0,0.05) 0%, transparent 50%),
        var(--color-bg);
}

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

.feature-card {
    background: var(--color-surface);
    border: 2px solid var(--color-surface-light);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-accent);
    transform: translate(-3px, -3px);
    box-shadow: 3px 3px 0 var(--color-accent-dark);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(139,0,0,0.12);
    position: absolute;
    top: -8px;
    right: 12px;
    letter-spacing: 0.02em;
    line-height: 1;
}

.feature-icon-wrap {
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent-light);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- RESPONSIBLE GAMING ---------- */
.responsible-gaming {
    padding: var(--space-2xl) 0;
    background: var(--color-primary-dark);
    border-top: 2px solid var(--color-surface-light);
    border-bottom: 2px solid var(--color-surface-light);
}

.responsible-inner {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
    border: 1px dashed var(--color-text-dim);
}

.responsible-icon {
    flex-shrink: 0;
    color: var(--color-accent-light);
}

.responsible-text h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: var(--space-sm);
}

.responsible-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- FAQ SECTION ---------- */
.faq {
    padding: var(--space-3xl) 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(139,0,0,0.04) 0%, transparent 50%),
        var(--color-bg-alt);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid var(--color-surface-light);
    margin-bottom: var(--space-md);
    background: var(--color-surface);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.faq-item.active {
    border-color: var(--color-accent-dark);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(139,0,0,0.05);
}

.faq-q-number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-accent);
    flex-shrink: 0;
    min-width: 2rem;
}

.faq-q-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-secondary);
    flex: 1;
}

.faq-arrow {
    flex-shrink: 0;
    color: var(--color-text-dim);
    transition: transform var(--transition-base);
    display: flex;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg) calc(2rem + var(--space-lg) + var(--space-md));
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ---------- CONTACT SECTION ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background:
        radial-gradient(ellipse at 60% 40%, rgba(139,0,0,0.06) 0%, transparent 50%),
        var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: start;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: var(--color-surface);
    border: 2px solid var(--color-surface-light);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.contact-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent-dark);
}

.contact-detail {
    margin-bottom: var(--space-md);
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-accent-light);
}

.contact-detail-value:hover {
    color: var(--color-secondary);
}

.contact-card-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

/* Social Proof Feed */
.social-proof-feed {
    background: var(--color-surface);
    border: 2px solid var(--color-surface-light);
    padding: var(--space-lg);
}

.feed-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    margin-bottom: var(--space-md);
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 200px;
    overflow: hidden;
}

.feed-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-surface-light);
    animation: feed-slide-in 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

@keyframes feed-slide-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feed-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.feed-name {
    font-weight: 600;
    color: var(--color-secondary);
}

.feed-time {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--color-text-dim);
}


/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-primary-dark);
    border-top: 3px solid var(--color-accent-dark);
}

.footer-top {
    padding: var(--space-2xl) 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-accent-dark);
}

.footer-logo-main {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-secondary);
    letter-spacing: 0.1em;
    line-height: 1;
}

.footer-logo-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-dim);
}

.footer-brand-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent-dark);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-address {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-surface-light);
}

.footer-address p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--color-surface-light);
    padding: var(--space-lg) 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    max-width: 500px;
    text-align: right;
}

/* ---------- LEGAL PAGES ---------- */
.legal-page {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    min-height: 100vh;
}

.legal-page .section-header {
    margin-bottom: var(--space-xl);
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--color-white);
    color: #1a1a1a;
    padding: var(--space-2xl);
    border: 3px solid var(--color-accent-dark);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.legal-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-accent) 0px,
        var(--color-accent) 10px,
        transparent 10px,
        transparent 14px
    );
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-accent);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content ul li {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    list-style: disc;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-accent-dark);
}

.legal-content strong {
    color: #1a1a1a;
}

.legal-content .legal-updated {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-bottom: var(--space-lg);
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-image-col {
        order: -1;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        transform: rotate(0);
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--space-xl));
        min-height: auto;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .gallery-item-large {
        grid-row: span 1;
    }

    .gallery-item-wide {
        grid-column: span 2;
    }

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

    .live-counters {
        grid-template-columns: 1fr 1fr;
    }

    .responsible-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-float-card {
        display: none;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
        text-align: center;
    }

    .legal-content {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-wide {
        grid-column: span 1;
    }

    .live-counters {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-jagged {
        clip-path: none;
        padding: 1rem 2rem;
    }

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

/* ---------- PRINT STYLES ---------- */
@media print {
    .noise-overlay,
    .grain-overlay,
    .cookie-banner,
    .site-header,
    .hero-bg-elements,
    .social-proof,
    .hero-scroll-indicator {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .legal-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}