
@font-face {
    font-family: Horizon;
    src: url(./fonts/Horizon.ttf);
}

:root {
    --bg: #050608;
    --panel: #0b0d10;
    --panel2: #0f1217;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, .72);
    --muted2: rgba(255, 255, 255, .52);
    --line: rgba(255, 255, 255, .10);
    --red: #e10600;
    --red2: #ff2b1f;
    --shadow: 0 18px 60px rgba(0, 0, 0, .55);
    --radius: 18px;
}


* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family:Horizon, Arial, sans-serif;
    background: black;
    color: var(--text);
    display: flex;
    justify-content: center;
}

/*Navegación */
    body {
        margin: 0;
        padding-bottom: 80px;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 420px;
        height: 70px;
        background: #0a0a0a;
        display: flex;
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 9999;
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #9a9a9a;
        font-size: 11px;
        gap: 4px;
    }

    .nav-item.active {
        color: white;
    }

    .icon {
        width: 22px;
        height: 22px;
        fill: currentColor;
    }

/* Phone frame (optional). Remove if embedding in app/web */
.phone {
    width: min(420px, 100%);
    min-height: 100vh;
    padding: 10px 12px 26px;
}

/* Fake status bar */
.statusbar {
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    padding: 6px 6px 2px;
    user-select: none;
}

.sb-right {
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: .9;
}

.pill {
    height: 10px;
    width: 22px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 3px;
    position: relative;
}

.pill::after {
    content: "";
    position: absolute;
    inset: 2px 6px 2px 2px;
    background: rgba(255, 255, 255, .75);
    border-radius: 2px;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px 0 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 142px;
    height: 65px;
    display: grid;
    place-items: center;
    background-image: url(./assets/DEKA\ Core\ Logo\ White-08.PNG);
    background-size: cover;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.logo-mark svg {
    width: 22px;
    height: 22px;
}

.brand-name {
    font-weight: 900;
    letter-spacing: .08em;
    font-size: 28px;
    line-height: 1;
}

/* Generic */
.section {
    margin-top: 14px;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 4px 10px;
}

.row h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: .06em;
}

.link {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    text-decoration: none;
}

.link:hover {
    color: #fff;
    text-decoration: underline;
}

.btn {
    font-family: Horizon, Arial, sans-serif;
    appearance: none;
    border: none;
    text-decoration: none;
    background: linear-gradient(180deg, var(--red2), var(--red));
    color: #fff;
    font-weight: 800;
    font-size:12px;
    letter-spacing: .06em;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 14px 40px rgba(225, 6, 0, .22);
    transition: transform .08s ease, filter .15s ease;
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn.secondary {
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .06));
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, .12);
    font-weight: 700;
}

button.btn a{
    text-decoration: none;
    color: white;
}


/* Hero */
.hero {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    min-height: 320px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, .08);
    background-image: url(./assets/indexIMG.png);
    background-position: calc(20px + 30%) center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 420px at 70% 30%, rgba(255, 255, 255, .10), transparent 60%),
        radial-gradient(900px 600px at 35% 65%, rgba(0, 0, 0, .25), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px 18px 18px;
    gap: 12px;
}

.hero-title {
    text-align: center;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0;
    font-size: 26px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, .6);
    line-height: 1.05;
}

.hero-title span {
    display: block;
    font-size: 20px;
    opacity: .95;
}

.hero-cta {
    display: flex;
    justify-content: center;
}

.cta-rutinas{
    margin-top:18px;
}

.subtitleExplora{
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: white !important;
    font-size: 16px;
}

.btnExplorar{
    font-family: Horizon, Arial, sans-serif;
    text-decoration: none;
}


/* CLASES DEKA */

.sectionVideoClass{
    font-family: Horizon, Arial, sans-serif;
}

.carousel {
    display: flex;
    gap: 12px;
    overflow: auto;
    padding: 2px 4px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
    height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .12);
    border-radius: 999px;
}

.card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .10);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
    position: relative;
    min-height: 150px;
}

.card.bg1, 
.card.bg2, 
.card.bg3{
    background-size: cover;
    background-position: center;
    border: 1px solid white;
}

.card.bg1{
    background-image: url(./assets/bg1.jpg);
    height: auto;
}

.card.bg2{
    background-image: url(./assets/bg2.jpg);
    height: auto;
}

.card.bg3{
    background-image: url(./assets/bg3.jpg);
    height: auto;
}

.card-label {
    position: absolute;
    left: 12px;
    bottom: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 12px;
    opacity: .95;
}

.play {
    position: absolute;
    left: 9px;
    top: 76%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgb(255, 0, 0);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: transform .12s ease, background .15s ease;
}

.play:hover {
    background: rgba(255, 255, 255, .18);
}

.play:active {
    transform: translateY(-50%) scale(.98);
}

.play svg {
    width: 18px;
    height: 18px;
    margin-left: -5px;
    padding-bottom: 1px;
}

/* Ejercicios panel */

#btnEjercicios {
    text-decoration: none;
}

.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .40);
    padding: 16px 14px;
}

.panel h4 {
    margin: 0 0 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 20px;
}

.panel p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.panel .btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.ejercicios-desc,
.textExplora,
.benefits-list,
.card-text,
.section-subtitle{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
}


/* Challenge banner */
.section-challenge {
    margin-top: 18px;
    background-color: white;
    border-radius: 10px;
}

.challenge {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .35);

    color: #0b0d10;
    padding: 14px 14px 14px;
    position: relative;
}

.challenge .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.challenge .title strong {
    color: rgb(0, 0, 0);
    font-size: 16px;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.subtitle,
.challenge-subtitle {
    font-family: Arial, Helvetica, sans-serif;
}

.logo-small {
    height: auto;
    width: 100px;
    margin-left: 30%;
}

.imgExplora{
    width: 100%;
    height: auto;
    border-radius: 10px;
}


.challenge .date {
    color: rgb(0, 0, 0);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 8px 0 12px;
}

.cd-box {
    background: #0b0d10;
    color: #fff;
    border-radius: 10px;
    padding: 8px 10px;
    min-width: 56px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.cd-num {
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
}

.cd-lab {
    font-size: 10px;
    opacity: .72;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.challenge .cta {
    display: flex;
    justify-content: center;
}

.challenge .cta .btn {
    padding: 11px 16px;
    border-radius: 10px;
    letter-spacing: .08em;
    text-decoration: none;
}

/* Experiencia tiles */
.section-expperience{
    margin-bottom: 50px;
}

.tiles-carousel{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:2px 4px 0;

    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
}

.tiles-carousel::-webkit-scrollbar{
    display:none;
}

/* cada tarjeta ocupa la mitad */
.tiles-carousel .tile{
    flex:0 0 calc(50% - 6px);
    scroll-snap-align:start;
}

/* imagen dentro */
.tile img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius: 14px;
    border:1px solid white
}

/* Footer */
.footer {
    font-size: 10px;
    margin-top: 75px;
    text-align: center;
}



/* Modal video */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, .68);
    padding: 18px;
    z-index: 1000;
}

.modal.open {
    display: grid;
    align-content: center
}

.modal-card {
    width: min(760px, 100%);
    background: #0b0d10;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}

.modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.modal-top strong {
    letter-spacing: .06em;
}

.close {
    border: none;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
}

.modal-body {
    padding: 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}


.textExplora{
    color: white !important;
    font-size: 13px;
    line-height: 1.4;
}






/* Accordeon */

.accordion{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.accordion-item{
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    overflow:hidden;
    background:#111418;
}

.accordion-trigger{
    width:100%;
    background:transparent;
    border:none;
    color:#fff;
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}

.accordion-icon{
    font-size:20px;
    transition:transform 0.3s ease;
}

.accordion-item.active .accordion-icon{
    transform:rotate(180deg);
}

.accordion-content{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.35s ease;
    padding:0 14px;
}

.accordion-item.active .accordion-content{
    padding:0 14px 50px 14px;
}

.video-card{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:14px;
    align-items:center;
    padding:14px 0;
    border-top:1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid black;
}

.accordion-content .video-card:first-child{
    border-top:none;
}

.accordion-exercises{
    background-color: white;
    color: black !important;
}

.accordion-ex-text{
    color: black;

}

.video-desc-zones{
    font-family: Arial, Helvetica, sans-serif;
    color: black !important;
}

.video-desc{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}


.video-thumb{
    position:relative;
    overflow:hidden;
    cursor:pointer;
    min-height:100px;
}

.video-thumb img{
    width:100%;
    object-fit:cover;
    min-height: 130px;
}

.video-info{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.card-title{
    color:#fff;
    font-family:Arial, Helvetica, sans-serif !important;
    font-size: 12px;
}

.title-zones{
    color:#000000;
    font-size:16px;
    font-weight:700;
}
.video-desc{
    margin:0;
    font-size:13px;
    line-height:1.45;
    color:rgba(255,255,255,0.72);
}

.video-link{
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}

.link-zones{
    color:#000000;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
}


/* REGLAS DEKA LEAGUE */
.deka-accordion{
    margin-top:30px;
    margin-bottom: 30px;
}
.deka-accordion .accordion-item{
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:10px;
    overflow:hidden
}

.deka-accordion .accordion-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 16px;
    cursor:pointer;
    font-weight:700;
    list-style:none
}

.deka-accordion .accordion-summary::-webkit-details-marker{
    display:none
}

.deka-accordion .accordion-content{
    padding:8px 16px 16px
}
.deka-accordion .doc-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    border:1px solid #eee;
    border-radius:10px;
    margin-top:10px
}

.deka-accordion .download-btn,
.deka-accordion .lock-btn{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    flex-shrink:0
}

.deka-accordion .download-btn{
    background:#d60000;
    color:#fff;
    text-decoration:none
}

.deka-accordion .locked{
    background:rgba(0,0,0,.06);
    opacity:.72
}

.deka-accordion .lock-btn{
    background:#bdbdbd;
    color:#fff
}

.accordion-content-reglas{
    overflow:hidden;
    transition:max-height 0.35s ease;
    padding:14px;
    margin-bottom: 55px;
}


/* TESTIMONIOS */

.card.testimonial-card{
    padding: 10px;
    margin: 10px;
    background-color:#111418
}

.testimonial-image img{
    width:100%;
    background-position:center;
    background-size:cover;
    border-radius:10px;
}

h1.section-title{
    padding:5px;
}






/* RUTINAS */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #000000;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
}

.app-shell {
    width: 100%;
    max-width: 390px;
    min-height: 100vh;
    margin: 0 auto;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.screen-content {
    padding: 12px 14px 110px 14px;
}

.top-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.brand-logo {
    width: 132px;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-card {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 0;
    overflow: hidden;
    background: #050505;
}

.hero-image {
    width: 100%;
    display: block;
    height: auto;
}

.intro-copy {
    margin-bottom: 26px;
}

.intro-copy p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 500;
}

.section-heading {
    text-align: center;
    margin-bottom: 22px;
}

.section-heading h1 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.section-date {
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
}

.filters-block {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 18px;
    scrollbar-width: none;
}

.filters-block::-webkit-scrollbar {
    display: none;
}

.btn.filter-chipRed {
    background-color: red;
    font-size: 8px;
}

.filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0d0d0d;
    color: #ffffff;
    font-size: 10px;
    padding: 10px 14px;
    font-size: 8px;
    letter-spacing: 0.4px;
    white-space: nowrap;
    cursor: pointer;
}



.routines-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.routine-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.548);
    border-radius: 14px;
    padding: 30px;
}


.routine-card.locked {
    opacity: 0.82;
}

.routine-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.routine-level,
.routine-week {
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    color: #bdbdbd;
    text-transform: uppercase;
}

.routine-title {
    margin: 0 0 8px 0;
    font-size: 19px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 900;
}

.routine-desc {
    margin: 0 0 14px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #d0d0d0;
}


.routine-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #bcbcbc;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 390px;
    height: 68px;
    background: #070707;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 20;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #9f9f9f;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-item.active {
    color: #ffffff;
}

.nav-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.9;
}

.nav-item.active .nav-icon {
    background: red;
}

.section-discount{
    padding: 4px 12px 8px;
}

.discount-card{
    position: relative;
    background: linear-gradient(180deg, rgba(239, 1, 1, 0.18) 0%, rgba(20,20,20,1) 38%, rgba(10,10,10,1) 100%);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 10px;
    padding: 18px 16px 18px;
    box-shadow: 0 10px 30px rgba(239, 1, 1, 0.18);
    overflow: hidden;
}

.discount-card::before{
    content:"";
    position:absolute;
    top:-40px;
    right:-40px;
    width:120px;
    height:120px;
    background: radial-gradient(circle, rgba(239,1,53,0.35) 0%, rgba(239,1,53,0) 70%);
    pointer-events:none;
}

.discount-badge{
    display:inline-block;
    margin-bottom:10px;
    padding:6px 10px;
    border-radius:999px;
    background:red;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase;
}

.discount-title{
    margin:0 0 10px 0;
    font-size:24px;
    line-height:1.05;
    font-weight:900;
    color:#fff;
    text-transform:uppercase;
}

.discount-title span{
    color:red;
}

.discount-text{
    margin:0 0 16px 0;
    font-size:14px;
    line-height:1.45;
    color:#d7d7d7;
}

.btn-discount{
    display:block;
    width:100%;
    text-align:center;
    text-decoration:none;
    padding:14px 16px;
    border-radius:10px;
    color:#fff;
    font-size:14px;
    font-weight:900;
    letter-spacing:.6px;
    text-transform:uppercase;
    box-shadow: 0 8px 18px rgba(239,1,53,0.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-discount:active{
    transform: scale(0.98);
}
