/* Steel Rave Ostrava — shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #0a0909;
    --bg-card: rgba(22, 19, 19, 0.72);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.62);
    --text-muted: rgba(255, 255, 255, 0.42);
    --steel: #c8ccd0;
    --red: #e01e2b;
    --red-glow: rgba(224, 30, 43, 0.3);
    --blue: #3d8bff;
    --border: rgba(255, 255, 255, 0.08);
    --maxw: 1180px;
}

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--steel); border-radius: 4px; }
* { scrollbar-width: thin; scrollbar-color: var(--steel) var(--bg-dark); }
::selection { background: var(--red); color: #fff; }

body {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    /* Static painted background — no fixed layer, no scroll repaint (fixes jank) */
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 15% -5%, rgba(224, 30, 43, 0.16), transparent 60%),
        radial-gradient(ellipse 70% 45% at 90% 8%, rgba(61, 139, 255, 0.10), transparent 60%),
        radial-gradient(ellipse 90% 60% at 50% 110%, rgba(224, 30, 43, 0.10), transparent 55%),
        linear-gradient(180deg, #0d0b0b 0%, #0a0909 55%, #070606 100%);
    background-attachment: scroll;
}

/* Faint steel-grain texture, painted once, no animation */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        repeating-linear-gradient(115deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 5px),
        radial-gradient(1px 1px at 20% 30%, rgba(224,30,43,0.55), transparent),
        radial-gradient(1px 1px at 70% 65%, rgba(255,140,70,0.4), transparent),
        radial-gradient(1px 1px at 45% 80%, rgba(224,30,43,0.35), transparent),
        radial-gradient(1px 1px at 88% 22%, rgba(255,160,80,0.4), transparent);
}

.page-wrapper { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

a { color: inherit; }

/* ---- Metallic "STEEL RAVE" wordmark ---- */
.steel-word {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(180deg,
        #f6f8fa 0%, #cfd4d8 18%, #9aa1a7 40%,
        #eef1f3 52%, #7d848a 68%, #b9c0c6 85%, #6f767c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 1px 0 rgba(255,255,255,0.12);
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.55)) drop-shadow(0 0 22px rgba(224,30,43,0.18));
}
.steel-word .rave { position: relative; }

/* ---- Top nav ---- */
.nav {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    background: rgba(10, 9, 9, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 30px; width: auto; }
.nav-brand .steel-word { font-size: 1.15rem; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color .25s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
    padding: 8px 16px; border-radius: 8px; background: var(--red); color: #fff !important;
    font-weight: 600; font-size: 0.85rem; text-decoration: none; transition: background .25s;
}
.nav-cta:hover { background: #ff2f3c; }
.nav-lang { border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 6px 12px !important; font-weight: 600; letter-spacing: 0.05em; }
.nav-lang:hover { border-color: rgba(255,255,255,0.45); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
    text-decoration: none; cursor: pointer; border: none; font-family: inherit;
    transition: transform .2s, background .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff2f3c; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

/* ---- Footer ---- */
.footer {
    position: relative; z-index: 1; margin-top: auto;
    padding: 44px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(8, 7, 7, 0.6);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer-brand-logo { height: 34px; width: auto; opacity: 0.75; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: color .25s; }
.footer-nav a:hover { color: #fff; }
.footer-partner-logo { height: 26px; width: auto; opacity: 0.45; transition: opacity .3s; }
.footer-partner-logo:hover { opacity: 0.85; }
.footer-right { font-size: 0.75rem; color: var(--text-muted); }

/* ---- Cookie ---- */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(9,9,9,0.98); backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 20px; z-index: 1000; display: none; }
.cookie-banner.show { display: block; }
.cookie-content { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cookie-content p { color: var(--text-secondary); font-size: 0.88rem; flex: 1; min-width: 280px; }
.cookie-buttons { display: flex; gap: 10px; }
.cookie-btn { padding: 9px 22px; border: none; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .25s; }
.cookie-accept { background: var(--red); color: #fff; }
.cookie-accept:hover { background: #ff2f3c; }
.cookie-decline { background: transparent; color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.2); }
.cookie-decline:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ---- Event hero (detail pages) ---- */
.ev-hero { border-bottom: 1px solid var(--border); }
.ev-hero-inner {
    max-width: var(--maxw); margin: 0 auto; padding: 46px 24px 40px;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
}
.ev-hero-media { position: relative; }
.ev-hero-media img {
    width: 100%; height: auto; display: block; border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.ev-hero-text .breadcrumb { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.ev-hero-text .breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.ev-kicker { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.ev-hero-text h1 {
    font-family: 'Oswald', sans-serif; font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.03;
    text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 14px;
}
.ev-hero-text h1.headliner { font-size: clamp(2.6rem, 7.5vw, 5.2rem); line-height: 0.95; margin-bottom: 6px; }
.ev-support { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); font-size: clamp(0.9rem, 2vw, 1.15rem); }
.ev-support .plus { color: var(--red); }
.ev-facts { list-style: none; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.ev-facts li { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.98rem; }
.ev-facts svg { width: 18px; height: 18px; opacity: 0.6; flex-shrink: 0; }
.ev-facts strong { color: #fff; font-weight: 600; }
@media (max-width: 860px) {
    .ev-hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px 30px; }
    .ev-hero-media { order: -1; }
}

/* ---- Map embed ---- */
.map-embed { position: relative; width: 100%; aspect-ratio: 16/7; margin: 18px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg); }
@media (max-width: 620px) { .map-embed { aspect-ratio: 4/3; } }

/* ---- Video link card (label videos often block embedding) ---- */
.video-link { display: flex; align-items: center; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; text-decoration: none; color: #fff; transition: border-color .25s, transform .25s; margin: 18px 0; }
.video-link:hover { border-color: rgba(224,30,43,0.55); transform: translateY(-3px); }
.video-link .play { width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.video-link .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-link .vl-text strong { display: block; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.05rem; }
.video-link .vl-text span { color: var(--text-secondary); font-size: 0.85rem; }

/* ---- Media embeds (YouTube / Spotify) ---- */
.embed-yt { position: relative; aspect-ratio: 16/9; margin: 18px 0; }
.embed-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 14px; }
.media-embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0; }
.media-embeds iframe { width: 100%; border: 0; border-radius: 14px; }
.embed-full iframe { width: 100%; border: 0; border-radius: 14px; margin: 18px 0; }
@media (max-width: 760px) { .media-embeds { grid-template-columns: 1fr; } }

/* ---- Reusable content blocks ---- */
.tldr {
    background: rgba(224,30,43,0.08);
    border: 1px solid rgba(224,30,43,0.28);
    border-left: 3px solid var(--red);
    border-radius: 12px; padding: 20px 24px; margin: 26px 0;
}
.tldr strong { color: #fff; }
.tldr p { color: rgba(255,255,255,0.82); margin: 0; }

.info-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.95rem; }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.info-table th { color: var(--text-muted); font-weight: 500; width: 34%; white-space: nowrap; }
.info-table td { color: #fff; }

.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.faq-item p { color: var(--text-secondary); margin: 0; }

.meta-line { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
}
