/* =========================================================
   THE WOUNDED LEGACY
   PHOTOPLAYERS — V1
========================================================= */

:root {
    --photo-dark: #15182B;
    --photo-dark-2: #101321;
    --photo-dark-3: #0B0E1A;
    --photo-gold: #B29758;
    --photo-cream: #E8E2D5;
    --photo-text: #CBC6BD;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 0;
    min-height: 100vh;
    overflow-x: hidden;

    background:
        var(--photo-dark);

    color:
        var(--photo-text);

    font-family:
        'Poppins',
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}


/* =========================================================
   HERO
========================================================= */

.photoplayer-hero {
    position: relative;

    min-height: 310px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        url('../images/hero.png')
        center 40% /
        cover
        no-repeat;

    border-bottom:
        1px solid
        rgba(178,151,88,.15);
}

.photoplayer-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8,12,28,.96),
            rgba(10,14,31,.86) 50%,
            rgba(12,16,33,.70)
        ),
        linear-gradient(
            to bottom,
            rgba(10,13,28,.24),
            rgba(21,24,43,.95)
        );
}

.photoplayer-hero-inner {
    position: relative;
    z-index: 2;

    width:
        min(
            1180px,
            calc(100% - 70px)
        );

    margin:
        0 auto;

    padding:
        44px 0;
}

.photoplayer-eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 12px;

    color:
        var(--photo-gold);

    font-family:
        'Cinzel',
        serif;

    font-size: 9px;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.photoplayer-eyebrow span {
    width: 30px;
    height: 1px;

    background:
        rgba(178,151,88,.68);
}

.photoplayer-hero h1 {
    margin: 0;

    color:
        var(--photo-cream);

    font-family:
        'Cinzel',
        serif;

    font-size:
        clamp(
            42px,
            4vw,
            64px
        );

    line-height: 1.04;

    font-weight: 400;

    text-transform: uppercase;
}

.photoplayer-hero h1 strong {
    display: block;

    color:
        var(--photo-gold);

    font-weight: 500;
}

.photoplayer-title-divider {
    position: relative;

    width: 290px;
    height: 24px;

    margin:
        14px
        0;
}

.photoplayer-title-divider::before {
    content: '';

    position: absolute;

    top: 50%;
    left: 0;
    right: 0;

    height: 1px;

    background:
        linear-gradient(
            to right,
            var(--photo-gold),
            transparent
        );
}

.photoplayer-title-divider span {
    position: absolute;

    top: 50%;
    left: 34%;

    width: 8px;
    height: 8px;

    border:
        1px solid
        var(--photo-gold);

    transform:
        translateY(-50%)
        rotate(45deg);
}

.photoplayer-hero p {
    max-width: 760px;

    margin: 0;

    color:
        #DDD6C8;

    font-size: 12.5px;

    line-height: 1.8;
}


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

.photoplayers-page {
    width:
        min(
            1180px,
            calc(100% - 70px)
        );

    margin:
        0 auto;

    padding:
        58px
        0
        80px;
}

.photoplayers-heading {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: end;

    gap: 40px;

    margin-bottom: 28px;

    padding-bottom: 27px;

    border-bottom:
        1px solid
        rgba(178,151,88,.14);
}

.section-kicker {
    display: block;

    margin-bottom: 7px;

    color:
        var(--photo-gold);

    font-family:
        'Cinzel',
        serif;

    font-size: 8px;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.photoplayers-heading h2 {
    margin:
        0
        0
        9px;

    color:
        var(--photo-cream);

    font-family:
        'Cinzel',
        serif;

    font-size: 27px;

    line-height: 1.15;

    font-weight: 500;

    text-transform: uppercase;
}

.photoplayers-heading p {
    max-width: 690px;

    margin: 0;

    color:
        rgba(203,198,189,.70);

    font-size: 10.5px;

    line-height: 1.8;
}

.photoplayer-stats {
    display: flex;

    border:
        1px solid
        rgba(178,151,88,.17);

    background:
        rgba(12,15,28,.38);
}

.photoplayer-stat {
    min-width: 100px;

    padding:
        12px
        14px;

    text-align: center;
}

.photoplayer-stat + .photoplayer-stat {
    border-left:
        1px solid
        rgba(178,151,88,.12);
}

.photoplayer-stat strong {
    display: block;

    color:
        var(--photo-gold);

    font-family:
        'Cinzel',
        serif;

    font-size: 20px;

    line-height: 1;
}

.photoplayer-stat span {
    display: block;

    margin-top: 5px;

    color:
        rgba(203,198,189,.48);

    font-size: 7px;

    letter-spacing: .55px;

    text-transform: uppercase;
}


/* =========================================================
   BUSCA
========================================================= */

.photoplayer-tools {
    margin-bottom: 25px;
}

.photoplayer-search {
    width: 100%;

    display: grid;

    grid-template-columns:
        19px
        minmax(0,1fr)
        auto
        auto;

    align-items: center;

    gap: 10px;

    padding:
        8px
        9px
        8px
        13px;

    border:
        1px solid
        rgba(178,151,88,.18);

    background:
        rgba(12,15,28,.48);
}

.photoplayer-search > svg {
    width: 16px;
    height: 16px;

    fill:
        rgba(178,151,88,.68);
}

.photoplayer-search input {
    width: 100%;
    min-width: 0;

    height: 34px;

    padding: 0;

    border: 0;
    outline: 0;

    background:
        transparent;

    color:
        var(--photo-cream);

    font-size: 10.5px;
}

.photoplayer-search input::placeholder {
    color:
        rgba(203,198,189,.38);
}

.photoplayer-search button,
.photoplayer-clear {
    min-height: 34px;

    padding:
        0
        15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(178,151,88,.31);

    background:
        rgba(178,151,88,.075);

    color:
        var(--photo-gold);

    font-family:
        'Cinzel',
        serif;

    font-size: 8px;

    letter-spacing: .65px;

    text-transform: uppercase;

    cursor: pointer;
}

.photoplayer-search button:hover {
    background:
        var(--photo-gold);

    color:
        var(--photo-dark-3);
}

.photoplayer-clear {
    border-color:
        rgba(203,198,189,.13);

    background:
        transparent;

    color:
        rgba(203,198,189,.55);
}


/* =========================================================
   CARDS
========================================================= */

.photoplayer-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );

    gap: 15px;
}

.photoplayer-card {
    min-width: 0;

    display: grid;

    grid-template-columns:
        155px
        minmax(0,1fr);

    border:
        1px solid
        rgba(178,151,88,.21);

    background:
        linear-gradient(
            135deg,
            rgba(25,29,49,.92),
            rgba(16,19,34,.92)
        );

    overflow: hidden;

    transition:
        border-color .24s ease,
        transform .24s ease,
        box-shadow .24s ease;
}

.photoplayer-card:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(178,151,88,.44);

    box-shadow:
        0 12px 28px
        rgba(0,0,0,.15);
}

.photoplayer-card-visual {
    position: relative;

    min-height: 235px;

    overflow: hidden;

    background:
        #0D111E;

    border-right:
        1px solid
        rgba(178,151,88,.16);
}

.photoplayer-card-visual img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position:
        center top;
}

.photoplayer-visual-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(13,17,30,.82)
        );

    pointer-events: none;
}

.photoplayer-monogram {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color:
        rgba(178,151,88,.44);

    font-family:
        'Cinzel',
        serif;

    font-size: 58px;

    background:
        radial-gradient(
            circle,
            rgba(178,151,88,.08),
            transparent 48%
        );
}

.photoplayer-card-content {
    min-width: 0;

    padding:
        18px;
}

.photoplayer-card-label {
    display: block;

    margin-bottom: 4px;

    color:
        rgba(178,151,88,.55);

    font-size: 6.7px;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.photoplayer-card h3 {
    margin: 0;

    color:
        var(--photo-cream);

    font-family:
        'Cinzel',
        serif;

    font-size: 19px;

    line-height: 1.2;

    font-weight: 500;
}

.photoplayer-divider {
    position: relative;

    width: 100%;
    height: 18px;

    margin:
        4px
        0
        8px;
}

.photoplayer-divider::before {
    content: '';

    position: absolute;

    top: 50%;
    left: 0;

    width: 120px;
    height: 1px;

    background:
        linear-gradient(
            to right,
            rgba(178,151,88,.62),
            transparent
        );
}

.photoplayer-divider span {
    position: absolute;

    top: 50%;
    left: 43px;

    width: 5px;
    height: 5px;

    border:
        1px solid
        rgba(178,151,88,.7);

    transform:
        translateY(-50%)
        rotate(45deg);
}

.photoplayer-character-list {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.photoplayer-character {
    min-width: 0;

    min-height: 43px;

    padding:
        7px
        8px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    border:
        1px solid
        rgba(178,151,88,.09);

    background:
        rgba(178,151,88,.018);

    transition:
        border-color .2s ease,
        background .2s ease;
}

.photoplayer-character:hover {
    border-color:
        rgba(178,151,88,.28);

    background:
        rgba(178,151,88,.045);
}

.photoplayer-character > div {
    min-width: 0;
}

.photoplayer-character strong {
    display: block;

    overflow: hidden;

    color:
        var(--photo-cream);

    font-family:
        'Cinzel',
        serif;

    font-size: 9px;

    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.photoplayer-character span {
    display: block;

    margin-top: 2px;

    overflow: hidden;

    color:
        rgba(203,198,189,.46);

    font-size: 7px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-type-mark {
    width: 23px;
    height: 23px;

    flex: 0 0 23px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 !important;

    border:
        1px solid
        rgba(178,151,88,.18);

    color:
        rgba(178,151,88,.68) !important;

    font-family:
        'Cinzel',
        serif;

    font-size: 7px !important;
}

.photoplayer-card-footer {
    margin-top: 11px;

    padding-top: 9px;

    border-top:
        1px solid
        rgba(178,151,88,.09);

    color:
        rgba(203,198,189,.35);

    font-size: 6.8px;

    letter-spacing: .35px;

    text-transform: uppercase;
}


/* =========================================================
   VAZIO
========================================================= */

.photoplayer-empty {
    padding:
        70px
        30px;

    text-align: center;

    border:
        1px solid
        rgba(178,151,88,.15);

    background:
        rgba(13,16,29,.42);
}

.photoplayer-empty > span {
    display: block;

    margin-bottom: 12px;

    color:
        rgba(178,151,88,.58);

    font-size: 24px;
}

.photoplayer-empty h3 {
    margin:
        0
        0
        10px;

    color:
        var(--photo-cream);

    font-family:
        'Cinzel',
        serif;

    font-size: 24px;

    font-weight: 500;

    text-transform: uppercase;
}

.photoplayer-empty p {
    max-width: 600px;

    margin:
        0 auto;

    color:
        rgba(203,198,189,.62);

    font-size: 10px;

    line-height: 1.8;
}

.photoplayer-empty p strong {
    color:
        var(--photo-gold);

    font-weight: 500;
}

.photoplayer-empty a {
    min-height: 38px;

    margin-top: 22px;

    padding:
        0
        17px;

    display: inline-flex;
    align-items: center;

    border:
        1px solid
        rgba(178,151,88,.28);

    color:
        var(--photo-gold);

    font-family:
        'Cinzel',
        serif;

    font-size: 8px;

    text-transform: uppercase;
}


/* =========================================================
   FEEDBACK GLOBAL
========================================================= */

.search-feedback {
    position: fixed;

    top: 16px;
    right: 16px;

    z-index: 2000;

    padding:
        10px
        13px;

    color:
        var(--photo-cream);

    background:
        #161A2C;

    border:
        1px solid
        rgba(178,151,88,.38);

    font-size: 9px;

    opacity: 0;

    transform:
        translateY(-8px);

    pointer-events: none;

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.search-feedback.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 1050px) {

    .photoplayer-grid {
        grid-template-columns:
            1fr;
    }

}

@media (max-width: 800px) {

    .photoplayer-hero-inner,
    .photoplayers-page {
        width:
            calc(100% - 38px);
    }

    .photoplayers-heading {
        grid-template-columns:
            1fr;

        align-items:
            start;

        gap: 20px;
    }

    .photoplayer-stats {
        width: 100%;
    }

    .photoplayer-stat {
        flex: 1;
    }

}

@media (max-width: 650px) {

    .photoplayer-hero {
        min-height: 270px;
    }

    .photoplayer-hero-inner,
    .photoplayers-page {
        width:
            calc(100% - 28px);
    }

    .photoplayer-hero h1 {
        font-size:
            clamp(
                33px,
                10vw,
                45px
            );
    }

    .photoplayer-hero p {
        font-size: 10px;
    }

    .photoplayers-page {
        padding:
            38px
            0
            55px;
    }

    .photoplayer-search {
        grid-template-columns:
            18px
            minmax(0,1fr);
    }

    .photoplayer-search button,
    .photoplayer-clear {
        grid-column:
            1 / -1;
    }

    .photoplayer-card {
        grid-template-columns:
            115px
            minmax(0,1fr);
    }

    .photoplayer-card-visual {
        min-height: 220px;
    }

}

@media (max-width: 430px) {

    .photoplayer-card {
        grid-template-columns:
            1fr;
    }

    .photoplayer-card-visual {
        height: 270px;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(178,151,88,.16);
    }

}


/* =========================================================
   FULL HD
========================================================= */

@media
(min-width: 1600px)
and (min-height: 900px)
and (max-height: 1200px) {

    .photoplayer-hero {
        min-height: 340px;
    }

    .photoplayer-hero-inner,
    .photoplayers-page {
        width:
            min(
                1280px,
                calc(100% - 90px)
            );
    }

    .photoplayer-hero h1 {
        font-size: 66px;
    }

    .photoplayer-grid {
        gap: 17px;
    }

}
