@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg:      #0b0b0f;
  --bg2:     #141414;
  --bg3:     #1c1c1c;
  --bg4:     #242424;
  --primary: #e50914;
  --primary2:#ff2323;
  --gold:    #f5c842;
  --text:    #ffffff;
  --muted:   #aaaaaa;
  --muted2:  #555555;
  --border:  #222222;
  --r:       10px;
  --r-sm:    6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; gap: 1.5rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, transparent 100%);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(11,11,15,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 26px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  flex-shrink: 0; letter-spacing: -0.5px;
}
.nav-search {
  flex: 1; max-width: 340px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 8px 18px;
  color: var(--text); font-size: 13px; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color .2s, background .2s;
}
.nav-search:focus { border-color: var(--primary); background: var(--bg4); }
.nav-search::placeholder { color: var(--muted2); }

.hero {
  position: relative;
  height: 82vh; min-height: 520px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--bg); z-index: 0; }
.hero-mosaic {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px; opacity: 0.18; z-index: 1; overflow: hidden;
}
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,11,15,0.55) 0%, rgba(11,11,15,0.3) 40%, rgba(11,11,15,0.85) 80%, rgba(11,11,15,1) 100%);
  z-index: 2;
}
.hero-content { position: relative; z-index: 3; padding: 0 1.5rem; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 800; line-height: 1.1; margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 500px; margin: 0 auto 2rem; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-watch {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff; border: none; padding: 13px 28px;
  border-radius: 30px; font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif; cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,46,99,0.4);
  transition: transform .2s, box-shadow .2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-watch:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,46,99,0.5); }
.btn-scroll {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
  padding: 13px 28px; border-radius: 30px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer; transition: background .2s;
}
.btn-scroll:hover { background: rgba(255,255,255,0.18); }

.filters-wrap {
  padding: 1.25rem 2rem;
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.chip {
  padding: 7px 18px; border-radius: 20px;
  border: 1px solid var(--border); background: var(--bg2);
  color: var(--muted); font-size: 13px; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all .2s; white-space: nowrap; font-weight: 500;
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.active { background: linear-gradient(135deg, var(--primary), var(--primary2)); border-color: transparent; color: #fff; }

.section { padding: 2rem; }
.section-hd { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 10px; }
.section-hd .accent { color: var(--primary); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

.card {
  background: var(--bg2); border-radius: var(--r);
  overflow: hidden; cursor: pointer;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s;
  position: relative;
}
.card:hover { transform: scale(1.08); box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 10; }

.thumb { position: relative; padding-top: 56.25%; background: var(--bg3); overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.05); }

.thumb-hover {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  opacity: 0; transition: opacity .25s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 12px;
}
.card:hover .thumb-hover { opacity: 1; }

.play-big {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(255,46,99,0.5); flex-shrink: 0;
}
.play-big svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }

.hover-meta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.hover-tag {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  color: #fff; font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.hover-tag.cat { background: rgba(255,46,99,0.7); }

.dur { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.85); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.badge-feat { position: absolute; top: 8px; left: 8px; background: var(--gold); color: #000; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }
.badge-new { position: absolute; top: 8px; right: 8px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }

.card-body { padding: 10px 12px 12px; }
.card-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.card-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted2); }
.cat-tag { display: inline-block; background: var(--bg3); color: var(--muted); font-size: 10px; padding: 2px 8px; border-radius: 6px; text-transform: capitalize; }

.pagination { display: flex; justify-content: center; gap: 6px; padding: 1rem 2rem 3rem; }
.page-btn { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--bg2); color: var(--muted); font-size: 13px; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.page-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary2)); border-color: transparent; color: #fff; }
.page-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; margin: 4rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted2); font-size: 14px; }

.pix-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 300;
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #fff; border: none; border-radius: 50px;
  padding: 12px 22px; font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; box-shadow: 0 4px 20px rgba(0,200,83,.4);
  transition: transform .2s, box-shadow .2s;
}
.pix-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,200,83,.55); }
.pix-btn svg { width: 18px; height: 18px; }

.modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 400; align-items: center; justify-content: center; padding: 1rem; }
.modal-bg.open { display: flex; }
.modal { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; width: 100%; max-width: 420px; padding: 2rem; text-align: center; }
.modal h3 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.pix-key-box { background: var(--bg3); border: 1px solid #00c853; border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; color: #00c853; font-family: monospace; margin-bottom: 1rem; word-break: break-all; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.copy-btn { background: #00c853; color: #fff; border: none; border-radius: 6px; padding: 6px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; white-space: nowrap; transition: background .2s; }
.copy-btn:hover { background: #00a042; }
.modal-close-btn { background: var(--bg3); color: var(--muted); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 22px; font-size: 13px; cursor: pointer; font-family: 'Inter', sans-serif; margin-top: .5rem; }
.modal-close-btn:hover { color: var(--text); }

footer { border-top: 1px solid var(--border); padding: 2rem; text-align: center; color: var(--muted2); font-size: 12px; line-height: 2; }

@media (max-width: 600px) {
  .navbar { padding: 0 1rem; }
  .nav-search { display: none; }
  .section { padding: 1.5rem 1rem; }
  .filters-wrap { padding: 1rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero h1 { font-size: 28px; }
}
