/* ======================================================
   STORY CATEGORY SECTION
====================================================== */

.story-category-section{

    position:relative;

    width:100%;

    min-height:100vh;

    background:#07110B;

    overflow:hidden;

    padding:120px 10%;

}

/* OVERLAY */

.story-category-overlay{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(255,196,0,0.08),
        transparent 30%
    );

}

/* ======================================================
   HEADER
====================================================== */

.story-category-header{

    position:relative;

    z-index:2;

    text-align:center;

    margin-bottom:80px;

}

.story-category-header span{

    color:#FFD95A;

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:14px;

}

.story-category-header h2{

    font-size:58px;

    margin-top:20px;

    line-height:1.2;

}

/* ======================================================
   CATEGORY GRID
====================================================== */

.story-category-list{

    position:relative;

    z-index:2;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

/* ======================================================
   CATEGORY CARD
====================================================== */

.story-card{

    position:relative;

    height:340px;

    border-radius:30px;

    overflow:hidden;

    cursor:pointer;

    transition:0.6s ease;

    background:black;

}

.story-card:hover{

    transform:
    translateY(-10px)
    scale(1.02);

}

/* IMAGE */

.story-card img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:1s ease;

}

.story-card:hover img{

    transform:scale(1.1);

}

/* OVERLAY */

.story-card-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.1),
        rgba(0,0,0,0.8)
    );

}

/* CONTENT */

.story-card-content{

    position:absolute;

    bottom:30px;
    left:30px;

    z-index:3;

}

.story-card-content span{

    color:#FFD95A;

    letter-spacing:3px;

    font-size:12px;

    text-transform:uppercase;

}

.story-card-content h3{

    margin-top:10px;

    font-size:32px;

}

/* ======================================================
   FULLSCREEN STORY MODE
====================================================== */

.story-modal{

    position:fixed;

    inset:0;

    width:100%;
    height:100vh;

    overflow:hidden;

    z-index:9999;

    opacity:0;

    visibility:hidden;

    transition:1s ease;

    background:black;

}

/* ACTIVE */

.story-modal.active{

    opacity:1;

    visibility:visible;

}

/* ======================================================
   STORY IMAGE
====================================================== */

.story-background{

    position:absolute;

    inset:0;

}

.story-background img{

    width:100%;
    height:100%;

    object-fit:cover;

    animation:
    cinematicZoom 12s ease-in-out infinite alternate;

}

/* ======================================================
   OVERLAY
====================================================== */

.story-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,0.2),
        rgba(0,0,0,0.8)
    );

}

/* ======================================================
   LIGHT
====================================================== */

.story-light{

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(255,196,0,0.18),
        transparent 35%
    );

}

/* ======================================================
   STORY CONTENT
====================================================== */

.story-content{

    position:relative;

    z-index:10;

    width:100%;
    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:8%;

    animation:
    storyFade 1s ease;

}

/* LEFT */

.left-layout{

    align-items:flex-start;

    text-align:left;

}

/* RIGHT */

.right-layout{

    align-items:flex-end;

    text-align:right;

}

/* CENTER */

.center-layout{

    align-items:center;

    text-align:center;

}

/* TEXT */

.story-content span{

    color:#FFD95A;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:20px;

}

.story-content h2{

    font-size:84px;

    max-width:900px;

    line-height:1.1;

    margin-bottom:25px;

}

.story-content p{

    max-width:700px;

    line-height:1.9;

    font-size:18px;

    color:#f0f0f0;

}

/* ======================================================
   CLOSE BUTTON
====================================================== */

.close-story{

    position:absolute;

    top:30px;
    right:30px;

    width:60px;
    height:60px;

    border-radius:50%;

    border:none;

    z-index:20;

    cursor:pointer;

    color:white;

    font-size:24px;

    background:
    rgba(255,255,255,0.12);

    backdrop-filter:blur(10px);

}

/* ======================================================
   PROGRESS
====================================================== */

.story-progress{

    position:absolute;

    bottom:0;

    width:100%;
    height:4px;

    background:
    rgba(255,255,255,0.1);

}

#story-progress-bar{

    width:0%;

    height:100%;

    background:#FFD95A;

}

/* ======================================================
   ANIMATION
====================================================== */

@keyframes cinematicZoom{

    0%{

        transform:scale(1);

    }

    100%{

        transform:scale(1.1);

    }

}

@keyframes storyFade{

    0%{

        opacity:0;

        transform:
        translateY(30px);

    }

    100%{

        opacity:1;

        transform:
        translateY(0);

    }

}