/* =====================================================
   🎨 ESTILOS DE LA GALERÍA
   Archivo: css/galeria.css
   ===================================================== */

:root {
  --fire: #ff4d00;
  --gold: #ffd700;
  --ember: #ff8c00;
  --dark: #050305;
  --card: rgba(15, 5, 10, 0.95);
  --text: #e8d5b0;
  --muted: #907060;
  --border: rgba(255, 140, 0, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Cinzel', serif;
  overflow-x: hidden;
  cursor: crosshair;
  min-height: 100vh;
}

/* ==================== FONDO ==================== */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ==================== NAVBAR ==================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 3, 5, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.9rem;
  background: linear-gradient(90deg, #ff8c00, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.top-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.top-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 140, 0, 0.1);
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: all 0.2s;
}

.top-links a:hover {
  color: var(--gold);
  border-color: var(--ember);
  background: rgba(255, 77, 0, 0.05);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 2rem 3rem;
  background: radial-gradient(ellipse 70% 50% at 50% 90%, rgba(180, 40, 0, 0.18) 0%, transparent 70%);
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeDown 0.8s ease both;
}

.hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  background: linear-gradient(150deg, #ffe680 0%, #ff8c00 40%, #ff2200 70%, #cc00ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 100, 0, 0.45));
  animation: blazeIn 1s ease both;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: #c8a878;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  margin-top: 0.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blazeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==================== FILTROS ==================== */
.filter-bar {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.search-input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 140, 0, 0.2);
  color: var(--text);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  padding: 0.7rem 1rem;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  outline: none;
  width: 280px;
  transition: all 0.25s;
}

.search-input:focus {
  border-color: var(--ember);
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 0 10px rgba(255, 77, 0, 0.3);
}

.filter-btn {
  background: rgba(255, 80, 0, 0.08);
  border: 1px solid rgba(255, 140, 0, 0.2);
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  cursor: pointer;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--gold);
  border-color: var(--ember);
  background: rgba(255, 80, 0, 0.18);
  transform: translateY(-2px);
}

.count-badge {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ==================== GRID DE BESTIAS ==================== */
.bestias-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* ==================== TARJETA DE BESTIA ==================== */
.bestia-card {
  background: linear-gradient(145deg, rgba(20, 8, 5, 0.95), rgba(10, 3, 15, 0.95));
  border: 1px solid var(--border);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  padding: 1.8rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.bestia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fire), var(--gold), var(--fire), transparent);
  opacity: 0.4;
}

.bestia-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(255, 60, 0, 0.2) 0%, transparent 70%);
  transition: bottom 0.4s, opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}

.bestia-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 140, 0, 0.5);
  box-shadow: 0 18px 40px rgba(255, 60, 0, 0.25);
}

.bestia-card:hover::after {
  bottom: -5px;
  opacity: 1;
}

.bestia-card:hover::before {
  opacity: 1;
}

/* ✅ Imagen de la bestia en tarjeta */
.card-image {
  margin: -1.8rem -1.8rem 1.2rem -1.8rem;
  height: 170px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bestia-card:hover .card-image img {
  transform: scale(1.08);
}

.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--card) 100%);
  pointer-events: none;
}

/* Contenido de la tarjeta */
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.card-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--gold);
  line-height: 1.3;
  filter: drop-shadow(0 0 6px rgba(255, 200, 0, 0.3));
  flex: 1;
}

.card-rareza {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.card-elemento {
  font-size: 0.7rem;
  color: var(--ember);
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.card-desc {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: #a08060;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-habs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hab-chip {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 140, 0, 0.12);
  padding: 0.4rem 0.6rem;
  font-size: 0.6rem;
  color: var(--muted);
  border-radius: 2px;
}

.hab-chip strong {
  color: var(--ember);
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 140, 0, 0.1);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  gap: 0.5rem;
}

.card-autor {
  font-size: 0.6rem;
  color: #5a4030;
  letter-spacing: 0.1em;
}

.card-lore-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255, 80, 0, 0.05);
  border: 1px solid rgba(255, 140, 0, 0.15);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
  transition: all 0.2s;
  white-space: nowrap;
}

.card-lore-btn:hover {
  color: var(--gold);
  border-color: var(--ember);
  background: rgba(255, 80, 0, 0.1);
}

/* ==================== ESTADOS ==================== */
.state-msg {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 2rem;
  font-family: 'IM Fell English', serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

.loading-fire {
  font-size: 2.5rem;
  animation: float 1.5s ease-in-out infinite;
  display: block;
  margin-bottom: 0.5rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ==================== MODAL ==================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(5, 3, 5, 0.95);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease both;
}

.modal {
  background: linear-gradient(145deg, rgba(20, 8, 5, 0.99), rgba(10, 3, 15, 0.99));
  border: 1px solid rgba(255, 140, 0, 0.3);
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease both;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fire), var(--gold), var(--fire), transparent);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 10;
}

.modal-close:hover {
  color: var(--gold);
}

.modal-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  margin-top: 0;
  filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.3));
}

.modal-el {
  font-size: 0.7rem;
  color: var(--ember);
  letter-spacing: 0.12em;
  margin-bottom: 1.3rem;
}

/* ✅ Imagen en el modal */
.modal-image {
  margin: -2rem -2rem 1.5rem -2rem;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 3, 15, 0.99) 100%);
  pointer-events: none;
}

.modal-section {
  margin-bottom: 1.5rem;
}

.modal-section-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

.modal-text {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: #c8a878;
  line-height: 1.7;
}

.modal-habs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.modal-hab {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 140, 0, 0.1);
  padding: 0.6rem 0.8rem;
  border-radius: 2px;
}

.modal-hab-key {
  font-size: 0.6rem;
  color: var(--fire);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.modal-hab-name {
  font-size: 0.75rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.modal-hab-desc {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== CTA ==================== */
.cta-bar {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 2rem 2.5rem;
}

.cta-btn {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, #cc2200, #ff4d00, #ff8c00);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(255, 80, 0, 0.3);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 80, 0, 0.5);
}

/* ==================== DIVISOR ==================== */
.divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fire), var(--gold), var(--fire), transparent);
  margin: 3rem 0;
}

.divider::before {
  content: '🐉';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark);
  padding: 0 1rem;
  font-size: 1rem;
}

/* ==================== FOOTER ==================== */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 80, 0, 0.08);
  font-size: 0.7rem;
  color: #5a4030;
}

footer a {
  color: #7a5040;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--ember);
}

.donation-bar {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  text-align: center;
}

.donation-bar-inner {
  background: linear-gradient(135deg, rgba(80, 0, 0, 0.25), rgba(40, 0, 60, 0.25));
  border: 1px solid rgba(255, 215, 0, 0.2);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  padding: 1.8rem 2.2rem;
  position: relative;
  overflow: hidden;
}

.donation-bar-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 100, 0, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.donation-bar-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.donation-bar-sub {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.donation-bar-btns {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-pp,
.btn-kf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-pp {
  background: #003087;
  color: #fff;
}

.btn-pp:hover {
  background: #0047b3;
  transform: translateY(-2px);
}

.btn-kf {
  background: rgba(255, 140, 0, 0.1);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.btn-kf:hover {
  background: rgba(255, 140, 0, 0.2);
  transform: translateY(-2px);
}

/* ==================== REVEAL ANIMATION ==================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 1.5rem 2rem;
  }

  .top-bar {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }

  .filter-bar {
    padding: 0 1rem;
    gap: 0.6rem;
  }

  .search-input {
    width: 100%;
    max-width: 240px;
  }

  .bestias-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem 3rem;
  }

  .modal {
    max-height: 90vh;
  }

  .modal-habs {
    grid-template-columns: 1fr;
  }

  .card-image {
    height: 140px;
  }

  .modal-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .top-bar {
    position: relative;
  }

  .top-links {
    width: 100%;
    justify-content: center;
  }

  .filter-btn {
    font-size: 0.6rem;
    padding: 0.4rem 0.7rem;
  }

  .search-input {
    font-size: 0.75rem;
  }
}
/* ==================== SELECTOR DE ORDENACIÓN ==================== */
.sort-select {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 140, 0, 0.2);
  color: var(--muted);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.8rem 0.5rem 0.8rem;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  appearance: none;
  clip-path: polygon(5px 0%, 100% 0%, calc(100% - 5px) 100%, 0% 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath fill='%23907060' d='M0 0l5 8 5-8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-color: rgba(0, 0, 0, 0.6);
}

.sort-select:hover,
.sort-select:focus {
  border-color: var(--ember);
  color: var(--gold);
  background-color: rgba(0, 0, 0, 0.8);
}

.sort-select option {
  background: #0a0308;
  color: var(--text);
}

/* ==================== BOTÓN COMPARTIR ==================== */
.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: rgba(255, 80, 0, 0.05);
  border: 1px solid rgba(255, 140, 0, 0.15);
  padding: 0.65rem 1rem;
  cursor: pointer;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.btn-share:hover {
  color: var(--gold);
  border-color: var(--ember);
  background: rgba(255, 80, 0, 0.1);
  transform: translateY(-1px);
}

/* ==================== TOAST DE NOTIFICACIÓN ==================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(4rem);
  background: rgba(20, 8, 5, 0.97);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.12);
  pointer-events: none;
  white-space: nowrap;
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .sort-select { width: 100%; max-width: 200px; }
  .toast { font-size: 0.7rem; padding: 0.6rem 1rem; bottom: 1rem; }
}





/* ==================== YOUTUBE SECTION ==================== */
.youtube-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.youtube-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 15, 20, 0.6) 0%, rgba(15, 5, 10, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(255, 77, 0, 0.1);
}

.youtube-video {
  position: relative;
  z-index: 2;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid rgba(255, 140, 0, 0.2);
  box-shadow: 0 8px 24px rgba(255, 77, 0, 0.15);
}

.video-wrapper iframe,
.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(26, 15, 20, 0.8), rgba(15, 5, 10, 0.8));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 1rem;
}

.youtube-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.youtube-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.2rem;
}

.youtube-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fire);
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: rgba(255, 77, 0, 0.1);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 77, 0, 0.3);
  border-radius: 2px;
  clip-path: polygon(4px 0%, 100% 0%, calc(100% - 4px) 100%, 0% 100%);
}

.youtube-header h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
}

.youtube-handle {
  font-size: 0.85rem;
  color: var(--fire);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
  margin: 0;
}

.youtube-description {
  font-family: 'IM Fell English', serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.youtube-description p {
  margin: 0;
}

.youtube-description strong {
  color: var(--gold);
  font-weight: bold;
}

.youtube-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: rgba(255, 77, 0, 0.05);
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 4px;
}

.stat-item {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.stat-value {
  display: block;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.youtube-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-youtube,
.btn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  font-weight: bold;
}

.btn-youtube {
  background: linear-gradient(135deg, #ff4d00, #ff6b1a);
  color: #fff;
  border: 1px solid rgba(255, 107, 26, 0.4);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.2);
}

.btn-youtube:hover {
  background: linear-gradient(135deg, #ff6b1a, #ff8c34);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.35);
  transform: translateY(-2px);
}

.btn-subscribe {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.1);
}

.btn-subscribe:hover {
  background: rgba(255, 215, 0, 0.2);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
}

.youtube-social {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 4px;
  transition: all 0.25s;
  text-decoration: none;
  background: rgba(255, 77, 0, 0.05);
}

.social-links a:hover {
  background: rgba(255, 77, 0, 0.15);
  border-color: var(--fire);
  transform: scale(1.1);
}

/* ==================== RESPONSIVE YOUTUBE ==================== */
@media (max-width: 1024px) {
  .youtube-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .youtube-header h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .youtube-section {
    margin: 2rem auto;
  }

  .youtube-container {
    padding: 1.5rem;
    gap: 1rem;
  }

  .youtube-buttons {
    grid-template-columns: 1fr;
  }

  .youtube-header h2 {
    font-size: 1.3rem;
  }

  .youtube-description {
    font-size: 0.85rem;
  }

  .video-placeholder {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .youtube-container {
    padding: 1rem;
  }

  .youtube-header h2 {
    font-size: 1.1rem;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .btn-youtube,
  .btn-subscribe {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .video-placeholder {
    height: 250px;
  }

  .social-links {
    gap: 0.5rem;
  }

  .social-links a {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }
}