/* ============================================
   Church Event Marketing — Unique layout
   Instrument Sans + Playfair Display | Amber accent | Vignette bg
   evm-* classes only | Burger 991px
   ============================================ */

:root {
    --evm-amber: #f59e0b;
    --evm-amber-light: #fbbf24;
    --evm-amber-dark: #d97706;
    --evm-white: #ffffff;
    --evm-bg: #0f172a;
    --evm-bg-card: #1e293b;
    --evm-surface: rgba(30, 41, 59, 0.95);
    --evm-border: rgba(255, 255, 255, 0.1);
    --evm-text: #f1f5f9;
    --evm-muted: #ffffff;
    --evm-font: 'Instrument Sans', system-ui, sans-serif;
    --evm-font-display: 'Playfair Display', serif;
    --evm-round: 16px;
    --evm-round-lg: 24px;
    --evm-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --evm-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--evm-font);
    background: var(--evm-bg);
    color: var(--evm-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.evm-menu-open { overflow: hidden; }

/* ========== Stage (background) — image + vignette, no stripes ========== */
.evm-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.evm-stage__img {
    position: absolute;
    inset: 0;
    background: var(--evm-bg);
    background-image: url("../images/bg-sports.jpg");
    background-size: cover;
    background-position: center;
}

.evm-stage__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.92) 100%);
}

.evm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--evm-font);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--evm-round);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.evm-btn:hover { transform: scale(1.03); }
.evm-btn--solid {
    background: var(--evm-amber);
    color: #1e293b;
}
.evm-btn--solid:hover {
    background: var(--evm-amber-light);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}
.evm-btn--line {
    background: transparent;
    color: var(--evm-text);
    border: 2px solid var(--evm-border);
}

/* ========== Fullscreen (game) ========== */
.evm-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    height: 100vh;
    height: 100dvh;
}
.evm-fullscreen.is-open { opacity: 1; visibility: visible; }

.evm-fullscreen__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--evm-bg-card);
    border-bottom: 2px solid var(--evm-amber);
    flex-shrink: 0;
}
.evm-fullscreen__name { font-family: var(--evm-font-display); font-weight: 600; color: var(--evm-white); font-size: 1.1rem; }
.evm-fullscreen__close {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
    line-height: 1;
    background: transparent;
    border: none;
    color: var(--evm-text);
    cursor: pointer;
    border-radius: var(--evm-round);
    transition: background 0.2s;
}
.evm-fullscreen__close:hover { background: rgba(255,255,255,0.08); }

.evm-fullscreen__body {
    flex: 1;
    min-height: 0;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.evm-fullscreen__wrap { width: 100%; height: 100%; position: relative; }
.evm-fullscreen__body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--evm-round);
    background: #000;
}

/* ========== Cookie banner ========== */
.evm-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 28px;
    background: var(--evm-bg-card);
    border-top: 2px solid var(--evm-amber);
    transform: translateY(100%);
    transition: transform 0.35s var(--evm-ease);
}
.evm-banner.is-visible { transform: translateY(0); }
.evm-banner__p { font-size: 0.9rem; color: var(--evm-muted); }
.evm-banner__p a { color: var(--evm-amber-light); text-decoration: underline; }
.evm-banner__accept { flex-shrink: 0; }

/* ========== Bar (header) — no top stripe, rounded container ========== */
.evm-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--evm-border);
}

.evm-bar__in {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.evm-bar__logo {
    font-family: var(--evm-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--evm-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.evm-bar__list {
    display: flex;
    list-style: none;
    gap: 32px;
}
.evm-bar__a {
    color: var(--evm-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.evm-bar__a:hover { color: var(--evm-amber-light); }

.evm-bar__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    color: var(--evm-text);
    cursor: pointer;
    padding: 8px;
}
.evm-bar__toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}
.evm-bar__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.evm-bar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.evm-bar__toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.evm-bar__drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--evm-border);
    flex-direction: column;
    gap: 12px;
}
.evm-bar__drawer.is-open { display: flex; }
.evm-bar__drawer a {
    color: var(--evm-text);
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--evm-border);
}
.evm-bar__drawer a:last-child { border-bottom: none; }

@media (max-width: 991px) {
    .evm-bar__nav { display: none; }
    .evm-bar__toggle { display: flex; }
}

/* ========== Splash (hero) — split 50/50 ========== */
.evm-splash {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 60px 24px 80px;
    position: relative;
    z-index: 1;
}

.evm-splash__grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 900px) {
    .evm-splash__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.evm-splash__label {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--evm-amber);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--evm-amber-light);
    margin-bottom: 1.5rem;
}

.evm-splash__h1 {
    font-family: var(--evm-font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--evm-white);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.evm-splash__lead {
    font-size: 1.1rem;
    color: var(--evm-muted);
    margin-bottom: 2rem;
    max-width: 420px;
}

.evm-splash__cta { align-self: flex-start; }

.evm-splash__right {
    display: none;
    position: relative;
}
@media (min-width: 900px) {
    .evm-splash__right { display: block; }
}
.evm-splash__visual {
    aspect-ratio: 4/3;
    border-radius: var(--evm-round-lg);
    background: var(--evm-bg) url("../images/hero-esports.jpg") center / cover no-repeat;
    border: 1px solid var(--evm-border);
    box-shadow: var(--evm-shadow);
}

/* ========== Deck (games) ========== */
.evm-deck {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.evm-deck__top { text-align: center; margin-bottom: 40px; }
.evm-deck__title {
    font-family: var(--evm-font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 0.5rem;
}
.evm-deck__sub { color: var(--evm-muted); font-size: 1rem; }

.evm-deck__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 640px) { .evm-deck__row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .evm-deck__row { grid-template-columns: repeat(3, 1fr); } }

.evm-deck__card {
    background: var(--evm-surface);
    border: 1px solid var(--evm-border);
    border-radius: var(--evm-round-lg);
    overflow: hidden;
    box-shadow: var(--evm-shadow);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.evm-deck__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    border-color: rgba(245, 158, 11, 0.3);
}

.evm-deck__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--evm-bg);
}
.evm-deck__thumb img { width: 100%; height: 100%; object-fit: cover; }

.evm-deck__meta { padding: 22px; }
.evm-deck__name {
    font-family: var(--evm-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 6px;
}
.evm-deck__desc { font-size: 0.9rem; color: var(--evm-muted); margin-bottom: 16px; }

.evm-deck__play {
    width: 100%;
    padding: 14px;
    background: var(--evm-amber);
    color: #1e293b;
    border: none;
    border-radius: var(--evm-round);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.evm-deck__play:hover {
    background: var(--evm-amber-light);
    transform: scale(1.02);
}

.evm-deck__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--evm-muted);
    margin-top: 28px;
}

/* ========== Pick (featured) — image right ========== */
.evm-pick {
    position: relative;
    z-index: 1;
    padding: 56px 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.evm-pick__in {
    display: grid;
    gap: 32px;
    align-items: center;
    background: var(--evm-surface);
    border: 1px solid var(--evm-border);
    border-radius: var(--evm-round-lg);
    padding: 40px;
    box-shadow: var(--evm-shadow);
}
@media (min-width: 768px) {
    .evm-pick__in { grid-template-columns: 1.5fr 1fr; }
}
.evm-pick__copy { order: 1; }
.evm-pick__art { order: 2; text-align: center; }
.evm-pick__art img { max-width: 220px; height: auto; border-radius: var(--evm-round); }

.evm-pick__title {
    font-family: var(--evm-font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 1rem;
}
.evm-pick__text {
    color: var(--evm-muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}
.evm-pick__btn { margin-top: 0; }

/* ========== Why ========== */
.evm-why {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
    max-width: 1140px;
    margin: 0 auto;
}

.evm-why__top { text-align: center; margin-bottom: 40px; }
.evm-why__title {
    font-family: var(--evm-font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 0.5rem;
}
.evm-why__sub { color: var(--evm-muted); font-size: 1rem; }

.evm-why__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 768px) { .evm-why__grid { grid-template-columns: repeat(3, 1fr); } }

.evm-why__tile {
    background: var(--evm-surface);
    border: 1px solid var(--evm-border);
    border-radius: var(--evm-round-lg);
    overflow: hidden;
    box-shadow: var(--evm-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.evm-why__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.evm-why__imgbox {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--evm-bg);
}
.evm-why__img { width: 100%; height: 100%; object-fit: cover; }
.evm-why__head {
    font-family: var(--evm-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--evm-white);
    margin: 1.25rem 1.25rem 0.5rem;
}
.evm-why__p {
    font-size: 0.9rem;
    color: var(--evm-muted);
    padding: 0 1.25rem 1.25rem;
    line-height: 1.55;
}

/* ========== About — no bg image ========== */
.evm-about {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
}

.evm-about__in {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.evm-about__title {
    font-family: var(--evm-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 1.25rem;
}
.evm-about__text {
    font-size: 1.05rem;
    color: var(--evm-muted);
    line-height: 1.75;
}

/* ========== Reviews ========== */
.evm-reviews {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
    background: rgba(30, 41, 59, 0.4);
    border-top: 1px solid var(--evm-border);
    border-bottom: 1px solid var(--evm-border);
}

.evm-reviews__in { max-width: 1140px; margin: 0 auto; }
.evm-reviews__title {
    font-family: var(--evm-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--evm-white);
    text-align: center;
    margin-bottom: 40px;
}

.evm-reviews__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 768px) { .evm-reviews__row { grid-template-columns: repeat(3, 1fr); } }

.evm-reviews__card {
    background: var(--evm-surface);
    border: 1px solid var(--evm-border);
    border-radius: var(--evm-round-lg);
    padding: 28px;
    margin: 0;
    box-shadow: var(--evm-shadow);
}
.evm-reviews__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--evm-amber);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.evm-reviews__name {
    font-family: var(--evm-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--evm-white);
    font-style: normal;
    display: block;
    margin-bottom: 4px;
}
.evm-reviews__stars { color: #fbbf24; font-size: 0.9rem; margin-bottom: 12px; }
.evm-reviews__quote {
    font-size: 0.9rem;
    color: var(--evm-muted);
    line-height: 1.6;
}

/* ========== Touch (contact) ========== */
.evm-touch {
    position: relative;
    z-index: 1;
    padding: 72px 24px;
}

.evm-touch__in {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.evm-touch__title {
    font-family: var(--evm-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 1rem;
}
.evm-touch__mail {
    font-size: 1.15rem;
    color: var(--evm-amber-light);
    margin-bottom: 0.5rem;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}
.evm-touch__note { font-size: 0.95rem; color: var(--evm-muted); }

@media (max-width: 480px) {
    .evm-touch__in { padding: 0 8px; }
    .evm-touch__mail { font-size: 1rem; }
}

/* ========== Notice ========== */
.evm-notice {
    position: relative;
    z-index: 1;
    padding: 32px 24px 48px;
}

.evm-notice__in {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px;
    background: var(--evm-surface);
    border: 1px solid var(--evm-border);
    border-radius: var(--evm-round-lg);
}
.evm-notice__ico {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--evm-amber);
    flex-shrink: 0;
}
.evm-notice__p { font-size: 0.95rem; color: var(--evm-muted); line-height: 1.5; }

@media (max-width: 560px) {
    .evm-notice__in { flex-direction: column; text-align: center; }
}

/* ========== Legal (footer) ========== */
.evm-legal {
    position: relative;
    z-index: 1;
    padding: 0;
    border-top: 2px solid var(--evm-amber);
}

.evm-legal__in {
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 24px 28px;
}

.evm-legal__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
@media (min-width: 640px) { .evm-legal__row { grid-template-columns: 1.5fr 1fr; } }
@media (min-width: 900px) { .evm-legal__row { grid-template-columns: 1.2fr 1fr auto; } }

.evm-legal__logo {
    font-family: var(--evm-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--evm-white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.evm-legal__tagline { font-size: 0.9rem; color: var(--evm-muted); line-height: 1.5; }

.evm-legal__label {
    display: block;
    font-weight: 600;
    color: var(--evm-text);
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.evm-legal__nav a {
    display: block;
    color: var(--evm-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
}
.evm-legal__nav a:hover { color: var(--evm-amber-light); }

.evm-legal__badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.evm-legal__badge {
    display: inline-block;
    transition: transform 0.2s;
}
.evm-legal__badge:hover { transform: scale(1.03); }
.evm-legal__badge img {
    display: block;
    width: 120px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
    filter: brightness(0.9);
}
.evm-legal__badge:hover img { filter: brightness(1); }

.evm-legal__disclaimer {
    padding: 24px 0;
    border-top: 1px solid var(--evm-border);
    margin-bottom: 24px;
}
.evm-legal__disclaimer p {
    font-size: 0.8rem;
    color: var(--evm-muted);
    line-height: 1.5;
}

.evm-legal__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--evm-border);
}
.evm-legal__copy, .evm-legal__age { font-size: 0.85rem; color: var(--evm-muted); }

/* ========== Policy pages ========== */
.evm-page {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}
.evm-page__title {
    font-family: var(--evm-font-display);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--evm-white);
    margin-bottom: 1.5rem;
}
.evm-page__content {
    color: var(--evm-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}
.evm-page__content h2 {
    font-family: var(--evm-font);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--evm-text);
    margin: 1.75rem 0 0.6rem;
}
.evm-page__content p { margin-bottom: 1rem; }
.evm-page__content ul { margin: 0 0 1rem 1.25rem; }
.evm-page__content li { margin-bottom: 0.5rem; }
.evm-page__content a { color: var(--evm-amber-light); text-decoration: underline; }
