﻿/* ==================================================
   SAGE STORE
   FORTNITE - ESCOLHA SUA CATEGORIA
   BASEADO 1:1 NO VALORANT-TIPO.CSS
================================================== */


/* ==================================================
   PÁGINA PRINCIPAL
================================================== */

.fortnite-tipo-page {
    --ft-primary: #49cfff;
    --ft-primary-light: #7fe3ff;
    --ft-background: #090c10;
    --ft-surface: #10171c;
    --ft-border: rgba(73, 207, 255, 0.18);
    position: relative;
    isolation: isolate;
    min-height: calc(100vh - 70px);
    width: 100%;
    padding: 0 20px 65px;
    background: var(--ft-background);
    overflow: hidden;
}


/* ==================================================
   FUNDO
================================================== */

.ft-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}


/* GIF DA SAGE */

.ft-bg-gif {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.15;
    filter: hue-rotate(170deg) saturate(1.7) brightness(0.55);
    transform: scale(1.03);
}


/* ESCURECIMENTO DO GIF */

.ft-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(4, 9, 13, 0.55), rgba(4, 9, 13, 0.76) );
}


/* ILUMINAÇÃO ESQUERDA */

.ft-bg-glow-left {
    position: absolute;
    width: 850px;
    height: 850px;
    left: -470px;
    top: 150px;
    background: radial-gradient( circle, rgba(0, 174, 255, 0.37) 0%, rgba(0, 100, 170, 0.20) 35%, transparent 70% );
    filter: blur(35px);
}


/* ILUMINAÇÃO DIREITA */

.ft-bg-glow-right {
    position: absolute;
    width: 900px;
    height: 800px;
    right: -460px;
    top: -250px;
    background: radial-gradient( circle, rgba(54, 201, 255, 0.28) 0%, rgba(0, 100, 170, 0.13) 45%, transparent 75% );
    filter: blur(45px);
}


/* ILUMINAÇÃO CENTRAL */

.ft-bg-center {
    position: absolute;
    width: 650px;
    height: 600px;
    left: 50%;
    top: 50px;
    transform: translateX(-50%);
    background: radial-gradient( ellipse, rgba(50, 190, 255, 0.22), rgba(0, 90, 150, 0.08) 45%, transparent 72% );
}


/* LINHAS DECORATIVAS */

.ft-bg-lines {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    background: linear-gradient( 137deg, transparent 21.9%, rgba(73, 207, 255, 0.23) 22%, transparent 22.15% ), linear-gradient( 137deg, transparent 76.9%, rgba(73, 207, 255, 0.17) 77%, transparent 77.15% );
}


/* ==================================================
   CONTEÚDO
================================================== */

.ft-main {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 50px;
}


/* ==================================================
   CABEÇALHO
================================================== */

.ft-heading {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 38px;
}


    /* EMBLEMA DECORATIVO */

    .ft-heading::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 500px;
        height: 500px;
        top: -45px;
        left: 50%;
        transform: translateX(-50%);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.10;
        filter: hue-rotate(190deg) saturate(2) brightness(0.6);
        -webkit-mask-image: radial-gradient( ellipse, black 15%, transparent 70% );
        mask-image: radial-gradient( ellipse, black 15%, transparent 70% );
        pointer-events: none;
    }


/* ==================================================
   BREADCRUMB
================================================== */

.ft-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}


    .ft-breadcrumb a {
        color: #aec2cb;
        transition: color 0.2s;
    }


        .ft-breadcrumb a:hover {
            color: white;
        }


    .ft-breadcrumb span {
        color: var(--ft-primary);
    }


    .ft-breadcrumb strong {
        color: #c3dce6;
        font-size: inherit;
    }


/* ==================================================
   TÍTULO
================================================== */

.ft-heading h1 {
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.6px;
    color: white;
    text-transform: uppercase;
}


    .ft-heading h1 span {
        color: var(--ft-primary);
        text-shadow: 0 0 30px rgba(73, 207, 255, 0.35);
    }


/* ==================================================
   DESCRIÇÃO
================================================== */

.ft-heading p {
    max-width: 520px;
    margin-top: 21px;
    color: #aec0c8;
    font-size: 13px;
    line-height: 1.75;
}


/* ==================================================
   CATEGORIAS
================================================== */

.ft-categories {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    perspective: 1200px;
}


/* ==================================================
   CARD
================================================== */

.ft-card {
    position: relative;
    width: 100%;
    max-width: 316px;
    min-width: 0;
    background: linear-gradient( 180deg, #101a21, #090d10 );
    border: 1px solid rgba(73, 207, 255, 0.18);
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform, box-shadow, filter;
    transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease, filter 0.38s ease, background 0.38s ease;
    animation: ftCardReveal 0.75s ease both, ftCardFloat 5.2s ease-in-out infinite;
}


    /* MESMO DELAY DO PRIMEIRO CARD VALORANT */

    .ft-card:nth-child(1) {
        animation-delay: 0.06s, 0.90s;
    }


    /* ==================================================
   BRILHO PASSANDO PELO CARD
================================================== */

    .ft-card::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: linear-gradient( 120deg, transparent 0%, rgba(255, 255, 255, 0.03) 20%, rgba(73, 207, 255, 0.08) 40%, rgba(108, 220, 255, 0.08) 60%, transparent 100% );
        transform: translateX(-130%);
        pointer-events: none;
        z-index: 4;
    }


    /* ==================================================
   GLOW DO CARD
================================================== */

    .ft-card::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        right: -60px;
        top: -60px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(73, 207, 255, 0.16) 0%, rgba(91, 211, 255, 0.10) 35%, rgba(73, 207, 255, 0) 70% );
        opacity: 0;
        transition: opacity 0.35s ease, transform 0.35s ease;
        pointer-events: none;
        z-index: 0;
    }


    /* ==================================================
   HOVER GERAL
   IGUAL AO VALORANT
================================================== */

    .ft-card:hover {
        transform: translateY(-12px) scale(1.018) rotateX(3deg) rotateY(-3deg);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(73, 207, 255, 0.28), 0 0 28px rgba(73, 207, 255, 0.18);
        border-color: rgba(73, 207, 255, 0.38);
        filter: saturate(1.05);
    }


        .ft-card:hover::before {
            animation: ftShineSweep 0.9s ease;
        }


        .ft-card:hover::after {
            opacity: 1;
            transform: scale(1.08);
        }


/* ==================================================
   IMAGEM DO CARD
================================================== */

.ft-card-image {
    position: relative;
    height: 235px;
    width: 100%;
    overflow: hidden;
    background: #07141c;
}


.ft-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.55s ease, filter 0.55s ease;
    animation: ftImageBreath 6s ease-in-out infinite;
}


/* MESMO HOVER DA IMAGEM DO VALORANT */

.ft-card:hover .ft-card-img {
    transform: scale(1.07);
    filter: brightness(1.07) saturate(1.10);
}


/* ==================================================
   GRADIENTE DA IMAGEM
================================================== */

.ft-image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 180deg, transparent 0%, rgba(7, 10, 13, 0.03) 35%, rgba(7, 10, 13, 0.30) 55%, #090d10 100% );
    pointer-events: none;
}


/* ==================================================
   OVERLAY ANIMADO
================================================== */

.ft-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( 135deg, rgba(103, 220, 255, 0) 0%, rgba(103, 220, 255, 0.10) 35%, rgba(73, 207, 255, 0.10) 70%, rgba(73, 207, 255, 0) 100% );
    opacity: 0.35;
    transition: opacity 0.35s ease;
    pointer-events: none;
}


.ft-card:hover
.ft-card-image::after {
    opacity: 0.55;
}


/* ==================================================
   CONTEÚDO DO CARD
================================================== */

.ft-card-content {
    position: relative;
    z-index: 3;
    margin-top: -28px;
    padding: 0 16px 17px;
}


/* ==================================================
   LABEL
================================================== */

.ft-card-category {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #bfd3dc;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}


    .ft-card-category span {
        width: 16px;
        height: 2px;
        background: var(--ft-primary);
    }


/* ==================================================
   TÍTULO DO CARD
================================================== */

.ft-card h2 {
    margin: 0 0 17px;
    color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}


/* ==================================================
   CARACTERÍSTICAS
================================================== */

.ft-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 79px;
    padding: 0 0 16px;
    margin: 0;
    list-style: none;
}


    .ft-card-features li {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        gap: 9px;
        color: #c1d0d7;
        font-size: 10px;
        line-height: 1.4;
        transition: transform 0.26s ease, opacity 0.26s ease, color 0.26s ease;
    }


    .ft-card-features i {
        flex-shrink: 0;
        margin-top: 2px;
        color: var(--ft-primary);
        font-size: 10px;
    }


/* EXATAMENTE IGUAL AO VALORANT */

.ft-card:hover
.ft-card-features li {
    transform: translateX(6px);
    color: #ffffff;
}


    .ft-card:hover
    .ft-card-features li:nth-child(1) {
        transition-delay: 0.03s;
    }


    .ft-card:hover
    .ft-card-features li:nth-child(2) {
        transition-delay: 0.06s;
    }


    .ft-card:hover
    .ft-card-features li:nth-child(3) {
        transition-delay: 0.09s;
    }


/* ==================================================
   RODAPÉ
================================================== */

.ft-card-bottom {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}


/* ==================================================
   INFORMAÇÃO
================================================== */

.ft-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


    .ft-card-info span {
        color: #82939b;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 2px;
    }


    .ft-card-info strong {
        color: white;
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 20px;
        font-weight: 900;
        line-height: 1;
    }


/* ==================================================
   LINHA ANIMADA DO RODAPÉ
================================================== */

.ft-card-bottom::after {
    content: "";
    position: absolute;
    left: -20%;
    bottom: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient( 90deg, rgba(102, 219, 255, 0), rgba(102, 219, 255, 1), rgba(73, 207, 255, 1), rgba(73, 207, 255, 0) );
    opacity: 0;
}


.ft-card:hover
.ft-card-bottom::after {
    opacity: 1;
    animation: ftLineRun 1.2s ease;
}


/* ==================================================
   BOTÃO
================================================== */

.ft-card-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 32px;
    padding: 0 14px;
    background: #49cfff;
    color: white;
    border-radius: 22px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 5px 18px rgba(73, 207, 255, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, letter-spacing 0.25s ease, filter 0.25s ease;
    animation: ftButtonPulse 2.8s ease-in-out infinite;
}


    /* BRILHO DO BOTÃO */

    .ft-card-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: -130%;
        width: 55%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.38), transparent );
        transform: skewX(-20deg);
        pointer-events: none;
    }


/* MESMO HOVER DO VALORANT */

.ft-card:hover
.ft-card-button {
    transform: translateY(-2px) scale(1.04);
    letter-spacing: 0.4px;
    box-shadow: 0 8px 22px rgba(73, 207, 255, 0.25), 0 0 18px rgba(107, 219, 255, 0.12);
    filter: brightness(1.03);
}


    .ft-card:hover
    .ft-card-button::before {
        animation: ftButtonShine 0.85s ease;
    }


.ft-card-button:hover {
    color: white;
}


.ft-card-button i {
    font-size: 10px;
}


/* ==================================================
   TEXTO INFERIOR
================================================== */

.ft-bottom-description {
    max-width: 700px;
    margin: 27px auto 0;
    text-align: center;
    color: #95a7af;
    font-size: 11px;
    line-height: 1.8;
}


/* =========================================================
   KEYFRAMES
   CÓPIA DO COMPORTAMENTO DO VALORANT
========================================================= */

@keyframes ftCardReveal {

    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes ftCardFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


@keyframes ftShineSweep {

    0% {
        transform: translateX(-130%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateX(180%);
        opacity: 0;
    }
}


@keyframes ftImageBreath {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.025);
    }
}


@keyframes ftButtonPulse {

    0%, 100% {
        box-shadow: 0 0 0 rgba(73, 207, 255, 0);
    }

    50% {
        box-shadow: 0 0 18px rgba(73, 207, 255, 0.12);
    }
}


@keyframes ftButtonShine {

    0% {
        left: -130%;
    }

    100% {
        left: 160%;
    }
}


@keyframes ftLineRun {

    0% {
        left: -20%;
    }

    100% {
        left: 100%;
    }
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 768px) {

    .ft-main {
        padding-top: 55px;
    }


    .ft-heading h1 {
        font-size: 47px;
    }


    .ft-heading p {
        font-size: 12px;
    }


    .ft-categories {
        max-width: 620px;
    }


    .ft-card {
        max-width: 316px;
    }


    .ft-card-image {
        height: 230px;
    }


    .ft-card-content {
        padding: 0 14px 15px;
    }


    .ft-card h2 {
        font-size: 29px;
    }


    .ft-card-button {
        padding: 0 11px;
        font-size: 9px;
    }
}


/* ==================================================
   CELULAR
================================================== */

@media (max-width: 540px) {

    .fortnite-tipo-page {
        padding: 0 15px 55px;
    }


    .ft-main {
        padding-top: 45px;
    }


    .ft-heading {
        margin-bottom: 30px;
    }


        .ft-heading h1 {
            font-size: 42px;
            line-height: 1.05;
        }


        .ft-heading p {
            margin-top: 16px;
            font-size: 11px;
        }


            .ft-heading p br {
                display: none;
            }


    .ft-categories {
        max-width: 350px;
    }


    .ft-card {
        width: 100%;
        max-width: 350px;
    }


    .ft-card-image {
        height: 255px;
    }


    .ft-card-content {
        padding: 0 18px 18px;
    }


    .ft-card h2 {
        font-size: 35px;
    }


    .ft-card-features {
        min-height: auto;
    }


    .ft-card-button {
        padding: 0 15px;
        font-size: 10px;
    }


    .ft-bottom-description {
        margin-top: 25px;
        font-size: 10px;
    }
}


/* =========================================================
   RESPONSIVIDADE DAS ANIMAÇÕES
========================================================= */

@media (max-width: 900px) {

    .ft-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .ft-card,
    .ft-card::before,
    .ft-card::after,
    .ft-card-img,
    .ft-card-button,
    .ft-card-features li {
        animation: none !important;
        transition: none !important;
    }


        .ft-card:hover {
            transform: none !important;
        }
}
