/* The Virtual World – portaal: donkere Netflix-achtige landingspagina met een held en rijen tegels */
:root { --bg: #0b0a14; --panel: #15132a; --text: #f1eefb; --muted: #a7a3c2; --accent: #ffb300; --accent2: #ff6f00; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; text-decoration: none; }

.top { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 18px; padding: 14px 28px; background: linear-gradient(#0b0a14f0, #0b0a1400); }
.brand { font-weight: 900; font-size: 20px; letter-spacing: .5px; display: flex; align-items: center; gap: 10px; }
.orb { width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe082, #ff8f00 60%, #6a1b9a); box-shadow: 0 0 14px #ffb30088; }
.langs { display: flex; gap: 4px; margin-left: auto; }
.langs button { background: #ffffff14; color: var(--muted); border: 1px solid #ffffff22; border-radius: 8px; padding: 5px 9px; font-weight: 700; font-size: 12px; cursor: pointer; }
.langs button.on { background: var(--accent); color: #1b1430; border-color: var(--accent); }
.account { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.account img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); vertical-align: middle; }
.account .who { color: var(--muted); }
.account .who b { color: var(--text); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 800; font-size: 16px; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.play { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #1b1430; box-shadow: 0 10px 30px #ff8f0055; }
.btn.play:hover { box-shadow: 0 14px 36px #ff8f0088; }
.btn.ghost { background: #ffffff18; border-color: #ffffff30; color: var(--text); padding: 9px 16px; font-size: 14px; }

/* held: hoogte begrensd zodat de afbeelding (675 px hoog) niet wordt opgeblazen en de eerste rij tegels op een vol scherm zichtbaar blijft */
.hero { position: relative; height: clamp(380px, 54vh, 600px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: var(--bg) url('/assets/tile-egghunt.jpg') left center / auto 100% no-repeat; transition: opacity .45s ease; }
.hero-inner { transition: opacity .35s ease; }
.hero.switching .hero-bg, .hero.switching .hero-inner { opacity: 0; }
.hero-dots { position: absolute; left: 48px; bottom: 14px; z-index: 2; display: flex; gap: 8px; }
.hero-dots b { width: 10px; height: 10px; border-radius: 50%; background: #ffffff55; cursor: pointer; transition: background .2s, transform .2s; }
.hero-dots b.on { background: var(--accent); transform: scale(1.2); }
/* de ingebakken tekst rechts in de afbeelding wordt weggevaagd; de kop staat rechts naast de draak */
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #0b0a1400 52%, var(--bg) 80%), linear-gradient(to top, var(--bg) 0%, #0b0a1400 22%); }
.hero-inner { position: relative; z-index: 1; margin-left: auto; padding: 80px 48px 30px; width: min(640px, 100%); animation: rise .8s ease-out; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }   /* geen opacity: in een gepauzeerd tabblad zou de tekst anders onzichtbaar blijven */
.kicker { color: var(--accent); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; }
h1 { font-size: clamp(36px, 5.5vw, 60px); margin: 6px 0 8px; line-height: 1; text-shadow: 0 6px 30px #000; }
h1 .sub { display: block; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: #ffe9a8; margin-top: 8px; }
.lead { font-size: 16px; line-height: 1.5; color: #e6e2f5; max-width: 560px; text-shadow: 0 2px 10px #000; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 14px; }
.meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

main { padding: 10px 48px 40px; }
.row { margin: 28px 0; }
.row h2 { font-size: 22px; margin: 0 0 14px; }
.muted { color: var(--muted); line-height: 1.6; max-width: 760px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.tile { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--panel); border: 1px solid #ffffff14; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile:not(.soon):hover { transform: scale(1.04); box-shadow: 0 18px 40px #000a, 0 0 0 2px var(--accent); border-color: var(--accent); z-index: 2; }
.tile .art { aspect-ratio: 16 / 9; background: #222; position: relative; }
.tile .art-egghunt { background: url('/assets/tile-egghunt.jpg') center / cover no-repeat; }
.tile:not(.soon):hover .art-egghunt { animation: zoom 6s ease-in-out infinite alternate; }
@keyframes zoom { to { background-size: 115%; } }
.info { padding: 12px 14px 14px; }
.name { font-weight: 800; font-size: 17px; }
.desc { color: var(--muted); font-size: 13px; margin: 3px 0 8px; }
.badge { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: #ffffff18; color: var(--muted); }
.badge.live { background: var(--accent); color: #1b1430; }
.tile.soon { opacity: .75; cursor: default; }
.tile .art-space { background: url('/assets/tile-space.jpg') center / cover no-repeat, radial-gradient(ellipse at 70% 30%, #3b2a6e, #0d0b22 60%, #05040c); overflow: hidden; }
.tile:not(.soon):hover .art-space { animation: zoom 6s ease-in-out infinite alternate; }
.tile .art-space .stars { display: none; }   /* sterren-fallback alleen zonder afbeelding */
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 70%, #fff, transparent), radial-gradient(1.2px 1.2px at 80% 20%, #ffe082, transparent), radial-gradient(1px 1px at 35% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 90% 60%, #b3e5fc, transparent), radial-gradient(1px 1px at 10% 65%, #fff, transparent), radial-gradient(1px 1px at 50% 15%, #fff, transparent), radial-gradient(1.2px 1.2px at 72% 85%, #fff, transparent); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .6; } to { opacity: 1; } }
.rocket { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-20deg); font-size: 64px; filter: drop-shadow(0 10px 20px #000); animation: hover 2.6s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translate(-50%, -50%) rotate(-20deg); } 50% { transform: translate(-50%, -60%) rotate(-20deg); } }
.tile .art-cards { background: url('/assets/tile-cards.jpg') center / cover no-repeat, linear-gradient(135deg, #3a2a6e, #140f24); }
.tile:not(.soon):hover .art-cards { animation: zoom 6s ease-in-out infinite alternate; }
.art-mystery { background: linear-gradient(135deg, #1d1a33, #0f0d1c); display: grid; place-items: center; }
.art-mystery .q { font-size: 72px; font-weight: 900; color: #ffffff22; }

footer { display: flex; gap: 18px; flex-wrap: wrap; padding: 24px 48px 40px; color: var(--muted); font-size: 13px; border-top: 1px solid #ffffff10; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .top { padding: 10px 14px; gap: 10px; }
  .brand { font-size: 16px; }
  .account .who { display: none; }
  .hero { height: auto; min-height: 72vh; align-items: flex-end; }
  .hero-bg { background-position: -6vw 9vh; background-size: auto 42vh; }
  .hero-bg::after { background: linear-gradient(to right, #0b0a1400 50vw, var(--bg) 84vw), linear-gradient(to top, var(--bg) 0%, var(--bg) 30%, #0b0a1400 56%); }
  .hero-inner { padding: 46vh 16px 24px; width: 100%; }
  .hero-dots { left: 16px; bottom: 8px; }
  .lead { font-size: 16px; }
  main { padding: 0 16px 30px; }
  footer { padding: 20px 16px 30px; }
}
