/*
 * main.css - Meet Series (Arcane x Collage Style)
 * Handles global typography, layout, buttons, and animations
 */

/* =========================================
   SITEWIDE IMMERSIVE DECOS (ZAUN)
   ========================================= */
.sw-sitewide-decos-container {
    pointer-events: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: 0;
}

/* On homepage, hide items that would overlap the hero video */
.home .sw-sitewide-deco[data-is-top="1"] {
    display: none !important;
}

.sw-sitewide-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
    animation: sw-float-deco linear infinite alternate;
    filter: blur(1px) contrast(1.2);
}

@keyframes sw-float-deco {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        transform: translate(25px, 20px) rotate(8deg) scale(1.05);
    }
}

/* =========================================
   GLOBAL RESET
   ========================================= */
body,
html {
    margin: 0;
    width: 100%;
    min-height: 100%;
    position: relative;
    /* Essential for absolute decos container */
    overflow-x: hidden;
}

/* Base Styles appliqués globalement via style.css (Variables) */

/* =========================================
   ASTRA OVERRIDES (FULL-BLEED LAYOUT)
   ========================================= */
body {
    background-color: var(--bg-deep) !important;
}

.ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.site-content {
    padding: 0 !important;
}

.home #primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.ast-builder-grid-row {
    margin: 0 50px !important;

}

/* h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    color: #fff !important;
} */

/* Fix for WP Admin Bar */
.admin-bar #masthead {
    /* top: 32px !important; */
}

@media screen and (max-width: 782px) {
    .admin-bar #masthead {
        /* top: 46px !important; */
    }
}

/* =========================================
   SECTION STRUCTURES
   ========================================= */
.meet-section {
    position: relative;
    padding: 100px 5vw;
    z-index: 5;
    background: var(--bg-deep);
}

.meet-section-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 6rem);
    color: #fff;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    z-index: 2;
    text-transform: uppercase;
}

.meet-section-title::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: -20px;
    right: -20px;
    height: 30px;
    background: var(--jinx-purple);
    z-index: -1;
    transform: rotate(-2deg);
}

/* =========================================
   BUTTONS (ARCANE x EDITORIAL)
   ========================================= */
.btn-arcane,
.ast-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
    padding: 15px 40px !important;
    background: linear-gradient(45deg, var(--gold-warning), #d49800) !important;
    color: #000 !important;
    font-family: var(--font-title) !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s ease !important;
}

.btn-arcane::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    pointer-events: none;
}

.btn-arcane:hover,
.ast-button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--gold-warning);
    background: linear-gradient(45deg, #fff, var(--gold-warning)) !important;
}

.btn-editorial {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-editorial:hover {
    background: var(--gold-warning);
    color: #000;
    border-color: var(--gold-warning);
}

/* =========================================
   ANIMATIONS & REVEAL & PARALLAX
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.parallax {
    will-change: transform;
}

.scroll-halo {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.1s ease-out;
}


/* FOOTER TITLES BRACKETS */
#meet-series-colophon h3::before,
#meet-series-colophon .logo::before,
.footer-col h3::before,
.footer-col .logo::before {
    content: "[" !important;
    margin-right: 10px;
    opacity: 0.8;
    display: inline-block !important;
    visibility: visible !important;
    font-family: monospace !important;
    color: var(--hexcore-blue) !important;
}

#meet-series-colophon h3::after,
#meet-series-colophon .logo::after,
.footer-col h3::after,
.footer-col .logo::after {
    content: "]" !important;
    margin-left: 10px;
    opacity: 0.8;
    display: inline-block !important;
    visibility: visible !important;
    font-family: monospace !important;
    color: var(--hexcore-blue) !important;
}

/* HEADER & FOOTER LINKS MONOSPACE */
.main-navigation .menu-link,
.footer-col a,
.footer-col .logo,
.social-links a {
    font-family: monospace !important;
    letter-spacing: 0.05em;
}

/* End of CUSTOM STYLES */
/* Floating Tags */
.floating-tag {
    position: absolute;
    border: 1px solid var(--hexcore-blue);
    color: var(--hexcore-blue);
    padding: 5px 10px;
    font-family: var(--font-body);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    z-index: 20;
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Raid Intel Blocks */
.intel-block {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 6px solid var(--hexcore-blue);
    backdrop-filter: blur(10px);
}

.intel-block:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--hexcore-blue);
    transform: scale(1.02) translateX(10px);
    box-shadow: -10px 0 30px rgba(0, 240, 255, 0.2);
    z-index: 10;
}

.intel-tag {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 1rem;
    color: var(--hexcore-blue);
    border: 1px solid var(--hexcore-blue);
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--hexcore-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.intel-text {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: var(--font-body);
    font-weight: 500;
}

.intel-block:nth-child(2) {
    border-left-color: var(--jinx-purple);
}

.intel-block:nth-child(2) .intel-tag {
    color: var(--jinx-purple);
    border-color: var(--jinx-purple);
    text-shadow: 0 0 10px var(--jinx-purple);
}

.intel-block:nth-child(2):hover {
    background: rgba(181, 0, 255, 0.1);
    border-color: var(--jinx-purple);
    box-shadow: -10px 0 30px rgba(181, 0, 255, 0.2);
}

.intel-block:nth-child(3) {
    border-left-color: var(--gold-warning);
}

.intel-block:nth-child(3) .intel-tag {
    color: var(--gold-warning);
    border-color: var(--gold-warning);
    text-shadow: 0 0 10px var(--gold-warning);
}

.intel-block:nth-child(3):hover {
    background: rgba(255, 183, 0, 0.1);
    border-color: var(--gold-warning);
    box-shadow: -10px 0 30px rgba(255, 183, 0, 0.2);
}

/* =========================================
   TICKER (MARQUEE)
   ========================================= */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    height: 60px;
    background: var(--jinx-purple);
    z-index: 5;
    display: flex;
    align-items: center;
    box-shadow: 0 0 20px var(--jinx-purple);
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker 20s linear infinite;
}

.ticker-item {
    font-family: var(--font-title);
    font-size: 2rem;
    color: #fff;
    padding: 0 2rem;
    text-transform: uppercase;
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* =========================================
   HEADER GLASSMORPHISM (ASTRA STICKY)
   ========================================= */
#masthead {
    /* position: fixed !important; */
    top: 0;
    width: 100%;
    background: rgba(9, 10, 15, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    z-index: 9999 !important;
    transition: all 0.3s ease;
}

/* Ensure Astra's high z-index elements don't overlap wrongly */
.site-header {
    background: transparent !important;
}

#masthead.header-scrolled {
    background: rgba(9, 10, 15, 0.95) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.main-header-bar {
    background: transparent !important;
    border: none !important;
}

.ast-builder-menu-1 .main-header-menu .menu-item>.menu-link {
    color: var(--text-light) !important;
    background: transparent !important;
    font-family: var(--font-title);
    font-weight: normal !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease;
}

.weglot-lang .menu-link {
    background: #0c0c11 !important;
}

.ast-builder-menu-1 .main-header-menu .menu-item:hover>.menu-link {
    color: var(--hexcore-blue) !important;
    text-shadow: 0 0 10px var(--hexcore-blue);
}

/* Submenu Glassmorphism */
.ast-builder-menu-1 .main-header-menu .sub-menu {
    background: rgba(9, 10, 15, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
    padding: 10px 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.ast-builder-menu-1 .main-header-menu .sub-menu .menu-item .menu-link {
    color: var(--text-light) !important;
    font-family: monospace !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 20px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
}

.ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover>.menu-link {
    color: var(--hexcore-blue) !important;
    text-shadow: 0 0 8px var(--hexcore-blue);
    background: rgba(0, 240, 255, 0.05) !important;
    padding-left: 25px !important;
    /* Tiny reveal slide effect */
}

/* Force dark logo text if it's text-based */
.site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.site-title a {
    font-family: var(--font-title) !important;
    color: var(--hexcore-blue) !important;
    font-size: 2rem !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    line-height: 1;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 80px;
    width: auto;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    /* Help with blurriness */
}

/* Shop Icons Styling */
.shop-icon-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
}

.shop-icon-wrapper {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.menu-item:hover .shop-icon-wrapper {
    color: var(--hexcore-blue);
    filter: drop-shadow(0 0 8px var(--hexcore-blue));
    transform: scale(1.1);
}

/* Mobile adjustments for shop icons */
.ast-header-break-point .main-header-menu .menu-item-cart,
.ast-header-break-point .main-header-menu .menu-item-account {
    display: inline-block !important;
    width: auto !important;
    margin: 15px 10px !important;
}

.ast-header-break-point .main-header-menu .menu-item-cart .menu-link,
.ast-header-break-point .main-header-menu .menu-item-account .menu-link {
    padding: 10px !important;
    justify-content: center !important;
}

.ast-header-break-point .shop-icon-wrapper svg {
    width: 26px !important;
    height: 26px !important;
}

/* Mobile Menu Dark Theme & Toggle Fix - ULTRA High Specificity */
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content,
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content .ast-container,
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content .ast-builder-menu-1,
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content #ast-hf-mobile-menu,
.ast-header-break-point .ast-mobile-header-wrap .ast-mobile-header-content .main-header-bar-navigation,
.ast-header-break-point .main-header-bar-navigation .main-header-menu,
.ast-header-break-point .ast-mobile-header-content .main-header-menu,
.ast-header-break-point #ast-hf-mobile-menu .main-header-menu,
.ast-header-break-point .main-header-menu .sub-menu,
.ast-header-break-point .ast-mobile-header-content .sub-menu {
    background-color: #0d0d12 !important;
    background-image: linear-gradient(135deg, rgba(13, 13, 18, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%) !important;
    backdrop-filter: blur(15px) !important;
}

/* Links color and separation in mobile menu */
.ast-header-break-point .ast-mobile-header-content .main-header-menu .menu-item a,
.ast-header-break-point .ast-mobile-header-content .main-header-menu .menu-item .menu-link,
.ast-header-break-point .main-header-menu .menu-item>a,
.ast-header-break-point .main-header-menu .sub-menu .menu-item a {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background-color: transparent !important;
}

/* Toggle alignment fix */
.ast-header-break-point .ast-mobile-header-content .main-header-menu .menu-item-has-children>.ast-menu-toggle,
.ast-header-break-point .ast-mobile-header-content .ast-menu-toggle,
.ast-header-break-point .main-header-menu .ast-menu-toggle {
    background: var(--jinx-purple) !important;
    color: #fff !important;
    border-radius: 4px !important;
    width: 35px !important;
    height: 35px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 15px !important;
    box-shadow: 0 0 10px rgba(181, 0, 255, 0.3) !important;
    line-height: 1 !important;
}

.ast-header-break-point .ast-mobile-header-content .ast-menu-toggle:hover {
    background: var(--hexcore-blue) !important;
    box-shadow: 0 0 15px var(--hexcore-blue) !important;
}

.ast-header-break-point .ast-mobile-header-content .ast-menu-toggle .ast-icon svg {
    width: 14px !important;
    height: 14px !important;
    fill: currentColor !important;
    margin: unset !important;
}

.ast-header-break-point .main-header-menu .menu-item-cart,
.ast-header-break-point .main-header-menu .menu-item-account,
.ast-header-break-point .main-header-menu .menu-item-cart a,
.ast-header-break-point .main-header-menu .menu-item-account a {
    background: transparent !important;
    border-bottom: none !important;
}

.header-custom-logo {
    height: 60px !important;
    width: auto !important;
    margin-left: 15px;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2));
    margin-top: 7px;
}

.custom-logo-link:hover .custom-logo {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 0 10px var(--hexcore-blue));
}

/* Centering Grouped Header Content (Logo | Title | Menu) */
.ast-primary-header-bar {
    position: relative !important;
}

.site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.header-custom-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 2.5vw, 2.8rem);
    color: transparent;
    -webkit-text-stroke: 1px var(--hexcore-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3), 3px 3px 0px var(--jinx-purple);
    white-space: nowrap;
    line-height: 1;
    z-index: 10;
    pointer-events: auto;
    /* Re-enabled so the link works */
}

/* position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
font-family: var(--font-title);
font-size: clamp(1.2rem, 2.5vw, 2.8rem);
color: transparent;
-webkit-text-stroke: 1px var(--hexcore-blue);
text-shadow: 0 0 10px rgba(0, 240, 255, 0.3), 3px 3px 0px var(--jinx-purple);
white-space: nowrap;
line-height: 1;
z-index: 10;
pointer-events: auto; */

/* Specific adjustments for Astra's menu positioning */
.ast-builder-menu-1 {
    display: flex !important;
    align-items: center !important;
}

/* =========================================
   EDITIONS PAGE
   ========================================= */
.page-editions-main {
    /* padding-top: 150px; */
    background: var(--bg-deep);
    min-height: 100vh;
    color: var(--text-light);
    margin-top: unset !important;
}

.editions-hero {
    text-align: center;
    margin-bottom: 60px;
}

.editions-hero .page-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 6vw, 6rem);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.highlight-red {
    color: var(--hexcore-blue);
    /* We use the existing cyan 'blue' or jinx purple for highlight, since user said keep current DA */
    text-shadow: 0 0 20px var(--hexcore-blue);
}

.text-shadow-red {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.editions-nav {
    margin-top: 40px;
}

.editions-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-neon-red {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(5px);
}

.btn-neon-red:hover {
    border-color: var(--hexcore-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    color: var(--hexcore-blue);
    transform: translateY(-2px);
}

.edition-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.edition-container {
    width: 100%;
    max-width: 80%;
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--hexcore-blue);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edition-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

.edition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.edition-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flag-icon {
    font-size: 2.5rem;
}

.edition-badges {
    display: flex;
    gap: 10px;
}

.status-badge,
.program-badge {
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1px;
    text-decoration: none !important;
    display: inline-block;
}

.status-badge[href]:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.program-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.status-badge.closed {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.status-badge.upcoming {
    background: rgba(255, 183, 0, 0.1);
    border: 1px solid var(--gold-warning);
    color: var(--gold-warning);
    position: relative;
    padding-right: 30px;
}

.status-badge.upcoming::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold-warning);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold-warning);
    animation: badge-pulse-gold 1.5s infinite;
}

@keyframes badge-pulse-gold {
    0% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }

    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(0.8);
    }
}

.status-badge.open {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--hexcore-blue);
    color: var(--hexcore-blue);
    position: relative;
    padding-right: 30px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.status-badge.open::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--hexcore-blue);
    animation: badge-pulse-cyan 1s infinite;
}

@keyframes badge-pulse-cyan {
    0% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }

    100% {
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

.status-badge.open[href]:hover {
    background: var(--hexcore-blue);
    color: #000;
}

.status-badge.open {
    background-color: var(--hexcore-blue);
    color: #000;
}

.status-badge.open.pulse-glow {
    animation: status-pulse-glow 2s infinite;
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
}

@keyframes status-pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

.status-badge.pending {
    background: rgba(181, 0, 255, 0.1);
    border: 1px solid var(--jinx-purple);
    color: var(--jinx-purple);
}

.edition-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-left: 3px solid var(--hexcore-blue);
}

.info-block .dashicons {
    font-size: 2rem;
    width: 2rem;
    height: 2rem;
    color: var(--hexcore-blue);
    margin-top: -2px;
}

.info-block strong {
    display: block;
    color: #fff;
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-block p {
    margin: 0;
    color: #bbb;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.edition-details h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--hexcore-blue);
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* TABLE STYLES */
.table-responsive {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.edition-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.edition-table th,
.edition-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.edition-table th {
    background: rgba(0, 240, 255, 0.1);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edition-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   QUALIFICATION BANNER (DA MATCH)
   ========================================= */
.qualification-banner {
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto 0 auto;
    text-align: center;
    padding: 30px 20px;
    background: #0a0a0f;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    /* subtle border to ground it in the site DA */
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Simulate the scribble background */
.qualification-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 0, 106, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.15) 0%, transparent 20%);
    pointer-events: none;
    z-index: 1;
}

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

.qual-amateur {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0.3rem 10px 0 !important;
    letter-spacing: -1px;
}

.qual-asterisk {
    color: #ffde00;
}

.qual-qualify {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #ff007f;
    /* Hot pink */
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.qual-glow-text {
    font-family: var(--font-title);
    /* Fallback to title if no script font */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 15px 0;
    text-shadow:
        0 0 10px rgba(138, 43, 226, 0.8),
        0 0 20px rgba(138, 43, 226, 0.5),
        -2px 2px 0px rgba(138, 43, 226, 0.8);
    transform: rotate(-2deg);
}

.qual-france {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin: 0 0 40px 0;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.qual-disclaimer {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #ccc;
    font-weight: 700;
    margin: 0;
    text-transform: none;
}

/* Media Queries for Editions */
@media screen and (max-width: 768px) {
    .edition-header h2 {
        font-size: 2rem;
    }

    .edition-container {
        padding: 20px;
    }

    .info-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--hexcore-blue);
    }
}

/* Mobile Header Fixes - Specificity to beat Astra */
.ast-header-break-point #ast-desktop-header {
    display: none !important;
}

.ast-header-break-point .main-header-bar .ast-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    display: flex !important;
    padding: 10px 20px !important;
    gap: 10px !important;
}

.ast-header-break-point .site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.ast-header-break-point .ast-builder-menu-1 {
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}

/* Logo Sizes on Mobile */
@media screen and (max-width: 921px) {
    .ast-builder-grid-row {
        margin: 0 !important;
    }

    .custom-logo {
        max-height: 50px !important;
        width: auto !important;
    }

    .header-custom-logo-link,
    .header-custom-logo {
        display: inline-block !important;
        height: 35px !important;
        width: auto !important;
        margin-left: 15px !important;
        vertical-align: middle !important;
        margin-top: 2px !important;
    }

    .header-custom-title {
        display: none !important;
    }

    /* Burger button padding */
    .menu-toggle,
    .ast-mobile-menu-trigger-wrapper .ast-button-wrap .menu-toggle {
        padding: 8px 15px !important;
    }
}

/* Scroll Indicator Animation */
@keyframes scrollAnim {
    0% {
        top: 6px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.2;
    }

    100% {
        top: 6px;
        opacity: 1;
    }
}

/* =========================================
   RAID JOURNEY MAP
   ========================================= */
.raid-journey-map {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding-left: 20px;
}

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

.journey-path-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 0.5;
    stroke-dasharray: 2 2;
}

.journey-path-anim {
    fill: none;
    stroke: var(--hexcore-blue);
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 3px var(--hexcore-blue));
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.journey-node {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    transform: translate(-50%, -50%);
}

.node-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #000;
    position: relative;
    z-index: 3;
}

.journey-node .country-pill {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    background: rgba(10, 10, 15, 0.8);
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

/* Prevent flags/emojis from being squashed by flexbox */
.journey-node .country-pill>span:first-child {
    flex-shrink: 0;
    min-width: 24px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.journey-node.node-right .country-pill {
    left: auto;
    right: 25px;
    flex-direction: row-reverse;
    text-align: right;
}

.journey-node .country-pill:hover {
    border-color: currentColor;
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
    z-index: 10;
}

.journey-plane {
    position: absolute;
    z-index: 5;
    filter: drop-shadow(0 0 5px var(--hexcore-blue));
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 991px) {
    .raid-journey-map {
        min-height: 500px;
        padding-left: 0;
        margin-top: 40px;
    }
}

/* Custom Scrollbar for Responsive Tables */
.table-responsive::-webkit-scrollbar {
    height: 8px;
    width: 12px;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgb(39 39 53 / 80%);
    border: 1px solid rgb(255 255 255 / 55%);
    border-bottom: none;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--hexcore-blue);
    background: linear-gradient(to right, var(--hexcore-blue), var(--jinx-purple));
    border-radius: 10px;
    border: 2px solid #0a0a0f;
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.2);
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--hexcore-blue);
    box-shadow: 0 0 10px var(--hexcore-blue);
}

/* =========================================
   EDITION PARTNERS
   ========================================= */
.edition-partners {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    text-align: center;
}

.edition-partners h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: 700;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo-link {
    display: block;
}

.partner-logo-link img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .edition-partners {
        margin-top: 30px;
        padding-top: 20px;
    }

    .partners-logos {
        gap: 30px;
    }

    .partner-logo-link img {
        max-height: 40px;
    }
}

/* =========================================
   MOBILE HEADER OFFSET FOR EDITIONS & WOO
   ========================================= */
@media (max-width: 921px) {

    .page-editions-main,
    .woocommerce-page .site-content {
        padding-top: 30px !important;
    }
}

/* =========================================
   WOOCOMMERCE CART & CHECKOUT OVERRIDES
   ========================================= */

/* 1. Fix Primary Action Buttons (Blue -> Yellow) */
.wc-block-cart__submit-button,
.wc-block-components-checkout-button,
.wp-block-woocommerce-checkout-button,
.wp-block-woocommerce-cart .components-button.is-primary,
.wp-block-woocommerce-checkout .components-button.is-primary,
.woocommerce button.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
    background: linear-gradient(45deg, var(--gold-warning), #d49800) !important;
    color: #000 !important;
    box-shadow: none !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-button:hover,
.wp-block-woocommerce-checkout-button:hover,
.wp-block-woocommerce-cart .components-button.is-primary:hover,
.wp-block-woocommerce-checkout .components-button.is-primary:hover,
.woocommerce button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
    background: linear-gradient(45deg, #fff, var(--gold-warning)) !important;
    box-shadow: 0 0 20px var(--gold-warning) !important;
    color: #000 !important;
}

/* 2. Fix Quantity Selector Layout & Reset Buttons */
.wc-block-cart-item__quantity {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 15px !important;
    justify-content: flex-start !important;
}

.wc-block-components-quantity-selector {
    display: flex !important;
    align-items: stretch !important;
    background: rgba(10, 10, 15, 0.8) !important;
    border: 1px solid var(--hexcore-blue) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    width: unset !important;
}

/* Reset quantity buttons from Arcane global styles */
.wc-block-components-quantity-selector__button {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    clip-path: none !important;
    transform: none !important;
    color: var(--gold-warning) !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    /* Hides original weird characters */
    position: relative !important;
}

.wc-block-cart-item__remove-link {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    clip-path: none !important;
    transform: none !important;
    color: var(--gold-warning) !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-components-quantity-selector__button--minus::after {
    content: '-' !important;
    font-size: 1.5rem !important;
    font-family: Arial, sans-serif !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.wc-block-components-quantity-selector__button--plus::after {
    content: '+' !important;
    font-size: 1.5rem !important;
    font-family: Arial, sans-serif !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.wc-block-components-quantity-selector__button::before,
.wc-block-cart-item__remove-link::before {
    display: none !important;
    /* Remove Arcane inner glow polygon */
}

.wc-block-components-quantity-selector__button:hover,
.wc-block-cart-item__remove-link:hover {
    background: rgba(243, 174, 0, 0.1) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.wc-block-components-quantity-selector__button:disabled {
    color: rgb(255 205 82 / 60%) !important;
    background: transparent !important;
    cursor: not-allowed;
}

/* 3. Style Quantity Input */
.wc-block-components-quantity-selector__input {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    border-left: 1px solid rgba(0, 240, 255, 0.3) !important;
    border-right: 1px solid rgba(0, 240, 255, 0.3) !important;
    font-family: monospace !important;
    font-size: 1rem !important;
    text-align: center !important;
    padding: 8px 10px !important;
    max-width: 60px !important;
    border-radius: 0 !important;
}

.wc-block-components-quantity-selector__input:focus {
    outline: none !important;
    background: rgba(0, 240, 255, 0.05) !important;
    color: #fff !important;
}

/* Remove Link Icon Color */
.wc-block-cart-item__remove-link svg {
    fill: var(--gold-warning) !important;
}

.wc-block-cart-item__remove-link:hover svg {
    fill: #fff !important;
}

/* 4. Fix Responsive Grid constraints of Astra / Block */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding: 0 20px !important;
}

/* On mobile, correct the 50px side margins from Astra's grid row if inside .woocommerce */
@media screen and (max-width: 768px) {

    .woocommerce .ast-builder-grid-row,
    .woocommerce-cart .ast-builder-grid-row,
    .woocommerce-checkout .ast-builder-grid-row {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
}

/* 5. Fix Form Inputs Legibility */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-page form input[type="email"],
.woocommerce-page form input[type="password"],
.woocommerce-page form input[type="text"],
.wc-block-components-text-input input,
.wc-block-components-combobox-control input {
    background: rgba(10, 10, 15, 0.8) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder,
.woocommerce-page form input::placeholder,
.wc-block-components-text-input input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-page form input:focus,
.wc-block-components-text-input input:focus {
    border-color: var(--hexcore-blue) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2) !important;
    outline: none !important;
    background: rgba(10, 10, 15, 0.95) !important;
}

/* Fix Labels */
.woocommerce-js form .form-row label,
.wc-block-components-text-input label {
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 1px !important;
    margin-bottom: 5px;
    display: inline-block;
}

/* Fix Password Eye toggle contrast */
.woocommerce form .form-row .show-password-input::after {
    color: #000000 !important;
}

/* 6. Form Login Checkbox and Button Alignment */
.woocommerce form.login .woocommerce-form-login__rememberme {
    display: block !important;
    margin-bottom: 15px !important;
    width: 100% !important;
}

.woocommerce form.login .woocommerce-form-login__submit {
    display: inline-block !important;
    margin-top: 10px !important;
    margin-left: 0 !important;
}

/* 7. SITWIDE STICKY CTA */
.global-sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-family: var(--font-mono, monospace);
    font-size: 0.9rem;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: sticky-float 3s ease-in-out infinite;
    pointer-events: auto;
}

.global-sticky-cta img.emoji {
    width: 1.6em !important;
    height: 1.6em !important;
    margin: 0 !important;
    vertical-align: middle !important;
    box-shadow: none !important;
}

.global-sticky-cta>span:first-child {
    display: inline-block;
    font-size: 16px !important;
    line-height: 1 !important;
}



@keyframes sticky-float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.global-sticky-cta.upcoming {
    background: rgba(4, 11, 22, 0.85);
    border: 1px solid var(--gold-warning);
    color: var(--gold-warning);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.global-sticky-cta.upcoming::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--gold-warning);
    border-radius: 50%;
    animation: sticky-pulse-gold 1.5s infinite;
}

@keyframes sticky-pulse-gold {
    0% {
        opacity: 0.4;
        transform: scale(0.8);
        box-shadow: 0 0 5px var(--gold-warning);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
        box-shadow: 0 0 15px var(--gold-warning);
    }

    100% {
        opacity: 0.4;
        transform: scale(0.8);
        box-shadow: 0 0 5px var(--gold-warning);
    }
}

.global-sticky-cta.upcoming:hover {
    background: rgba(255, 183, 0, 0.1);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.2);
}

.global-sticky-cta.open {
    background: rgba(4, 11, 22, 0.9);
    border: 1px solid var(--hexcore-blue);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 240, 255, 0.15);
}

.global-sticky-cta.open span.open-text {
    color: var(--hexcore-blue);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.global-sticky-cta.open::after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--hexcore-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--hexcore-blue);
    animation: sticky-pulse-cyan 1s infinite;
}

@keyframes sticky-pulse-cyan {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

.global-sticky-cta.open:hover {
    background: var(--hexcore-blue);
    color: #000;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}

.global-sticky-cta.open:hover span.open-text {
    color: #000;
    text-shadow: none;
}

@media screen and (max-width: 768px) {
    .global-sticky-cta {
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.8rem;
        padding: 8px 12px;
        white-space: nowrap;
        gap: 10px;
        animation: sticky-float-mobile 3s ease-in-out infinite;
    }

    .global-sticky-cta img.emoji {
        width: 1.6em !important;
        height: 1.6em !important;
    }

    .global-sticky-cta>span:first-child {
        font-size: 14px !important;
    }

    .global-sticky-cta.upcoming::after,
    .global-sticky-cta.open::after {
        width: 8px;
        height: 8px;
    }

    @keyframes sticky-float-mobile {
        0% {
            transform: translateX(-50%) translateY(0);
        }

        50% {
            transform: translateX(-50%) translateY(-5px);
        }

        100% {
            transform: translateX(-50%) translateY(0);
        }
    }

    .global-sticky-cta.upcoming:hover,
    .global-sticky-cta.open:hover {
        transform: translateX(-50%) translateY(-2px) scale(1.02);
    }
}