/* Oops!Pile Events page: the "boring slides vs live quiz" comparison and the demo notice. */

.events-demo { position: relative; z-index: 2; margin-top: -8px; }
.events-demo .callout { border-left-color: #6FD6F7; }

.events-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.events-vs-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.events-vs-col h3 { margin-bottom: .7em; }
.events-vs-col ul { margin: 0; }
.events-vs-col li:last-child { margin-bottom: 0; }
.events-vs-col.is-before { background: rgba(255, 255, 255, .02); color: var(--muted); }
.events-vs-col.is-before h3 { color: var(--muted); }
.events-vs-col.is-before ul { list-style: none; padding: 0; }
.events-vs-col.is-before li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.events-vs-col.is-before li::before { content: "×"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; font-weight: 900; color: var(--muted); background: rgba(255, 255, 255, .08); border-radius: 50%; }
.events-vs-col.is-after { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, var(--surface)), var(--surface)); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
@media (max-width: 760px) { .events-vs { grid-template-columns: 1fr; } }

.events-for { margin-top: clamp(40px, 6vw, 64px); }
.events-for h3 { margin-bottom: 16px; }

.cta-band .badge { margin-bottom: 16px; }

/* Party stage behind the hero; the art is portrait, so it is anchored on the stage and screen. */
.events-hero::before { background-image: url(../img/oopspile-events-bg.jpg); background-position: center 62%; filter: saturate(115%); opacity: .55; transform: none; inset: 0; }
.events-hero::after { background: linear-gradient(90deg, rgba(11, 18, 34, .92) 0%, rgba(11, 18, 34, .6) 55%, rgba(11, 18, 34, .25) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
.events-hero .game-hero-art img { border-radius: 0; box-shadow: none; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); animation: events-bob 5s ease-in-out infinite; }
@keyframes events-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@media (max-width: 860px) { .events-hero::after { background: linear-gradient(180deg, rgba(11, 18, 34, .55), rgba(11, 18, 34, .85) 60%, var(--bg)); } .events-hero .game-hero-art img { max-width: 320px; } }

.events-vs-col { position: relative; overflow: hidden; }
.events-vs-art { width: 150px; height: auto; float: right; margin: -8px -8px 8px 12px; filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); }
.events-vs-col.is-before .events-vs-art { filter: grayscale(.6) drop-shadow(0 10px 20px rgba(0, 0, 0, .5)); opacity: .8; }
@media (max-width: 480px) { .events-vs-art { width: 110px; } }
