/* ==================================================
   OCTIGAMES HOME - CRAZYGAMES STYLE
================================================== */

.octi-home{
    width:100%;
    min-height:100vh;
    padding:18px 18px 80px;
    box-sizing:border-box;
    color:#edf3fb;
    background:
        radial-gradient(circle at top left, rgba(0,195,255,.10), transparent 28%),
        radial-gradient(circle at top right, rgba(180,80,255,.08), transparent 26%),
        linear-gradient(180deg,#05070a 0%,#000 100%);
}

/* HERO COMPACTO */

.octi-home-hero{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) 330px;
    gap:16px;
    margin-bottom:18px;
}

.octi-home-hero-content{
    min-height:160px;
    padding:18px 22px;
    border-radius:24px;

    background:
        linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.18)),
        radial-gradient(circle at top left, rgba(0,195,255,.22), transparent 34%),
        linear-gradient(135deg,#2c3740,#151c23);

    border:1px solid rgba(255,255,255,.12);
    box-shadow:0 0 28px rgba(0,195,255,.08);
}

.octi-home-kicker{
    display:inline-flex;
    margin-bottom:10px;
    padding:7px 12px;
    border-radius:999px;
    background:rgba(0,195,255,.14);
    border:1px solid rgba(0,195,255,.28);
    color:#9eefff;
    font-size:12px;
    font-weight:1000;
}

.octi-home-hero h1{
    max-width:850px;
    margin:0 0 6px;

    color:#fff;

    font-size:clamp(22px,3vw,38px);

    line-height:1;
    letter-spacing:-.04em;

    font-weight:1000;
}

.octi-home-hero p{
    max-width:620px;
    margin:0;

    color:rgba(237,243,251,.72);

    font-size:13px;
    line-height:1.35;

    font-weight:700;
}

.octi-home-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}

.octi-home-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 16px;
    border-radius:999px;
    background:rgba(0,195,255,.18);
    border:1px solid rgba(0,195,255,.30);
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:1000;
    transition:.16s ease;
}

.octi-home-btn:hover{
    transform:translateY(-2px);
    background:rgba(0,195,255,.26);
}

.octi-home-btn.secondary{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.14);
}

/* CARD LATERAL */

.octi-home-hero-card{
    min-height:210px;
    padding:22px;
    border-radius:24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:10px;
    background:
        radial-gradient(circle at top right,rgba(180,80,255,.20),transparent 36%),
        linear-gradient(135deg,#242d36,#151b21);
    border:1px solid rgba(255,255,255,.12);
}

.octi-home-glow-icon{
    width:58px;
    height:58px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.14);
    font-size:30px;
}

.octi-home-hero-card strong{
    color:#fff;
    font-size:20px;
    line-height:1.15;
    font-weight:1000;
}

.octi-home-hero-card span{
    color:rgba(237,243,251,.66);
    font-size:13px;
    line-height:1.4;
    font-weight:700;
}

/* SECCIONES */

.octi-home-section{
    width:100%;
    margin-bottom:20px;
    padding:18px;
    border-radius:24px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.08);
}

.octi-home-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:14px;
}

.octi-home-section-head span{
    display:block;
    margin-bottom:3px;
    color:#8cffc7;
    font-size:11px;
    font-weight:1000;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.octi-home-section-head h2{
    margin:0;
    color:#fff;
    font-size:24px;
    font-weight:1000;
}

/* CARRUSEL MOSAICO TIPO CRAZYGAMES */

.octi-carousel-wrap{
    position:relative;
    width:100%;
    overflow:hidden;
}

.octi-games-container{
    width:100%;
    display:flex !important;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    padding:0;
    scrollbar-width:none;
}

.octi-games-container::-webkit-scrollbar{
    display:none;
}

.octi-feature-group{
    flex:0 0 auto;
    display:grid;
    grid-template-columns:340px 340px;
    gap:6px;
}

.octi-feature-mini-grid{
    display:grid;
    grid-template-columns:repeat(2, 167px);
    grid-template-rows:repeat(2, 135px);
    gap:6px;
}

.octi-games-container .game-card{
    position:relative;
    overflow:hidden;
    width:100%;
    height:135px;
    margin:0 !important;
    border:0 !important;
    border-radius:8px !important;
    background:#141a20;
    color:#fff;
    text-decoration:none;
    box-shadow:none;
}

.octi-games-container .game-card.octi-feature-big{
    height:276px;
}

.octi-games-container .game-card img,
.octi-games-container .game-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.octi-games-container .game-card h3{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    margin:0;
    padding:30px 10px 8px;
    color:#fff;
    font-size:13px;
    line-height:1.15;
    font-weight:1000;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));
}

.octi-games-container .game-card.octi-feature-big h3{
    font-size:20px;
    padding:54px 16px 14px;
}

.octi-carousel-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;

    width:42px;
    height:70px;

    border:0;
    border-radius:14px;

    background:rgba(0,0,0,.68);
    color:#fff !important;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:42px;
    font-weight:900;
    line-height:1;

    cursor:pointer;
}

.octi-carousel-prev{ left:4px; }
.octi-carousel-next{ right:4px; }

@media(max-width:900px){
    .octi-feature-group{
        grid-template-columns:250px 250px;
        gap:5px;
    }

    .octi-feature-mini-grid{
        grid-template-columns:repeat(2, 122px);
        grid-template-rows:repeat(2, 100px);
        gap:5px;
    }

    .octi-games-container .game-card{
        height:100px;
    }

    .octi-games-container .game-card.octi-feature-big{
        height:205px;
    }

    .octi-carousel-arrow{
        display:none;
    }
}
/* CATEGORÍAS TIPO CHIPS */

.octi-category-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.octi-category-card{
    min-height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:999px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.11);
    color:#edf3fb;
    text-decoration:none;
    font-size:13px;
    font-weight:950;
    transition:.15s ease;
}

.octi-category-card:hover{
    transform:translateY(-2px);
    background:rgba(0,195,255,.14);
    border-color:rgba(0,195,255,.30);
    box-shadow:0 0 18px rgba(0,195,255,.12);
}

/* MOBILE */

@media(max-width:900px){

    .octi-home{
        padding:12px 10px 70px;
    }

    .octi-home-hero{
        grid-template-columns:1fr;
    }

    .octi-home-hero-card{
    min-height:auto;
    padding:14px;
    border-radius:18px;
    display:flex;
}

.octi-home-glow-icon{
    width:42px;
    height:42px;
    border-radius:14px;
    font-size:22px;
}

.octi-home-hero-card strong{
    font-size:15px;
}

.octi-home-hero-card span{
    font-size:12px;
}
    .octi-home-hero-content{
        min-height:auto;
        padding:20px;
        border-radius:22px;
    }

    .octi-home-section{
        padding:12px;
        border-radius:20px;
    }

    

    .octi-games-container .game-card h3{
        font-size:12px;
        padding:8px;
    }

    .octi-home-section-head h2{
        font-size:21px;
    }
}
.octi-games-container .game-card{
    margin:0 !important;
    border-width:0 !important;
}

.octi-games-container .game-card img,
.octi-games-container .game-image{
    transform:scale(1.01);
}
/* ==================================================
   CATEGORY ROW CAROUSELS
================================================== */

.octi-games-row-carousel{
    width:100%;
    display:flex;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    padding:0 0 4px;
    scrollbar-width:none;
}

.octi-games-row-carousel::-webkit-scrollbar{
    display:none;
}

.octi-games-row-carousel .game-card{
    position:relative;
    flex:0 0 170px;
    height:136px;
    overflow:hidden;
    border-radius:10px;
    background:#141a20;
    color:#fff;
    text-decoration:none;
}

.octi-games-row-carousel .game-card img,
.octi-games-row-carousel .game-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.octi-games-row-carousel .game-card h3{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    margin:0;
    padding:30px 10px 8px;
    color:#fff;
    font-size:13px;
    line-height:1.15;
    font-weight:1000;
    background:linear-gradient(180deg,transparent,rgba(0,0,0,.82));
}

@media(max-width:900px){
    .octi-games-row-carousel .game-card{
        flex-basis:126px;
        height:104px;
    }
}
.octi-home-more-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:38px;
    padding:0 14px;

    border-radius:999px;

    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);

    color:#fff;
    text-decoration:none;

    font-size:13px;
    font-weight:1000;

    transition:.16s ease;
}

.octi-home-more-btn:hover{
    transform:translateY(-2px);
    background:rgba(0,195,255,.16);
    border-color:rgba(0,195,255,.34);
    box-shadow:0 0 18px rgba(0,195,255,.16);
}
/* FIX HOME FULL WIDTH */
.octi-home{
    width:100% !important;
    max-width:none !important;
}

.octi-home > .octi-home-section{
    width:100% !important;
    max-width:none !important;
    display:block !important;
    box-sizing:border-box !important;
}

.octi-carousel-wrap{
    width:100% !important;
    max-width:none !important;
}

.octi-games-row-carousel{
    width:100% !important;
    max-width:none !important;
}