@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --gold: #FFB800;
  --gold-bright: #FFD700;
  --gold-dark: #CC8800;
  --glow: #FFD700;
  --bg-dark: #050505;
  --bg-mid: #0a0a0a;
  --bg-card: rgba(255, 184, 0, 0.04);
  --border: rgba(255, 184, 0, 0.2);
  --border-bright: rgba(255, 184, 0, 0.6);
  --text: #f0f0f0;
  --text-dim: #ffffff;
  --font-head: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  background-image: url('../assets/beee.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--gold); }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* NAVBAR*/
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  background: rgba(5,5,5,0.97);
  box-shadow: 0 2px 30px rgba(255,184,0,0.15);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo{
  display:flex;
  align-items:center;
  gap:14px;
}

.nav-logo-img{
  width:60px;
  height:60px;
  object-fit:cover;
  border-radius:14px;
  
}

.logo-text{
  font-size:2rem;
  font-weight:900;
  letter-spacing:2px;
  color:white;
  line-height:1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1px;
  background: var(--gold);
  transition: left 0.2s, right 0.2s;
}
.nav-links a:hover::after,
.nav-links a.active::after { left: 12px; right: 12px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.btn-join {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 20px;
  background: var(--gold);
  color: #000;
  border-radius: 4px;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-join:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* HERO */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/beee.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) brightness(0.45) saturate(1.2);
  transform: scale(1.05);
  z-index: 0;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.45) 0%,
    rgba(5,5,5,0.65) 60%,
    rgba(5,5,5,0.92) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: heroIn 1s ease both;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  padding: 6px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 24px;
  animation: heroIn 1s 0.1s ease both;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
}
.hero-title .line1 {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 6px;
  color: var(--text-dim);
  animation: heroIn 1s 0.2s ease both;
}
.hero-title .line2 {
  display: block;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: -2px;
  animation: heroIn 1s 0.3s ease both;
}
.hero-title .glow {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(255,215,0,0.8), 0 0 80px rgba(255,215,0,0.4);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(240,240,240,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
  font-weight: 400;
  animation: heroIn 1s 0.4s ease both;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroIn 1s 0.5s ease both;
}

.hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  animation: heroIn 1s 0.6s ease both;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,184,0,0.5);
}
.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--text-dim);
}
.stat-divider { color: var(--border-bright); font-size: 1.5rem; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-dim);
  animation: fadeIn 2s 1.5s ease both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/*BUTTONS*/
.btn-primary {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 28px;
  background: var(--gold);
  color: #000;
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--gold-bright);
  box-shadow: 0 0 30px rgba(255,215,0,0.6);
  transform: translateY(-2px);
}
.btn-primary.small { padding: 8px 18px; font-size: 0.58rem; }

.btn-secondary {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 12px 24px;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(255,184,0,0.1);
  box-shadow: 0 0 20px rgba(255,184,0,0.2);
}
.btn-outline.small { padding: 8px 18px; font-size: 0.58rem; }

/*SECTION HEADER*/
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 3px;
  display: block;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
}

/* ABOUT */
#about {
  padding: 100px 0;
  background: transparent;
  border-top: none;
  border-bottom: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: rgba(240,240,240,0.7);
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 400;
}
.about-text .btn-outline { margin-top: 16px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  background: rgba(255,184,0,0.07);
}
.feat-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* VIDEOS */
#videos {
  padding: 100px 0;
}
.video-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
  align-items:start;
}
.video-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.video-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.video-thumb {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-thumb iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-info {
  padding: 16px 20px;
}
.video-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--gold);
  background: rgba(255,184,0,0.1);
  border: 1px solid rgba(255,184,0,0.3);
  padding: 2px 8px;
  border-radius: 3px;
}
.video-info h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.video-info p { font-size: 0.85rem; color: var(--text-dim); }
.video-cta { text-align: center; }

/* EVENTOS */
#eventos-preview {
  padding: 100px 0;
  background: transparent;
  border-top: none;
  border-bottom: none;
}
.eventos-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
}
.evento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.evento-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
}
.evento-card.featured {
  border-color: rgba(255,184,0,0.4);
  background: rgba(255,184,0,0.05);
}
.evento-badge {
  position: absolute;
  top: -1px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  background: #ff3333;
  color: #fff;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.evento-game {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 10px;
}
.evento-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.evento-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.evento-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: rgba(240,240,240,0.6);
  margin-bottom: 20px;
}
/* ── VIDEO SECTION FIX ── */
#videos { padding: 100px 0; }

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.video-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }

.video-thumb.youtube-frame { position: relative; width: 100%; aspect-ratio: 16/9; }
.video-thumb.youtube-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.video-thumb.tiktok-frame { width: 100%; aspect-ratio: 9/16; max-height: 800px; overflow: hidden; position: relative; }
.video-thumb.tiktok-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

.video-side { display: flex; flex-direction: column; gap: 24px; }
.video-side .small-video { flex: 1; }

.video-info { padding: 16px 20px; }
.video-info .video-tag { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 2px; color: var(--gold); }
.video-info h3 { font-family: var(--font-head); font-size: 0.8rem; letter-spacing: 1px; margin-top: 4px; }
.video-info p { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }
.video-cta { text-align: center; margin-top: 8px; }

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-side { flex-direction: row; }
  .video-thumb.tiktok-frame { max-height: 300px; }
}
@media (max-width: 600px) {
  .video-side { flex-direction: column; }
}

/* DISCORD CTA */
#discord-cta {
  padding: 100px 0;
}
.discord-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,184,0,0.07), rgba(5,5,5,0));
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.discord-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,184,0,0.08), transparent 60%);
  pointer-events: none;
}
.discord-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.discord-text p {
  color: rgba(240,240,240,0.7);
  font-size: 1rem;
  max-width: 450px;
  margin-bottom: 28px;
}
.discord-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hex {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.hex:hover {
  border-color: var(--border-bright);
  transform: scale(1.1);
  background: rgba(255,184,0,0.1);
}

/* RANKINGS */
#rankings {
  padding: 100px 0;
  background: transparent;
  border-top: none;
}
.rank-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}
.rank-header {
  display: grid;
  grid-template-columns: 80px 1fr 120px 120px 120px;
  padding: 14px 24px;
  background: rgba(255,184,0,0.1);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 2px;
  color: var(--gold);
}
.rank-row {
  display: grid;
  grid-template-columns: 80px 1fr 120px 120px 120px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,184,0,0.05);
  align-items: center;
  transition: background 0.2s;
  font-size: 0.95rem;
}
.rank-row:hover { background: rgba(255,184,0,0.05); }
.rank-row:last-child { border-bottom: none; }
.rank-row.gold { background: rgba(255,215,0,0.05); }
.rank-row.silver { background: rgba(192,192,192,0.03); }
.rank-row.bronze { background: rgba(205,127,50,0.03); }

.rank-pos {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}
.rank-player {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.avatar {
  font-size: 1.2rem;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.rank-game {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.rank-pts {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
}
.rank-wins {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.rank-cta { text-align: center; }

/* FOOTER */
#footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  background: #000;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 280px;
  margin-bottom: 24px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s;
}
.social-links a:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-links li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: var(--gold);
}

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero .hero-bg-blur {
  position: absolute;
  inset: 0;
  background-image: none;
  background-color: rgba(5,5,5,0.55);
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(240,240,240,0.65);
  max-width: 500px;
  margin: 0 auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .video-grid { grid-template-columns: 1fr; }
  .eventos-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .discord-banner { grid-template-columns: 1fr; }
  .hex-grid { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(5,5,5,0.98);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 8px;
    backdrop-filter: blur(12px);
  }
  .nav-cta.open { display: block; padding: 0 24px 24px; }

  .eventos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .rank-header, .rank-row {
    grid-template-columns: 60px 1fr 80px;
  }
  .rank-game, .rank-wins { display: none; }
  .discord-btns { flex-direction: column; }
  .hero-btns { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .about-features { grid-template-columns: 1fr; }
}

/* ANIMATIONS / UTILITY */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.retro-center{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  height:100%;
}
.video-thumb{
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

.video-thumb iframe{
  width:100%;
  height:100%;
  border:none;
}

.youtube-frame{
  width:100%;
  aspect-ratio:16/9;
}

.tiktok-frame{
  aspect-ratio:9/16;
  width:100%;
  max-width:320px;
  height:560px;
  margin:auto;
}

.small-video{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.video-info{
  text-align:center;
}
.main-video{
  height:fit-content;
  align-self:start;
}
/* ── FONDO GLOBAL FIJO — UNA SOLA INSTANCIA ── */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  background-image: url('../assets/beee.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  background: transparent !important;
}


/* Overlay oscuro sobre cada sección para legibilidad */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.70);
  pointer-events: none;
  z-index: 0;
}
section { position: relative; }
section > * { position: relative; z-index: 1; }

/* El hero tiene su propio overlay interno — no duplicar */
#hero::before { display: none; }

/* Quitar fondos de secciones inline que crean líneas blancas */
section[style*="background"],
#about,
#videos,
#modpacks-preview,
#discord-cta,
#rankings,
#eventos-preview {
  background-color: transparent !important;
  background-image: none !important;
}

/* Quitar bg-mid que crea divisiones visibles */
[style*="background: var(--bg-mid)"],
[style*="background:var(--bg-mid)"] {
  background-color: transparent !important;
}

/* Page hero de páginas internas */
.page-hero {
  border-bottom: none !important;
}
.page-hero .hero-bg-blur {
  background-color: rgba(5,5,5,0.55) !important;
  background-image: none !important;
}

/* Footer semitransparente */
#footer {
  background: rgba(5, 5, 5, 0.93) !important;
  backdrop-filter: blur(10px);
}

/* Navbar */
#navbar {
  background: rgba(5,5,5,0.0) !important;
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(5,5,5,0.97) !important;
  box-shadow: 0 2px 30px rgba(255,184,0,0.15);
  backdrop-filter: blur(12px);
}

/* El hero principal NO necesita background-image propio, usa el de html */
#hero {
  background: none !important;
}
#hero .hero-bg {
  background-image: url('../assets/beee.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.x-frame {
  width: 100%;
  max-width: 320px;
  min-height: 200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.x-frame .twitter-tweet {
  margin: 0 auto !important;
  width: 100% !important;
}
/* ── FONDO GLOBAL FIJO — UNA SOLA INSTANCIA ── */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  background-image: url('../assets/beee.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body {
  background: transparent !important;
}
.retro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
/* ── OVERLAY UNIFORME SIN CORTES ── */
section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.82);
  pointer-events: none;
  z-index: 0;
}
section { position: relative; }
section > * { position: relative; z-index: 1; }

#hero::before { display: none; }

#hero {
  background: none !important;
}
#hero .hero-bg {
  position: fixed !important;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('../assets/beee.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  filter: blur(2px) brightness(0.45) saturate(1.2);
  transform: none !important;
  z-index: -1 !important;
}

#hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,5,0.30) 0%,
    rgba(5,5,5,0.55) 60%,
    rgba(5,5,5,0.72) 100%
  );
}

section[style*="background"],
#about, #videos, #modpacks-preview,
#discord-cta, #rankings, #eventos-preview {
  background-color: transparent !important;
  background-image: none !important;
  border-top: none !important;
}
[style*="background: var(--bg-mid)"],
[style*="background:var(--bg-mid)"] {
  background-color: transparent !important;
}

.page-hero { border-bottom: none !important; }
.page-hero .hero-bg-blur {
  background-color: rgba(5,5,5,0.55) !important;
  background-image: none !important;
}

#footer {
  background: rgba(5, 5, 5, 0.93) !important;
  backdrop-filter: blur(10px);
}

#navbar {
  background: rgba(5,5,5,0.0) !important;
  transition: background 0.3s;
}
#navbar.scrolled {
  background: rgba(5,5,5,0.97) !important;
  box-shadow: 0 2px 30px rgba(255,184,0,0.15);
  backdrop-filter: blur(12px);
}
/* ── COLORES DE REDES SOCIALES ── */
.social-links a[title="Gmail"] svg       { fill: #EA4335; }
.social-links a[title="X / Twitter"] svg { fill: #f0f0f0; }
.social-links a[title="Discord"] svg     { fill: #5865F2; }
.social-links a[title="YouTube"] svg     { fill: #FF0000; }
.social-links a[title="TikTok"] svg      { fill: #f0f0f0; }

.social-links a[title="Gmail"]:hover       { border-color: #EA4335 !important; background: rgba(234,67,53,0.12) !important; }
.social-links a[title="X / Twitter"]:hover { border-color: #f0f0f0 !important; background: rgba(240,240,240,0.08) !important; }
.social-links a[title="Discord"]:hover     { border-color: #5865F2 !important; background: rgba(88,101,242,0.15) !important; }
.social-links a[title="YouTube"]:hover     { border-color: #FF0000 !important; background: rgba(255,0,0,0.12) !important; }
.social-links a[title="TikTok"]:hover      { border-color: #f0f0f0 !important; background: rgba(240,240,240,0.08) !important; }
/* ── COLORES SOCIAL CARDS (media.html) ── */
.social-card:nth-child(1) .social-card-icon svg { fill: #f0f0f0; }  /* TikTok */
.social-card:nth-child(2) .social-card-icon svg { fill: #FF0000; }  /* YouTube */
.social-card:nth-child(3) .social-card-icon svg { fill: #5865F2; }  /* Discord */
.social-card:nth-child(4) .social-card-icon svg { fill: #f0f0f0; }  /* X */

.social-card:nth-child(1):hover { border-color: rgba(240,240,240,0.4) !important; }
.social-card:nth-child(2):hover { border-color: rgba(255,0,0,0.5) !important; }
.social-card:nth-child(3):hover { border-color: rgba(88,101,242,0.6) !important; }
.social-card:nth-child(4):hover { border-color: rgba(240,240,240,0.4) !important; }