:root {
    --s2-bg: #07080d;
    --s2-bg-2: #10121c;
    --s2-panel: rgba(12, 16, 27, 0.82);
    --s2-panel-strong: rgba(15, 19, 31, 0.96);
    --s2-line: rgba(236, 193, 99, 0.24);
    --s2-line-blue: rgba(83, 179, 255, 0.28);
    --s2-text: #f6ead0;
    --s2-muted: #a8adc0;
    --s2-gold: #f1c96b;
    --s2-red: #ff4a35;
    --s2-blue: #4dc4ff;
    --s2-purple: #a46cff;
    --s2-green: #4ee6a8;
    --s2-radius: 8px;
    --s2-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

html {
    background: var(--s2-bg);
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 18%, rgba(255, 70, 52, 0.2), transparent 24rem),
        radial-gradient(circle at 82% 8%, rgba(77, 196, 255, 0.18), transparent 26rem),
        radial-gradient(circle at 70% 82%, rgba(164, 108, 255, 0.16), transparent 28rem),
        linear-gradient(145deg, #07080d 0%, #10121c 48%, #08090f 100%);
    color: var(--s2-text);
    font-family: "Inter", "PT Sans", Arial, sans-serif;
    letter-spacing: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 8, 13, 0.28), rgba(7, 8, 13, 0.86));
}

body.solitario2-future {
    padding-top: 84px;
}

a {
    color: var(--s2-blue);
}

a:hover,
a:focus {
    color: var(--s2-gold);
    text-decoration: none;
}

.s2-bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.s2-bg-canvas span {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(241, 201, 107, 0.62);
    box-shadow: 0 0 14px rgba(241, 201, 107, 0.6);
    animation: s2-particle 8s linear infinite;
}

@keyframes s2-particle {
    from {
        transform: translate3d(0, 28px, 0);
        opacity: 0;
    }
    18% {
        opacity: 1;
    }
    to {
        transform: translate3d(0, -130px, 0);
        opacity: 0;
    }
}

.s2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    border-bottom: 1px solid var(--s2-line);
    background: rgba(8, 10, 17, 0.86);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.s2-header__inner {
    width: min(1420px, calc(100% - 32px));
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.s2-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--s2-text);
    text-transform: uppercase;
    font-family: "Cinzel", Georgia, serif;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
}

.s2-brand:hover {
    color: var(--s2-text);
}

.s2-brand__mark {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(241, 201, 107, 0.52);
    border-radius: var(--s2-radius);
    color: var(--s2-gold);
    background:
        radial-gradient(circle, rgba(241, 201, 107, 0.22), transparent 56%),
        linear-gradient(135deg, rgba(255, 74, 53, 0.28), rgba(77, 196, 255, 0.22));
    box-shadow: 0 0 26px rgba(241, 201, 107, 0.22);
    overflow: visible;
}

.s2-brand__mark img {
    width: 100%;
    height: 100%;
    max-height: 68px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.s2-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.s2-brand__name {
    font-size: 1.32rem;
    color: var(--s2-gold);
    text-shadow: 0 0 18px rgba(241, 201, 107, 0.45);
}

.s2-brand__realm {
    margin-top: 4px;
    font-size: 0.68rem;
    color: var(--s2-muted);
    font-family: "Inter", Arial, sans-serif;
    font-weight: 700;
}

.s2-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.s2-nav a,
.s2-nav button {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: var(--s2-radius);
    color: var(--s2-text);
    background: transparent;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

.s2-nav a:hover,
.s2-nav button:hover {
    color: var(--s2-gold);
    border-color: rgba(241, 201, 107, 0.35);
    background: rgba(241, 201, 107, 0.08);
}

.s2-nav .s2-nav__primary {
    color: #160d08;
    border-color: rgba(241, 201, 107, 0.58);
    background: linear-gradient(135deg, #ffd98a, #f18945 62%, #ff4a35);
    box-shadow: 0 0 22px rgba(241, 201, 107, 0.25);
}

.s2-nav .s2-nav__primary:hover {
    color: #120b07;
    filter: brightness(1.07);
}

.s2-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--s2-line);
    border-radius: var(--s2-radius);
    color: var(--s2-text);
    background: rgba(255, 255, 255, 0.04);
}

.s2-hero {
    position: relative;
    overflow: hidden;
    min-height: min(720px, calc(100vh - 74px));
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(241, 201, 107, 0.16);
}

.s2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 8, 13, 0.88), rgba(7, 8, 13, 0.52) 55%, rgba(7, 8, 13, 0.82)),
        url("../../../images/fondo.png") center / cover no-repeat;
    transform: scale(1.03);
}

.s2-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--s2-bg));
}

.s2-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    padding: 74px 0 58px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 44px;
    align-items: center;
}

.s2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(77, 196, 255, 0.32);
    border-radius: 999px;
    color: var(--s2-blue);
    background: rgba(77, 196, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.s2-hero h1 {
    margin: 0;
    color: var(--s2-text);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow:
        0 0 28px rgba(241, 201, 107, 0.34),
        0 0 52px rgba(255, 74, 53, 0.18);
}

.s2-hero__subtitle {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--s2-gold);
    font-size: clamp(1.35rem, 2.8vw, 2.4rem);
    font-family: "Cinzel", Georgia, serif;
    font-weight: 700;
}

.s2-hero__copy {
    max-width: 760px;
    margin: 18px 0 0;
    color: var(--s2-muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.s2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.s2-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    border: 1px solid var(--s2-line);
    border-radius: var(--s2-radius);
    color: var(--s2-text);
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
    line-height: 1;
}

.s2-btn:hover {
    color: var(--s2-gold);
    border-color: rgba(241, 201, 107, 0.5);
    background: rgba(241, 201, 107, 0.1);
}

.s2-btn--primary {
    color: #150d08;
    border-color: rgba(241, 201, 107, 0.55);
    background: linear-gradient(135deg, #ffe19b, #f3a14d 56%, #ff4a35);
    box-shadow: 0 0 32px rgba(241, 201, 107, 0.22);
}

.s2-btn--primary:hover {
    color: #150d08;
}

.s2-hero-panel {
    position: relative;
    padding: 18px;
    border: 1px solid rgba(241, 201, 107, 0.24);
    border-radius: var(--s2-radius);
    background: linear-gradient(145deg, rgba(12, 16, 27, 0.74), rgba(18, 20, 35, 0.92));
    box-shadow: var(--s2-shadow), inset 0 0 50px rgba(77, 196, 255, 0.05);
}

.s2-hero-panel__scan {
    height: 220px;
    border-radius: var(--s2-radius);
    border: 1px solid rgba(77, 196, 255, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 74, 53, 0.34), transparent 42%),
        radial-gradient(circle at 70% 35%, rgba(77, 196, 255, 0.42), transparent 28%),
        radial-gradient(circle at 45% 72%, rgba(164, 108, 255, 0.34), transparent 30%),
        url("../img/yohara-bg.jpg") center / cover no-repeat;
}

.s2-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.s2-hero-stat {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--s2-radius);
    background: rgba(255, 255, 255, 0.045);
}

.s2-hero-stat strong {
    display: block;
    color: var(--s2-gold);
    font-size: 1.22rem;
    font-family: "Cinzel", Georgia, serif;
}

.s2-hero-stat span {
    display: block;
    margin-top: 4px;
    color: var(--s2-muted);
    font-size: 0.78rem;
    line-height: 1.3;
}

.s2-home-section {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0;
}

.s2-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.s2-section-title h2 {
    margin: 0;
    color: var(--s2-text);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(1.4rem, 2.4vw, 2.35rem);
}

.s2-section-title p {
    max-width: 520px;
    margin: 0;
    color: var(--s2-muted);
    line-height: 1.5;
}

.s2-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.s2-feature-card {
    position: relative;
    min-height: 178px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--s2-line);
    border-radius: var(--s2-radius);
    background: linear-gradient(145deg, rgba(12, 16, 27, 0.84), rgba(21, 24, 40, 0.78));
}

.s2-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background: var(--s2-card-image, radial-gradient(circle at 70% 20%, rgba(241, 201, 107, 0.45), transparent 40%)) center center / contain no-repeat;
}

.s2-feature-card > * {
    position: relative;
}

.s2-feature-card i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(241, 201, 107, 0.28);
    border-radius: 50%;
    color: var(--s2-gold);
    background: rgba(241, 201, 107, 0.08);
}

.s2-feature-card h3 {
    margin: 0;
    color: var(--s2-text);
    font-size: 1.02rem;
    font-weight: 900;
}

.s2-feature-card p {
    margin: 9px 0 0;
    color: var(--s2-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.s2-feature-card--link {
    display: block;
    color: var(--s2-text);
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.s2-feature-card--link:hover,
.s2-feature-card--link:focus {
    color: var(--s2-text);
    border-color: rgba(241, 201, 107, 0.56);
    box-shadow: 0 16px 42px rgba(241, 201, 107, 0.14);
    transform: translateY(-2px);
}

.s2-feature-card--champion {
    --s2-card-image: url("../../../images/ranking.png");
}

.s2-feature-card--dungeon {
    --s2-card-image: url("../../../images/players.png");
}

.s2-feature-card--serpentina {
    --s2-card-image: url("../../../images/gold.png");
}

.s2-feature-card--shop {
    --s2-card-image: url("../../../images/coinsic.png");
}

.s2-feature-card--yohara {
    --s2-card-image: url("../../../images/presentacion/1.jpg");
}

.s2-feature-card--cube {
    --s2-card-image: url("../../../images/presentacion/2.jpg");
}

.s2-feature-card--drops {
    --s2-card-image: url("../../../images/gold.png");
}

.s2-feature-card--events {
    --s2-card-image: url("../../../images/evento.png");
}

.s2-pvp-teaser {
    padding-top: 0;
}

.s2-pvp-teaser__content {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: 28px;
    padding: 30px;
    border: 1px solid rgba(241, 201, 107, 0.34);
    border-radius: var(--s2-radius);
    background:
        linear-gradient(135deg, rgba(18, 13, 8, 0.96), rgba(15, 19, 31, 0.92)),
        radial-gradient(circle at 88% 20%, rgba(241, 201, 107, 0.18), transparent 28rem);
    box-shadow: var(--s2-shadow);
}

.s2-pvp-teaser__content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 74, 53, 0.12), transparent 45%, rgba(77, 196, 255, 0.12));
}

.s2-pvp-teaser__content > * {
    position: relative;
    z-index: 1;
}

.s2-pvp-teaser h2 {
    margin: 12px 0 10px;
    color: var(--s2-text);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(2rem, 3vw, 3.4rem);
}

.s2-pvp-teaser p {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--s2-muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.s2-pvp-teaser__ranks {
    display: grid;
    grid-template-columns: repeat(6, minmax(46px, 1fr));
    gap: 12px;
    align-items: center;
}

.s2-pvp-teaser__ranks img {
    width: 100%;
    max-width: 72px;
    aspect-ratio: 1;
    object-fit: contain;
    place-self: center;
    padding: 8px;
    border: 1px solid rgba(241, 201, 107, 0.22);
    border-radius: var(--s2-radius);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 20px rgba(241, 201, 107, 0.12);
}

.s2-layout {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.75fr) minmax(250px, 0.92fr);
    gap: 16px;
    align-items: start;
}

#mt2cms,
.mt2cms_main,
.mt2cms_main_left,
.mt2cms_main_middle,
.mt2cms_main_right,
.mt2cms_main_box_middle {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    box-shadow: none !important;
    animation: none !important;
}

#mt2cms {
    color: var(--s2-text);
}

.s2-layout__left,
.s2-layout__main,
.s2-layout__right {
    min-width: 0;
}

.panel.panel-default,
.jumbotron,
.news-wrapper,
.download-wrapper,
.padding-container {
    color: var(--s2-text);
    border-color: var(--s2-line) !important;
    border-radius: var(--s2-radius) !important;
    background: var(--s2-panel) !important;
    box-shadow: var(--s2-shadow) !important;
}

.panel.panel-default {
    overflow: hidden;
}

.panel-heading,
.mt2cms_main_left_panel_header {
    color: var(--s2-gold) !important;
    border-color: var(--s2-line) !important;
    background: linear-gradient(135deg, rgba(241, 201, 107, 0.18), rgba(77, 196, 255, 0.08)) !important;
}

.panel-body,
.mt2cms_main_left_panel_body {
    color: var(--s2-text) !important;
    background: rgba(9, 12, 20, 0.62) !important;
}

.container {
    width: 100%;
    max-width: 100%;
}

.page-hd,
.page-header {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    display: flex;
    align-items: center;
    margin: 0 0 18px !important;
    padding: 24px !important;
    border: 1px solid var(--s2-line-blue);
    border-radius: var(--s2-radius) !important;
    background-color: rgba(9, 12, 20, 0.9);
    background-position: center center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    box-shadow: var(--s2-shadow) !important;
}

.banner-bg,
.section-banner,
.card-banner {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

.banner-img,
.section-banner img,
.card-banner img,
.hero-card img,
.page-banner img,
.page-hd img,
.page-header img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.page-hd::before,
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7, 8, 13, 0.62), rgba(255, 74, 53, 0.18) 45%, rgba(7, 8, 13, 0.55));
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

.page-hd > *,
.page-header > * {
    position: relative;
    z-index: 1;
}

.page-hd h2,
.page-header h2,
.section-title,
.pre-social {
    margin: 0;
    color: var(--s2-gold) !important;
    font-family: "Cinzel", Georgia, serif;
    text-shadow: 0 0 18px rgba(241, 201, 107, 0.36);
}

.table {
    color: var(--s2-text);
    background: rgba(255, 255, 255, 0.025);
}

.table > thead > tr > th,
.table > tbody > tr > td,
.table > tbody > tr > th {
    border-color: rgba(255, 255, 255, 0.08) !important;
    vertical-align: middle;
}

.table-hover > tbody > tr:hover {
    background: rgba(77, 196, 255, 0.07);
}

.thead-gold th,
.table th {
    color: var(--s2-gold) !important;
    background: rgba(241, 201, 107, 0.1) !important;
}

.s2-pvp-page {
    width: min(1420px, calc(100% - 32px));
    margin: 30px auto 44px;
}

.s2-pvp-hero {
    min-height: 220px;
    align-items: flex-end;
    padding: 30px !important;
}

.s2-pvp-hero__copy {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--s2-muted);
    line-height: 1.6;
}

.s2-pvp-panel {
    overflow: hidden;
    border: 1px solid rgba(241, 201, 107, 0.28);
    border-radius: var(--s2-radius);
    background: var(--s2-panel);
    box-shadow: var(--s2-shadow);
}

.s2-pvp-panel + .s2-pvp-panel {
    margin-top: 18px;
}

.s2-pvp-rank-details {
    margin-top: 18px;
}

.s2-pvp-rank-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 54px;
    padding: 0 18px;
    list-style: none;
    cursor: pointer;
    border: 1px solid rgba(241, 201, 107, 0.28);
    border-radius: var(--s2-radius);
    color: var(--s2-gold);
    background: linear-gradient(135deg, rgba(241, 201, 107, 0.12), rgba(77, 196, 255, 0.08));
    box-shadow: var(--s2-shadow);
    font-family: "Cinzel", Georgia, serif;
    font-size: 0.98rem;
    font-weight: 800;
}

.s2-pvp-rank-details summary::-webkit-details-marker {
    display: none;
}

.s2-pvp-rank-details summary i {
    color: var(--s2-text);
    transition: transform 0.18s ease;
}

.s2-pvp-rank-details[open] summary {
    border-bottom-color: rgba(241, 201, 107, 0.16);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.s2-pvp-rank-details[open] summary i {
    transform: rotate(180deg);
}

.s2-pvp-rank-details .s2-pvp-panel {
    border-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.s2-pvp-panel__head {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(241, 201, 107, 0.16);
    background: rgba(241, 201, 107, 0.06);
}

.s2-pvp-panel__head h3 {
    margin: 0;
    color: var(--s2-gold);
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.s2-pvp-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.s2-pvp-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
}

.s2-pvp-table--info {
    min-width: 980px;
}

.s2-pvp-table th,
.s2-pvp-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(241, 201, 107, 0.12);
    vertical-align: middle;
}

.s2-pvp-table th {
    color: var(--s2-gold);
    font-size: 0.78rem;
    text-transform: uppercase;
    background: rgba(241, 201, 107, 0.1);
}

.s2-pvp-table tbody tr {
    background: rgba(255, 255, 255, 0.018);
}

.s2-pvp-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.035);
}

.s2-pvp-table tbody tr.s2-pvp-top-1 {
    background: linear-gradient(90deg, rgba(241, 201, 107, 0.2), rgba(255, 255, 255, 0.02));
}

.s2-pvp-table tbody tr.s2-pvp-top-2 {
    background: linear-gradient(90deg, rgba(168, 173, 192, 0.18), rgba(255, 255, 255, 0.02));
}

.s2-pvp-table tbody tr.s2-pvp-top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.16), rgba(255, 255, 255, 0.02));
}

.s2-pvp-position {
    width: 54px;
    color: var(--s2-gold);
    font-weight: 900;
    text-align: center;
}

.s2-pvp-rank {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.s2-pvp-rank img,
.s2-pvp-empire img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    object-position: center;
}

.s2-pvp-info-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.s2-pvp-empire {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.s2-pvp-empire img {
    width: 30px;
    height: 30px;
}

.s2-pvp-name {
    color: var(--s2-text);
    font-weight: 900;
}

.s2-pvp-kills {
    color: #fff2c2;
    font-weight: 900;
}

.s2-pvp-status {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.s2-pvp-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(241, 201, 107, 0.32);
    border-radius: 999px;
    color: var(--s2-gold);
    background: rgba(241, 201, 107, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
}

.s2-pvp-muted {
    color: var(--s2-muted);
}

.s2-pvp-alert {
    padding: 18px;
    color: var(--s2-text);
    border: 1px solid rgba(241, 201, 107, 0.22);
    border-radius: var(--s2-radius);
    background: rgba(9, 12, 20, 0.82);
}

.form-control,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    min-height: 42px;
    color: var(--s2-text) !important;
    border: 1px solid rgba(241, 201, 107, 0.24) !important;
    border-radius: var(--s2-radius) !important;
    background: rgba(5, 7, 12, 0.72) !important;
    box-shadow: inset 0 0 0 1px rgba(77, 196, 255, 0.04);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(77, 196, 255, 0.62) !important;
    box-shadow: 0 0 0 3px rgba(77, 196, 255, 0.14) !important;
}

.btn,
button,
input[type="submit"] {
    border-radius: var(--s2-radius) !important;
    font-weight: 800;
}

.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger,
.login-btn,
.mt2cms_main_content_button,
.user_panel_buttons_row {
    color: #130d08 !important;
    border: 1px solid rgba(241, 201, 107, 0.52) !important;
    background: linear-gradient(135deg, #ffe19b, #f3a14d 58%, #ff4a35) !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover,
.btn-warning:hover,
.btn-danger:hover,
.login-btn:hover,
.mt2cms_main_content_button:hover,
.user_panel_buttons_row:hover {
    filter: brightness(1.08);
}

.alert {
    color: var(--s2-text);
    border-radius: var(--s2-radius);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(12, 16, 27, 0.92);
}

.alert-danger {
    border-color: rgba(255, 74, 53, 0.42);
}

.alert-success {
    border-color: rgba(78, 230, 168, 0.42);
}

.nav-tabs {
    border: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-tabs > li > a,
.nav-tabs .nav-link {
    border: 1px solid var(--s2-line) !important;
    border-radius: var(--s2-radius) !important;
    color: var(--s2-text) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

.nav-tabs > li.active > a,
.nav-tabs .nav-link.active {
    color: #160d08 !important;
    background: linear-gradient(135deg, #ffe19b, #f3a14d) !important;
}

#footer {
    margin: 0;
    padding: 28px 16px;
    border-top: 1px solid var(--s2-line);
    background: rgba(7, 8, 13, 0.92);
}

#footer_other_infos {
    width: min(1420px, calc(100% - 32px));
    margin: 14px auto 0;
    color: var(--s2-muted);
    text-align: center;
    line-height: 1.6;
}

#footer_other_infos a {
    color: var(--s2-gold);
}

#social_networks,
#social_networks .footer-nav,
#social_networks .social {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

#social_networks .social a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--s2-line);
    border-radius: 50%;
    color: var(--s2-text);
    background: rgba(255, 255, 255, 0.04);
}

#social_networks .social a img,
.s2-social a img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
    object-position: center center;
}

#social_networks .social a:hover {
    color: var(--s2-gold);
    border-color: rgba(241, 201, 107, 0.52);
}

.s2-footer {
    width: min(1420px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--s2-muted);
    flex-wrap: wrap;
}

.s2-social {
    display: flex;
    gap: 10px;
    align-items: center;
}

.s2-social a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--s2-line);
    border-radius: 50%;
    color: var(--s2-text);
    background: rgba(255, 255, 255, 0.04);
}

.s2-social a:hover {
    color: var(--s2-gold);
    border-color: rgba(241, 201, 107, 0.52);
}

.s2-ticket-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.76);
    z-index: 1800;
}

.s2-ticket-modal.is-open {
    display: flex;
}

.s2-ticket-modal__content {
    position: relative;
    width: min(860px, 100%);
    min-height: 620px;
    border: 1px solid var(--s2-line);
    border-radius: var(--s2-radius);
    overflow: hidden;
    background: var(--s2-panel-strong);
    box-shadow: var(--s2-shadow);
}

.s2-ticket-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 1px solid var(--s2-line);
    color: var(--s2-text);
    background: rgba(0, 0, 0, 0.5);
}

.s2-ticket-modal iframe {
    width: 100%;
    height: 620px;
    border: 0;
}

#ticketModal {
    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(10px);
}

#ticketModalContent {
    border: 1px solid var(--s2-line) !important;
    background: var(--s2-panel-strong) !important;
    box-shadow: var(--s2-shadow) !important;
}

#ticketModalContent > span {
    color: var(--s2-gold);
}

body.s2-shop {
    padding-top: 0;
}

body.s2-shop .shop-header {
    border-bottom: 1px solid var(--s2-line);
    background:
        linear-gradient(135deg, rgba(8, 10, 17, 0.96), rgba(16, 18, 31, 0.96)),
        url("../img/yohara-bg.jpg") center / cover no-repeat;
}

body.s2-shop .logo span {
    color: var(--s2-gold);
    font-family: "Cinzel", Georgia, serif;
    text-shadow: 0 0 18px rgba(241, 201, 107, 0.42);
}

body.s2-shop .shop-wrap {
    width: min(1500px, calc(100% - 28px));
    max-width: none;
}

body.s2-shop .sidebar,
body.s2-shop .item-card,
body.s2-shop .set-card,
body.s2-shop .modal {
    border-color: var(--s2-line);
    background: linear-gradient(145deg, rgba(12, 16, 27, 0.88), rgba(21, 24, 40, 0.86));
}

body.s2-shop .btn-buy,
body.s2-shop .btn-confirm,
body.s2-shop .set-piece-btn,
body.s2-shop .search-box button {
    color: #160d08;
    background: linear-gradient(135deg, #ffe19b, #f3a14d 58%, #ff4a35);
}

@media (max-width: 1280px) {
    .s2-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px 18px;
        border-bottom: 1px solid var(--s2-line);
        background: rgba(8, 10, 17, 0.96);
    }

    body.s2-nav-open .s2-nav {
        display: flex;
    }

    .s2-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .s2-hero__inner {
        grid-template-columns: 1fr;
    }

    .s2-hero-panel {
        max-width: 620px;
    }

    .s2-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .s2-pvp-teaser__content {
        grid-template-columns: 1fr;
    }

    .s2-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.solitario2-future {
        padding-top: 66px;
    }

    .s2-header__inner {
        width: min(100% - 20px, 1420px);
        min-height: 66px;
    }

    .s2-brand__mark {
        width: 48px;
        height: 48px;
    }

    .s2-brand__mark img {
        max-height: 48px;
    }

    .s2-brand__name {
        font-size: 1.05rem;
    }

    .s2-brand__realm {
        display: none;
    }

    .s2-nav {
        top: 66px;
    }

    .s2-hero {
        min-height: auto;
    }

    .s2-hero__inner,
    .s2-home-section,
    .s2-layout,
    .s2-footer,
    .s2-pvp-page {
        width: min(100% - 20px, 1420px);
    }

    .s2-hero__inner {
        padding: 54px 0 40px;
        gap: 24px;
    }

    .s2-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .s2-hero-stats,
    .s2-feature-grid {
        grid-template-columns: 1fr;
    }

    .s2-pvp-teaser__content {
        padding: 22px;
    }

    .s2-pvp-teaser__ranks {
        grid-template-columns: repeat(3, minmax(54px, 1fr));
    }

    .s2-section-title {
        display: block;
    }

    .page-hd,
    .page-header {
        min-height: 102px;
        padding: 18px !important;
    }

    .table {
        font-size: 0.86rem;
    }

    .s2-pvp-table th,
    .s2-pvp-table td {
        padding: 12px;
    }
}

/* Bootstrap pagination override for ranking/players pages */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin: 18px 0 !important;
    padding: 0;
    list-style: none;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(241, 201, 107, 0.28) !important;
    border-radius: var(--s2-radius) !important;
    color: var(--s2-gold) !important;
    background: rgba(241, 201, 107, 0.06) !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
    color: #160d08 !important;
    background: linear-gradient(135deg, #ffe19b, #f3a14d) !important;
    border-color: rgba(241, 201, 107, 0.6) !important;
    outline: none;
}

.pagination > li.active > a,
.pagination > li.active > span,
.pagination > .active > a,
.pagination > .active > span {
    color: #160d08 !important;
    background: linear-gradient(135deg, #ffe19b, #f3a14d 60%, #ff4a35) !important;
    border-color: rgba(241, 201, 107, 0.6) !important;
    cursor: default;
}

.pagination > li.disabled > a,
.pagination > li.disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > span {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

center:has(.pagination) {
    margin: 10px 0;
}
