/*
 * GWWA Events Engine Styles: Final Refinements
 * Mobile-First | Gomez Yellow Accents | High-Contrast Buttons
 */

:root {
    --gwwa-font-title: 'Hepta Slab', serif;
    --gwwa-font-body: 'Cabin', sans-serif;
    --gwwa-gold: #C4A454;
    --gwwa-gold-hover: #D4B464;
    --gwwa-charcoal: #0B0B0B;
    --gwwa-black: #000000;
    --gwwa-max-width: 1340px;
}

/* ─────────────────────────────────────────────
   GLOBAL TYPOGRAPHY & RESET
   ───────────────────────────────────────────── */
[class^="gwwa-"] {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    text-align: center; /* MANDATE: ALL TEXT CENTERED */
}

/* ─────────────────────────────────────────────
   HERO SLIDER: BILBOARD ENGINE
   ───────────────────────────────────────────── */
.gwwa-hero-slider {
    max-width: var(--gwwa-max-width);
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gwwa-black);
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.gwwa-event-hero {
    display: flex;
    flex-direction: column; /* MOBILE FIRST */
}

.gwwa-hero-image-side {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

.gwwa-hero-slider__side-panel {
    width: 100%;
    padding: 40px 20px;
    background: var(--gwwa-charcoal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 2px solid var(--gwwa-gold);
}

@media (min-width: 1024px) {
    .gwwa-event-hero {
        flex-direction: row;
        height: 560px;
    }
    .gwwa-hero-image-side {
        flex: 0 0 960px;
        height: 560px;
        aspect-ratio: auto;
    }
    .gwwa-hero-slider__side-panel {
        flex: 1;
        height: 560px;
        border-top: none;
        border-left: 2px solid var(--gwwa-gold);
        padding: 60px 40px;
    }
}

/* Typography Overrides */
.gwwa-event-hero__date {
    color: var(--gwwa-gold) !important; /* ACCENT MANDATE */
    font-family: var(--gwwa-font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 12px;
}

.gwwa-event-hero__title {
    font-family: var(--gwwa-font-title);
    color: #FFF;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gwwa-event-hero__subtitle {
    font-family: var(--gwwa-font-body);
    color: #AAA;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

/* ─────────────────────────────────────────────
   HERO BUTTONS: HIGH CONTRAST (CHARCOAL/GOLD)
   ───────────────────────────────────────────── */
.gwwa-event-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 320px;
}

.gwwa-btn {
    display: inline-block;
    padding: 16px 32px;
    font-family: var(--gwwa-font-body);
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-size: 14px;
}

/* "BUY TICKETS" - Primary Gold Button */
.gwwa-btn--primary {
    background: var(--gwwa-gold);
    color: var(--gwwa-charcoal) !important;
}

.gwwa-btn--primary:hover {
    background: #FFF;
    transform: translateY(-3px);
}

/* "MORE DETAILS" - Charcoal / Gold Signature */
.gwwa-btn--secondary {
    background: var(--gwwa-charcoal) !important;
    color: var(--gwwa-gold) !important;
    border: 1px solid var(--gwwa-gold);
}

.gwwa-btn--secondary:hover {
    background: var(--gwwa-gold) !important;
    color: var(--gwwa-charcoal) !important;
    transform: translateY(-3px);
}

.gwwa-btn--sold-out {
    background: #333 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    border: none !important;
    pointer-events: none;
    opacity: 0.8;
}

/* ─────────────────────────────────────────────
   EVENT GRID: CINEMATIC CARDS
   ───────────────────────────────────────────── */
.gwwa-grid-container {
    padding: 60px 20px;
    background: transparent; /* Removed black background */
}

.gwwa-event-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: var(--gwwa-max-width);
    margin: 0 auto;
}

@media (min-width: 768px) { .gwwa-event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .gwwa-event-grid { grid-template-columns: repeat(3, 1fr); } }

.gwwa-grid-card {
    background: #0D0D0D;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05); /* Soft border for dark mode depth */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* New shadow for card depth */
}

.gwwa-grid-card:hover {
    border-color: var(--gwwa-gold);
    transform: translateY(-10px);
}

.gwwa-grid-card__image-container {
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
}

.gwwa-grid-card__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.gwwa-grid-card:hover .gwwa-grid-card__image { transform: scale(1.1); }

.gwwa-grid-card__meta {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gwwa-grid-card__date {
    font-family: var(--gwwa-font-body);
    color: var(--gwwa-gold) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 12px;
}

.gwwa-grid-card__title {
    font-family: var(--gwwa-font-title);
    color: #FFF;
    font-size: 24px;
    margin-bottom: 25px;
}

.gwwa-grid-card__cta {
    background: var(--gwwa-gold);
    color: #000;
    padding: 12px 30px;
    font-family: var(--gwwa-font-body);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.gwwa-grid-card__cta:hover {
    background: #FFF;
    color: #000;
}

/* ─────────────────────────────────────────────
   MODAL: RESPONSIVE DETAIL VIEW
   ───────────────────────────────────────────── */
.gwwa-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.gwwa-modal.is-open { opacity: 1; visibility: visible; }
.gwwa-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(15px); }

.gwwa-modal__container {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: #0A0A0A;
    border-radius: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.1);
}

.gwwa-modal__image { width: 100%; padding-top: 56.25%; background-size: cover; }
.gwwa-modal__details { padding: 40px; display: flex; flex-direction: column; align-items: center; }
.gwwa-modal__date { color: var(--gwwa-gold); font-family: var(--gwwa-font-body); font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }
.gwwa-modal__title { 
    font-family: var(--gwwa-font-title); 
    color: #FFF; 
    font-size: clamp(22px, 5vw, 32px); 
    margin: 15px 0; 
}

.gwwa-modal__subtitle {
    font-family: var(--gwwa-font-body);
    color: #D1D1D1; /* LIGHT GRAY */
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
    max-width: 500px;
}

.gwwa-modal__description {
    font-family: var(--gwwa-font-body);
    color: #D1D1D1; /* LIGHT GRAY */
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 35px;
    max-width: 500px;
}

.gwwa-modal__ticket-btn {
    background: var(--gwwa-gold);
    color: var(--gwwa-charcoal) !important;
    padding: 15px 40px;
    font-family: var(--gwwa-font-body);
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   MAIN EVENT: FEATURED HERO
   ───────────────────────────────────────────── */
.gwwa-main-event {
    width: 100%;
    max-width: var(--gwwa-max-width);
    margin: 40px auto;
    background: #000;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.gwwa-main-event {
    width: 100%;
    max-width: 1340px; 
    margin: 0 auto;
    overflow: hidden;
}

.gwwa-main-event__container {
    display: flex;
    flex-direction: column;
}

.gwwa-main-event__image-wrap {
    width: 100%;
    height: 400px; 
    background: #000;
}

.gwwa-main-event__image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.gwwa-main-event__card {
    background: #000;
    color: #FFF;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gwwa-main-event__subtitle {
    font-family: var(--gwwa-font-title);
    color: #C4A454;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
}

.gwwa-main-event__title {
    font-family: var(--gwwa-font-title);
    color: #FFF;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: 100%;
    word-wrap: break-word;
}

.gwwa-main-event__meta {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-bottom: 25px;
}

.gwwa-main-event__meta-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    align-items: center;
    width: 100%;
}

.gwwa-main-event__meta-label {
    font-size: 10px;
    font-family: var(--gwwa-font-body);
    text-transform: uppercase;
    color: var(--gwwa-gold);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.gwwa-main-event__meta-value {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--gwwa-font-body);
    line-height: 1.3;
}

.gwwa-main-event__btn {
    display: inline-block;
    width: 100%;
    padding: 15px 10px;
    background: var(--gwwa-gold);
    color: #000;
    text-decoration: none;
    font-family: var(--gwwa-font-body);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.gwwa-main-event__urgency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    opacity: 0.6;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gwwa-main-event__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.gwwa-main-event__urgency {
    font-family: var(--gwwa-font-body);
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .gwwa-main-event__container {
        flex-direction: row;
        min-height: 600px;
    }
    .gwwa-main-event__image-wrap {
        flex: 1 1 1066.7px;
        min-height: 600px;
        background: #000;
        position: relative;
    }
    .gwwa-main-event__card {
        flex: 0 0 273.3px;
        min-height: 600px;
        padding: 40px 20px;
        border-right: 1px solid rgba(255,255,255,0.1); /* swap left to right if needed, or just remove border-left */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 2;
    }
}

.gwwa-dot {
    width: 6px;
    height: 6px;
    background: #FF3B30;
    border-radius: 50%;
    animation: gwwa-pulse 1.5s infinite;
}

@keyframes gwwa-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}


/* ─────────────────────────────────────────────
   TICKETING STACK: ROW-BASED TICKETING ENGINE
   ───────────────────────────────────────────── */
.gwwa-events-stack {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: var(--gwwa-max-width);
    margin: 40px auto;
    padding: 0 20px;
}

.gwwa-stack-item {
    background: #0F0F0F;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08); /* Minimalist structure */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.gwwa-stack-item:hover {
    border-color: var(--gwwa-gold);
    transform: translateY(-5px);
}

/* Header Section: Media + Title Block */
.gwwa-stack-item__header {
    display: flex;
    flex-direction: column;
}

.gwwa-stack-item__image-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.gwwa-stack-item__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.gwwa-stack-item__content {
    padding: 30px;
    text-align: center; /* Brand Mandate */
}

.gwwa-stack-item__title {
    font-family: var(--gwwa-font-title);
    color: #FFF;
    font-size: clamp(20px, 4vw, 32px);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.gwwa-stack-item__subtitle {
    font-family: var(--gwwa-font-body);
    color: var(--gwwa-gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Info Bar: The Grey Hub */
.gwwa-stack-item__info-bar {
    background: #1A1A1A; /* Grey Info Bar (Dark Mode optimized) */
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.gwwa-stack-item__icon-date {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gwwa-stack-item__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--gwwa-gold);
}

.gwwa-events-badge--sold-out {
    background: #FF3B30;
    color: #FFF;
    padding: 6px 14px;
    font-size: 11px;
    font-family: var(--gwwa-font-body);
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gwwa-stack-item__datetime {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gwwa-stack-item__day-date {
    font-family: var(--gwwa-font-body);
    color: #FFF;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
}

.gwwa-stack-item__time {
    font-family: var(--gwwa-font-body);
    color: #888;
    font-size: 14px;
}

.gwwa-stack-item__pricing {
    display: flex;
    flex-direction: column;
}

.gwwa-stack-item__price-label {
    font-family: var(--gwwa-font-body);
    font-size: 11px;
    color: var(--gwwa-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gwwa-stack-item__price-value {
    font-family: var(--gwwa-font-body);
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
}

/* RED SELECT SEATS BUTTON */
.gwwa-btn--red {
    background: var(--gwwa-gold);
    color: #000 !important;
    font-family: var(--gwwa-font-body);
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-align: center;
}

.gwwa-btn--red:hover {
    background: #FFF;
    color: #000 !important;
    transform: scale(1.05);
}

/* DESKTOP REFINEMENT (The Hub Bar horizontally) */
@media (min-width: 1024px) {
    .gwwa-stack-item__info-bar {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 40px;
    }
    
    .gwwa-stack-item__actions {
        width: auto;
    }
    
    .gwwa-btn--red {
        width: auto;
        min-width: 200px;
    }
}

/* ─────────────────────────────────────────────
   ARENA ELITE: SINGLE EVENT STYLES
   ───────────────────────────────────────────── */
.so-single-event {
    background: #000;
    min-height: 100vh;
    color: #FFF;
    padding-bottom: 100px;
}

.so-single-event__hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    overflow: hidden;
}

.so-single-event__hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s linear;
}

.so-single-event:hover .so-single-event__hero-bg { transform: scale(1.1); }

.so-single-event__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.so-single-event__hero-content {
    position: relative;
    z-index: 3;
    max-width: 1340px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    text-align: left;
}

.so-single-event__back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gwwa-gold);
    font-family: var(--gwwa-font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-decoration: none;
    margin-bottom: 30px;
    transition: opacity 0.3s;
}

.so-single-event__back:hover { opacity: 0.7; }

.so-single-event__title {
    font-family: var(--gwwa-font-title);
    font-size: clamp(32px, 7vw, 72px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: left;
}

.so-single-event__subtitle {
    font-family: var(--gwwa-font-body);
    color: var(--gwwa-gold);
    font-size: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
}

.so-single-event__container {
    max-width: 1340px;
    margin: -40px auto 0;
    position: relative;
    z-index: 4;
    padding: 0 20px;
}

.so-single-event__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 1024px) {
    .so-single-event__grid {
        grid-template-columns: 1.8fr 1fr;
    }
}

.so-single-event__main {
    text-align: left;
}

.so-single-event__body {
    font-family: var(--gwwa-font-body);
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    text-align: left;
}

.so-single-event__body p { margin-bottom: 25px; }

.so-single-event__sticky-box {
    position: sticky;
    top: 120px;
}

.so-single-event__glass-panel {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.so-single-event__info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.so-single-event__info-label {
    font-family: var(--gwwa-font-body);
    font-size: 10px;
    font-weight: 800;
    color: var(--gwwa-gold);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.so-single-event__info-value {
    font-family: var(--gwwa-font-title);
    font-size: 22px;
    color: #FFF;
}

.so-single-event__actions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.so-single-event__btn-primary {
    display: block;
    background: var(--gwwa-gold);
    color: #000;
    text-align: center;
    padding: 20px;
    font-family: var(--gwwa-font-title);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.so-single-event__btn-primary:hover {
    background: #FFF;
    transform: translateY(-5px);
}

.so-single-event__btn-sold-out {
    display: block;
    background: #222;
    color: #555;
    text-align: center;
    padding: 20px;
    font-family: var(--gwwa-font-title);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #333;
}

.so-single-event__venue-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--gwwa-font-body);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.so-single-event__logo {
    height: 24px;
    filter: grayscale(1) brightness(2);
    opacity: 0.5;
}
