/* ===========================================================
   STYLE.CSS — DragonBallZ-Web
   Estructura + una piel "anime" moderada: acento naranja/energía,
   tipografía limpia, sin efectos exagerados (nada de líneas de
   velocidad ni tramas por todos lados). header.css, footer.css,
   responsive.css y animations.css complementan a este archivo.
   =========================================================== */

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

:root {
    --bg: #0e0d14;
    --text: #f4f2f9;
    --text-muted: #b3aec4;

    --primary: #ff7a1a;
    --on-primary: #14100a;
    --secondary: #ffb545;

    --header-bg: rgba(14, 13, 20, .92);
    --top-bar-bg: #17131e;
    --footer-bg: #100d16;

    --pill-bg: #221c2c;
    --pill-text: #d9d3e6;
    --nav-text: #ede8f6;

    --card-bg: #1a1622;
    --card-border: 1px solid rgba(255, 122, 26, .18);
    --border-soft: rgba(255, 255, 255, .08);

    --project-btn-border: rgba(255, 122, 26, .45);
    --project-btn-text: #ffd9a8;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;

    --shadow-card: 0 10px 24px -14px rgba(0, 0, 0, .55);
    --shadow-hover: 0 16px 32px -12px rgba(255, 122, 26, .3);

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: clamp(16px, 0.5vw + 14px, 18px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 1600px) { .container { max-width: 1440px; } }

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--primary); color: #fff;
    padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .04em;
    color: var(--text);
}

/* =========================
   SECTION TITLE
========================= */
.section-title { text-align: center; margin: 56px 0 32px; }
.section-title .eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}
.section-title h1, .section-title h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin: 0;
}
.section-title p {
    max-width: 620px; margin: 12px auto 0;
    color: var(--text-muted); font-size: .95rem;
}
.section-title::after {
    content: "";
    display: block;
    width: 56px; height: 3px;
    margin: 16px auto 0;
    background: var(--primary);
    border-radius: 4px;
}

/* =========================
   HERO SLIDER
========================= */
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(300px, 36vw, 520px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 28px;
    box-shadow: var(--shadow-card);
}
.hero-slider .slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .6s ease;
}
.hero-slider .slide.active { opacity: 1; visibility: visible; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider .overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(6,5,10,.82) 100%);
}
.hero-slider .slide-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: clamp(18px, 4vw, 42px);
    color: #fff;
}
.hero-slider .etiqueta {
    display: inline-block;
    background: var(--primary); color: var(--on-primary);
    font-size: .72rem; font-weight: 800; letter-spacing: .04em;
    padding: 6px 14px; border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.hero-slider h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.4vw, 3.1rem);
    margin: 0 0 10px;
}
.hero-slider p { max-width: 520px; font-size: .95rem; opacity: .92; margin: 0 0 18px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-size: .85rem;
}
.btn:hover { background: var(--secondary); }
.btn-secondary {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
}

.slider-dots {
    position: absolute; bottom: 16px; right: 20px;
    display: flex; gap: 8px; z-index: 5;
}
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); }
.slider-dots button.active { background: var(--primary); }

/* =========================
   CARDS
========================= */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 32px 0 60px; }
.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: var(--card-border);
}
.card .thumb { aspect-ratio: 4/3; overflow: hidden; background: #221c2c; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px 18px; }
.card .body p { font-size: .83rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* =========================
   VIDEOS STRIP (home)
========================= */
.videos-strip { display: grid; grid-template-columns: 46px 1fr; gap: 24px; margin: 20px 0 60px; align-items: start; }
.videos-strip .vlabel {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; font-size: 1.1rem;
    color: var(--primary); text-align: center; align-self: stretch;
    display: flex; align-items: center; justify-content: center;
}
.videos-strip .vmain { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.videos-strip .big-slide, .videos-strip .side-image {
    border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: #221c2c;
    position: relative;
}
.videos-strip .big-slide img, .videos-strip .side-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.news-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.news-list li { font-size: .85rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.news-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* =========================
   NOTICIAS
========================= */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 8px 0 30px; }
.news-banner { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21/7; box-shadow: var(--shadow-card); margin-bottom: 60px; background: #221c2c; }
.news-banner img { width: 100%; height: 100%; object-fit: cover; }

/* =========================
   DESTACADOS GALLERY
========================= */
.feature-gallery { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; margin: 10px 0 60px; }
.feature-gallery .tall { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: #221c2c; }
.feature-gallery .tall img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature-gallery .quad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =========================
   VIDEOS PAGE
========================= */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 8px 0 20px; }
.video-grid.wide { grid-template-columns: repeat(2, 1fr); margin-bottom: 60px; }
.video-card { position: relative; }
.video-card .thumb {
    position: relative; border-radius: var(--radius-md); overflow: hidden;
    aspect-ratio: 16/9; box-shadow: var(--shadow-card); background: #221c2c;
}
.video-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card .play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; background: rgba(6,5,10,.32); opacity: 0;
}
.video-card p { margin: 10px 2px 0; font-size: .82rem; color: var(--text-muted); }
.subsection-title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 40px 0 16px; }

/* =========================
   ACERCA DE
========================= */
.about-text { max-width: 760px; margin: 30px auto 40px; text-align: center; color: var(--text-muted); font-size: .95rem; line-height: 1.75; }
.about-gallery { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; margin-bottom: 60px; }
.about-gallery .side-tall { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: #221c2c; }
.about-gallery .side-tall img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.about-gallery .quad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =========================
   "MI PROYECTO" (P.FIGMA)
========================= */
.project-banner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
    margin: 30px 0 6px;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    border: 1px dashed rgba(255,122,26,.4);
    background: rgba(255, 122, 26, .06);
}
.project-banner .pb-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--secondary);
}
.project-banner .pb-tag {
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.figma-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 26px 0 60px;
}
.figma-slot {
    aspect-ratio: 16/10;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: .82rem;
    text-align: center;
    padding: 10px;
    background: #1a1622;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}
.figma-slot:hover { box-shadow: var(--shadow-hover); }
.figma-slot span.icon { font-size: 1.6rem; }

/* Placeholder genérico para páginas "reservadas" (P.DIVI / P.ASTRA) */
.reserved-page {
    text-align: center;
    padding: 90px 20px 110px;
}
.reserved-page .icon { font-size: 2.6rem; margin-bottom: 14px; }
.reserved-page h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin: 0 0 12px;
}
.reserved-page p {
    max-width: 520px; margin: 0 auto;
    color: var(--text-muted); font-size: .95rem; line-height: 1.7;
}
.reserved-page .badge {
    display: inline-block;
    margin-top: 22px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px dashed rgba(255,122,26,.45);
    color: var(--project-btn-text);
    font-size: .78rem;
    letter-spacing: .06em;
}

/* =========================
   BACK TO TOP
========================= */
#topBtn {
    position: fixed; right: 22px; bottom: 22px;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary);
    color: var(--on-primary); font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-card);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    z-index: 200;
}
#topBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =========================
   VIDEO MODAL (lightbox)
========================= */
.video-card { cursor: pointer; }

#videoModal {
    position: fixed; inset: 0;
    background: rgba(6, 5, 10, .88);
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    z-index: 500;
}
#videoModal.open { display: flex; }

#videoModal .modal-box {
    width: 100%;
    max-width: 960px;
}
#videoModal .modal-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
#videoModal .modal-frame iframe,
#videoModal .modal-frame video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
}
#videoModal .modal-close {
    display: block;
    margin: 0 0 10px auto;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
}
#videoModal .modal-close:hover { background: var(--primary); color: var(--on-primary); }
#videoModal .modal-note {
    color: var(--text-muted);
    font-size: .78rem;
    text-align: center;
    margin-top: 10px;
}
