/*
Theme Name: Battle Eternal WP Theme
Theme URI: https://yahm.llc/
Author: YAHM.LLC
Author URI: https://yahm.llc/
Description: Battle Eternal WP Theme — the mythology-based animated comic and trading card game.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: battle-eternal
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.site-header {
    background: #f7f7f7;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e2e2e2;
}

.site-title {
    margin: 0;
    font-size: 2.5rem;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-description {
    color: #666;
    margin-top: 0.5rem;
}

/* .site-content {
    margin: 2rem auto;
    padding: 0 1rem;
} */

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.main-navigation a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.main-navigation a:hover {
    text-decoration: underline;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    margin: 0 0 0.5rem;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #0056b3;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

/* Note: .site-footer detailed styles are defined later in the file */

:root {
    --text-color: #e0e0e0;
    --accent-color: #d97706;
    /* Neon Lime */
    --bg-color: #0a0a0a;
    --grid-line: rgba(255, 255, 255, 0.15);
    --header-bg: #050505;
    --gold-text: #deb887;
    --gold-highlight: #f59e0b;
    --text-grey: #a0a0a0;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

/* --- Background Layers (Fixed for Parallax Effect) --- */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(110%) brightness(50%);
    animation: bgGlitch 4s infinite;
}

@keyframes bgGlitch {

    0%,
    88%,
    100% {
        filter: grayscale(100%) contrast(110%) brightness(50%);
    }

    /* First glitch */
    89% {
        filter: grayscale(0%) contrast(130%) brightness(70%) hue-rotate(30deg) saturate(150%);
    }

    90% {
        filter: grayscale(0%) contrast(140%) brightness(80%) hue-rotate(60deg) saturate(180%);
    }

    91% {
        filter: grayscale(0%) contrast(150%) brightness(75%) hue-rotate(90deg) saturate(200%);
    }

    92% {
        filter: grayscale(100%) contrast(110%) brightness(50%);
    }

    /* Brief pause */
    93%,
    94% {
        filter: grayscale(100%) contrast(110%) brightness(50%);
    }

    /* Second glitch */
    95% {
        filter: grayscale(0%) contrast(140%) brightness(75%) hue-rotate(120deg) saturate(170%);
    }

    96% {
        filter: grayscale(0%) contrast(150%) brightness(85%) hue-rotate(180deg) saturate(200%);
    }

    97% {
        filter: grayscale(0%) contrast(145%) brightness(80%) hue-rotate(240deg) saturate(190%);
    }

    98% {
        filter: grayscale(100%) contrast(110%) brightness(50%);
    }
}

@keyframes parallaxGlitch {

    0%,
    88%,
    100% {
        filter: contrast(110%) brightness(100%);
    }

    /* First glitch */
    89% {
        filter: contrast(130%) brightness(110%) hue-rotate(10deg) saturate(120%);
    }

    90% {
        filter: contrast(140%) brightness(115%) hue-rotate(20deg) saturate(140%);
    }

    91% {
        filter: contrast(150%) brightness(110%) hue-rotate(30deg) saturate(150%);
    }

    92% {
        filter: contrast(110%) brightness(100%);
    }

    /* Brief pause */
    93%,
    94% {
        filter: contrast(110%) brightness(100%);
    }

    /* Second glitch */
    95% {
        filter: contrast(140%) brightness(105%) hue-rotate(350deg) saturate(130%);
    }

    96% {
        filter: contrast(150%) brightness(110%) hue-rotate(340deg) saturate(140%);
    }

    97% {
        filter: contrast(145%) brightness(108%) hue-rotate(330deg) saturate(135%);
    }

    98% {
        filter: contrast(110%) brightness(100%);
    }
}

@keyframes colorDotClose {

    0%,
    60% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        opacity: 0;
    }

    65% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 60%, black 65%);
        mask-image: radial-gradient(circle at center, transparent 60%, black 65%);
        opacity: 0.3;
    }

    68% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 50%, black 55%);
        mask-image: radial-gradient(circle at center, transparent 50%, black 55%);
        opacity: 0.5;
    }

    71% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 40%, black 45%);
        mask-image: radial-gradient(circle at center, transparent 40%, black 45%);
        opacity: 0.7;
    }

    74% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 30%, black 35%);
        mask-image: radial-gradient(circle at center, transparent 30%, black 35%);
        opacity: 0.85;
    }

    77% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 22%, black 27%);
        mask-image: radial-gradient(circle at center, transparent 22%, black 27%);
        opacity: 0.93;
    }

    80% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 15%, black 20%);
        mask-image: radial-gradient(circle at center, transparent 15%, black 20%);
        opacity: 1;
    }

    83% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 10%, black 15%);
        mask-image: radial-gradient(circle at center, transparent 10%, black 15%);
        opacity: 1;
    }

    /* Hold at full grayscale for 2 seconds (85%-97% of 14s = ~1.68s, extended to 2s) */
    85%,
    86%,
    87%,
    88%,
    89%,
    90%,
    91%,
    92%,
    93%,
    94%,
    95%,
    96%,
    97% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 8%, black 13%);
        mask-image: radial-gradient(circle at center, transparent 8%, black 13%);
        opacity: 1;
    }

    /* Start reverse - expanding circle outward */
    98% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 18%, black 23%);
        mask-image: radial-gradient(circle at center, transparent 18%, black 23%);
        opacity: 1;
    }

    99% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 40%, black 45%);
        mask-image: radial-gradient(circle at center, transparent 40%, black 45%);
        opacity: 0.5;
    }

    100% {
        -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        mask-image: radial-gradient(circle at center, transparent 0%, transparent 100%);
        opacity: 0;
    }
}

/* Overlay for black and white effect outside the circle */
.color-dot-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: inherit;
    background-attachment: inherit;
    background-position: inherit;
    background-repeat: inherit;
    background-size: inherit;
    filter: grayscale(100%) contrast(110%);
    animation: colorDotClose 14s ease-in-out infinite;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- SECTION 1: HERO (100vh) --- */
.hero-section {
    width: 100%;
    /* min-height: 100vh; */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.top-bar {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #adadad;
    border-bottom: 1px solid var(--grid-line);
    padding-bottom: 1.5rem;
}

.top-left p,
.top-right p {
    margin-bottom: 0.2rem;
}

.top-center-left,
.top-center-right {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.top-right {
    text-align: right;
}

.accent {
    color: cyan;
    font-weight: 500;
    line-height: 1.4;
}

.header-btn {
    padding: 1.5rem 3rem;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border: 3px solid #ffa500ba !important;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s;
    white-space: nowrap;
    animation: buttonGlitch 3s infinite;
}

.header-btn:hover {
    border-color: cyan;
    color: cyan;
    background: rgba(0, 255, 255, 0.05);
}

/* Kickstarter button styling - only in sticky nav */
.sticky-nav-container .header-btn[href="#"] {
    color: #05CE78;
    border: solid 3px #05CE78;
    animation: none;
}

.sticky-nav-container .header-btn.btn-kickstarter:hover {
    border-color: #04b368;
    color: #04b368;
    background: rgba(5, 206, 120, 0.1);
}

/* Shop / Login / Account nav buttons */
.sticky-nav-container .header-btn.btn-shop {
    color: #9333ea !important;
    border-color: #9333ea !important;
}

.sticky-nav-container .header-btn.btn-shop:hover {
    background: rgba(147, 51, 234, 0.12) !important;
    color: #a855f7 !important;
    border-color: #a855f7 !important;
}

.sticky-nav-container .header-btn.btn-login {
    color: #d97706;
    border-color: #d97706 !important;
}

.sticky-nav-container .header-btn.btn-login:hover {
    background: rgba(217, 119, 6, 0.15);
    color: #f59e0b;
    border-color: #f59e0b !important;
}

.sticky-nav-container .header-btn.btn-account {
    color: #05CE78;
    border-color: #05CE78 !important;
}

.sticky-nav-container .header-btn.btn-account:hover {
    background: rgba(5, 206, 120, 0.1);
    color: #04b368;
    border-color: #04b368 !important;
}


@keyframes buttonGlitch {

    0%,
    88% {
        filter: none;
        transform: translate(0, 0);
        color: var(--text-color);
        border-color: rgba(255, 255, 255, 0.4);
    }

    89% {
        filter: hue-rotate(90deg) saturate(2) brightness(1.3);
        transform: translate(-2px, 1px);
        color: #ff00ff;
        border-color: #ff00ff;
    }

    90% {
        filter: hue-rotate(180deg) saturate(2.5) brightness(1.5);
        transform: translate(2px, -1px);
        color: #00ffff;
        border-color: #00ffff;
    }

    91% {
        filter: hue-rotate(270deg) saturate(2) brightness(1.4);
        transform: translate(-1px, -1px);
        color: #ffff00;
        border-color: #ffff00;
    }

    92% {
        filter: hue-rotate(45deg) saturate(1.8) brightness(1.2);
        transform: translate(1px, 1px);
        color: #ff6600;
        border-color: #ff6600;
    }

    93% {
        filter: hue-rotate(135deg) saturate(2.2) brightness(1.3);
        transform: translate(-2px, 0);
        color: #00ff99;
        border-color: #00ff99;
    }

    94%,
    100% {
        filter: none;
        transform: translate(0, 0);
        color: var(--text-color);
        border-color: rgba(255, 255, 255, 0.4);
    }
}

/* ============================================================
   STICKY NAVIGATION
   ============================================================ */

.sticky-nav-container {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reset browser/WP default link styles inside the nav */
.sticky-nav-container a,
.sticky-nav-container a:visited,
.sticky-nav-container a:link {
    text-decoration: none;
    color: inherit;
}

/* Logo and Branding */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(217, 119, 6, 0.3));
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-brand-title {
    font-family: 'Anton', sans-serif;
    font-size: 2.6rem;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
}

.nav-brand-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-brand:hover .nav-brand-title {
    opacity: 0.8;
}

/* Override global .header-btn inside the nav — nav buttons are small */
.sticky-nav-container .header-btn {
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: #e0e0e0;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
    animation: none;
    filter: none;
    transform: none;
}

.sticky-nav-container .header-btn:hover {
    border-color: #d97706 !important;
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
    filter: none;
    transform: none;
}

/* Kickstarter button inside nav */
.sticky-nav-container .header-btn.btn-kickstarter {
    color: #05CE78 !important;
    border-color: #05CE78 !important;
    animation: none;
}

.sticky-nav-container .header-btn.btn-kickstarter:hover {
    border-color: #04b368 !important;
    color: #04b368 !important;
    background: rgba(5, 206, 120, 0.1) !important;
}

/* Mobile Menu Toggle — must match .sticky-nav-container .header-btn specificity to override display */
.sticky-nav-container .mobile-menu-toggle {
    display: none;
    padding: 0.6rem 1.25rem;
    background: transparent;
    color: #d97706;
    border: 2px solid #d97706 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    animation: none;
    filter: none;
    transform: none;
}

.sticky-nav-container .mobile-menu-toggle:hover {
    background: rgba(217, 119, 6, 0.1);
    filter: none;
    transform: none;
}

.nav-buttons-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Dropdown Container */
.nav-item {
    position: relative;
}

.nav-item.has-dropdown .header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.nav-item.has-dropdown .dropdown-icon {
    font-size: 0.6rem;
    transition: transform 0.3s;
}

.nav-item.has-dropdown:hover .dropdown-icon,
.nav-item.has-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: rgba(10, 10, 10, 0.98);
    border: 2px solid rgba(217, 119, 6, 0.4);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-item:hover .dropdown-menu,
.nav-item.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(217, 119, 6, 0.15);
    color: #d97706;
    padding-left: 1.5rem;
}

/* Nav Mobile Responsive */
@media (max-width: 1200px) {
    .sticky-nav-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }

    .nav-brand-title {
        font-size: 1rem;
    }

    .nav-brand-subtitle {
        font-size: 0.6rem;
    }

    .nav-buttons-wrapper {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        order: 3;
    }

    .nav-buttons-wrapper.active {
        display: flex;
    }

    .sticky-nav-container .mobile-menu-toggle {
        display: block;
    }

    .nav-item {
        width: 100%;
    }

    .sticky-nav-container .nav-item .header-btn {
        width: 100%;
        text-align: center;
        display: block;
        padding: 0.75rem 1rem;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-left: 3px solid rgba(217, 119, 6, 0.4);
        margin-top: 0.5rem;
        margin-left: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: none;
        backdrop-filter: none;
    }

    .nav-item.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
}

/* Character showcase styles */
.character-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: nowrap;
    z-index: 10;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #d97706 rgba(10, 10, 10, 0.5);
}

.character-nav::-webkit-scrollbar {
    height: 8px;
}

.character-nav::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 0;
}

.character-nav::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 0;
    border: 1px solid #d97706;
}

.character-nav::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

.character-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.5;
    position: relative;
    flex-shrink: 0;
    min-width: fit-content;
}

.character-nav-item.active {
    opacity: 1;
}

.character-nav-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d97706;
    transition: width 0.3s;
}

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

.character-nav-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #d97706;
    transition: all 0.3s;
}

.character-nav-item.active .character-nav-icon,
.character-nav-item:hover .character-nav-icon {
    border-color: #d97706;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.character-nav-see-all {
    cursor: pointer;
}

.character-nav-see-all:hover .character-nav-icon {
    background: rgba(217, 119, 6, 0.2);
    transform: scale(1.05);
}

.character-nav-label {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-showcase {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.character-showcase.active {
    display: block;
    animation: fadeInSlide 0.6s ease-out;
}

/* Hero Navigation Buttons */
.hero-nav {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #d97706 rgba(10, 10, 10, 0.5);
    flex-wrap: nowrap;
}

.hero-nav::-webkit-scrollbar {
    height: 8px;
}

.hero-nav::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 0;
}

.hero-nav::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 0;
    border: 1px solid #d97706;
}

.hero-nav::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

.hero-nav-btn {
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(217, 119, 6, 0.3);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.hero-nav-btn:hover {
    border-color: #d97706;
    background: rgba(217, 119, 6, 0.2);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.hero-nav-btn.active {
    border-color: #d97706;
    background: rgba(217, 119, 6, 0.3);
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.5);
    color: #d97706;
}

/* Hero Content */
.hero-content {
    display: none;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 5%;
}

.hero-content.active {
    display: grid;
    animation: fadeInSlide 0.6s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.character-showcase-image {
    position: relative;
    height: 700px;
    overflow: visible;
    border-radius: 10px;
    background: transparent;
    perspective: 1000px;
    width: 120%;
    margin-left: -10%;
}

.parallax-container {
    cursor: pointer;
    pointer-events: auto;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
    pointer-events: none;
}

/* Set width 100% for all images in parallax containers except character parallax layers */
.parallax-container img:not(.parallax-layer) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.layer-1 {
    z-index: 1;
    transform: scale(0.8);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    -webkit-mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 60%, transparent 100%);
}

.layer-2 {
    z-index: 9;
    transform: scale(1.05);
}

.layer-3 {
    z-index: 99;
    transform: scale(1.0);
}

.character-showcase-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 100;
    pointer-events: none;
}

.character-showcase-content {
    padding: 2rem;
    position: relative;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    border-left: 3px solid rgba(217, 119, 6, 0.3);
}

.character-showcase-title {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.8);
}

.character-showcase-subtitle {
    font-size: 1.3rem;
    color: #d97706;
    font-style: italic;
    margin-bottom: 2rem;
}

.character-showcase-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

.character-showcase-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.showcase-stat {
    background: rgba(10, 10, 10, 0.6);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #d97706;
}

.showcase-stat-label {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.showcase-stat-value {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

/* Character slider styles */
.character-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4rem 0;
}

.character-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.character-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 2rem 5%;
    box-sizing: border-box;
}

.character-slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: visible;
}

.character-slide-image-wrapper .character-showcase-image {
    width: 100%;
    height: 100%;
}

.character-slide .character-showcase-content {
    padding: 2rem;
    display: block;
    width: 100%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .character-nav {
        justify-content: start;
    }

    .character-slide {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 5%;
    }

    .character-slide-image-wrapper {
        height: 500px;
        width: 100%;
        margin: 0;
    }

    .character-showcase-content {
        padding: 1rem;
    }
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 200;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.2);
    border: 2px solid #d97706;
    color: #d97706;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(217, 119, 6, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 200;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-indicator.active {
    background: #d97706;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
    transform: scale(1.2);
}

.title-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Glitch animation for text */
@keyframes textGlitch {

    0%,
    94%,
    100% {
        filter: contrast(120%) brightness(80%);
        text-shadow: none;
    }

    95% {
        filter: contrast(150%) brightness(120%) hue-rotate(90deg) saturate(200%);
        text-shadow: 3px 3px 0 rgba(255, 0, 255, 0.8), -3px -3px 0 rgba(0, 255, 255, 0.8);
    }

    96% {
        filter: contrast(150%) brightness(140%) hue-rotate(180deg) saturate(250%);
        text-shadow: -2px 2px 0 rgba(255, 255, 0, 0.8), 2px -2px 0 rgba(0, 255, 0, 0.8);
    }

    97% {
        filter: contrast(150%) brightness(100%) hue-rotate(270deg) saturate(300%);
        text-shadow: 4px -2px 0 rgba(255, 0, 0, 0.8), -4px 2px 0 rgba(0, 0, 255, 0.8);
    }

    98% {
        filter: contrast(120%) brightness(80%);
        text-shadow: none;
    }
}

h1.hero-title {
    font-family: 'Anton', sans-serif;
    font-size: 20vw;
    color: #ffa500ba;
    text-transform: uppercase;
    line-height: 0.85;
    margin: 0;
    letter-spacing: -0.03em;
    opacity: 1;
    animation: textGlitch 6s infinite;
    text-align: center;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    /* max-width: 600px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 5vh;
    margin: 0 auto;
}

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

/* Navigation styles moved to /js/header.js */

.info-box {
    position: relative;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.title-page-line-item {
    font-family: 'Anton', sans-serif;
    font-size: 2vw;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: -0.3vw 0;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: default;
}

/* Hide tagline on mobile */
@media (max-width: 768px) {
    .title-page-line-item {
        display: none;
    }
}

.line-item {
    font-family: 'Anton', sans-serif;
    font-size: 3vw;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: -0.3vw 0;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: default;
}

.highlight-text {
    color: #ffffff;
    opacity: 1;
}

.cta-link {
    display: block;
    text-align: center;
    color: var(--accent-color);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.cta-link:hover::after {
    width: 100%;
}

.cta-link:hover {
    opacity: 0.8;
    letter-spacing: 0.2em;
}

.marker {
    position: absolute;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    line-height: 1;
}

.top-left-mark {
    top: -6px;
    left: -6px;
}

.top-right-mark {
    top: -6px;
    right: -6px;
}

.bottom-left-mark {
    bottom: -6px;
    left: -6px;
}

.bottom-right-mark {
    bottom: -6px;
    right: -6px;
}

.footer-info {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.05em;
}

/* --- SECTION 2: PROCESS SCENE (New) --- */
.process-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 30%, #000 100%);
    z-index: 1;
    opacity: 0.8;
}

.fog-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 5%, transparent 60%);
    z-index: 2;
}

.text-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.line-item {
    font-family: 'Anton', sans-serif;
    font-size: 5vw;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: -0.6vw 0;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    cursor: default;
}

.line-item:hover {
    color: #fff;
    transform: scale(1.02);
    z-index: 5;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.highlight-text {
    color: #ffffff;
    opacity: 1;
}

.deco {
    color: var(--accent-color);
    font-size: 1.5rem;
    vertical-align: middle;
    margin: 0 15px;
    font-family: 'Inter', monospace;
    letter-spacing: 2px;
}

.glow-point {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.08;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* --- Parallax Sections --- */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Dark overlay for better text readability */
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 9;
    text-align: center;
    padding: 3rem 2rem;
    /* max-width: 900px; */
    /* background: rgba(10, 10, 10, 0.8); */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.parallax-content h2 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.parallax-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.parallax-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: cyan;
    text-decoration: none;
    border: 2px solid cyan;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.parallax-btn:hover {
    background: cyan;
    color: #000000;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn:hover {
    background: #d97706 !important;
    color: #0a0a0a !important;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.6);
    transform: translateY(-50%) scale(1.1);
}

/* Individual section backgrounds */
.parallax-section-1 {
    background-image: none;
    background-color: #000000;
    position: relative;
}

/* Empty train station background */
.train-station-empty {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('images/backgrounds/station/station.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
    animation: parallaxGlitch 5s infinite;
    pointer-events: none;
    display: none;
}

/* Train arriving layer */
.train-arriving {
    position: absolute;
    top: 10vh;
    left: 0;
    width: 110%;
    height: 100vh;
    background-image: url('images/backgrounds/station/train.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    animation: parallaxGlitch 5s infinite;
    pointer-events: none;
    display: none;
}

/* Circle cutout effect for first parallax section */
.parallax-section-1::before {
    background: radial-gradient(circle at left center, transparent 0%, transparent 40%, rgba(0, 0, 0, 1) 65%);
    z-index: 3;
}

.parallax-section-2 {
    background-image: url('images/backgrounds/IMG_20251215_132330_739.webp');
    animation: parallaxGlitch 5s infinite;
}

.parallax-section-2::before {
    background: rgba(0, 0, 0, 0.5);
}

.parallax-section-3 {
    background-image: url('images/backgrounds/IMG_20251215_132341_050.webp');
    animation: parallaxGlitch 5s 0.5s infinite;
}

.parallax-section-3::before {
    background: rgba(0, 0, 0, 0.5);
}

.parallax-section-4 {
    background-image: url('images/backgrounds/IMG_20251215_132441_165.webp');
    animation: parallaxGlitch 5s 1s infinite;
}

.parallax-section-4::before {
    background: rgba(0, 0, 0, 0.5);
}

.parallax-section-5 {
    background-image: url('images/backgrounds/IMG_20251215_132540_311.webp');
    animation: parallaxGlitch 5s 1.5s infinite;
}

.parallax-section-5::before {
    background: rgba(0, 0, 0, 0.5);
}

/* ============================================================
   FOOTER STYLES
   ============================================================ */
.site-footer {
    background-color: #080808;
    border-top: 3px solid #d97706;
    padding: 4rem 2rem 0;
    margin-top: 0;
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    /* Reset any conflicting inherited styles */
    text-align: left;
}

.site-footer a {
    text-decoration: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Brand Column --- */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Logo box — bordered container matching the mockup */
.footer-logo-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    min-height: 120px;
    background: rgba(255, 255, 255, 0.02);
}

.footer-logo-img {
    max-width: 140px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(217, 119, 6, 0.2));
    opacity: 0.9;
}

.footer-brand p,
.footer-tagline {
    color: #a0a0a0;
    line-height: 1.7;
    font-size: 0.9rem;
    max-width: 280px;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    color: #d97706;
    font-size: 1.3rem;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
}

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

/* --- Link Columns --- */
.footer-links {
    padding-top: 0.25rem;
}

.footer-links h3 {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.75rem;
    padding-left: 12px;
    border-left: 3px solid #d97706;
    line-height: 1;
    text-align: left;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, padding-left 0.2s;
    display: block;
}

.footer-links a:hover {
    color: #d97706;
    padding-left: 4px;
}

/* --- Bottom Bar --- */
.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.copyright {
    color: #555;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #d97706;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

/* Newsletter Styles */
.newsletter {
    background: rgba(10, 10, 10, 0.9);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 0;
    margin: 0;
    border: 3px solid #d97706;
    max-width: 1400px;
    margin: 0 auto;
}

.newsletter h3 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #d97706;
    border-radius: 0;
    background: rgba(10, 10, 10, 0.8);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.newsletter-input::placeholder {
    color: #888;
}

.newsletter-input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
}

.newsletter-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    background: #d97706;
    color: #ffffff;
    border: 2px solid #d97706;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-button:hover {
    background: transparent;
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.5);
}

/* ─────────────────────────────────────────────────────────────────────────────
   WPForms — global theme
   Applies to every WPForms form on the site.
───────────────────────────────────────────────────────────────────────────── */

/* Labels */
.wpforms-field-label {
    display: block !important;
    color: #d97706 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}
.wpforms-field-sublabel {
    color: #888 !important;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0.25rem;
}
.wpforms-required-label {
    color: #d97706;
}

/* Text inputs, email, number, url, phone */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="number"],
.wpforms-field input[type="password"] {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(10, 10, 10, 0.85);
    color: #ffffff;
    border: 2px solid #d97706;
    border-radius: 0;
    box-sizing: border-box;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.wpforms-field input[type="text"]::placeholder,
.wpforms-field input[type="email"]::placeholder,
.wpforms-field input[type="tel"]::placeholder,
.wpforms-field input[type="url"]::placeholder,
.wpforms-field input[type="number"]::placeholder,
.wpforms-field input[type="password"]::placeholder {
    color: #555;
}
.wpforms-field input[type="text"]:focus,
.wpforms-field input[type="email"]:focus,
.wpforms-field input[type="tel"]:focus,
.wpforms-field input[type="url"]:focus,
.wpforms-field input[type="number"]:focus,
.wpforms-field input[type="password"]:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 18px rgba(217, 119, 6, 0.35);
}

/* Textarea */
.wpforms-field textarea {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(10, 10, 10, 0.85);
    color: #ffffff;
    border: 2px solid #d97706;
    border-radius: 0;
    box-sizing: border-box;
    resize: vertical;
    transition: box-shadow 0.2s;
}
.wpforms-field textarea::placeholder {
    color: #555;
}
.wpforms-field textarea:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 18px rgba(217, 119, 6, 0.35);
}

/* Select */
.wpforms-field select {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: rgba(10, 10, 10, 0.85);
    color: #ffffff;
    border: 2px solid #d97706;
    border-radius: 0;
    box-sizing: border-box;
    appearance: none;
}

/* Submit button */
.wpforms-submit-container {
    margin-top: 1rem;
}
.wpforms-submit {
    padding: 0.9rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    font-family: 'Inter', sans-serif !important;
    background: #d97706 !important;
    color: #ffffff !important;
    border: 2px solid #d97706 !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: auto !important;
}
.wpforms-submit:hover {
    background: transparent !important;
    color: #d97706 !important;
    box-shadow: 0 0 28px rgba(217, 119, 6, 0.5) !important;
}

/* Validation error text */
.wpforms-error {
    color: #f87171 !important;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────────────────────
   WPForms — newsletter section (#cta) override
   Aligns fields + button in a clean centred column.
───────────────────────────────────────────────────────────────────────────── */
#cta .wpforms-form {
    max-width: 560px;
    margin: 0 auto;
}
#cta .wpforms-field {
    margin-bottom: 0.75rem;
}
#cta .wpforms-field input[type="email"],
#cta .wpforms-field input[type="text"] {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}
#cta .wpforms-submit-container {
    margin-top: 0.5rem;
    text-align: center;
}
#cta .wpforms-submit {
    width: 100%;
    font-size: 1.1rem !important;
    padding: 1rem 2.5rem !important;
}

/* Character Cards Styles */
.characters-grid {
    display: flex;
    gap: 0;
    margin-top: 3rem;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.4);
    border: 3px solid #d97706;
}

.character-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0a0a0a;
    border-right: 3px solid #d97706;
}

.character-card:last-child {
    border-right: none;
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(217, 119, 6, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 1;
}

.character-card:hover::before,
.character-card.active::before {
    opacity: 1;
}

.character-card:hover,
.character-card.active {
    flex: 2;
    background: #111111;
    box-shadow: inset 0 0 30px rgba(217, 119, 6, 0.3);
}

.character-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d97706, #9333ea, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

.character-card:hover::after,
.character-card.active::after {
    opacity: 1;
}

.character-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.character-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.3;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 30px rgba(217, 119, 6, 0.6));
    z-index: 0;
}

.character-avatar img {
    max-height: 100%;
    max-width: 100%;
}

.character-card:hover .character-avatar,
.character-card.active .character-avatar {
    font-size: 12rem;
    opacity: 0.6;
    top: 40%;
    filter: drop-shadow(0 0 50px rgba(217, 119, 6, 0.9));
}

.character-content {
    position: relative;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.4s;
}

.character-card:hover .character-content,
.character-card.active .character-content {
    opacity: 1;
}

.character-name {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.8);
    transition: all 0.4s;
}

.character-card:hover .character-name,
.character-card.active .character-name {
    font-size: 2rem;
    text-shadow: 0 0 30px rgba(217, 119, 6, 1);
}

.character-title {
    color: #9333ea;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s;
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

.character-card:hover .character-title,
.character-card.active .character-title {
    opacity: 1;
    max-height: 50px;
    font-size: 1rem;
}

.character-desc {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 0.85rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s 0.1s;
}

.character-card:hover .character-desc,
.character-card.active .character-desc {
    opacity: 1;
    max-height: 200px;
    font-size: 0.95rem;
}

.character-abilities {
    margin-top: 1rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s 0.2s;
}

.character-card:hover .character-abilities,
.character-card.active .character-abilities {
    opacity: 1;
    max-height: 150px;
}

.ability-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(217, 119, 6, 0.2);
    border: 2px solid #d97706;
    border-radius: 0;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

/* Chaos mobile toggle - hidden on desktop */
.chaos-mobile-toggle {
    display: none;
}

.chaos-mobile-hidden {
    display: block;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }

    .parallax-content h2 {
        font-size: 2.5rem;
    }

    .parallax-content p {
        font-size: 1rem;
    }

    /* Show read more button on mobile */
    .chaos-mobile-toggle {
        display: inline-block;
    }

    /* Hide expanded content on mobile by default */
    .chaos-mobile-hidden {
        display: none;
    }

    /* Show train station background on mobile */
    .train-station-empty {
        display: block !important;
    }

    /* Make Visual Novel section responsive */
    .comic-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comic-stats {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Fix card game section overflow on mobile */
    .parallax-section-4,
    .parallax-section-4 * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    .parallax-section-4 {
        overflow-x: hidden !important;
    }

    .parallax-section-4 .parallax-content {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }

    .parallax-section-4 .comic-grid>div {
        order: unset !important;
        max-width: 100% !important;
    }

    /* Force all 3-column grids to 2 columns on mobile */
    .parallax-section-4 [style*="repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    /* Fix the card preview box height - but exclude carousel */
    .parallax-section-4>div[style*="height: 500px"]:not(.card-carousel) {
        height: auto !important;
        min-height: 280px !important;
        padding: 1rem !important;
    }

    /* Ensure carousel container maintains proper height on mobile */
    .parallax-section-4 div[style*="height: 500px"]:has(.card-carousel) {
        height: 400px !important;
        min-height: 400px !important;
    }

    /* Ensure carousel maintains proper height on mobile */
    .card-carousel {
        height: 100% !important;
    }

    /* Ensure carousel slides are visible */
    .carousel-slide {
        height: 100% !important;
    }

    .carousel-slide img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
    }

    /* Ensure carousel buttons are visible and clickable on mobile */
    .carousel-nav-btn {
        z-index: 100 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }

    .parallax-section-4 h3 {
        font-size: 1.5rem !important;
    }

    .parallax-section-4 .comic-grid p {
        font-size: 1rem !important;
    }

    /* Reduce Kickstarter 2026 text size */
    .parallax-section-4 [style*="font-size: 1.8rem"] {
        font-size: 1.3rem !important;
    }

    .hero-section {
        padding: 80px 1.5rem 1.5rem;
    }

    .top-bar {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        border-bottom: none;
    }

    .top-center-left,
    .top-center-right {
        text-align: left;
        justify-content: flex-start;
    }

    .top-right {
        text-align: right;
    }

    h1.hero-title {
        font-size: 35vw;
        transform: rotate(-90deg);
    }

    .hero-title-container {
        transform: translate(-50%, -50%);
    }

    .content-wrapper {
        top: 65%;
        width: 85%;
        padding-top: 20vh;

    }

    .footer-info {
        display: none;
    }

    .line-item {
        font-size: 2.5rem;
        margin: -5px 0;
        line-height: 1;
    }

    .deco {
        font-size: 0.8rem;
        margin: 0 5px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .character-showcase.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Reorder hero content on mobile: title above image */
    .hero-content.active {
        display: flex;
        flex-direction: column;
    }

    .character-showcase-title {
        font-size: 2rem;
        order: -2;
    }

    .character-showcase-subtitle {
        order: -1;
    }

    .character-showcase-image {
        height: 400px;
        order: 0;
    }

    /* Make single images (non-character sections) fill and zoom on mobile */
    .character-showcase-image img:not(.parallax-layer) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .character-showcase-content {
        display: flex;
        flex-direction: column;
    }

    .character-showcase-description {
        order: 1;
    }

    .character-showcase-stats {
        order: 2;
    }

    /* Footer mobile responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-links h3 {
        padding-left: 0;
        border-left: none;
        border-bottom: 2px solid #d97706;
        display: inline-block;
        padding-bottom: 0.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Character cards mobile responsive */
    .characters-grid {
        flex-direction: column;
        height: auto;
    }

    .character-card {
        flex: none !important;
        min-height: 300px;
        border-right: none;
        border-bottom: 3px solid #d97706;
    }

    .character-card:last-child {
        border-bottom: none;
    }
}

/* iPhone 12/13/14/15 (Standard) - 390px x 844px */
@media only screen and (min-device-width: 375px) and (max-device-width: 430px) and (-webkit-device-pixel-ratio: 3) {

    .line-item {
        font-size: 2rem !important;
    }

    .character-nav-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .character-nav-label {
        font-size: 0.75rem;
    }

    .character-showcase-title {
        font-size: 1.75rem;
    }

    .character-showcase-subtitle {
        font-size: 1rem;
    }

    .character-showcase-description {
        font-size: 0.95rem;
    }

    .parallax-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .header-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

}


@media only screen and (min-device-width: 400px) and (max-device-width: 430px) and (-webkit-device-pixel-ratio: 3) and (min-device-height: 896px) {
    .character-nav {
        gap: 2.5rem;
        justify-content: start;
    }

}

/* iPhone Pro Max (428px x 926px) */
@media only screen and (min-device-width: 415px) and (max-device-width: 430px) and (-webkit-device-pixel-ratio: 3) and (min-device-height: 896px) {
    .hero-title {
        font-size: 40vw !important;
    }

    .line-item {
        font-size: 2.50rem !important;
    }

    .character-nav {
        gap: 2.5rem;
        justify-content: start;
    }

    .character-nav-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .character-nav-label {
        font-size: 0.8rem;
    }

    .character-showcase-title {
        font-size: 2rem;
    }

    .character-showcase-subtitle {
        font-size: 1.1rem;
    }

    .character-showcase-description {
        font-size: 1rem;
    }

    .character-showcase-image {
        height: 450px;
    }

    /* Make single images (non-character sections) fill and zoom on mobile */
    .character-showcase-image img:not(.parallax-layer) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .parallax-btn {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }

    .header-btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }

    .parallax-content h2 {
        font-size: 2.75rem;
    }
}

/* iPhone SE/Mini (Smaller screens - 375px and below) */
@media only screen and (max-device-width: 375px) {

    .line-item {
        font-size: 1.75rem !important;
    }

    .character-nav {
        gap: 1.5rem;
        justify-content: start;
    }

    .character-nav-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .character-nav-label {
        font-size: 0.7rem;
    }

    .character-showcase-title {
        font-size: 1.5rem;
    }

    .character-showcase-subtitle {
        font-size: 0.9rem;
    }

    .character-showcase-description {
        font-size: 0.85rem;
    }

    .character-showcase-image {
        height: 350px;
    }

    /* Make single images (non-character sections) fill and zoom on mobile */
    .character-showcase-image img:not(.parallax-layer) {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .showcase-stat {
        padding: 0.75rem;
    }

    .showcase-stat-label {
        font-size: 0.75rem;
    }

    .showcase-stat-value {
        font-size: 0.95rem;
    }

    .parallax-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .header-btn {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }

    .parallax-content h2 {
        font-size: 2rem;
    }

    .parallax-content p {
        font-size: 0.9rem;
    }
}

/* 4-Column Card Grid Styles */
.card-grid-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-grid-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-grid-item.text-bottom {
    flex-direction: column-reverse;
}

.card-grid-text {
    padding: 0 0.5rem;
}

.card-grid-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.card-grid-item:hover .card-grid-title.color-blue {
    color: #3b82f6;
}

.card-grid-item:hover .card-grid-title.color-emerald {
    color: #10b981;
}

.card-grid-item:hover .card-grid-title.color-purple {
    color: #9333ea;
}

.card-grid-item:hover .card-grid-title.color-orange {
    color: #d97706;
}

.card-grid-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
}

.card-grid-visual {
    position: relative;
    height: 320px;
    width: 100%;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 1rem;
    overflow: hidden;
    transition: border-color 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-grid-visual:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* SVG Border Frame for Videos */
.card-grid-visual.with-svg-border {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    height: auto;
    aspect-ratio: 810 / 1012.5;
    box-shadow: none;
}

.svg-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.svg-card-wrapper svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.svg-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    clip-path: url(#card-border-clip);
}

.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Mobile Video Play Button */
.mobile-video-play-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid #ffffff;
    border-radius: 50%;
    z-index: 15;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
    opacity: 1;
}

.mobile-video-play-btn i {
    color: #ffffff;
    font-size: 2rem;
    margin-left: 4px;
}

.mobile-video-play-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.mobile-video-play-btn.playing {
    opacity: 0;
    pointer-events: none;
}

.mobile-video-play-btn.playing i {
    margin-left: 0;
}

@media (max-width: 768px) {
    .mobile-video-play-btn {
        display: flex;
    }

    .svg-card-wrapper {
        cursor: pointer;
    }
}

.card-grid-icon {
    position: absolute;
    z-index: 20;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.card-grid-item:hover .card-grid-icon {
    transform: scale(1.1);
}

.card-grid-icon.top-right {
    top: 0.5rem;
    right: 0.5rem;
}

.card-grid-icon.top-left {
    top: 0.5rem;
    left: 0.5rem;
}

.card-grid-icon.blue {
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.card-grid-icon.emerald {
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.card-grid-icon.purple {
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

.card-grid-icon.orange {
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #d97706;
}

.card-inner-border {
    height: 100%;
    width: 100%;
    position: relative;
    background: white;
    padding: 1px;
    opacity: 0.9;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: opacity 0.3s;
}

.card-grid-item:hover .card-inner-border {
    opacity: 1;
}

.card-inner-content {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
}

.cut-top-right {
    clip-path: polygon(0 0, calc(100% - 5rem) 0, 100% 5rem, 100% 100%, 0 100%);
}

.cut-top-left {
    clip-path: polygon(5rem 0, 100% 0, 100% 100%, 0 100%, 0 5rem);
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.card-grid-item:hover .card-bg {
    opacity: 1;
}

.card-gradient-top {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.card-gradient-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* FAQ Section Styles */
.faq-section {
    max-width: 1400px;
    margin: 0 auto;

}

.faq-title {
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
}

.faq-item {
    background: rgba(10, 10, 10, 0.8);
    border: 3px solid #d97706;
    border-radius: 0;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.3);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.5);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.6);
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(217, 119, 6, 0.1);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.faq-icon {
    color: #d97706;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* "See All Questions" link item */
.faq-see-all .faq-question {
    text-decoration: none;
    display: flex;
}

.faq-see-all .faq-question h3,
.faq-see-all .faq-icon {
    color: #d97706;
}

.faq-see-all:hover {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.8);
}

/* FAQ page pagination */
.faq-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.faq-pagination .page-numbers {
    padding: 0.5rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #e0e0e0;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.faq-pagination .page-numbers:hover,
.faq-pagination .page-numbers.current {
    border-color: #d97706;
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Card List with Triangle Cutouts */
.card-list-container {
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 1.5rem;
}

.card-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card-list-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-list-pair {
    position: relative;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.card-list-top {
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-list-bottom {
    padding: 1.5rem;
    padding-top: 2rem;
    background: rgba(10, 10, 10, 0.9);
    clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0 100%, 0 1.5rem);
}

.card-list-pair:hover .card-list-top,
.card-list-pair:hover .card-list-bottom {
    background: rgba(217, 119, 6, 0.05);
}

.card-list-title {
    font-size: 1rem;
    color: #d97706;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.card-list-text {
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .card-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .card-list-grid {
        grid-template-columns: 1fr;
    }
}

/* New Card Columns with React-style design */
.new-card-columns-container {
    max-width: 1600px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.new-card-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.new-card-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.new-column-header {
    text-align: center;
    margin-bottom: 1rem;
}

.new-column-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    border: 2px solid rgba(217, 119, 6, 0.3);
    filter: grayscale(80%) contrast(110%);
    transition: all 0.3s;
}

.new-column-header:hover img {
    filter: grayscale(0%) contrast(120%);
}

.new-column-header h3 {
    margin-top: 1.5rem;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(217, 119, 6, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Anton', sans-serif;
}

/* Individual New Card Styles */
.new-card-item {
    position: relative;
    height: 26rem;
    width: 100%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.5rem 0 0 2.5rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    transition: all 0.3s;
}

.new-card-item:hover {
    border-color: rgba(217, 119, 6, 0.5);
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.2);
}

.new-card-icon {
    position: absolute;
    top: 55%;
    left: 2rem;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.new-card-item:hover .new-card-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.new-card-icon i {
    font-size: 1.5rem;
}

/* Color variants for new cards */
.new-card-item[data-color="blue"] .new-card-icon {
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: rgb(96, 165, 250);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.new-card-item[data-color="blue"]:hover .new-card-icon {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.new-card-item[data-color="emerald"] .new-card-icon {
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: rgb(52, 211, 153);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.new-card-item[data-color="emerald"]:hover .new-card-icon {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.new-card-item[data-color="purple"] .new-card-icon {
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: rgb(192, 132, 252);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.new-card-item[data-color="purple"]:hover .new-card-icon {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.new-card-item[data-color="orange"] .new-card-icon {
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: rgb(251, 146, 60);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}

.new-card-item[data-color="orange"]:hover .new-card-icon {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

/* Card image section (top 55%) */
.new-card-image-section {
    height: 55%;
    width: 100%;
    position: relative;
    background: white;
    padding: 1px;
    opacity: 0.9;
    transition: opacity 0.3s;
    border-radius: 2rem 0 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 19% 100%, 0 81%);
}

.new-card-item:hover .new-card-image-section {
    opacity: 1;
}

.new-card-image-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    border-radius: 2rem 0 0 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 19% 100%, 0 81%);
}

.new-card-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.new-card-item:hover .new-card-bg-image {
    transform: scale(1.1);
    opacity: 0.8;
}

.new-card-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

/* Card text section (bottom 45%) */
.new-card-text-section {
    flex: 1;
    width: 100%;
    position: relative;
    background: white;
    padding: 1px;
    opacity: 0.9;
    transition: opacity 0.3s;
    border-radius: 0 0 0 2rem;
    clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%, 0 19%);
}

.new-card-item:hover .new-card-text-section {
    opacity: 1;
}

.new-card-text-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    border-radius: 0 0 0 2rem;
    clip-path: polygon(19% 0, 100% 0, 100% 100%, 0 100%, 0 19%);
    padding: 1.5rem;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.new-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}

.new-card-item[data-color="blue"]:hover .new-card-title {
    color: rgb(96, 165, 250);
}

.new-card-item[data-color="emerald"]:hover .new-card-title {
    color: rgb(52, 211, 153);
}

.new-card-item[data-color="purple"]:hover .new-card-title {
    color: rgb(192, 132, 252);
}

.new-card-item[data-color="orange"]:hover .new-card-title {
    color: rgb(251, 146, 60);
}

.new-card-description {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
    padding-left: 1rem;
    font-family: 'Inter', sans-serif;
}

.new-view-more-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid #d97706;
    color: #d97706;
    text-decoration: none;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: bold;
}

.new-view-more-btn:hover {
    background: rgba(217, 119, 6, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(217, 119, 6, 0.3);
}

/* Mobile Slider for new cards */
.new-slider-controls {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.new-slider-btn {
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid #d97706;
    color: #d97706;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-slider-btn:hover {
    background: rgba(217, 119, 6, 0.4);
}

.new-slider-dots {
    display: none;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.new-slider-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.new-slider-dot.active {
    background: #d97706;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
}

@media (max-width: 1024px) {
    .new-card-columns-grid {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .new-card-column {
        display: none;
    }

    .new-card-column.active {
        display: flex;
    }

    .new-slider-controls,
    .new-slider-dots {
        display: flex;
    }
}

/* === CARD STATS LEGEND === */
.card-stats-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.legend-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.legend-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.legend-items {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.legend-item i {
    color: rgba(255, 255, 255, 0.5);
}

.legend-item .legend-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Card type legend colors */
.legend-god i {
    color: #facc15;
}

.legend-hero i {
    color: #60a5fa;
}

.legend-beast i {
    color: #f87171;
}

.legend-spell i {
    color: #f472b6;
}

.legend-trap i {
    color: #c084fc;
}

.legend-sacred i {
    color: #34d399;
}

@media (max-width: 768px) {
    .card-stats-legend {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .legend-divider {
        width: 100%;
        height: 1px;
        margin: 0.5rem 0;
    }

    .legend-items {
        gap: 0.75rem 1rem;
    }

    .legend-item {
        font-size: 0.6rem;
    }
}

/* === CARD TYPE GRID STYLES === */
.card-type-grid {
    /* Proportional scaling with clamp (min, preferred, max) */
    --card-height: clamp(16rem, 32vw, 32rem);
    --grid-gap: clamp(1.5rem, 4vw, 5.5rem);
    --split-pos: 67%;
    --internal-gap: clamp(1.5rem, 2vw, 2.7rem);
    --notch-size: clamp(1.2rem, 1.8vw, 2.5rem);
    --corner-radius: clamp(1.5rem, 2.3vw, 3.1rem);
    --icon-size: clamp(2rem, 2.6vw, 3.5rem);
    --title-size: clamp(1rem, 1.1vw, 1.5rem);
    --desc-size: clamp(0.65rem, 0.65vw, 0.875rem);
    --stat-size: clamp(0.45rem, 0.45vw, 0.6rem);
    --middle-height: clamp(2rem, 3vw, 4rem);

    display: grid;
    gap: var(--grid-gap);
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}

.card-type-container {
    height: var(--card-height);
    border-top-left-radius: var(--corner-radius);
    border-bottom-left-radius: var(--corner-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.card-type-container:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.card-type-top {
    height: var(--split-pos);
    width: 100%;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch-size) 100%, 0 calc(100% - var(--notch-size)));
    border-top-left-radius: calc(var(--corner-radius) - 0.5rem);
}

.card-type-top-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch-size) 100%, 0 calc(100% - var(--notch-size)));
    border-top-left-radius: inherit;
}

.card-type-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s;
}

.card-type-container:hover .card-type-bg {
    transform: scale(1.1);
    opacity: 0.8;
}

.card-type-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.card-type-icon {
    position: absolute;
    left: var(--notch-size);
    top: var(--split-pos);
    transform: translate(-50%, -50%);
    z-index: 20;
    width: var(--icon-size);
    height: var(--icon-size);
    border-radius: 50%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.card-type-container:hover .card-type-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.card-type-middle {
    height: var(--middle-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: var(--notch-size);
}

.card-type-stat {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;
}

.card-type-stat.dashed {
    border-right: 1px dashed rgba(255, 255, 255, 0.1);
}

.card-type-stat.solid {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.card-type-stat-value {
    font-size: var(--stat-size);
    font-weight: bold;
    font-family: monospace;
    letter-spacing: 0.05em;
    color: #ffffff;
    color: #ffffff;
}

.card-type-bottom {
    flex: 1;
    width: 100%;
    height: 8rem;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px;
    clip-path: polygon(var(--notch-size) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch-size));
    border-bottom-left-radius: calc(var(--corner-radius) - 0.5rem);
}

.card-type-bottom-inner {
    width: 100%;
    height: 100%;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    clip-path: polygon(var(--notch-size) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch-size));
    border-bottom-left-radius: inherit;
    padding: 1.5rem;
    padding-top: 2.5rem;
    padding-left: calc(var(--notch-size) + 1rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-type-title {
    font-size: var(--title-size);
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    font-family: 'Anton', sans-serif;
    letter-spacing: 1px;
}

.card-type-desc {
    color: #9ca3af;
    font-size: var(--desc-size);
    line-height: 1.6;
}

/* Card Type Colors */
.card-type-god {
    background-color: #1a1500;
}

.card-type-sacred {
    background-color: #0a1510;
}

.card-type-hero {
    background-color: #050a1a;
}

.card-type-beast {
    background-color: #1a0505;
}

.card-type-trap {
    background-color: #150515;
}

.card-type-magic {
    background-color: #051515;
}

.card-type-spell {
    background-color: #1a0a15;
}

.card-type-god .card-type-icon {
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #facc15;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.15);
}

.card-type-sacred .card-type-icon {
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.card-type-hero .card-type-icon {
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.card-type-beast .card-type-icon {
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
}

.card-type-trap .card-type-icon {
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #c084fc;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.card-type-magic .card-type-icon {
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #22d3ee;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.card-type-spell .card-type-icon {
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: #f472b6;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}

.card-type-god .card-type-middle {
    color: rgba(234, 179, 8, 0.8);
}

.card-type-sacred .card-type-middle {
    color: rgba(16, 185, 129, 0.8);
}

.card-type-hero .card-type-middle {
    color: rgba(59, 130, 246, 0.8);
}

.card-type-beast .card-type-middle {
    color: rgba(239, 68, 68, 0.8);
}

.card-type-trap .card-type-middle {
    color: rgba(168, 85, 247, 0.8);
}

.card-type-magic .card-type-middle {
    color: rgba(34, 211, 238, 0.8);
}

.card-type-spell .card-type-middle {
    color: rgba(236, 72, 153, 0.8);
}

.card-type-god:hover .card-type-title {
    color: #facc15;
}

.card-type-sacred:hover .card-type-title {
    color: #34d399;
}

.card-type-hero:hover .card-type-title {
    color: #60a5fa;
}

.card-type-beast:hover .card-type-title {
    color: #f87171;
}

.card-type-trap:hover .card-type-title {
    color: #c084fc;
}

.card-type-magic:hover .card-type-title {
    color: #22d3ee;
}

.card-type-spell:hover .card-type-title {
    color: #f472b6;
}

/* Mobile slider mode - fixed size cards centered */
/* Mobile slider mode - fixed size cards centered */
@media (max-width: 768px) {
    .card-type-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        overflow: hidden;
    }

    .card-type-container {
        display: none;
        /* Fixed dimensions to maintain desktop proportions */
        width: 280px !important;
        height: 400px !important;
        flex-shrink: 0;
        /* Fixed dimensions to maintain desktop proportions */
        width: 280px !important;
        height: 400px !important;
        flex-shrink: 0;
    }

    .card-type-container.active {
        display: flex;
    }
}

/* Small mobile - slightly smaller */
@media (max-width: 400px) {
    .card-type-container {
        width: 250px !important;
        height: 360px !important;
    }
}

.timeline-outer {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.timeline-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d97706;
    padding: 2rem;
    border-radius: 0;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.timeline-progress-bar {
    position: absolute;
    top: 3rem;
    left: 2rem;
    right: 2rem;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.6);
}

.timeline-stage {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-circle-active {
    background: #d97706;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.8);
}

.timeline-circle-next {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #d97706;
}

.timeline-circle-future {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(217, 119, 6, 0.3);
}

.timeline-circle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.timeline-label {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-label-active {
    color: #d97706;
}

.timeline-label-next {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-label-future {
    color: rgba(255, 255, 255, 0.5);
}

.timeline-sublabel {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.timeline-badge {
    font-size: 0.75rem;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    background: #d97706;
    display: inline-block;
    text-transform: uppercase;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline-outer {
        padding: 0 1rem;
    }

    .timeline-container {
        padding: 1.5rem 1rem;
    }

    .timeline-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .timeline-progress-bar {
        top: 1rem;
        bottom: 1rem;
        left: 1.5rem;
        right: auto;
        width: 8px;
        height: auto;
    }

    .timeline-progress-fill {
        width: 100%;
        height: 20%;
        background: linear-gradient(180deg, #d97706, #f59e0b);
    }

    .timeline-stage {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .timeline-circle {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline-content {
        flex: 1;
    }

    .timeline-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .timeline-sublabel {
        font-size: 0.7rem;
    }

    .timeline-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}

/* ============================================================
   WOOCOMMERCE INTEGRATION
   ============================================================ */

/* Global WooCommerce Button Styling (Add to Cart, Checkout, etc.) */
.woocommerce button.button.alt,
.woocommerce button.button,
.woocommerce input.button.alt,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce a.button {
    background-color: transparent !important;
    color: var(--text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.woocommerce button.button.alt:hover,
.woocommerce button.button:hover,
.woocommerce input.button.alt:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce a.button:hover {
    background-color: rgba(217, 119, 6, 0.1) !important;
    border-color: #d97706 !important;
    color: #d97706 !important;
}

.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover,
.woocommerce button.button.alt.disabled:hover {
    background-color: transparent !important;
    color: #666 !important;
    border-color: #444 !important;
    cursor: not-allowed;
}

/* ============================================================
   WOOCOMMERCE MY ACCOUNT PAGES
   ============================================================ */

/* Page wrapper — clears sticky nav */
.wc-account-wrapper {
    padding-top: 100px;
    min-height: 80vh;
}

.wc-account-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* Explicit column wrappers — keeps grid immune to WooCommerce stylesheet conflicts */
.wc-account-sidebar {
    position: sticky;
    top: 90px;
    min-width: 0;
}

.wc-account-main {
    min-width: 0;
}

/* ---- Reset WooCommerce float-based layout (we use grid instead) ---- */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: auto;
}

/* ---- Sidebar Navigation ---- */
.woocommerce-MyAccount-navigation {
    border: 1px solid rgba(217, 119, 6, 0.25);
    background: rgba(10, 10, 10, 0.7);
    padding: 0;
    /* sticky handled by .wc-account-sidebar */
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.85rem 1rem;
    color: #888 !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    color: #d97706 !important;
    background: rgba(217, 119, 6, 0.05);
    border-left-color: rgba(217, 119, 6, 0.5);
    padding-left: 1.25rem;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a {
    color: #d97706 !important;
    background: rgba(217, 119, 6, 0.08);
    border-left-color: #d97706;
}

/* ---- Account Content Panel ---- */
.woocommerce-MyAccount-content {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
}

.woocommerce-MyAccount-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.woocommerce-MyAccount-content a {
    color: #d97706 !important;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: #f59e0b !important;
}

/* ---- Orders & Downloads Tables ---- */
.woocommerce-orders-table,
.woocommerce-MyAccount-downloads,
.shop_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.woocommerce-orders-table th,
.woocommerce-MyAccount-downloads th,
.shop_table th {
    background: rgba(217, 119, 6, 0.08);
    color: #d97706;
    padding: 0.85rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid rgba(217, 119, 6, 0.3);
    white-space: nowrap;
}

.woocommerce-orders-table td,
.woocommerce-MyAccount-downloads td,
.shop_table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    vertical-align: middle;
}

.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-MyAccount-downloads tbody tr:last-child td,
.shop_table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table tbody tr:hover td,
.woocommerce-MyAccount-downloads tbody tr:hover td,
.shop_table tbody tr:hover td {
    background: rgba(217, 119, 6, 0.04);
}

/* Order number link */
.woocommerce-orders-table__cell-order-number a {
    color: #d97706 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.woocommerce-orders-table__cell-order-number a:hover {
    color: #f59e0b !important;
}

/* Order status badges */
.woocommerce-orders-table__cell-order-status mark,
.woocommerce-order-status {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Status colour variants */
.woocommerce-orders-table__row--status-completed td,
.woocommerce-orders-table__row--status-completed mark {
    --status-color: #22c55e;
}

.woocommerce-orders-table__row--status-cancelled td,
.woocommerce-orders-table__row--status-cancelled mark,
.woocommerce-orders-table__row--status-failed td,
.woocommerce-orders-table__row--status-failed mark {
    --status-color: #ef4444;
}

.woocommerce-orders-table__row--status-pending td,
.woocommerce-orders-table__row--status-pending mark {
    --status-color: #888;
}

.woocommerce-orders-table__row--status-refunded td,
.woocommerce-orders-table__row--status-refunded mark {
    --status-color: #60a5fa;
}

.woocommerce-orders-table__row--status-completed mark,
.woocommerce-orders-table__row--status-cancelled mark,
.woocommerce-orders-table__row--status-failed mark,
.woocommerce-orders-table__row--status-pending mark,
.woocommerce-orders-table__row--status-refunded mark {
    background: rgba(var(--status-color), 0.1);
    color: var(--status-color);
    border-color: color-mix(in srgb, var(--status-color) 40%, transparent);
}

/* Left-edge status stripe on each row */
.woocommerce-orders-table__row {
    border-left: 3px solid transparent;
    transition: border-color 0.15s;
}

.woocommerce-orders-table__row--status-processing,
.woocommerce-orders-table__row--status-on-hold {
    border-left-color: #d97706;
}

.woocommerce-orders-table__row--status-completed {
    border-left-color: #22c55e;
}

.woocommerce-orders-table__row--status-cancelled,
.woocommerce-orders-table__row--status-failed {
    border-left-color: #ef4444;
}

.woocommerce-orders-table__row--status-pending {
    border-left-color: #555;
}

.woocommerce-orders-table__row--status-refunded {
    border-left-color: #60a5fa;
}

/* Account table buttons (View order, Download file) */
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .button {
    display: inline-block;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d97706 !important;
    background: transparent !important;
    border: 1px solid rgba(217, 119, 6, 0.5) !important;
    text-decoration: none !important;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content .button:hover {
    color: #fff !important;
    background: rgba(217, 119, 6, 0.85) !important;
    border-color: #d97706 !important;
}

/* Downloads — file name link */
.woocommerce-MyAccount-downloads-file {
    word-break: break-word;
}

/* Empty state messages */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
    background: rgba(217, 119, 6, 0.06);
    border-top: 3px solid #d97706;
    color: #aaa;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Responsive: stack table rows on small screens */
@media (max-width: 640px) {

    .woocommerce-orders-table,
    .woocommerce-MyAccount-downloads {
        display: block;
    }

    .woocommerce-orders-table thead,
    .woocommerce-MyAccount-downloads thead {
        display: none;
    }

    .woocommerce-orders-table tbody,
    .woocommerce-orders-table tr,
    .woocommerce-orders-table td,
    .woocommerce-MyAccount-downloads tbody,
    .woocommerce-MyAccount-downloads tr,
    .woocommerce-MyAccount-downloads td {
        display: block;
        width: 100%;
    }

    .woocommerce-orders-table td,
    .woocommerce-MyAccount-downloads td {
        padding: 0.6rem 1rem;
        border-bottom: none;
    }

    .woocommerce-orders-table td::before,
    .woocommerce-MyAccount-downloads td::before {
        content: attr(data-title) ": ";
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #d97706;
        display: block;
        margin-bottom: 0.2rem;
    }

    .woocommerce-orders-table__row {
        border-left-width: 3px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        margin-bottom: 0.5rem;
        padding: 0.5rem 0;
    }
}

/* ---- Address Cards ---- */
/* Reset WooCommerce float-based address columns */
.woocommerce-account .woocommerce-Addresses .u-column1,
.woocommerce-account .woocommerce-Addresses .u-column2 {
    float: none;
    width: auto;
}

.woocommerce-Addresses {
    display: grid;
    gap: 2rem;
}

.woocommerce-Address {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem;
}

.woocommerce-Address-title h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.woocommerce-Address address {
    color: #aaa;
    line-height: 1.8;
    font-style: normal;
    font-size: 0.9rem;
}

/* ---- Account Forms (Details, Password, Address Edit) ---- */
.woocommerce-EditAccountForm,
.edit-account,
.woocommerce-address-fields {
    max-width: 640px;
}

/* Reset WooCommerce floats on half-width rows, use grid instead */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
}

/* Wide rows span both columns */
.woocommerce-form-row--wide,
.form-row-wide,
.woocommerce-EditAccountForm fieldset,
.woocommerce-EditAccountForm>p:last-of-type,
.woocommerce-EditAccountForm .woocommerce-account-fields,
.woocommerce-address-fields .form-row-wide {
    grid-column: 1 / -1;
}

/* Half-width rows — reset WooCommerce floats */
.form-row-first,
.form-row-last {
    float: none !important;
    width: auto !important;
    margin-right: 0 !important;
}

.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
    margin-bottom: 1.25rem;
}

/* Labels */
.woocommerce-EditAccountForm label,
.woocommerce-address-fields label,
.woocommerce form label {
    display: block;
    color: #888;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

/* Required asterisk */
.woocommerce-EditAccountForm .required,
.woocommerce-address-fields .required,
.woocommerce form .required {
    color: #d97706;
    text-decoration: none;
}

/* Inputs & selects */
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="email"],
.woocommerce-address-fields select,
.woocommerce form .input-text {
    width: 100%;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    color: #e0e0e0 !important;
    padding: 0.75rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    border-radius: 0 !important;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.woocommerce-EditAccountForm input::placeholder,
.woocommerce-address-fields input::placeholder,
.woocommerce form .input-text::placeholder {
    color: #555 !important;
}

.woocommerce-EditAccountForm input:focus,
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus,
.woocommerce form .input-text:focus {
    border-color: #d97706 !important;
    background: rgba(217, 119, 6, 0.04) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Password change fieldset */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid rgba(217, 119, 6, 0.2);
    background: rgba(217, 119, 6, 0.03);
    padding: 1.5rem 1.75rem 1.25rem;
    margin-bottom: 1.5rem;
}

.woocommerce-EditAccountForm fieldset legend {
    font-family: 'Anton', sans-serif;
    font-size: 0.85rem;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 0.5rem;
}

/* Inside fieldset — make rows single-column */
.woocommerce-EditAccountForm fieldset .form-row {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

/* Password strength meter */
.woocommerce-password-strength {
    margin-top: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.woocommerce-password-strength.strong {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.woocommerce-password-strength.good {
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.woocommerce-password-hint {
    color: #555;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    display: block;
}

/* Save / submit button */
.woocommerce-EditAccountForm [type="submit"],
.woocommerce-address-fields+p [type="submit"],
.woocommerce-MyAccount-content [name="save_account_details"],
.woocommerce-MyAccount-content [name="save_address"] {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    background: #d97706 !important;
    color: #000 !important;
    border: none !important;
    font-family: 'Anton', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    cursor: pointer;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: background 0.2s;
}

.woocommerce-EditAccountForm [type="submit"]:hover,
.woocommerce-address-fields+p [type="submit"]:hover,
.woocommerce-MyAccount-content [name="save_account_details"]:hover,
.woocommerce-MyAccount-content [name="save_address"]:hover {
    background: #f59e0b !important;
}

/* Success / error notices inside the form */
.woocommerce-MyAccount-content .woocommerce-error {
    background: rgba(239, 68, 68, 0.08);
    border-top: 3px solid #ef4444;
    color: #fca5a5;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    list-style: none;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content .woocommerce-error li::before {
    display: none;
}

/* Responsive — collapse to single column on mobile */
@media (max-width: 540px) {

    .woocommerce-EditAccountForm,
    .woocommerce-address-fields {
        grid-template-columns: 1fr;
    }
}

/* Section headings inside account content */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Anton', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.woocommerce-MyAccount-content h2 {
    font-size: 1.8rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
    margin-bottom: 2rem;
}

.woocommerce-MyAccount-content h3 {
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-account-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wc-account-sidebar {
        position: static;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ============================================================ */

/* Page shell — clears sticky nav */
.legal-page-main {
    background: #0a0a0a;
    min-height: 100vh;
    padding-top: 80px;
}

.legal-page-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

/* ---- Hero / title block ---- */
.legal-hero-section {
    padding: 4rem 0 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.legal-hero-section h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 0.75rem;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.4);
}

.legal-hero-section .legal-meta {
    color: #555;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Content section blocks ---- */
.legal-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Anton', sans-serif;
    font-size: 1.25rem;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.legal-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    color: #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 1.75rem 0 0.6rem;
}

.legal-section p {
    color: #bbb;
    font-size: 0.97rem;
    line-height: 1.85;
    margin-bottom: 1.1rem;
}

.legal-section a {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: #f59e0b;
}

.legal-section ul,
.legal-section ol {
    margin: 0 0 1.25rem 1.5rem;
    color: #bbb;
    font-size: 0.97rem;
    line-height: 1.85;
}

.legal-section li {
    margin-bottom: 0.45rem;
}

.legal-section strong { color: #e5e5e5; }

.legal-section blockquote {
    border-left: 3px solid #d97706;
    background: rgba(217, 119, 6, 0.05);
    margin: 1.25rem 0;
    padding: 1rem 1.5rem;
    color: #aaa;
    font-style: italic;
}

.legal-section hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 1.5rem 0;
}

/* ---- Contact / highlight callout ---- */
/* Data table inside legal sections (privacy policy) */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.25rem;
    font-size: 0.9rem;
}

.legal-table th {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table td {
    padding: 0.75rem 1rem;
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    line-height: 1.6;
}

@media (max-width: 540px) {
    .legal-table { font-size: 0.82rem; }
    .legal-table th,
    .legal-table td { padding: 0.5rem 0.65rem; }
}

.legal-contact-box {
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.25);
    padding: 1.75rem 2rem;
    margin-top: 1rem;
}

.legal-contact-box h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1rem;
    color: #d97706;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 0.75rem;
}

.legal-contact-box p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

.legal-contact-box a {
    color: #d97706;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .legal-page-content {
        padding: 0 1.25rem 4rem;
    }
    .legal-hero-section {
        padding: 4.5rem 0 2rem;
    }
}

/* ============================================================
   WOOCOMMERCE SHOP (ARCHIVE) PAGE
   ============================================================ */


/* Wrapper adds top clearance for sticky nav */
.shop-page-wrapper {
    padding-top: 100px;
    min-height: 80vh;
}

/* Fix: WooCommerce sets height:auto on ALL images which bloats the sticky nav logo.
   Constrain the nav logo explicitly so it always matches other pages. */
.woocommerce-page .sticky-nav-container .nav-logo,
.woocommerce .sticky-nav-container .nav-logo {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
}


/* Centered content container with consistent margins */
.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
}

/* Shop title */
.shop-page-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(217, 119, 6, 0.3);
    padding-bottom: 1.5rem;
}

.shop-page-title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
}

/* WooCommerce breadcrumb */
.woocommerce .woocommerce-breadcrumb {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: #d97706;
}

/* Result count */
.woocommerce .woocommerce-result-count {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
}

/* ---- Sorting Dropdown ---- */
.woocommerce .woocommerce-ordering {
    float: right;
    margin-bottom: 1.5rem;
    position: relative;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    background-color: #0a0a0a !important;
    color: #e0e0e0 !important;
    border: 2px solid rgba(217, 119, 6, 0.5) !important;
    padding: 0.6rem 2.8rem 0.6rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d97706' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.8rem center !important;
    background-size: 12px !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
    /* Remove native OS styling */
    -moz-appearance: none;
}

.woocommerce .woocommerce-ordering select:hover,
.woocommerce-ordering select.orderby:hover {
    border-color: #d97706 !important;
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce-ordering select.orderby:focus {
    outline: none !important;
    border-color: #d97706 !important;
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.3) !important;
}

/* Fix WooCommerce columns layout on shop archive */
.woocommerce ul.products {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.6);
    transition: border-color 0.25s, transform 0.25s;
    padding: 1rem !important;
}

.woocommerce ul.products li.product:hover {
    border-color: rgba(217, 119, 6, 0.4);
    transform: translateY(-3px);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    color: #d97706;
}

/* ============================================================
   STORY PAGE STYLES
   ============================================================ */


.story-hero-section {
    padding: 2rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--header-bg) 0%, transparent 100%);
    margin-bottom: 2rem;
}

.story-hero-section h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.story-hero-section .tagline {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.story-hero-section .intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 900px;
    margin: 0 auto;
}

.story-block,
.prophecy-box,
.timeline {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.story-block {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.story-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
}

.story-block:hover {
    border-color: var(--accent-color);
}

.story-block h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-icon {
    font-size: 2.5rem;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.story-block:hover .story-icon {
    filter: grayscale(0%);
}

.story-block h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-block p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-indent: 2rem;
}

.story-block p.no-indent {
    text-indent: 0;
}

.story-block .quote {
    font-size: 1.2rem;
    color: var(--accent-color);
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(217, 119, 6, 0.1);
    border-left: 5px solid var(--accent-color);
    border-right: 5px solid var(--accent-color);
    text-indent: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    transition: border-color 0.3s;
}

.timeline-content:hover {
    border-color: var(--accent-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border: 4px solid var(--bg-color);
}

.timeline-date {
    font-family: 'Anton', sans-serif;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.kingdoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.kingdom-card {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    transition: all 0.3s;
    text-align: center;
}

.kingdom-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.kingdom-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.kingdom-card:hover .kingdom-icon {
    filter: grayscale(0%);
}

.kingdom-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.kingdom-trait {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.kingdom-desc {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.prophecy-box {
    background: rgba(20, 20, 20, 0.9);
    border: 3px solid var(--accent-color);
    padding: 3rem;
    margin: 3rem auto;
    text-align: center;
}

.prophecy-box h3 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.prophecy-text {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(20, 20, 20, 0.9);
    margin-top: 4rem;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.cta-section h3 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 3px solid var(--accent-color);
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    margin: 0.5rem;
}

.cta-button:hover {
    background: var(--accent-color);
    color: #000;
}

/* Mobile responsive for story page */
@media (max-width: 768px) {
    .story-block h2 {
        font-size: 1.8rem;
    }

    .story-block p {
        font-size: 1rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 80px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }
}

/* Quantity Input Styling */
.woocommerce form.cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 1rem;
}

.woocommerce form.cart div.quantity {
    margin: 0 !important;
}

.woocommerce div.quantity .qty {
    background-color: transparent !important;
    color: var(--text-color) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 0.8rem 1rem !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    text-shadow: none !important;
    box-shadow: none !important;
    height: 100% !important;
    width: 80px !important;
    text-align: center !important;
}

.woocommerce div.quantity .qty:focus {
    outline: none !important;
    border-color: #d97706 !important;
    background-color: rgba(217, 119, 6, 0.1) !important;
}

/* Hide spin buttons inside the quantity input if needed, or just let them inherit */
.woocommerce div.quantity .qty::-webkit-outer-spin-button,
.woocommerce div.quantity .qty::-webkit-inner-spin-button {
    height: 100%;
}

/* ============================================================
   SINGLE PRODUCT PAGE CUSTOM LAYOUT
   ============================================================ */

.custom-neon-product-wrapper {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.product-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.product-image-container {
    position: relative;
    border: 2px solid rgba(217, 119, 6, 0.4);
    background: #000;
    padding: 1rem;
}

.product-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-details-container {
    display: flex;
    flex-direction: column;
}

.product-details-panel {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(15, 15, 15, 0.9);
    padding: 2.5rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.product-details-panel h1.product_title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(217, 119, 6, 0.3);
}

.product-details-panel p.price {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    color: #d97706;
    font-weight: 700;
    margin-bottom: 2rem;
}

.product-details-panel .woocommerce-product-details__short-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.product-details-panel .product_meta {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #888;
}

.product-details-panel .product_meta a {
    color: #d97706;
    text-decoration: none;
}

.product-details-panel .product_meta a:hover {
    text-decoration: underline;
}

/* Related Products / Extra Content */
.product-extra-content {
    border-top: 2px solid rgba(217, 119, 6, 0.2);
    padding-top: 3rem;
    margin-top: 3rem;
}

.product-extra-content h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .product-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   CARD GAME RULES / HOW TO PLAY BLOCKS
   ============================================================ */

/* Page Header */
.page-header {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, rgba(217, 119, 6, 0.15), transparent);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/backgrounds/grid-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.page-header h1 {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 30px rgba(217, 119, 6, 0.6);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Main Content */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Table of Contents */
.toc {
    background: rgba(10, 10, 10, 0.8);
    border: 3px solid var(--accent-color);
    padding: 2rem;
    margin-bottom: 4rem;
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: padding 0.3s ease;
}

.toc h2 {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.toc-list li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: rgba(217, 119, 6, 0.1);
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s;
    font-weight: 500;
}

.toc-list li a:hover {
    background: rgba(217, 119, 6, 0.2);
    padding-left: 1.5rem;
    color: var(--accent-color);
}

/* TOC Content Wrapper for collapsed state */
.toc-content-wrapper {
    display: contents;
}

.toc.sticky-collapsed .toc-content-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* TOC Collapsed State */
.toc.sticky-collapsed .toc-list {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 0.5rem;
    margin-bottom: 0;
}

.toc.sticky-collapsed .toc-list li {
    flex-shrink: 0;
}

.toc.sticky-collapsed .toc-list li.toc-extra {
    display: none;
}

.toc.sticky-collapsed.expanded .toc-list {
    flex-wrap: wrap;
    width: 100%;
}

.toc.sticky-collapsed.expanded .toc-list li.toc-extra {
    display: block;
}

/* More Button */
.toc-more-btn {
    display: none;
    background: var(--accent-color);
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.toc-more-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.toc.sticky-collapsed .toc-more-btn {
    display: inline-block;
}

.toc.sticky-collapsed.expanded .toc-more-btn i {
    transform: rotate(180deg);
}

.toc.sticky-collapsed.expanded .toc-more-btn {
    width: 100%;
    margin-top: 0.5rem;
}

.toc-more-btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

/* Make TOC header smaller when sticky and collapsed */
.toc.sticky-collapsed h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.toc.sticky-collapsed {
    padding: 1rem 2rem;
}

/* Section Styling */
.rule-section {
    background: rgba(20, 20, 20, 0.6);
    border: 2px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    padding: 3rem;
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.rule-section h2 {
    font-family: 'Anton', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.rule-section h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.rule-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.rule-section ul,
.rule-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.rule-section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(217, 119, 6, 0.15);
    border: 2px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-box p {
    margin-bottom: 0.5rem;
}

/* Card Type Grid */
.card-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card-type-box {
    background: rgba(10, 10, 10, 0.8);
    border: 3px solid var(--accent-color);
    padding: 2rem;
    text-align: center;
}

.card-type-box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.card-type-box h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-type-box p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Table */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(10, 10, 10, 0.6);
}

.stats-table th {
    background: var(--accent-color);
    color: #0a0a0a;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.stats-table tr:hover {
    background: rgba(217, 119, 6, 0.1);
}

/* Example Box */
.example-box {
    background: rgba(147, 51, 234, 0.1);
    border: 2px solid #9333ea;
    border-left: 4px solid #9333ea;
    padding: 1.5rem;
    margin: 2rem 0;
}

.example-box h4 {
    color: #9333ea;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Quick Reference */
.quick-ref {
    background: rgba(217, 119, 6, 0.1);
    border: 3px solid var(--accent-color);
    padding: 2rem;
    margin: 3rem 0;
}

.quick-ref h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    border-bottom: none;
}

.quick-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.quick-ref-item {
    background: rgba(10, 10, 10, 0.8);
    padding: 1.5rem;
    border-left: 3px solid var(--accent-color);
}

.quick-ref-item strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .content-wrapper {
        padding: 2rem 1rem;
    }

    .rule-section {
        padding: 1.5rem;
    }

    .toc {
        position: static;
    }

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

    /* Keep collapsed state on mobile too */
    .toc.sticky-collapsed {
        padding: 0.75rem 1rem;
    }

    .toc.sticky-collapsed h2 {
        font-size: 1rem;
    }

    .toc-more-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .toc.sticky-collapsed .toc-content-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .toc.sticky-collapsed .toc-list {
        flex-wrap: wrap;
    }

    .toc.sticky-collapsed .toc-more-btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ============================================================
   HOMEPAGE TIMELINE (COLLECT & BATTLE SECTION)
   ============================================================ */

.timeline-outer {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.timeline-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #d97706;
    padding: 2rem;
    border-radius: 0;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.timeline-progress-bar {
    position: absolute;
    top: 3rem;
    left: 2rem;
    right: 2rem;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.timeline-progress-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    box-shadow: 0 0 10px rgba(217, 119, 6, 0.6);
}

.timeline-stage {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    /* Reset any inherited borders from card-game section */
    border: none;
    background: none;
    padding: 0;
}

.timeline-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-circle-active {
    background: #d97706;
    border: 3px solid #0a0a0a;
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.8);
}

.timeline-circle-next {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid #d97706;
}

.timeline-circle-future {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(217, 119, 6, 0.3);
}

.timeline-circle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    /* Reset borders from outer styles */
    border: none;
}

.timeline-label {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.timeline-label-active {
    color: #d97706;
}

.timeline-label-next {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-label-future {
    color: rgba(255, 255, 255, 0.5);
}

.timeline-sublabel {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.timeline-badge {
    font-size: 0.75rem;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    background: #d97706;
    display: inline-block;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.timeline-content {
    /* Reset any inherited borders */
    border: none;
    background: none;
    padding: 0;
}

@media (max-width: 768px) {
    .timeline-outer {
        padding: 0 1rem;
    }

    .timeline-container {
        padding: 1.5rem 1rem;
    }

    .timeline-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .timeline-progress-bar {
        top: 1rem;
        bottom: 1rem;
        left: 1.5rem;
        right: auto;
        width: 8px;
        height: auto;
    }

    .timeline-progress-fill {
        width: 100%;
        height: 20%;
        background: linear-gradient(180deg, #d97706, #f59e0b);
    }

    .timeline-stage {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 1rem;
    }

    .timeline-circle {
        margin: 0;
        flex-shrink: 0;
    }

    .timeline-content {
        flex: 1;
    }

    .timeline-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .timeline-sublabel {
        font-size: 0.7rem;
    }

    .timeline-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}