/* VARIABLES & RESET*/
:root {
    --primary:   #0b0000;
    --red-glow:  #8b0000;
    --blue-glow: #3445b8;
    --bg:        #050505;
    --text:      #eaeaea;

    --card-bg:       linear-gradient(160deg, #0a0a0a, #120000);
    --card-border:   rgba(139, 0, 0, 0.25);
    --card-shadow:   0 0 25px rgba(52, 69, 184, 0.15);
    --card-radius:   16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 0, 0, 0.8) #050505;
}

html { scroll-behavior: smooth; }

/* Main Title */
h1 {
    font-family: "Anton", sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 0.9;
    font-weight: 400;
}

/* Section Titles */
h2 {
    font-family: "Anton", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
    font-weight: 400;
}

/* Card Titles */
h3 {
    font-family: "Anton", sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* Small Titles */
h4 {
    font-family: "Anton", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1rem;
    font-weight: 400;
}

/* Body Text */
body {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    letter-spacing: .03em;
}

/* BODY & BACKGROUND*/
body {
    background: radial-gradient(circle at top, #0f0000 0%, #000000 70%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}


/* SIDE GLOW LIGHTS*/
.side-glow {
    position: fixed;
    top: -20%;
    width: 40%;
    height: 140vh;
    pointer-events: none;
    z-index: -1;
    filter: blur(110px);
    mix-blend-mode: screen;
}

.side-glow.left {
    left: -25%;
    background:
            linear-gradient(to right, rgba(255,0,60,.45), rgba(180,0,0,.3), transparent 50%),
            radial-gradient(circle at 20% 30%, rgba(255,0,0,.85) 0%, rgba(255,0,0,.35) 30%, transparent 45%),
            radial-gradient(circle at 30% 80%, rgba(255,30,30,.55) 0%, transparent 40%);
    animation: redAmbient 10s ease-in-out infinite alternate;
}

.side-glow.right {
    right: -25%;
    background:
            linear-gradient(to left, rgba(70,90,255,.4), rgba(52,69,184,.25), transparent 50%),
            radial-gradient(circle at 80% 40%, rgba(80,110,255,.9) 0%, rgba(52,69,184,.35) 30%, transparent 45%),
            radial-gradient(circle at 70% 75%, rgba(100,120,255,.45) 0%, transparent 40%);
    animation: blueAmbient 14s ease-in-out infinite alternate;
}

@keyframes redAmbient {
    0%   { transform: translate(-20px,  20px) scale(1)    rotate(0deg);  }
    25%  { transform: translate( 40px, -30px) scale(1.08) rotate(2deg);  }
    50%  { transform: translate( 10px, -80px) scale(1.15) rotate(-2deg); }
    75%  { transform: translate(-30px, -40px) scale(1.1)  rotate(1deg);  }
    100% { transform: translate(-10px,  30px) scale(1.05) rotate(0deg);  }
}

@keyframes blueAmbient {
    0%   { transform: translate( 20px, -20px) scale(1)    rotate(0deg);  }
    25%  { transform: translate(-50px,  30px) scale(1.1)  rotate(-2deg); }
    50%  { transform: translate(-20px,  80px) scale(1.18) rotate(2deg);  }
    75%  { transform: translate( 30px,  40px) scale(1.08) rotate(-1deg); }
    100% { transform: translate( 10px, -30px) scale(1.05) rotate(0deg);  }
}


/* HEADER*/
header {
    background: linear-gradient(145deg, #0a0000, #120000);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--blue-glow), 0 0 25px var(--red-glow);
    animation: flicker 3s infinite alternate;
}

header p {
    font-size: 1.2rem;
    opacity: 0.7;
}

@keyframes flicker {
    0%   { opacity: 0.9; }
    50%  { opacity: 0.6; }
    100% { opacity: 1;   }
}

/* LANGUAGE SWITCHER */

.language-switcher {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 1000;

    display: flex;
    gap: 8px;

    padding: 6px;
    border-radius: 999px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    box-shadow:
            0 0 15px rgba(52,69,184,0.12),
            0 0 20px rgba(139,0,0,0.08);
}

/* buttons */
.lang-btn {
    border: none;
    outline: none;

    padding: 8px 14px;
    border-radius: 999px;

    background: transparent;
    color: rgba(255,255,255,0.75);

    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
            background 0.25s ease,
            color 0.25s ease,
            transform 0.25s ease;
}

/* hover */
.lang-btn:hover {
    color: white;
    background: rgba(255,255,255,0.06);
}

/* active language */
.lang-btn.active {
    background: var(--red-glow);

    color: white;

    box-shadow:
            0 0 10px rgba(139,0,0,0.35),
            0 0 10px rgba(52,69,184,0.25);
}

/* mobile */
@media (max-width: 768px) {
    .language-switcher {
        top: 16px;
        right: 16px;

        padding: 5px;
        gap: 6px;
    }

    .lang-btn {
        padding: 7px 12px;
        font-size: 0.78rem;
    }
}

/* ANNOUNCEMENT BAR*/
.announcement-bar {
    width: 100%;
    overflow: hidden;
    background: var(--red-glow);
    color: white;
    padding: 10px 0;
}

.announcement-track {
    display: inline-block;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 2px;
    animation: scrollText 12s linear infinite;
}

@keyframes scrollText {
    from { transform: translateX(100%);  }
    to   { transform: translateX(-100%); }
}


/* SECTIONS*/
section {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
}

section:nth-child(even) { animation-delay: 0.3s; }

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

h2 {
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--red-glow);
}

p { opacity: 0.9; }


/* SHARED CARD STYLES
   (hero-card, venue-card, tickets-card all share this base)*/
.panel-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
    border-radius: var(--card-radius);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

/* Panels stack on mobile */
@media (max-width: 768px) {
    .panel-card { flex-direction: column; padding: 20px; }
}

/* Shared panel sides */
.panel-left  { flex: 1; }
.panel-right { flex: 1; }

/* tickets-main gets extra weight */
.tickets-main { flex: 2; }


/* CTA BUTTON*/
.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: linear-gradient(90deg, var(--red-glow), var(--blue-glow));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 15px rgb(52, 69, 184);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(139, 0, 0, 0.9);
}


/* HERO QUICK-INFO SECTION*/
.quick-info { max-width: 900px; margin: auto; }

.hero-left h2  { margin-bottom: 10px; }
.sub           { opacity: 0.7; margin-bottom: 20px; }

.hero-highlight {
    margin-top: 20px;
    padding: 15px;
    border-left: 3px solid var(--red-glow);
    background: rgba(0, 0, 0, 0.2);
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mini-grid div {
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Clickable location block */
.hero-location-link,
.hero-location-link:link,
.hero-location-link:visited,
.hero-location-link:active {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero-location {
    padding: 12px;
    border-radius: 10px;
    background: rgba(52, 69, 184, 0.08);
    border: 1px solid rgba(52, 69, 184, 0.2);
    transition: 0.25s ease;
    cursor: pointer;
}

.hero-location:hover {
    transform: translateY(-2px);
    background: rgba(52, 69, 184, 0.14);
    border-color: rgba(52, 69, 184, 0.35);
    box-shadow: 0 0 15px rgba(52, 69, 184, 0.25);
}


/* ARTIST LINEUP CARDS*/
.lineup {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    align-items: start;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    max-width: 400px;
    cursor: pointer;
}

.card:hover { transform: translateY(-10px) scale(1.03); }

.card > img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    filter: brightness(0.8) contrast(1.2);
}

/* Expand / collapse */
.expand {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

.card.active .expand {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
    cursor: auto;
}

/* Arrow indicator */
.arrow {
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.arrow > img    { width: 20%; height: 10%; }
.card:hover .arrow  { opacity: 1; transform: translateY(2px); }
.card.active .arrow { transform: rotate(180deg); opacity: 1; }

/* Instagram badge */
.ig-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
    transition: 0.3s;
}

.ig-badge::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--red-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.ig-badge:hover          { opacity: 1; transform: scale(1.05); }
.ig-badge:hover::after   { transform: scaleX(1); }
.ig-badge img            { width: 18px; height: 18px; }

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.tags span {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(139, 0, 0, 0.25);
    border: 1px solid rgba(139, 0, 0, 0.4);
    color: var(--text);
    letter-spacing: 0.5px;
}

/* Divider */
.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.8), transparent);
    margin: 10px 0;
}

iframe { margin-top: 10px; }


/* VENUE / LOCATION SECTION*/
.venue-left h3   { font-size: 1.3rem; margin-bottom: 8px; }
.venue-sub       { opacity: 0.7; margin-bottom: 10px; }

.venue-links {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.venue-links a {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.85;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}

.venue-links a:hover {
    opacity: 1;
    border-bottom-color: var(--red-glow);
}

.venue-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Map */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(139,0,0,.6), 0 0 60px rgba(139,0,0,.3);
    margin-top: 15px;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    filter: grayscale(1) invert(0.9) contrast(1.3) brightness(0.85);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .map-container iframe { height: 250px; min-height: unset; }
}


/* INFO CARDS (reusable small tiles)*/
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 20px;
    max-width: 900px;
    margin-inline: auto;
}

.info-card {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(139, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(52, 69, 184, 0.15);
}

.info-card h3, .info-card h4 { margin-bottom: 8px; color: #fff; }
.info-card h3                 { font-size: 1rem; }
.info-card h4                 { font-size: 0.9rem; }
.info-card p                  { font-size: 0.9rem; opacity: 0.85; line-height: 1.4; }


/* TICKETS SECTION*/
.tickets-main h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price           { font-size: 1.4rem; margin-bottom: 10px; }
.note            { opacity: 0.75; margin-bottom: 20px; }

.tickets-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-info {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-info h4 { font-size: 0.9rem; margin-bottom: 5px; opacity: 0.9; }
.ticket-info p  { font-size: 0.85rem; opacity: 0.75; }


/* POPUP*/
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.5s ease;
}

.popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #0a0000;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 40px rgb(52, 69, 184), 0 0 40px rgba(139, 0, 0, 0.4);
    animation: scaleIn 0.5s ease;
}

.popup-content img {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    filter: contrast(1.2) brightness(0.9);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #aaa;
}

.close:hover { color: white; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}


/* FLOATING BUTTON*/
.floating-artists-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    padding: 14px 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--red-glow), var(--blue-glow));
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 0 15px rgba(52,69,184,.4), 0 0 25px rgba(139,0,0,.25);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    animation: floatPulse 2.5s ease-in-out infinite;
}

.floating-artists-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(52,69,184,.6), 0 0 35px rgba(139,0,0,.4);
    filter: brightness(1.2);
}

@keyframes floatPulse {
    0%   { transform: translateY(0)   scale(1);    }
    50%  { transform: translateY(-6px) scale(1.02); }
    100% { transform: translateY(0)   scale(1);    }
}


/* FOOTER*/
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    opacity: 0.5;
}


/* CUSTOM SCROLLBAR*/
::-webkit-scrollbar       { width: 10px; }
::-webkit-scrollbar-track { background: #050505; box-shadow: inset 0 0 10px rgba(0,0,0,.8); }

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(139,0,0,.9), rgba(52,69,184,.9));
    border-radius: 10px;
    border: 2px solid #050505;
    box-shadow: 0 0 10px rgba(139,0,0,.6), 0 0 10px rgba(52,69,184,.6);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(255,0,60,1), rgba(80,110,255,1));
    box-shadow: 0 0 15px rgba(255,0,60,.8), 0 0 15px rgba(80,110,255,.8);
}


/* Hidden on Poster */
.hidden-on-poster {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

/* Hidden on desktop */
.read-more-btn { display: none; }

@media (max-width: 768px) {

    .about-text p {
        max-height: 4.8em; /* ~3 lines at 1.6 line-height */
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .about-text.expanded p {
        max-height: 20em;
    }

    .read-more-btn {
        display: inline-block;
        margin-top: 12px;
        font-size: 0.85rem;
        color: var(--red-glow);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        opacity: 1;
        letter-spacing: 0.5px;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}


/* MOBILE OVERRIDES */
@media (max-width: 768px) {

    /*  Base  */
    body    { line-height: 1.6; }
    section { padding: 30px 20px; }

    h2 { font-size: 1.3rem; }
    p  { font-size: 0.95rem; }

    /*  Header: less padding, smaller title, more air  */
    header {
        padding: 60px 24px 50px;
    }

    header h1 {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    header p {
        font-size: 0.95rem;
        margin-top: 6px;
    }

    .cta-button {
        margin-top: 20px;
        padding: 13px 26px;
        font-size: 0.95rem;
    }

    /*  Quick info: strip decorative copy, only show data  */
    .hero-left .sub        { display: none; }
    .hero-highlight        { display: none; }
    .hero-left h2          { font-size: 1.1rem; margin-bottom: 14px; }

    .mini-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mini-grid div {
        padding: 10px 12px;
    }

    .mini-grid h4 { font-size: 0.75rem; opacity: 0.6; margin-bottom: 2px; }
    .mini-grid p  { font-size: 0.95rem; font-weight: bold; }

    .hero-location { font-size: 0.9rem; }

    /*  Artist cards: full width, smaller image  */
    .lineup           { grid-template-columns: 1fr; gap: 12px; }
    .card             { max-width: 100%; padding: 16px; }
    .card > img       { height: 500px; object-fit: cover; }
    .expand           { font-size: 0.9rem; }
    iframe            { height: 130px; }

    /*  Venue: map comes first, info grid compact row  */
    .venue-card { flex-direction: column-reverse; gap: 20px; padding: 20px; }

    .map-container { margin-top: 0; }
    .map-container iframe { height: 220px; min-height: unset; }

    .venue-left h3  { font-size: 1.1rem; }

    .venue-info-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .venue-info-grid .info-card {
        width: 100%;
        padding: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .venue-info-grid .info-card h4 {
        font-size: 0.75rem;
        opacity: 0.6;
        margin: 0;
    }

    .venue-info-grid .info-card p {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.3;
        text-align: right;
    }

    /*  Tickets: hide side info, focus on price + CTA  */
    /* Tickets mobile layout */
    .tickets-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }
    .tickets-main h3 {
        font-size: 1.15rem;
    }
    .price {
        font-size: 1.3rem;
    }
    .note {
        font-size: 0.85rem;
        opacity: 0.65;
        margin-bottom: 16px;
    }

    /* Keep extra ticket info visible */
    .tickets-side {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .ticket-info {
        padding: 14px;
        background: rgba(255,255,255,0.03);
        border-radius: 12px;
        border: 1px solid rgba(255,255,255,0.08);

        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    .ticket-info h4 {
        font-size: 0.75rem;
        opacity: 0.6;
        margin: 0;
    }
    .ticket-info p {
        font-size: 0.85rem;
        text-align: right;
        margin: 0;
        line-height: 1.3;
    }
    .cta-button {
        width: 100%;
        text-align: center;
        display: block;
    }

    /*  Practical info: horizontal scroll pills  */
    .info-grid {
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
        gap: 10px;
        padding-bottom: 0;
    }

    .info-grid .info-card {
        width: 100%;
        min-width: unset;
        text-align: left;
    }

    /*  Venue links: row, not column  */
    .venue-links { flex-direction: row; gap: 12px; flex-wrap: wrap; }

    /*  Floating button: hidden on mobile (nav is inline)  */
    .floating-artists-btn { display: none; }
}