/*
Theme Name: DeGoBooM Child
Template: astra
Version: 1.0.0
Description: Tema personalizado para DeGoBooM
Author: DeGoBooM
*/

/* ===== VARIABLES ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-section: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #222240;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --transition: all 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body, .dgb-wrapper {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; }

/* ===== CONTAINER ===== */
.dgb-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.dgb-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.dgb-nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.dgb-nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.dgb-nav-links {
  display: flex;
  gap: 32px;
}

.dgb-nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.dgb-nav-links a:hover { color: var(--text-primary); }

/* ===== HERO ===== */
.dgb-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(10,10,15,0.6) 0%, rgba(10,10,15,0.85) 60%, rgba(10,10,15,1) 100%),
    url('https://degoboom.com/wp-content/uploads/2025/02/fondosa-Y4LJgG4N7pCynVZg.webp') center/cover no-repeat;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.dgb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.dgb-hero-body {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.dgb-badge {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.dgb-hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dgb-hero-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dgb-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.dgb-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dgb-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-secondary);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.dgb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.dgb-btn svg { width: 20px; height: 20px; }

.dgb-btn-yt { background: #ff0000; color: #fff; }
.dgb-btn-yt:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,0,0,0.35);
}

.dgb-btn-sp { background: #1db954; color: #000; }
.dgb-btn-sp:hover {
  background: #18a449;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,185,84,0.35);
}

/* ===== SECTIONS ===== */
.dgb-section { padding: 100px 0; background: var(--bg-primary); }
.dgb-section-alt { background: var(--bg-section); }

.dgb-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.dgb-section-badge {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.dgb-newsletter-inner .dgb-section-badge {
  font-size: 3.5rem;
}

.dgb-section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
  color: #ffffff !important;
}

.dgb-section-header p {
  color: #cbd5e1 !important;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ===== SPOTIFY ===== */
.dgb-spotify-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== YOUTUBE CARD ===== */
.dgb-yt-card { max-width: 700px; margin: 0 auto; }

.dgb-yt-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: var(--transition);
}

.dgb-yt-card-inner:hover {
  border-color: rgba(255,0,0,0.3);
  box-shadow: 0 0 40px rgba(255,0,0,0.1);
}

.dgb-yt-icon {
  width: 72px;
  height: 72px;
  background: #ff0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dgb-yt-icon svg { width: 36px; height: 36px; color: white; }

.dgb-yt-info { flex: 1; }
.dgb-yt-info h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; color: #ffffff !important; }
.dgb-yt-info p { color: #cbd5e1 !important; font-size: 0.95rem; }

/* ===== SOCIAL GRID ===== */
.dgb-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.dgb-social-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  color: var(--text-primary);
}

.dgb-social-card svg {
  width: 40px;
  height: 40px;
  color: var(--card-color);
  transition: var(--transition);
}

.dgb-social-card span {
  font-weight: 700;
  font-size: 0.95rem;
  color: #cbd5e1 !important;
  transition: var(--transition);
}

.dgb-social-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--card-color);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.dgb-social-card:hover span { color: var(--text-primary); }

/* ===== NEWSLETTER ===== */
.dgb-newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  gap: 16px;
}

.dgb-newsletter-inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

.dgb-newsletter-inner p {
  color: #cbd5e1 !important;
  line-height: 1.7;
}

.dgb-newsletter-form {
  width: 100%;
  margin-top: 8px;
}

/* ===== CONTACTO ===== */
.dgb-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.dgb-contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: var(--transition);
  color: var(--text-primary);
}

.dgb-contact-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.dgb-contact-icon { font-size: 2.5rem; }

.dgb-contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.dgb-contact-card p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.dgb-contact-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.dgb-contact-card:hover .dgb-contact-btn {
  background: var(--accent-light);
  color: #000;
}

/* ===== FOOTER ===== */
.dgb-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.dgb-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.dgb-footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dgb-footer p { color: var(--text-secondary); font-size: 0.85rem; }

.dgb-footer-links { display: flex; gap: 24px; }
.dgb-footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.dgb-footer-links a:hover { color: var(--text-primary); }

/* ===== HEADER DE ASTRA (páginas internas) ===== */
#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-above-header,
.ast-below-header {
  background: #0f0f1a !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
}

.site-title a,
.site-title a:hover,
.ast-site-identity a,
.site-title {
  color: #a78bfa !important;
  font-weight: 800 !important;
  font-size: 1.3rem !important;
}

.main-header-menu .menu-item a,
.ast-primary-nav .menu-item a,
.main-navigation .menu-item a {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.main-header-menu .menu-item a:hover,
.main-navigation .menu-item a:hover {
  color: #f8fafc !important;
}

/* Fondo oscuro en todo el body de páginas internas */
body:not(.home) {
  background: #0a0a0f !important;
  color: #f8fafc !important;
}

/* ===== PÁGINAS INTERNAS ===== */
.dgb-nav-inner {
  position: relative;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  padding: 20px 48px;
}

.dgb-nav-logo {
  display: inline-block;
}

.dgb-page-content {
  min-height: 70vh;
  padding: 80px 0;
  background: var(--bg-primary);
}

.dgb-page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.dgb-page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dgb-page-body {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.dgb-page-body h2,
.dgb-page-body h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin: 32px 0 12px;
}

.dgb-page-body p {
  margin-bottom: 16px;
}

.dgb-page-body a {
  color: var(--accent-light);
  text-decoration: underline;
}

.dgb-page-body a:hover {
  color: var(--text-primary);
}

/* ===== HAMBURGER ===== */
.dgb-nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.dgb-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .dgb-nav { padding: 20px 24px; }
  .dgb-nav-hamburger { display: flex; }

  .dgb-nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,15,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 150;
  }

  .dgb-nav-links.open { display: flex; }

  .dgb-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
  }

  .dgb-yt-card-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .dgb-newsletter-inner {
    flex-direction: column;
    gap: 16px;
  }

  .dgb-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .dgb-section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .dgb-social-grid { grid-template-columns: repeat(2, 1fr); }
}
