/*==================================================
    THE TWIST
    Main Stylesheet
    Version: 2.0
==================================================*/


/*==================================================
    ROOT VARIABLES
==================================================*/

:root{

    --background:#0B0F19;

    --card:#161C2D;

    --card-hover:#1F2940;

    --primary:#FFD54A;

    --danger:#FF4D5A;

    --patreon:#7C3AED;

    --blue:#3B82F6;

    --green:#10B981;

    --white:#F8FAFC;

    --gray:#94A3B8;

    --border:rgba(255,255,255,.08);

    --shadow:0 15px 40px rgba(0,0,0,.35);

    --radius:18px;

    --transition:.35s;

}


/*==================================================
    RESET
==================================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--white);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

button{

    border:none;

    background:none;

    cursor:pointer;

    font-family:inherit;

}

section{

    padding:100px 0;

}


/*==================================================
    TYPOGRAPHY
==================================================*/

h1,h2,h3,h4,h5{

    font-family:'Poppins',sans-serif;

    font-weight:700;

}

h1{

    font-size:68px;

    line-height:1.1;

}

h2{

    font-size:40px;

}

h3{

    font-size:28px;

}

p{

    color:var(--gray);

    line-height:1.8;

    font-size:17px;

}


/*==================================================
    CONTAINER
==================================================*/

.container{

    width:92%;

    max-width:1400px;

    margin:auto;

}


/*==================================================
    BUTTONS
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 34px;

    border-radius:999px;

    font-weight:600;

    transition:.3s;

    font-family:'Poppins',sans-serif;

}

.btn i{

    font-size:18px;

}

.btn-primary{

    background:var(--primary);

    color:#111;

}

.btn-primary:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(255,213,74,.4);

}

.btn-secondary{

    border:2px solid var(--white);

}

.btn-secondary:hover{

    background:white;

    color:black;

}

.btn-patreon{

    background:var(--patreon);

}

.btn-patreon:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(124,58,237,.45);

}


/*==================================================
    NAVBAR
==================================================*/

header{

    position:fixed;

    width:100%;

    left:0;

    top:0;

    z-index:999;

}

.navbar{

    background:rgba(10,15,25,.75);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.navbar .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:85px;

}

.logo img{

    height:55px;

}

.nav-menu{

    display:flex;

    gap:34px;

}

.nav-menu a{

    font-weight:600;

    transition:.3s;

    position:relative;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-menu a:hover{

    color:var(--primary);

}

.nav-menu a:hover::after{

    width:100%;

}

.nav-icons{

    display:flex;

    align-items:center;

    gap:12px;

}

.search-btn,

.menu-btn{

    width:48px;

    height:48px;

    border-radius:50%;

    color:white;

    transition:.3s;

    background:rgba(255,255,255,.05);

}

.search-btn:hover,

.menu-btn:hover{

    background:var(--primary);

    color:black;

}


/*=========================================
Hero
=========================================*/

.hero{

    position:relative;

    padding:150px 0 100px;

    overflow:hidden;

    background:
    radial-gradient(circle at top right,
    rgba(255,77,90,.15),
    transparent 40%),

    radial-gradient(circle at left,
    rgba(255,213,74,.08),
    transparent 40%),

    #0B0F19;

}

.hero-content{

    text-align:center;

    max-width:900px;

    margin:0 auto 60px;

}

.hero h1{

    margin-bottom:15px;

}

.hero h2{

    color:var(--primary);

    margin-bottom:25px;

}

.hero p{

    max-width:700px;

    margin:0 auto 35px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top: 25px;

}

.hero-banner{

    position:relative;

    max-width:1024px;

    margin:60px auto;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.45);

}

.hero-banner img{

    width:100%;

    display:block;

}

.hero-banner-tag{

    position:absolute;

    top:20px;

    left:20px;

    background:var(--danger);

    color:white;

    padding:12px 24px;

    border-radius:999px;

    font-weight:700;

    z-index:5;

    animation:pulse 2s infinite;

}

.hero-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:50px;

}


/* =========================================
   TWISTED TWIST
   FANSLY EXCLUSIVE BRANCHES
========================================= */

.fansly-branches {
    width: 100%;
    max-width: 1168px;
    margin: 80px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.fansly-branches-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1168 / 784;

    overflow: hidden;

    border-radius: 18px;

    background: #080706;

    border: 1px solid rgba(201, 155, 62, 0.35);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        0 0 45px rgba(150, 105, 25, 0.12);
}

.fansly-branches-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================
   DARK GOTHIC CINEMATIC LAYER
========================================= */

.fansly-branches-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 4, 3, 0.96) 0%,
            rgba(8, 6, 4, 0.88) 38%,
            rgba(8, 6, 4, 0.48) 65%,
            rgba(5, 4, 3, 0.25) 100%
        );

    pointer-events: none;
}


/* =========================================
   CONTENT
========================================= */

.fansly-branches-content {

    position: absolute;

    z-index: 2;

    top: 50%;
    left: 8%;

    transform: translateY(-50%);

    width: 48%;

    color: #fff;

    text-align: left;
}


/* small top label */

.fansly-eyebrow {

    display: block;

    margin-bottom: 15px;

    font-size: 13px;

    letter-spacing: 5px;

    color: #d6aa54;

    font-weight: 600;
}


/* glowing symbol */

.fansly-crown {

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    border-radius: 50%;

    color: #e8bd65;

    font-size: 22px;

    border: 1px solid rgba(225, 180, 82, 0.45);

    background:
        radial-gradient(
            circle,
            rgba(214, 165, 62, 0.18),
            rgba(0, 0, 0, 0.25)
        );

    box-shadow:
        0 0 20px rgba(207, 160, 52, 0.25);
}


/* =========================================
   TITLE
========================================= */

.fansly-branches-content h2 {

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 5vw, 66px);

    line-height: 0.95;

    letter-spacing: 2px;

    font-weight: 700;

    color: #f1e6c8;

    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.9);
}

.fansly-branches-content h2 span {

    display: block;

    color: #d3a548;

    text-shadow:
        0 0 12px rgba(211, 165, 72, 0.4),
        0 0 30px rgba(211, 165, 72, 0.15);
}


/* =========================================
   DIVIDER
========================================= */

.fansly-divider {

    width: 100px;
    height: 2px;

    margin: 25px 0;

    background:
        linear-gradient(
            90deg,
            #d6aa54,
            transparent
        );

    box-shadow:
        0 0 10px rgba(214, 170, 84, 0.5);
}


/* =========================================
   SUBTITLE
========================================= */

.fansly-branches-content h3 {

    margin: 0 0 15px;

    font-size: 20px;

    font-weight: 500;

    color: #eee4ce;

    letter-spacing: 0.5px;
}


/* =========================================
   DESCRIPTION
========================================= */

.fansly-branches-content p {

    margin: 0 0 25px;

    max-width: 520px;

    color: #bdb7aa;

    font-size: 15px;

    line-height: 1.75;
}

.fansly-branches-content p strong {

    color: #d8ad55;

}


/* =========================================
   EXCLUSIVE LABEL
========================================= */

.fansly-exclusive {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

    padding: 9px 16px;

    border: 1px solid rgba(214, 170, 84, 0.35);

    background: rgba(15, 12, 8, 0.65);

    color: #dcb768;

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 700;

    box-shadow:
        inset 0 0 15px rgba(214, 170, 84, 0.04),
        0 0 20px rgba(0, 0, 0, 0.3);
}

.fansly-exclusive span {

    color: #f2cd76;

    text-shadow:
        0 0 10px rgba(242, 205, 118, 0.8);
}


/* =========================================
   BUTTON
========================================= */

.fansly-button {

    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 14px 24px;

    color: #120f09;

    background:
        linear-gradient(
            135deg,
            #f0ce78,
            #b8872d
        );

    border: 1px solid #e5c16b;

    border-radius: 4px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(210, 163, 65, 0.2);
}

.fansly-button span {

    font-size: 18px;

    transition: transform 0.3s ease;
}

.fansly-button:hover {

    transform: translateY(-3px);

    filter: brightness(1.1);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(220, 175, 72, 0.4);
}

.fansly-button:hover span {

    transform: translateX(5px);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .fansly-branches {
        margin: 45px auto;
        padding: 0 10px;
    }

    .fansly-branches-image {
        aspect-ratio: 4 / 5;
    }

    .fansly-branches-image::after {

        background:
            linear-gradient(
                180deg,
                rgba(5, 4, 3, 0.3) 0%,
                rgba(5, 4, 3, 0.7) 45%,
                rgba(5, 4, 3, 0.97) 100%
            );
    }

    .fansly-branches-content {

        top: auto;
        bottom: 7%;
        left: 8%;

        width: 84%;

        transform: none;
    }

    .fansly-crown {

        width: 35px;
        height: 35px;

        font-size: 17px;
    }

    .fansly-eyebrow {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .fansly-branches-content h2 {
        font-size: 38px;
    }

    .fansly-branches-content h3 {
        font-size: 16px;
    }

    .fansly-branches-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .fansly-exclusive {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .fansly-button {
        font-size: 10px;
        padding: 12px 18px;
    }
}



/*==================================================
    TRAILERS
==================================================*/

.trailers {
    margin: 80px auto;
}

.trailers-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
}

.trailers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trailer-box {
    overflow: hidden;
    border-radius: 18px;
    background: #161616;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

.trailer-box:hover {
    transform: translateY(-8px);
}

.thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.thumbnail:hover img {
    transform: scale(1.08);
}

.video-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, .45);

    opacity: 0;
    transition: .3s;
}

.thumbnail:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 40px;

    color: white;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(8px);

    box-shadow: 0 0 30px rgba(255, 190, 0, .6);
}

.trailer-info {
    padding: 22px;
}

.trailer-info h3 {
    margin-bottom: 10px;
    color: #f7c04a;
}

.trailer-info p {
    color: #aaa;
}



.video-modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, .9);

    z-index: 9999;

}

.video-container {

    position: relative;

    width: 90%;

    max-width: 1100px;

}

.video-container video {

    width: 100%;

    border-radius: 15px;

}

.close-video {

    position: absolute;

    top: -40px;
    right: 0;

    color: white;

    font-size: 40px;

    cursor: pointer;

}

/*==================================================
    SECTION 
==================================================*/



.section-header{

    margin-bottom:45px;

}

.section-header h2{

    font-size:42px;

    margin-bottom:12px;

}

.section-header p{

    max-width:600px;

}

/* =========================================
   TWISTED TWIST
   PREMIUM PLANS
========================================= */

.plans-section {

    width: 100%;

    max-width: 1250px;

    margin: 100px auto;

    padding: 60px 20px;

    box-sizing: border-box;

    color: #fff;

}


/* =========================================
   HEADER
========================================= */

.plans-header {

    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;

}

.plans-header > span {

    display: block;

    margin-bottom: 12px;

    color: #cda653;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 5px;

}

.plans-header h2 {

    margin: 0 0 16px;

    font-family: Georgia, serif;

    font-size: clamp(40px, 5vw, 58px);

    font-weight: 500;

    letter-spacing: 2px;

    color: #eee3c5;

    text-shadow:
        0 0 25px rgba(210,165,70,.15);

}

.plans-header p {

    margin: 0;

    color: #999;

    font-size: 15px;

    line-height: 1.7;

}


/* =========================================
   GRID
========================================= */

.plans-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

    align-items: start;

}


/* =========================================
   CARD
========================================= */

.plan-card {

    position: relative;

    overflow: hidden;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #1b1a18,
            #0c0c0c
        );

    border:
        1px solid rgba(210,165,70,.15);

    box-shadow:

        0 20px 55px rgba(0,0,0,.5),

        inset 0 1px 0
        rgba(255,255,255,.04);

    transition:

        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

}

.plan-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(210,165,70,.4);

    box-shadow:

        0 30px 70px rgba(0,0,0,.65),

        0 0 35px
        rgba(210,165,70,.08);

}


/* =========================================
   IMAGE

   Original image:
   1168 × 784
   Ratio = 1.49:1

   We preserve this ratio.
========================================= */

.plan-image-wrap {

    position: relative;

    width: 100%;

    aspect-ratio: 1168 / 784;

    overflow: hidden;

    background: #111;

}

.plan-image {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

    transition:
        transform .6s ease,
        filter .6s ease;

}

.plan-card:hover .plan-image {

    transform: scale(1.035);

}


/* =========================================
   VERY LIGHT IMAGE OVERLAY

   This doesn't hide the image.
========================================= */

.plan-image-overlay {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.05) 40%,
            rgba(0,0,0,.55) 100%
        );

}


/* =========================================
   PLAN NUMBER
========================================= */

.plan-number {

    position: absolute;

    left: 18px;

    bottom: 16px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #e0bb65;

    font-family: Georgia, serif;

    font-size: 14px;

    background:
        rgba(10,10,10,.7);

    border:
        1px solid
        rgba(220,180,90,.45);

    box-shadow:
        0 0 18px
        rgba(220,180,90,.15);

    backdrop-filter: blur(8px);

}


/* =========================================
   POPULAR BADGE
========================================= */

.popular-badge {

    position: absolute;

    top: 18px;

    right: 18px;

    z-index: 5;

    padding: 8px 13px;

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #e8c66d,
            #9c701f
        );

    color: #17130a;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

    box-shadow:
        0 5px 20px
        rgba(0,0,0,.4);

}


/* =========================================
   FEATURED CARD
========================================= */

.featured-plan {

    border-color:
        rgba(220,180,90,.45);

    box-shadow:

        0 25px 65px rgba(0,0,0,.6),

        0 0 40px
        rgba(220,180,90,.08);

}


/* =========================================
   CONTENT
========================================= */

.plan-content {

    padding: 28px 27px 30px;

}

.plan-level {

    color: #a9843c;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

}

.plan-content h3 {

    margin: 8px 0 8px;

    color: #eee4ca;

    font-family: Georgia, serif;

    font-size: 29px;

    font-weight: 500;

}

.plan-tagline {

    margin: 0 0 18px;

    color: #888;

    font-size: 13px;

    font-style: italic;

}


/* =========================================
   PRICE
========================================= */

.plan-price {

    margin-bottom: 22px;

    color: #dcb45e;

    font-size: 34px;

    font-weight: 700;

}

.plan-price small {

    color: #777;

    font-size: 12px;

    font-weight: 400;

}


/* =========================================
   FEATURES
========================================= */

.plan-features {

    list-style: none;

    margin: 0;

    padding: 0;

}

.plan-features li {

    position: relative;

    padding: 8px 0 8px 20px;

    color: #aaa;

    font-size: 13px;

    line-height: 1.4;

    border-bottom:
        1px solid
        rgba(255,255,255,.045);

}

.plan-features li::before {

    content: "✦";

    position: absolute;

    left: 0;

    top: 8px;

    color: #cba34d;

    font-size: 11px;

}


/* =========================================
   BUTTON
========================================= */

.plan-button {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    margin-top: 25px;

    padding: 14px 10px;

    box-sizing: border-box;

    border-radius: 5px;

    color: #d7b461;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgba(210,165,70,.3);

    text-decoration: none;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.8px;

    transition: .3s;

}

.plan-button:hover {

    color: #17130a;

    background:
        linear-gradient(
            135deg,
            #e7c56b,
            #a87820
        );

    border-color: #e7c56b;

    box-shadow:
        0 0 25px
        rgba(220,180,90,.25);

}

.featured-button {

    color: #17130a;

    background:
        linear-gradient(
            135deg,
            #e7c56b,
            #a87820
        );

    border-color: #e7c56b;

}


/* =========================================
   FOOTER
========================================= */

.plans-footer {

    margin-top: 45px;

    text-align: center;

    color: #666;

    font-size: 12px;

}

.plans-footer span {

    margin: 0 12px;

    color: #cda34d;

}





/*==================================================
    PLACEHOLDER SECTIONS
==================================================*/

#latest,
#games,
#gallery,
#news,
#patreon{

    min-height:250px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-top:1px solid rgba(255,255,255,.05);

}



/*==================================================
    FOOTER
==================================================*/

/* footer{

    padding:60px 0;

    background:#090d16;

    border-top:1px solid rgba(255,255,255,.06);

}

footer p{

    text-align:center;

    color:var(--gray);

} */



/*==================================================
    CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#080b13;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ffe27d;

}



/*==================================================
    UTILITIES
==================================================*/

.text-center{

    text-align:center;

}

.mt-1{

    margin-top:10px;

}

.mt-2{

    margin-top:20px;

}

.mt-3{

    margin-top:30px;

}

.mt-4{

    margin-top:40px;

}

.mb-1{

    margin-bottom:10px;

}

.mb-2{

    margin-bottom:20px;

}

.mb-3{

    margin-bottom:30px;

}

.mb-4{

    margin-bottom:40px;

}



/*==================================================
    ANIMATIONS
==================================================*/

@keyframes pulse{

    0%{

        transform:scale(1);

        box-shadow:0 0 0 rgba(255,77,90,.4);

    }

    50%{

        transform:scale(1.05);

        box-shadow:0 0 25px rgba(255,77,90,.45);

    }

    100%{

        transform:scale(1);

        box-shadow:0 0 0 rgba(255,77,90,.4);

    }

}

@keyframes floating{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes fade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

.fade-up{

    animation:fadeUp .8s ease forwards;

}

.fade{

    animation:fade .8s ease;

}



/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:1200px){

.hero-container{

    grid-template-columns:1fr;

    text-align:center;

}

.hero p{

    margin:auto auto 35px;

}

.hero-buttons{

    justify-content:center;

}

.hero-stats{

    margin-top:40px;

}

.hero-image{

    max-width:500px;

    margin:auto;

}

}


@media(max-width:992px){

.nav-menu{

    display:none;

}

.menu-btn{

    display:block;

}

.continue-card{

    grid-template-columns:1fr;

}

.continue-image{

    height:320px;

}

.hero-stats{

    grid-template-columns:repeat(2,1fr);

}

}


@media(max-width:768px){

section{

    padding:70px 0;

}

h1{

    font-size:48px;

}

h2{

    font-size:30px;

}

.hero{

    padding-top:130px;

}

.hero-buttons{

    flex-direction:column;

}

.hero-buttons .btn{

    width:100%;

}

.hero-stats{

    grid-template-columns:1fr;

}

.continue-content{

    padding:25px;

}

.section-header h2{

    font-size:32px;

}

}


@media(max-width:576px){

.container{

    width:94%;

}

.logo img{

    height:45px;

}

.search-btn,

.menu-btn{

    width:42px;

    height:42px;

}

.hero-badge{

    font-size:13px;

}

h1{

    font-size:38px;

}

.hero h2{

    font-size:24px;

}

p{

    font-size:16px;

}

.stat-box{

    padding:18px;

}

}


/*==================================================
NAVBAR SCROLLED
==================================================*/

.navbar-scrolled{

    background:#090d16;

    box-shadow:0 15px 40px rgba(0,0,0,.45);

}



/*==================================================
MOBILE MENU
==================================================*/

@media(max-width:992px){

.nav-menu{

    position:absolute;

    top:85px;

    left:0;

    width:100%;

    background:#101624;

    flex-direction:column;

    padding:30px;

    gap:25px;

    display:none;

}

.nav-menu.active{

    display:flex;

}

}

/*==================================================
LATEST RELEASE
==================================================*/

.latest-release{

    background:#101624;

}



.section-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:#ff4d5a;

    color:#fff;

    font-weight:700;

    margin-bottom:18px;

    animation:pulse 2s infinite;

}

.featured-release{

    display:grid;

    grid-template-columns:520px 1fr;

    gap:50px;

    margin-top:40px;

    background:var(--card);

    border-radius:22px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}

.release-image{

    position:relative;

    overflow:hidden;

}

.release-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.featured-release:hover .release-image img{

    transform:scale(1.06);

}

.release-tag{

    position:absolute;

    top:20px;

    left:20px;

    background:#ff4d5a;

    color:white;

    padding:10px 20px;

    border-radius:999px;

    font-weight:700;

    z-index:5;

    animation:pulse 2s infinite;

}

.release-content{

    padding:45px;

}

.game-category{

    color:var(--primary);

    margin-bottom:18px;

    font-weight:600;

}

.release-content h3{

    font-size:46px;

    margin-bottom:20px;

}



.episode-info{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    color:var(--gray);

    margin-bottom:25px;

}

.release-content p{

    margin-bottom:35px;

}

.release-progress{

    margin-bottom:35px;

}

.progress-top{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

}

.progress-bar{

    width:100%;

    height:14px;

    background:#232d43;

    border-radius:999px;

    overflow:hidden;

}

.progress-fill{

    width:80%;

    height:100%;

    background:linear-gradient(
        90deg,
        #FFD54A,
        #ff8c00
    );

    border-radius:999px;

}

.release-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;



}


/*==================================================
POPULAR GAMES
==================================================*/

.popular-games{

    background:#0c1321;

}

.popular-games p{



    max-width:700px;

    margin:0 auto 35px;


}

.center{

    text-align:center;

}

.game-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:50px;

}

.game-card{

    background:var(--card);

    border-radius:20px;

    overflow:hidden;

    border:1px solid var(--border);

    transition:.35s;

    box-shadow:var(--shadow);

}

.game-card:hover{

    transform:translateY(-12px);

    background:var(--card-hover);

}

.card-image{

    position:relative;

    overflow:hidden;

}

.card-image img{

    width:100%;

    height:420px;

    object-fit:cover;

    transition:.5s;

}

.game-card:hover img{

    transform:scale(1.08);

}

.badge{

    position:absolute;

    top:18px;

    left:18px;

    z-index:10;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    color:white;

}

.badge-new{

    background:#ff4d5a;

}

.badge-popular{

    background:#FFD54A;

    color:#111;

}

.badge-complete{

    background:#10B981;

}

.card-content{

    padding:28px;

}

.card-content h3{

    margin-bottom:12px;

}

.card-content p{

    margin-bottom:25px;

}

.card-buttons{

    display:flex;

    gap:15px;

}

.card-buttons .btn{

    flex:1;

}

/*==================================================
OUR GAMES
==================================================*/

.games-library{

    background:#101624;

}

.games-library p{



    max-width:700px;

    margin:0 auto 35px;


}

.game-search{

    position:relative;

    max-width:700px;

    margin:40px auto;

}

.game-search input{

    width:100%;

    padding:18px 25px 18px 60px;

    border:none;

    border-radius:999px;

    background:var(--card);

    color:white;

    font-size:17px;

    outline:none;

}

.game-search i{

    position:absolute;

    left:22px;

    top:50%;

    transform:translateY(-50%);

    color:var(--gray);

}

.game-filter{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:45px;

}

.filter-btn{

    padding:12px 26px;

    border-radius:999px;

    background:var(--card);

    color:white;

    border:1px solid var(--border);

    transition:.3s;

}

.filter-btn:hover,

.filter-btn.active{

    background:var(--primary);

    color:black;

}

.library-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.library-card{

    background:var(--card);

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    border:1px solid var(--border);

}

.library-card:hover{

    transform:translateY(-10px);

    background:var(--card-hover);

}

.library-card img{

    width:100%;

    height:300px;

    object-fit:cover;

    transition:.5s;

}

.library-card:hover img{

    transform:scale(1.08);

}

.library-content{

    padding:22px;

}

.library-type{

    display:inline-block;

    color:var(--primary);

    margin-bottom:12px;

    font-weight:600;

}

.library-content h3{

    margin-bottom:12px;

}

.library-content p{

    margin-bottom:25px;

}

.library-buttons{

    display:flex;

    gap:12px;

}

.library-buttons .btn{

    flex:1;

}

/*==================================================
SCREENSHOT GALLERY
==================================================*/

.gallery-section{

    background:#0B0F19;

}



.gallery-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:50px;

}

.gallery-item{

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

    position:relative;

}

.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-item::after{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.15);

    transition:.3s;

}

.gallery-item:hover::after{

    background:rgba(0,0,0,0);

}

.large{

    grid-column:span 2;

    grid-row:span 2;

    min-height:520px;

}

.wide{

    grid-column:span 2;

    min-height:250px;

}

.gallery-item:not(.large):not(.wide){

    min-height:250px;

}

/*==================================================
LIGHTBOX
==================================================*/

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.95);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:5000;

}

.lightbox.active{

    display:flex;

}

.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

}

.close-lightbox{

    position:absolute;

    top:40px;

    right:50px;

    font-size:60px;

    color:white;

    cursor:pointer;

}

/*==================================================
DEVELOPER NEWS
==================================================*/

.developer-news{

    background:#101624;

}

.developer-news p{



    max-width:700px;

    margin:0 auto 35px;


}

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:50px;

}

.news-card{

    background:var(--card);

    border-radius:20px;

    padding:35px;

    border:1px solid var(--border);

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-8px);

    background:var(--card-hover);

}

.news-date{

    color:var(--primary);

    font-weight:700;

    margin-bottom:15px;

}

.news-card h3{

    margin-bottom:18px;

}

.news-card p{

    margin-bottom:25px;

}

.read-more{

    color:var(--primary);

    font-weight:600;

}

.read-more i{

    margin-left:8px;

}



/*==================================================
PATREON
==================================================*/

.patreon-section{

    background:#0B0F19;

}

.patreon-box{

    background:linear-gradient(
        135deg,
        #7C3AED,
        #4F46E5
    );

    border-radius:28px;

    padding:80px 60px;

    text-align:center;

    box-shadow:0 20px 60px rgba(124,58,237,.35);

}

.patreon-content{

    max-width:900px;

    margin:auto;

}

.patreon-content h2{

    margin:25px 0;

    font-size:48px;

}

.patreon-content p{

    color:white;

    margin-bottom:40px;

    font-size:19px;

}

.patreon-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/*==================================================
FOOTER
==================================================*/

.footer{

background:#0b0f19;

padding:80px 0 40px;

}

.footer-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:40px;

}

.footer ul{

list-style:none;

padding:0;

}

.footer li{

margin:12px 0;

}

.footer a{

color:#ddd;

text-decoration:none;

}

.footer-social{

display:flex;

gap:18px;

font-size:28px;

}

.footer hr{

margin:50px 0;

border-color:#333;

}

.copyright{

text-align:center;

color:#888;

}

/*==================================================
Modal
==================================================*/

.modal-content {
    background: #101624;
}

.modal-content p{
    color: #a4a7ad;
}

/*==================================================
SCROLL TO TOP
==================================================*/

#scrollTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    border:none;

    background:var(--primary);

    color:black;

    font-size:20px;

    cursor:pointer;

    display:none;

    z-index:999;

    transition:.3s;

}

#scrollTop:hover{

    transform:translateY(-6px);

}

/*==================================================
Responsive
==================================================*/

@media(max-width:992px){

.featured-release{

    grid-template-columns:1fr;

}

.release-image{

    height:420px;

}

.release-content{

    padding:30px;

}

}

@media(max-width:768px){

.release-buttons{

    flex-direction:column;

}

.release-buttons .btn{

    width:100%;

}

.release-content h3{

    font-size:34px;

}

}

@media(max-width:1100px){

.game-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.game-grid{

    grid-template-columns:1fr;

}

.card-buttons{

    flex-direction:column;

}

}

@media(max-width:1200px){

.library-grid{

    grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:992px){

.library-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.library-grid{

    grid-template-columns:1fr;

}

.library-buttons{

    flex-direction:column;

}

.game-search{

    margin-top:30px;

}

}


@media(max-width:992px){

.gallery-grid{

    grid-template-columns:repeat(2,1fr);

}

.large{

    grid-column:span 2;

}

.wide{

    grid-column:span 2;

}

}

@media(max-width:768px){

.gallery-grid{

    grid-template-columns:1fr;

}

.large,
.wide{

    grid-column:span 1;

}

.gallery-item{

    min-height:260px;

}

}

@media(max-width:992px){

.news-grid{

    grid-template-columns:1fr;

}

}

@media(max-width:768px){

.patreon-box{

    padding:50px 25px;

}

.patreon-content h2{

    font-size:34px;

}

.patreon-buttons{

    flex-direction:column;

}

.patreon-buttons .btn{

    width:100%;

}

}

@media(max-width:992px){

.footer-grid{

    grid-template-columns:1fr 1fr;

}

}

@media(max-width:768px){

.footer-grid{

    grid-template-columns:1fr;

}

.footer{

    text-align:center;

}

.social-links{

    justify-content:center;

}

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 950px) {

    .plans-grid {

        grid-template-columns: 1fr;

        max-width: 600px;

        margin: 0 auto;

    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .plans-section {

        margin: 60px auto;

        padding: 40px 15px;

    }

    .plans-grid {

        gap: 20px;

    }

    .plan-content {

        padding: 24px 22px 26px;

    }

    .plans-header h2 {

        font-size: 38px;

    }

}

@media(max-width:1000px){

    .trailers-grid{

        grid-template-columns:1fr;

    }

}