:root {
  --bg: #ffffff;
  --card: #f5f5f5;
  --muted: #555555;
  --accent: #ff4d6d;
  --radius: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg) url('https://img.freepik.com/vetores-gratis/fundo-de-palco-de-cinema-com-pipoca-e-cadeiras-de-claquete_1017-38722.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100vh;
  overflow-y: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.title-wrap { display: flex; align-items: center; justify-content: center; }

h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.2;
  text-align: center;
  color: #fff;
  font-weight: 900;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
  display: inline-block;
}

.wave span {
  display: inline-block;
  animation: waveAnim 2s ease-in-out infinite;
}

@keyframes waveAnim {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  color: #e50914;
  z-index: 9999;
  text-shadow: 0 0 35px rgba(229, 9, 20, 0.8);
  overflow: hidden;
  transition: opacity 1.2s ease;
}

#splash-text {
  display: inline-block;
  opacity: 0;
  transform: scale(0.2);
  font-size: 30vw;
  white-space: nowrap;
}

@keyframes splashIntro {
  0% { opacity: 0; transform: scale(0.2); }
  30% { opacity: 1; transform: scale(1.4); }
  60% { transform: scale(1); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes typingEffect {
  from { width: 0; opacity: 1; }
  to { width: 100%; opacity: 1; }
}

.typing {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typingEffect 5s steps(25, end) forwards;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
}

section {
  width: 100%;
  max-width: 900px;
}

section h2 {
  text-align: center;
  color: #000;
  font-size: 22px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
  padding: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  align-items: center;
  justify-items: center;
}

.card {
  background: var(--card);
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 340px;
  height: 280px;
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: center;
}

.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.thumb {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-grow: 1;
}

.meta h3 { margin: 0; font-size: 16px; color: #000; }
.meta p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.25; }

.open-btn {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background .2s ease;
}

.open-btn:hover { background: rgba(0,0,0,0.05); }

@media (max-width: 720px) {
  .grid { display: flex; flex-direction: column; align-items: center; }
  .card { width: 90%; max-width: 400px; height: auto; }
  .thumb { height: 180px; }
  .open-btn { width: 100%; }
}

footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(90deg, rgba(0,0,0,0.02), rgba(0,0,0,0.01));
  border-top: 1px solid rgba(0,0,0,0.05);
}

footer .marquee { overflow: hidden; white-space: nowrap; }
footer .marquee div {
  display: inline-block;
  padding-left: 100%;
  animation: marq 14s linear infinite;
  font-weight: bold;
  color: var(--accent);
  font-size: 18px;
}

@keyframes marq { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.muted { color: var(--muted); font-size: 13px; }
