/* ====================================================
   Professor TCG — main.css  v1.1
   Paleta: #0F1E3C (navy) | #F5B800 (amarelo) | #0A1528 (navy escuro)
   Fontes: Bebas Neue (títulos) | Nunito (corpo)
==================================================== */

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: #0F1E3C;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────
   WAVE DIVIDERS
───────────────────────────────────────── */
.wave-bottom {
  display: block;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -2px;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ─────────────────────────────────────────
   SECTION HEADERS (shared)
───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #F5B800;
  margin-bottom: 6px;
}

.section-title--light { color: #F5B800; }
.section-title--dark  { color: #0F1E3C; }

.section-subtitle {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
}

.section-subtitle--light { color: rgba(255,255,255,0.5); }
.section-subtitle--dark  { color: rgba(15,30,60,0.65); }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(10, 21, 40, 0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: #F5B800;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu li a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #F5B800;
  border-bottom-color: #F5B800;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0F1E3C;
  background-image: url('../images/pokeball-bg.svg');
  background-size: 80px 80px;
  padding: 100px 24px 0;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 45%, rgba(245,184,0,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 60px;
}

/* Avatar */
.hero-avatar-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #F5B800;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(245,184,0,0.35);
  background: rgba(245,184,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.hero-avatar-wrap.no-avatar::after {
  content: '🎓';
  font-size: 3.5rem;
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title & tagline */
.hero-title {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  color: #F5B800;
  text-shadow: 0 4px 24px rgba(245,184,0,0.35);
  margin-top: 4px;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  font-weight: 600;
  line-height: 1.6;
}

.hero-tagline span {
  display: inline-block;
  color: #F5B800;
  font-weight: 700;
}

/* Social Links — pill buttons */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
  color: #fff;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* SVG inside social-link: constrain size! */
.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

/* Platform colors */
.social-link--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link--tiktok    { background: #010101; border-color: rgba(255,255,255,0.2); }
.social-link--youtube   { background: #FF0000; }
.social-link--twitch    { background: #9146FF; }

/* ─────────────────────────────────────────
   SOBRE
───────────────────────────────────────── */
.section-sobre {
  background: #F5B800;
  color: #0F1E3C;
  padding: 80px 0 0;
  position: relative;
}

.sobre-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.sobre-badge {
  display: inline-block;
  background: rgba(15,30,60,0.12);
  color: #0F1E3C;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.sobre-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.05em;
  color: #0F1E3C;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sobre-text {
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  color: rgba(15,30,60,0.8);
  font-weight: 600;
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre-sub {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(15,30,60,0.55);
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────
   ÚLTIMO REEL
───────────────────────────────────────── */
.section-ultimo-reel {
  background: #0A1528;
  padding: 80px 0 0;
  position: relative;
}

.section-ultimo-reel .container {
  padding-bottom: 60px;
}

/* Badge "AO VIVO NO FEED" */
.ultimo-badge {
  display: inline-block;
  background: #e8003d;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.65; }
}

.ultimo-reel-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Glow effect behind featured post */
.ultimo-reel-wrap::before {
  content: '';
  position: absolute;
  inset: -32px;
  background: radial-gradient(ellipse at center, rgba(245,184,0,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 32px;
}

/* Smash Balloon override — 1 post, centralizado e com destaque */
.ultimo-reel-wrap .sbi_feed_cont,
.ultimo-reel-wrap .sbi {
  max-width: 480px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-bottom: 0 !important;
}

/* Inner grid container */
.ultimo-reel-wrap .sbi > div {
  width: 100% !important;
  max-width: 480px !important;
  gap: 0 !important;
}

/* Force single item to fill full width */
.ultimo-reel-wrap .sbi_item {
  width: 100% !important;
  max-width: 480px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 0 50px rgba(245,184,0,0.3), 0 12px 40px rgba(0,0,0,0.6) !important;
}

.ultimo-reel-wrap .sbi_photo_wrap,
.ultimo-reel-wrap .sbi_photo {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 9/16 !important;
}

.ultimo-reel-wrap .sbi_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Fallback placeholder */
.feed-placeholder {
  max-width: 360px;
  margin: 0 auto;
  padding: 48px 32px;
  border: 2px dashed rgba(245,184,0,0.3);
  border-radius: 16px;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

.feed-placeholder svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: rgba(245,184,0,0.4);
}

.feed-placeholder p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn-feed {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid rgba(245,184,0,0.5);
  color: #F5B800;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s;
}

.btn-feed:hover {
  background: #F5B800;
  color: #0F1E3C;
}

/* ─────────────────────────────────────────
   VÍDEOS EM DESTAQUE
───────────────────────────────────────── */
.section-videos {
  background: #0F1E3C;
  background-image: url('../images/pokeball-bg.svg');
  background-size: 80px 80px;
  padding: 80px 0 0;
  position: relative;
}

.section-videos .container {
  padding-bottom: 60px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 6 videos = 2 rows of 3, no special centering needed */

.video-item {
  width: 100%;
}

/* Instagram blockquote embed overrides */
.video-item blockquote.instagram-media {
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45) !important;
}

/* ─────────────────────────────────────────
   SÉRIES DE CONTEÚDO
───────────────────────────────────────── */
.section-series {
  background: #0A1528;
  padding: 80px 0 0;
  position: relative;
}

.section-series .container {
  padding-bottom: 60px;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.series-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.series-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,184,0,0.4);
  background: rgba(245,184,0,0.05);
}

/* Series icons — size + color variants */
.series-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.series-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  flex-shrink: 0;
}

.series-icon--yellow { background: rgba(245,184,0,0.15); color: #F5B800; }
.series-icon--blue   { background: rgba(56,182,255,0.15); color: #38B6FF; }
.series-icon--orange { background: rgba(255,120,60,0.15); color: #FF783C; }
.series-icon--red    { background: rgba(220,55,55,0.15);  color: #DC3737; }
.series-icon--green  { background: rgba(72,200,120,0.15); color: #48C878; }
.series-icon--purple { background: rgba(155,89,255,0.15); color: #9B59FF; }

.series-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: #F5B800;
  margin-bottom: 8px;
}

.series-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   HUB DE LINKS
───────────────────────────────────────── */
.section-links {
  background: #F5B800;
  padding: 80px 0 80px;
  position: relative;
}

.section-links .section-title--dark {
  color: #0F1E3C;
}

.section-links .section-subtitle--dark {
  color: rgba(15,30,60,0.6);
}

.links-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border-radius: 16px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  position: relative;
}

.link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Platform colors */
.link-btn--youtube   { background: #FF0000; }
.link-btn--instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.link-btn--tiktok    { background: #010101; }
.link-btn--twitch    { background: #9146FF; }

.link-btn__icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* SVG inside link button: constrain size! */
.link-btn__icon svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.link-btn__text {
  font-size: 1rem;
  font-weight: 800;
}

.link-btn__handle {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-left: 4px;
}

.link-btn__arrow {
  margin-left: auto;
  font-size: 1.2rem;
  opacity: 0.6;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  background: #060e1a;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 40px 24px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.45);
}

.footer-social a:hover {
  background: rgba(245,184,0,0.15);
  color: #F5B800;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-copy {
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-copy strong {
  color: rgba(255,255,255,0.55);
}

/* ─────────────────────────────────────────
   RESPONSIVE — Tablet (≤ 768px)
───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav → mobile */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 21, 40, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-bottom-color: rgba(255,255,255,0.06) !important;
    width: 100%;
    text-align: left;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-avatar-wrap {
    width: 130px;
    height: 130px;
  }

  .social-links {
    gap: 10px;
  }

  .social-link {
    padding: 9px 16px;
    font-size: 0.78rem;
  }

  /* Videos → 2 cols */
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .video-item:nth-child(4) { grid-column: auto; }
  .video-item:nth-child(5) { grid-column: auto; }

  /* Series → 2 cols */
  .series-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE — Mobile (≤ 480px)
───────────────────────────────────────── */
@media (max-width: 480px) {
  /* Videos → 1 col */
  .videos-grid { grid-template-columns: 1fr; }

  /* Series → 1 col */
  .series-grid { grid-template-columns: 1fr; }

  .series-card { padding: 24px 20px; }

  /* Links */
  .links-stack { max-width: 100%; }

  .link-btn { font-size: 0.9rem; padding: 14px 18px; }

  /* Sections padding */
  .section-sobre,
  .section-ultimo-reel,
  .section-videos,
  .section-series,
  .section-links {
    padding-top: 60px;
  }
}
