/*
Theme Name: Little Big Wars
Theme URI: http://littlebigwars.com
Author: Onsharp
Description: Custom war-themed WordPress theme for Little Big Wars Game Shop - Fargo's premier tabletop wargaming destination.
Version: 1.0.0
Text Domain: littlebigwars
*/

/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    --lbw-black: #0a0a0a;
    --lbw-dark: #111111;
    --lbw-darker-gray: #1a1a1a;
    --lbw-dark-gray: #2a2a2a;
    --lbw-medium-gray: #3a3a3a;
    --lbw-light-gray: #b0b0b0;
    --lbw-blood-red: #8b0000;
    --lbw-red: #cc0000;
    --lbw-bright-red: #e60000;
    --lbw-orange: #ff4500;
    --lbw-gold: #d4a017;
    --lbw-bright-gold: #ffd700;
    --lbw-white: #f0f0f0;
    --lbw-pure-white: #ffffff;
    --lbw-steel: #4a4a5a;
    --lbw-font-heading: 'Black Ops One', cursive;
    --lbw-font-sub: 'Oswald', sans-serif;
    --lbw-font-body: 'Barlow', sans-serif;
    --lbw-transition: all 0.3s ease;
    --lbw-glow-red: 0 0 20px rgba(204, 0, 0, 0.5);
    --lbw-glow-gold: 0 0 20px rgba(212, 160, 23, 0.5);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--lbw-font-body);
    background-color: var(--lbw-black);
    color: var(--lbw-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--lbw-orange);
    text-shadow: 0 0 8px rgba(255, 69, 0, 0.4);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lbw-font-heading);
    color: var(--lbw-white);
    line-height: 1.2;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.lbw-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lbw-section {
    padding: 5rem 0;
    position: relative;
}

.lbw-section--dark {
    background: var(--lbw-dark);
}

.lbw-section--darker {
    background: var(--lbw-darker-gray);
}

.lbw-section--gradient {
    background: linear-gradient(180deg, var(--lbw-black) 0%, var(--lbw-dark-gray) 50%, var(--lbw-black) 100%);
}

.lbw-section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.lbw-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--lbw-blood-red), var(--lbw-orange), var(--lbw-blood-red));
    box-shadow: var(--lbw-glow-red);
}

.lbw-section-subtitle {
    font-family: var(--lbw-font-sub);
    color: var(--lbw-gold);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.text-center { text-align: center; }
.text-gold { color: var(--lbw-gold); }
.text-red { color: var(--lbw-red); }

/* ========================================
   BUTTONS
   ======================================== */
.lbw-btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--lbw-font-sub);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: var(--lbw-transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.lbw-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.lbw-btn:hover::before {
    left: 100%;
}

.lbw-btn--primary {
    background: linear-gradient(135deg, var(--lbw-blood-red), var(--lbw-red));
    color: var(--lbw-pure-white);
    border: 2px solid var(--lbw-red);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.lbw-btn--primary:hover {
    background: linear-gradient(135deg, var(--lbw-red), var(--lbw-orange));
    box-shadow: var(--lbw-glow-red);
    transform: translateY(-2px);
    color: var(--lbw-pure-white);
    text-shadow: none;
}

.lbw-btn--secondary {
    background: transparent;
    color: var(--lbw-gold);
    border: 2px solid var(--lbw-gold);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.lbw-btn--secondary:hover {
    background: var(--lbw-gold);
    color: var(--lbw-black);
    box-shadow: var(--lbw-glow-gold);
    transform: translateY(-2px);
    text-shadow: none;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.lbw-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--lbw-blood-red);
    transition: var(--lbw-transition);
}

.lbw-header.scrolled {
    box-shadow: 0 4px 30px rgba(139, 0, 0, 0.3);
}

.lbw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.lbw-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.lbw-logo img {
    height: 50px;
    width: auto;
}

.lbw-logo__text {
    font-family: var(--lbw-font-heading);
    font-size: 1.3rem;
    color: var(--lbw-red);
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.3);
}

.lbw-logo__text span {
    display: block;
    font-family: var(--lbw-font-sub);
    font-size: 0.65rem;
    color: var(--lbw-gold);
    letter-spacing: 4px;
    font-weight: 400;
}

.lbw-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.lbw-nav a {
    display: block;
    padding: 0.8rem 1.2rem;
    font-family: var(--lbw-font-sub);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lbw-light-gray);
    position: relative;
    transition: var(--lbw-transition);
}

.lbw-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--lbw-red);
    transition: width 0.3s ease;
    box-shadow: var(--lbw-glow-red);
}

.lbw-nav a:hover,
.lbw-nav a.active {
    color: var(--lbw-pure-white);
    text-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
}

.lbw-nav a:hover::after,
.lbw-nav a.active::after {
    width: 80%;
}

/* Mobile menu toggle */
.lbw-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.lbw-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--lbw-red);
    transition: var(--lbw-transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.lbw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.lbw-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.lbw-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.6) 70%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.lbw-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.lbw-hero__badge {
    font-family: var(--lbw-font-sub);
    color: var(--lbw-gold);
    font-size: 1rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid var(--lbw-gold);
    padding: 6px 20px;
    animation: fadeInDown 1s ease;
}

.lbw-hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--lbw-pure-white), var(--lbw-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.05;
}

.lbw-hero__tagline {
    font-family: var(--lbw-font-sub);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--lbw-orange);
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.4s both;
}

.lbw-hero__buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.lbw-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease infinite;
}

.lbw-hero__scroll svg {
    width: 30px;
    height: 30px;
    stroke: var(--lbw-gold);
    opacity: 0.7;
}

/* ========================================
   CARDS
   ======================================== */
.lbw-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lbw-card {
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-medium-gray);
    position: relative;
    overflow: hidden;
    transition: var(--lbw-transition);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.lbw-card:hover {
    border-color: var(--lbw-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.2);
}

.lbw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lbw-blood-red), var(--lbw-orange));
}

.lbw-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.lbw-card__body {
    padding: 1.5rem;
}

.lbw-card__title {
    font-family: var(--lbw-font-sub);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--lbw-white);
}

.lbw-card__text {
    font-size: 0.95rem;
    color: var(--lbw-light-gray);
    margin-bottom: 1rem;
}

/* ========================================
   FEATURES / ICON BOXES
   ======================================== */
.lbw-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.lbw-feature {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-dark-gray);
    transition: var(--lbw-transition);
    position: relative;
}

.lbw-feature:hover {
    border-color: var(--lbw-red);
    transform: translateY(-3px);
}

.lbw-feature__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.lbw-feature__title {
    font-family: var(--lbw-font-sub);
    font-size: 1.2rem;
    color: var(--lbw-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   GALLERY
   ======================================== */
.lbw-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.lbw-gallery__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.lbw-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lbw-gallery__item:hover img {
    transform: scale(1.08);
}

.lbw-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(139, 0, 0, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lbw-gallery__item:hover::after {
    opacity: 1;
}

.lbw-gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    font-family: var(--lbw-font-sub);
    color: var(--lbw-pure-white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.lbw-gallery__item:hover .lbw-gallery__caption {
    transform: translateY(0);
}

/* ========================================
   CONTACT / INFO
   ======================================== */
.lbw-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.lbw-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lbw-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.lbw-info-item__icon {
    font-size: 1.5rem;
    color: var(--lbw-red);
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lbw-dark-gray);
    background: var(--lbw-darker-gray);
}

.lbw-info-item__text h4 {
    font-family: var(--lbw-font-sub);
    font-size: 1rem;
    color: var(--lbw-gold);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.lbw-info-item__text p {
    color: var(--lbw-light-gray);
    font-size: 0.95rem;
    margin: 0;
}

.lbw-contact-form input,
.lbw-contact-form textarea,
.lbw-contact-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-medium-gray);
    color: var(--lbw-white);
    font-family: var(--lbw-font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--lbw-transition);
}

.lbw-contact-form input:focus,
.lbw-contact-form textarea:focus {
    outline: none;
    border-color: var(--lbw-red);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.2);
}

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

/* ========================================
   FOOTER
   ======================================== */
.lbw-footer {
    background: var(--lbw-black);
    border-top: 3px solid var(--lbw-blood-red);
    padding: 4rem 0 0;
}

.lbw-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--lbw-dark-gray);
}

.lbw-footer__heading {
    font-family: var(--lbw-font-sub);
    font-size: 1.1rem;
    color: var(--lbw-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.lbw-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--lbw-red);
}

.lbw-footer ul {
    list-style: none;
}

.lbw-footer ul li {
    margin-bottom: 0.5rem;
}

.lbw-footer ul a {
    color: var(--lbw-light-gray);
    font-size: 0.95rem;
    transition: var(--lbw-transition);
}

.lbw-footer ul a:hover {
    color: var(--lbw-red);
    padding-left: 5px;
}

.lbw-footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.lbw-footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--lbw-medium-gray);
    color: var(--lbw-light-gray);
    font-size: 1.1rem;
    transition: var(--lbw-transition);
}

.lbw-footer__social a:hover {
    background: var(--lbw-red);
    border-color: var(--lbw-red);
    color: var(--lbw-pure-white);
    text-shadow: none;
}

.lbw-footer__bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--lbw-steel);
}

/* ========================================
   CTA BANNER
   ======================================== */
.lbw-cta {
    background: linear-gradient(135deg, var(--lbw-blood-red), #500000);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lbw-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    background-size: 20px 20px;
}

.lbw-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
}

.lbw-cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    position: relative;
}

/* ========================================
   HOURS TABLE
   ======================================== */
.lbw-hours {
    width: 100%;
    border-collapse: collapse;
}

.lbw-hours tr {
    border-bottom: 1px solid var(--lbw-dark-gray);
}

.lbw-hours td {
    padding: 0.75rem 0;
    font-size: 1rem;
}

.lbw-hours td:first-child {
    font-family: var(--lbw-font-sub);
    color: var(--lbw-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.lbw-hours td:last-child {
    text-align: right;
    color: var(--lbw-light-gray);
}

/* ========================================
   MAP EMBED
   ======================================== */
.lbw-map {
    width: 100%;
    height: 400px;
    border: 2px solid var(--lbw-dark-gray);
    filter: grayscale(60%) contrast(1.1);
    transition: filter 0.3s ease;
}

.lbw-map:hover {
    filter: grayscale(20%) contrast(1.05);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(204, 0, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(204, 0, 0, 0.6); }
}

/* Scroll reveal */
.lbw-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

    .lbw-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--lbw-black);
        border-left: 2px solid var(--lbw-blood-red);
        transition: right 0.3s ease;
        z-index: 999;
        padding-top: 80px;
    }

    .lbw-nav.open {
        right: 0;
    }

    .lbw-nav ul {
        flex-direction: column;
    }

    .lbw-nav a {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--lbw-dark-gray);
    }

    .lbw-hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .lbw-section {
        padding: 3rem 0;
    }

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

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

    .lbw-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .lbw-footer__grid {
        grid-template-columns: 1fr;
    }

    .lbw-hero__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   PARALLAX SECTIONS
   ======================================== */
.lbw-parallax {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.lbw-parallax--short {
    min-height: 300px;
}

.lbw-parallax--tall {
    min-height: 500px;
}

.lbw-parallax__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.lbw-parallax__overlay--dark {
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.6) 100%);
}

.lbw-parallax__overlay--red {
    background: linear-gradient(135deg, rgba(139,0,0,0.7) 0%, rgba(10,10,10,0.6) 100%);
}

.lbw-parallax__overlay--heavy {
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.85) 50%, rgba(10,10,10,0.8) 100%);
}

.lbw-parallax__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.lbw-parallax__content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.lbw-parallax__content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

/* Content image rows */
.lbw-image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.lbw-image-row--three {
    grid-template-columns: 1fr 1fr 1fr;
}

.lbw-image-row img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.lbw-image-row br,
.lbw-image-row p {
    display: none;
}

@media (max-width: 768px) {
    .lbw-parallax {
        background-attachment: scroll; /* Fix for mobile */
        min-height: 250px;
    }
    .lbw-image-row {
        grid-template-columns: 1fr;
    }
    .lbw-image-row--three {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */
.wp-block-group {
    max-width: none;
}

.entry-content > * {
    max-width: none;
}

/* Override WP defaults for our full-width sections */
body.page .entry-content {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Admin bar fix */
body.admin-bar .lbw-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .lbw-header {
        top: 46px;
    }
}

/* ========================================
   GUTENBERG BLOCK OVERRIDES
   ======================================== */

/* Full-width alignment support */
.lbw-page > .alignfull,
.lbw-home-page > .alignfull,
.entry-content > .alignfull {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* First non-cover child gets header padding */
.lbw-page > *:first-child:not(.wp-block-cover):not(.alignfull) {
    padding-top: 100px;
}

/* ---- COVER BLOCKS (Hero + Parallax) ---- */
.wp-block-cover {
    overflow: hidden;
}

.wp-block-cover .wp-block-cover__inner-container {
    text-align: center;
    color: var(--lbw-white);
    z-index: 2;
    position: relative;
}

/* Home hero cover */
.wp-block-cover.lbw-hero-cover {
    padding-top: 80px;
}

.wp-block-cover.lbw-hero-cover .wp-block-cover__inner-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.wp-block-cover.lbw-hero-cover h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    background: linear-gradient(135deg, var(--lbw-pure-white), var(--lbw-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

/* Sub-page hero cover */
.wp-block-cover.lbw-subhero {
    padding-top: 80px;
}

.wp-block-cover.lbw-subhero .wp-block-cover__inner-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Parallax cover sections */
.wp-block-cover.lbw-parallax-cover {
    min-height: 400px;
}

.wp-block-cover.lbw-parallax-cover .wp-block-cover__inner-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.wp-block-cover.lbw-parallax-cover h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.wp-block-cover.lbw-parallax-cover p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-cover.lbw-parallax-short {
    min-height: 300px;
}

.wp-block-cover.lbw-parallax-tall {
    min-height: 500px;
}

/* Red tinted parallax overlay - handled by customOverlayColor in block attributes */

/* ---- TEXT UTILITY CLASSES ---- */
.lbw-badge {
    font-family: var(--lbw-font-sub) !important;
    color: var(--lbw-gold) !important;
    font-size: 1rem !important;
    letter-spacing: 6px;
    text-transform: uppercase;
    display: inline-block !important;
    border: 1px solid var(--lbw-gold);
    padding: 6px 20px;
    animation: fadeInDown 1s ease;
    margin-bottom: 1.5rem !important;
}

.lbw-tagline {
    font-family: var(--lbw-font-sub) !important;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem) !important;
    color: var(--lbw-orange) !important;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.4s both;
    margin-bottom: 2.5rem !important;
}

.lbw-subtitle {
    font-family: var(--lbw-font-sub) !important;
    color: var(--lbw-gold) !important;
    font-size: 1.1rem !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
}

/* ---- GROUP BLOCKS (Sections) ---- */
.wp-block-group.lbw-section {
    padding: 5rem 2rem;
}

.wp-block-group.lbw-section--dark {
    background: var(--lbw-dark);
}

.wp-block-group.lbw-section--darker {
    background: var(--lbw-darker-gray);
}

.wp-block-group.lbw-section--gradient {
    background: linear-gradient(180deg, var(--lbw-black) 0%, var(--lbw-dark-gray) 50%, var(--lbw-black) 100%);
}

/* Constrain inner content */
.wp-block-group.lbw-section > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Section title with red underline */
.lbw-section-title-group {
    text-align: center;
    margin-bottom: 3rem !important;
    padding-bottom: 1.5rem;
    position: relative;
}

.lbw-section-title-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--lbw-blood-red), var(--lbw-orange), var(--lbw-blood-red));
    box-shadow: var(--lbw-glow-red);
}

/* Narrow text container (about story etc.) */
.lbw-narrow-text {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.lbw-narrow-text p {
    font-size: 1.15rem;
    line-height: 1.8;
}

/* ---- COLUMN BLOCKS ---- */
/* Feature columns (icon + title + text) */
.wp-block-column.lbw-feature-col {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-dark-gray);
    transition: var(--lbw-transition);
}

.wp-block-column.lbw-feature-col:hover {
    border-color: var(--lbw-red);
    transform: translateY(-3px);
}

.wp-block-column.lbw-feature-col h4 {
    font-family: var(--lbw-font-sub);
    color: var(--lbw-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wp-block-column.lbw-feature-col .wp-block-image {
    margin-bottom: 1.5rem;
}

.wp-block-column.lbw-feature-col .wp-block-image img {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

/* Card columns (image + text body) */
.wp-block-column.lbw-card-col {
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-medium-gray);
    overflow: hidden;
    transition: var(--lbw-transition);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    position: relative;
    padding: 0 !important;
}

.wp-block-column.lbw-card-col:hover {
    border-color: var(--lbw-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 0, 0, 0.2);
}

.wp-block-column.lbw-card-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lbw-blood-red), var(--lbw-orange));
    z-index: 1;
}

.wp-block-column.lbw-card-col .wp-block-image {
    margin-bottom: 0;
}

.wp-block-column.lbw-card-col .wp-block-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.lbw-card-body {
    padding: 1.5rem !important;
}

.lbw-card-body h3 {
    font-family: var(--lbw-font-sub);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.lbw-card-body p {
    font-size: 0.95rem;
    color: var(--lbw-light-gray);
}

/* Game system columns */
.wp-block-column.lbw-system-col {
    padding: 1.5rem;
    border: 1px solid var(--lbw-dark-gray);
    transition: var(--lbw-transition);
    text-align: center;
}

.wp-block-column.lbw-system-col:hover {
    border-color: var(--lbw-red);
}

.wp-block-column.lbw-system-col h4 {
    font-family: var(--lbw-font-sub);
    color: var(--lbw-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.wp-block-column.lbw-system-col .wp-block-image {
    margin-bottom: 0.75rem;
}

.wp-block-column.lbw-system-col .wp-block-image img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

/* Stat columns */
.wp-block-column.lbw-stat-col {
    text-align: center;
}

.lbw-stat-number {
    font-family: var(--lbw-font-heading) !important;
    font-size: 3rem !important;
    color: var(--lbw-red) !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
}

.lbw-stat-label {
    font-family: var(--lbw-font-sub) !important;
    color: var(--lbw-gold) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem !important;
}

/* Info columns (store info boxes) */
.wp-block-column.lbw-info-col {
    padding: 2rem;
    border: 1px solid var(--lbw-dark-gray);
    text-align: center;
}

.lbw-info-icon {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
}

.lbw-info-heading {
    font-family: var(--lbw-font-sub) !important;
    color: var(--lbw-gold) !important;
    text-transform: uppercase;
    margin: 1rem 0 0.5rem !important;
}

/* About teaser 2-col layout */
.lbw-about-image img {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.lbw-about-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--lbw-red);
    padding: 1.5rem;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    text-align: center;
}

.lbw-about-badge-number {
    font-family: var(--lbw-font-heading) !important;
    font-size: 2rem !important;
    color: white !important;
    line-height: 1 !important;
    margin: 0 !important;
}

.lbw-about-badge-text {
    font-family: var(--lbw-font-sub) !important;
    color: rgba(255,255,255,0.8) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem !important;
    margin: 0 !important;
}

/* ---- BUTTONS ---- */
.wp-block-button.lbw-btn-primary .wp-block-button__link {
    background: linear-gradient(135deg, var(--lbw-blood-red), var(--lbw-red)) !important;
    color: var(--lbw-pure-white) !important;
    border: 2px solid var(--lbw-red) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    font-family: var(--lbw-font-sub);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 36px !important;
    transition: var(--lbw-transition);
    text-decoration: none;
}

.wp-block-button.lbw-btn-primary .wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--lbw-red), var(--lbw-orange)) !important;
    box-shadow: var(--lbw-glow-red);
    transform: translateY(-2px);
}

.wp-block-button.lbw-btn-secondary .wp-block-button__link {
    background: transparent !important;
    color: var(--lbw-gold) !important;
    border: 2px solid var(--lbw-gold) !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    font-family: var(--lbw-font-sub);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 36px !important;
    transition: var(--lbw-transition);
    text-decoration: none;
}

.wp-block-button.lbw-btn-secondary .wp-block-button__link:hover {
    background: var(--lbw-gold) !important;
    color: var(--lbw-black) !important;
    box-shadow: var(--lbw-glow-gold);
    transform: translateY(-2px);
}

/* Small buttons for cards */
.wp-block-button.lbw-btn-small .wp-block-button__link {
    font-size: 0.8rem !important;
    padding: 8px 20px !important;
}

/* ---- GALLERY BLOCKS ---- */
.wp-block-gallery.lbw-gallery-grid {
    gap: 1rem !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.wp-block-gallery.lbw-gallery-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

.wp-block-gallery.lbw-gallery-grid .wp-block-image {
    overflow: hidden;
    border-radius: 0;
    width: 100% !important;
    flex: none !important;
}

.wp-block-gallery.lbw-gallery-grid .wp-block-image img {
    transition: transform 0.5s ease;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.wp-block-gallery.lbw-gallery-grid .wp-block-image:hover img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .wp-block-gallery.lbw-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

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

/* Photo strip gallery (full-bleed, no gap) */
.wp-block-gallery.lbw-photo-strip {
    gap: 0 !important;
    margin: 0 !important;
}

.wp-block-gallery.lbw-photo-strip .wp-block-image {
    margin: 0 !important;
}

.wp-block-gallery.lbw-photo-strip .wp-block-image img {
    height: 300px;
    object-fit: cover;
    border-radius: 0 !important;
}

/* ---- CONTACT FORM ---- */
.lbw-contact-form-block input,
.lbw-contact-form-block textarea,
.lbw-contact-form-block select {
    width: 100%;
    padding: 12px 16px;
    background: var(--lbw-darker-gray);
    border: 1px solid var(--lbw-medium-gray);
    color: var(--lbw-white);
    font-family: var(--lbw-font-body);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--lbw-transition);
}

.lbw-contact-form-block input:focus,
.lbw-contact-form-block textarea:focus {
    outline: none;
    border-color: var(--lbw-red);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.2);
}

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

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 768px) {
    .wp-block-cover.lbw-hero-cover h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    .wp-block-group.lbw-section {
        padding: 3rem 1.5rem;
    }

    .wp-block-cover.lbw-parallax-cover {
        min-height: 250px;
        background-attachment: scroll !important;
    }

    .wp-block-cover.has-parallax {
        background-attachment: scroll !important;
    }

    .wp-block-gallery.lbw-photo-strip .wp-block-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wp-block-gallery.lbw-photo-strip .wp-block-image img {
        height: 150px;
    }
}
