:root {
    --ink: #070712;
    --ink-soft: #0e1024;
    --panel: #15162b;
    --panel-light: #1b1d35;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f8f8fb;
    --muted: #b8bbca;
    --red: #ef3340;
    --red-dark: #b9142b;
    --gold: #f4c542;
    --gold-dark: #bc7b16;
    --green: #2fc473;
    --violet: #8c69e8;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 12% 18%, rgba(47, 196, 115, 0.08), transparent 28%),
        radial-gradient(circle at 88% 35%, rgba(239, 51, 64, 0.08), transparent 30%),
        #080916;
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    font-family: "Mulish", "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

a,
button {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(100% - 40px, 1280px);
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
}

.set-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.portal-section {
    position: relative;
    padding: 92px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.section-heading > div {
    min-width: 0;
}

.section-heading h2,
.play-guide__intro h2 {
    margin-bottom: 0;
    font-size: 42px;
    line-height: 1.1;
}

.section-heading p {
    max-width: 480px;
    margin-bottom: 2px;
}

.section-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-heading--light h2,
.section-heading--light p {
    color: var(--text);
}

/* Preloader */

#preloder {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--ink);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border: 4px solid rgba(255, 255, 255, 0.14);
    border-top-color: var(--gold);
    border-right-color: var(--red);
    border-radius: 50%;
    animation: loader 700ms linear infinite;
}

@keyframes loader {
    to {
        transform: rotate(360deg);
    }
}

/* Ambient particles */

.ambient-particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ambient-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(244, 197, 66, 0.42);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(244, 197, 66, 0.48);
    animation: particleFloat linear infinite;
}

.ambient-particles span:nth-child(3n) {
    background: rgba(47, 196, 115, 0.34);
    box-shadow: 0 0 10px rgba(47, 196, 115, 0.36);
}

.ambient-particles span:nth-child(4n) {
    background: rgba(239, 51, 64, 0.35);
    box-shadow: 0 0 10px rgba(239, 51, 64, 0.35);
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    20%,
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(18px, -110px, 0);
    }
}

/* Header */

.portal-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 78px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 7, 18, 0.94);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px);
}

.portal-header__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 78px;
}

.portal-header__brand-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.portal-server-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.portal-server-dot--online {
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
    animation: portal-server-pulse 2s ease-out infinite;
}

.portal-server-dot--offline {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.55);
}

@keyframes portal-server-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.brand img {
    width: 168px;
    height: 56px;
    object-fit: contain;
}

.brand__copy {
    display: grid;
    line-height: 1.05;
}

.brand__copy strong {
    color: var(--text);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 18px;
}

.brand__copy small {
    margin-top: 4px;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.portal-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.portal-nav a.portal-nav-mercado {
    color: #e8b45a;
}

.portal-nav a.portal-nav-mercado:hover,
.portal-nav a.portal-nav-mercado:focus {
    color: #ffd98a;
}

.portal-header__actions,
.account-actions {
    display: flex;
    gap: 7px;
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 8px;
}

.account-actions {
    display: flex;
    gap: 7px;
}

.portal-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-nav li {
    flex: 0 0 auto;
}

.portal-nav .mobile-only {
    display: none;
}

.portal-nav a {
    position: relative;
    display: block;
    padding: 30px 8px 27px;
    color: #d5d6df;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.portal-nav a::after {
    position: absolute;
    right: 8px;
    bottom: 20px;
    left: 8px;
    height: 2px;
    background: var(--gold);
    content: "";
    opacity: 0;
    transform: scaleX(0.3);
    transition: opacity 180ms ease, transform 180ms ease;
}

.portal-nav li.active a,
.portal-nav a:hover,
.portal-nav a:focus {
    color: var(--gold);
}

.portal-nav li.active a::after,
.portal-nav a:hover::after,
.portal-nav a:focus::after {
    opacity: 1;
    transform: scaleX(1);
}

.account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.account-link:hover,
.account-link:focus {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.account-link--primary {
    border-color: var(--red);
    background: var(--red);
}

.account-link--primary:hover,
.account-link--primary:focus {
    border-color: var(--gold);
    color: var(--ink);
    background: var(--gold);
}

#mobile-menu-wrap,
.slicknav_menu {
    display: none;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.hero__slider,
.hero__slider .owl-stage-outer,
.hero__slider .owl-stage,
.hero__slider .owl-item {
    min-height: 550px;
}

.hero__items {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 550px;
    background-position: center 44%;
}

.hero__items::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 120px;
    background: linear-gradient(transparent, rgba(8, 9, 22, 0.92));
    content: "";
    pointer-events: none;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4, 5, 16, 0.93) 0%, rgba(4, 5, 16, 0.72) 30%, rgba(4, 5, 16, 0.2) 62%, rgba(4, 5, 16, 0.08) 100%),
        linear-gradient(0deg, rgba(4, 5, 16, 0.38), transparent 55%);
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__text {
    max-width: 590px;
    padding: 48px 0 62px;
    margin-left: 48px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 7px 11px;
    border-left: 3px solid var(--gold);
    color: var(--gold);
    background: rgba(7, 7, 18, 0.62);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero__text h1 {
    margin-bottom: 2px;
    font-size: 70px;
    line-height: 1;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
}

.hero__text h2 {
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 38px;
    line-height: 1.15;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
}

.hero__text p {
    max-width: 520px;
    margin-bottom: 28px;
    color: #f1f1f4;
    font-size: 17px;
    line-height: 1.65;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero__actions,
.play-guide__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cta-button--play {
    position: relative;
    overflow: hidden;
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 12px 30px rgba(239, 51, 64, 0.32);
}

.cta-button--play::after {
    position: absolute;
    top: -45%;
    left: -35%;
    width: 28px;
    height: 190%;
    background: rgba(255, 255, 255, 0.35);
    content: "";
    transform: rotate(22deg);
    animation: buttonShine 3.4s ease-in-out infinite;
}

@keyframes buttonShine {
    0%,
    68% {
        left: -35%;
    }
    100% {
        left: 125%;
    }
}

.cta-button--play:hover,
.cta-button--play:focus {
    border-color: var(--gold);
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 14px 36px rgba(244, 197, 66, 0.35);
    transform: translateY(-3px);
}

.cta-button--ghost {
    border-color: rgba(244, 197, 66, 0.55);
    background: rgba(7, 7, 18, 0.72);
    color: #fff8ec;
    backdrop-filter: blur(8px);
}

.cta-button--ghost:hover,
.cta-button--ghost:focus {
    border-color: var(--gold);
    color: #1c140c;
    background: var(--gold);
    transform: translateY(-3px);
}

.hero__slider.owl-carousel .owl-dots {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 28px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.hero__slider.owl-carousel .owl-dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.42);
}

.hero__slider.owl-carousel .owl-dots button.active {
    background: var(--gold);
}

.hero__slider.owl-carousel .owl-nav button {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 56px;
    margin-top: -28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(7, 7, 18, 0.62);
    font-size: 26px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.hero__slider.owl-carousel .owl-nav button:hover {
    border-color: var(--gold);
    color: var(--ink);
    background: var(--gold);
}

.hero__slider.owl-carousel .owl-nav .owl-prev {
    left: 18px;
    border-radius: 0 6px 6px 0;
}

.hero__slider.owl-carousel .owl-nav .owl-next {
    right: 18px;
    border-radius: 6px 0 0 6px;
}

.hero__slider .owl-item .hero__eyebrow,
.hero__slider .owl-item .hero__text h1,
.hero__slider .owl-item .hero__text h2,
.hero__slider .owl-item .hero__text p,
.hero__slider .owl-item .hero__actions {
    opacity: 0;
    transform: translateY(18px);
}

.hero__slider .owl-item.active .hero__eyebrow,
.hero__slider .owl-item.active .hero__text h1,
.hero__slider .owl-item.active .hero__text h2,
.hero__slider .owl-item.active .hero__text p,
.hero__slider .owl-item.active .hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 600ms ease, transform 600ms ease;
}

.hero__slider .owl-item.active .hero__text h1 {
    transition-delay: 80ms;
}

.hero__slider .owl-item.active .hero__text h2 {
    transition-delay: 150ms;
}

.hero__slider .owl-item.active .hero__text p {
    transition-delay: 220ms;
}

.hero__slider .owl-item.active .hero__actions {
    transition-delay: 290ms;
}

/* Status */

.server-status {
    position: relative;
    z-index: 5;
    padding: 0 0 22px;
    background: linear-gradient(180deg, rgba(8, 9, 22, 0.94), rgba(8, 9, 22, 0));
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: -18px;
}

.status-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(21, 22, 43, 0.94);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.status-card::after {
    position: absolute;
    right: -28px;
    bottom: -45px;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(244, 197, 66, 0.15);
    border-radius: 50%;
    content: "";
}

.status-card__icon {
    display: inline-grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 7px;
    place-items: center;
    font-size: 18px;
}

.status-card__icon--green {
    color: var(--green);
    background: rgba(47, 196, 115, 0.12);
}

.status-card__icon--gold {
    color: var(--gold);
    background: rgba(244, 197, 66, 0.12);
}

.status-card__icon--red {
    color: #ff6b75;
    background: rgba(239, 51, 64, 0.12);
}

.status-card__icon--violet {
    color: #af94f4;
    background: rgba(140, 105, 232, 0.12);
}

.status-card strong {
    display: block;
    color: var(--text);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
}

.status-card span:not(.status-card__icon) {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-card__pulse {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(47, 196, 115, 0.55);
    animation: onlinePulse 1.8s infinite;
}

@keyframes onlinePulse {
    70% {
        box-shadow: 0 0 0 8px rgba(47, 196, 115, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(47, 196, 115, 0);
    }
}

/* Weapons */

.weapons-section {
    padding-top: 72px;
}

.weapon-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.weapon-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.weapon-tabs__btn:hover {
    border-color: rgba(244, 197, 66, 0.55);
    color: #f4c542;
}

.weapon-tabs__btn.is-active {
    border-color: rgba(244, 197, 66, 0.85);
    background: linear-gradient(180deg, rgba(244, 197, 66, 0.28), rgba(244, 197, 66, 0.1));
    color: #ffe7a0;
    box-shadow: 0 0 18px rgba(244, 197, 66, 0.18);
}

.weapon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.weapon-card {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    min-height: 220px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.weapon-card--stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 16px 16px 14px;
}

.weapon-card:hover {
    border-color: rgba(244, 197, 66, 0.55);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 22px rgba(244, 197, 66, 0.08);
    transform: translateY(-5px);
}

.weapon-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.weapon-card__top h3 {
    margin: 0;
    min-height: 0;
    font-size: 15px;
    line-height: 1.3;
}

.weapon-card__level {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.weapon-card__stars {
    display: flex;
    gap: 3px;
    color: var(--gold);
    font-size: 11px;
}

.weapon-card__stars .fa-star-o {
    color: rgba(255, 255, 255, 0.22);
}

.weapon-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin: 2px 0 4px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    background-position: center top;
}

.weapon-card--stats .weapon-card__media {
    min-height: 118px;
}

.weapon-card--stats .weapon-card__media img {
    max-width: 88%;
    max-height: 110px;
    object-fit: contain;
}

.weapon-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, var(--panel));
    content: "";
    pointer-events: none;
}

.weapon-card--stats .weapon-card__media::after {
    display: none;
}

.weapon-card--stats .weapon-card__category,
.weapon-card--stats .rarity {
    position: static;
    display: inline-flex;
    align-self: flex-start;
    margin: 0;
}

.weapon-card__stats {
    display: grid;
    gap: 6px;
    margin: 2px 0 4px;
    padding: 0;
    list-style: none;
}

.weapon-card__stats li {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 8px;
}

.weapon-card__stats .stat-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.weapon-card__stats .stat-label i {
    margin-right: 4px;
    color: var(--gold);
}

.stat-bar {
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-bar > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff5a5a, #ff8f6b);
}

.stat-bar--def > i {
    background: linear-gradient(90deg, #f0a23a, #ffd36a);
}

.stat-bar--agi > i {
    background: linear-gradient(90deg, #3ecf7a, #8dffb0);
}

.stat-bar--luk > i {
    background: linear-gradient(90deg, #f4c542, #ffe18a);
}

.stat-bar--ang > i {
    background: linear-gradient(90deg, #5b8cff, #9ec1ff);
}

.stat-bar--ang-hi > i {
    background: linear-gradient(90deg, #3ecfcf, #8dffe8);
}

.stat-bar--dmg > i {
    background: linear-gradient(90deg, #ff3d6e, #ff8fb0);
}

.weapon-card__stats strong {
    text-align: right;
    font-size: 12px;
}

.weapon-card--stats .detail-button {
    width: 100%;
    margin-top: auto;
}

.weapon-empty {
    grid-column: 1 / -1;
    color: var(--muted);
    text-align: center;
}

.weapon-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.weapon-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    background: var(--panel);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.weapon-pagination__btn.is-active {
    color: #111;
    background: var(--gold);
    border-color: var(--gold);
}

.weapon-pagination__btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.rarity {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    color: var(--text);
    background: rgba(7, 7, 18, 0.78);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.rarity--mythic {
    color: #ff7581;
}

.rarity--legendary {
    color: var(--gold);
}

.rarity--epic {
    color: #bca7ff;
}

.rarity--rare {
    color: #67b9ff;
}

.rarity--common {
    color: #b7c0d0;
}

.weapon-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 24px 22px 24px 10px;
}

.weapon-card__category {
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.weapon-card h3 {
    min-height: 48px;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
    font-size: 20px;
    line-height: 1.25;
}

.weapon-modal__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.weapon-modal__facts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.18);
}

.weapon-modal__facts span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.weapon-modal__facts strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 39px;
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.detail-button:hover,
.detail-button:focus {
    border-color: var(--gold);
    color: var(--ink);
    background: var(--gold);
}

/* Events */

.events-section {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(115deg, rgba(10, 12, 31, 0.96), rgba(27, 14, 36, 0.9)),
        url("../img/normal-breadcrumb-rio.jpg") center/cover fixed;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.event-card {
    position: relative;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    min-height: 184px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(14, 16, 36, 0.92);
    box-shadow: var(--shadow);
}

.event-card--large {
    grid-row: span 2;
    grid-template-columns: 1fr;
    min-height: 384px;
}

.event-card:hover {
    border-color: rgba(239, 51, 64, 0.6);
    transform: translateY(-4px);
}

.event-card__image {
    min-height: 184px;
    background-position: center top;
}

.event-card--large .event-card__image {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.event-card--large .event-card__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 26%, rgba(7, 7, 18, 0.96) 85%);
    content: "";
}

.event-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 20px;
}

.event-card--large .event-card__content {
    justify-content: flex-end;
    min-height: 384px;
    padding: 28px;
}

.event-status {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 4px 7px;
    border-radius: 4px;
    color: #84e4ad;
    background: rgba(47, 196, 115, 0.13);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.event-status--gold {
    color: var(--gold);
    background: rgba(244, 197, 66, 0.13);
}

.event-status--violet {
    color: #baa7f5;
    background: rgba(140, 105, 232, 0.13);
}

.event-status--red {
    color: #ff838c;
    background: rgba(239, 51, 64, 0.13);
}

.event-card h3 {
    margin-bottom: 7px;
    font-size: 21px;
    line-height: 1.2;
}

.event-card p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.55;
}

.event-card a {
    margin-top: auto;
    color: var(--gold);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.event-card a:hover,
.event-card a:focus {
    color: var(--red);
}

/* Ranking */

.ranking-section {
    background:
        radial-gradient(circle at 50% 55%, rgba(244, 197, 66, 0.08), transparent 36%),
        transparent;
}

.podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 18px;
    max-width: 950px;
    margin: 64px auto 0;
}

.podium-card {
    position: relative;
    padding: 72px 24px 26px;
    border: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    text-align: center;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.podium-card--first {
    min-height: 350px;
    padding-top: 82px;
    border-color: rgba(244, 197, 66, 0.48);
    background: linear-gradient(180deg, #29233b, var(--panel));
}

.podium-card--second {
    min-height: 310px;
}

.podium-card--third {
    min-height: 282px;
}

.podium-card__place {
    position: absolute;
    top: 16px;
    left: 18px;
    color: rgba(255, 255, 255, 0.16);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
}

.podium-card__crown {
    position: absolute;
    top: -40px;
    left: 50%;
    display: grid;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(244, 197, 66, 0.55);
    border-radius: 50%;
    color: var(--gold);
    background: var(--ink-soft);
    box-shadow: 0 0 28px rgba(244, 197, 66, 0.2);
    transform: translateX(-50%);
    place-items: center;
}

.podium-card__avatar {
    display: grid;
    width: 144px;
    height: 165px;
    margin: 0 auto 14px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    color: var(--muted);
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.08), rgba(0,0,0,0.35));
    font-size: 28px;
    place-items: center;
    overflow: hidden;
}

.podium-card__avatar img {
    width: 118%;
    height: 118%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
    image-rendering: auto;
    transform: translate(10%, -12%);
}

.podium-card--first .podium-card__avatar {
    width: 168px;
    height: 192px;
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 24px rgba(244, 197, 66, 0.16);
}

.podium-card__medal {
    display: inline-flex;
    margin-bottom: 9px;
    color: #bec4d1;
}

.podium-card--first .podium-card__medal {
    color: var(--gold);
}

.podium-card--third .podium-card__medal {
    color: #c98c5e;
}

.podium-card h3 {
    margin-bottom: 19px;
    font-size: 25px;
}

.podium-card dl,
.podium-card dl div {
    margin: 0;
}

.podium-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-top: 1px solid var(--line);
    text-align: left;
}

.podium-card dt,
.podium-card dd {
    margin: 0;
    font-size: 11px;
}

.podium-card dt {
    color: var(--muted);
    font-weight: 700;
}

.podium-card dd {
    color: var(--text);
    font-weight: 900;
    overflow-wrap: anywhere;
    text-align: right;
}

.guild-spotlight {
    display: grid;
    grid-template-columns: auto minmax(190px, 1fr) minmax(310px, 1.35fr) auto;
    align-items: center;
    gap: 22px;
    max-width: 950px;
    margin: 18px auto 0;
    padding: 20px 22px;
    border: 1px solid rgba(47, 196, 115, 0.34);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(47, 196, 115, 0.1), rgba(21, 22, 43, 0.95) 38%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.guild-spotlight__crest {
    display: grid;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(47, 196, 115, 0.42);
    border-radius: 7px;
    color: var(--green);
    background: rgba(47, 196, 115, 0.1);
    font-size: 22px;
    place-items: center;
}

.guild-spotlight__intro span {
    display: block;
    margin-bottom: 4px;
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.guild-spotlight__intro h3 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 22px;
}

.guild-spotlight dl,
.guild-spotlight dl div {
    margin: 0;
}

.guild-spotlight dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.guild-spotlight dl div {
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

.guild-spotlight dt,
.guild-spotlight dd {
    margin: 0;
}

.guild-spotlight dt {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.guild-spotlight dd {
    margin-top: 4px;
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
}

.guild-spotlight > a {
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.guild-spotlight > a:hover,
.guild-spotlight > a:focus {
    color: var(--red);
}

/* News */

.news-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d0f21;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.news-item:hover {
    border-color: rgba(47, 196, 115, 0.45);
    transform: translateY(-4px);
}

.news-item__image {
    min-height: 190px;
    background-position: center top;
}

.news-item__copy {
    align-self: center;
    min-width: 0;
    padding: 20px;
}

.news-item__copy > span {
    display: block;
    margin-bottom: 8px;
    color: var(--green);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-item h3 {
    margin-bottom: 9px;
    font-size: 18px;
    line-height: 1.3;
}

.news-item p {
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.6;
}

/* Play guide */

.play-guide {
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 7, 18, 0.96), rgba(7, 7, 18, 0.72)),
        url("../img/hero/rio-arcos-lapa.png") center/cover;
}

.play-guide__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 70px;
}

.play-guide__intro p {
    max-width: 480px;
    margin: 20px 0 26px;
    color: #e2e3e9;
    font-size: 16px;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 108px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(21, 22, 43, 0.88);
    backdrop-filter: blur(10px);
}

.steps-list li > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(244, 197, 66, 0.4);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(244, 197, 66, 0.08);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    place-items: center;
}

.steps-list strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-size: 17px;
}

.steps-list p {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}

/* Footer */

.portal-footer {
    position: relative;
    padding: 68px 0 0;
    border-top: 1px solid var(--line);
    background: #05050e;
}

.page-up {
    position: absolute;
    top: -22px;
    left: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 0 8px 22px rgba(244, 197, 66, 0.2);
    transform: translateX(-50%);
    place-items: center;
}

.page-up:hover,
.page-up:focus {
    color: var(--text);
    background: var(--red);
    border-color: var(--red);
    transform: translateX(-50%) translateY(-3px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr));
    gap: 42px;
    padding-bottom: 45px;
}

.footer-brand img {
    width: 180px;
    height: 72px;
    margin-bottom: 17px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 330px;
    margin-bottom: 0;
    font-size: 13px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h3 {
    margin-bottom: 7px;
    color: var(--gold);
    font-size: 16px;
}

.footer-column a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.footer-column a i {
    width: 17px;
    color: var(--text);
}

.footer-column a:hover,
.footer-column a:focus {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 62px;
    border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-bottom span {
    margin: 0;
    color: #7f8292;
    font-size: 11px;
}

/* Modal and toast */

.weapon-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    visibility: hidden;
    padding: 24px;
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
    place-items: center;
}

.weapon-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.weapon-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 3, 10, 0.86);
    backdrop-filter: blur(8px);
}

.weapon-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    width: min(100%, 720px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid rgba(244, 197, 66, 0.35);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.weapon-modal__dialog > img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center top;
}

.weapon-modal__copy {
    align-self: center;
    padding: 38px;
}

.weapon-modal__copy > span {
    display: block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.weapon-modal__copy h2 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.2;
}

.weapon-modal__copy p {
    margin-bottom: 24px;
    font-size: 13px;
}

.weapon-modal__close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text);
    background: rgba(7, 7, 18, 0.82);
    cursor: pointer;
    place-items: center;
}

.weapon-modal__close:hover,
.weapon-modal__close:focus {
    border-color: var(--red);
    background: var(--red);
}

.site-toast {
    position: fixed;
    z-index: 6000;
    right: 22px;
    bottom: 22px;
    max-width: min(380px, calc(100vw - 44px));
    padding: 13px 16px;
    border: 1px solid rgba(244, 197, 66, 0.42);
    border-radius: 6px;
    color: var(--text);
    background: rgba(14, 16, 36, 0.96);
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Login page */

.login-page {
    min-height: 100%;
}

.login-hero {
    position: relative;
    min-height: 260px;
    border-bottom: 1px solid var(--line);
}

.login-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 7, 18, 0.9), rgba(7, 7, 18, 0.2), rgba(7, 7, 18, 0.76));
    content: "";
}

.login-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    text-align: center;
}

.login-hero h1 {
    margin-bottom: 10px;
    font-size: 45px;
}

.login-hero p {
    margin-bottom: 0;
    color: var(--text);
    font-size: 16px;
}

.login-shell {
    padding: 48px 0 72px;
    min-height: calc(100vh - 260px);
    display: flex;
    align-items: center;
}

.login-shell > .container {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    width: min(50vw, 920px);
    max-width: 920px;
    min-width: min(100%, 340px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(242, 178, 77, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(22, 16, 12, 0.96), rgba(10, 10, 20, 0.94));
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 220, 140, 0.06) inset;
    backdrop-filter: blur(10px);
}

.login-panel__form,
.login-panel__aside {
    padding: 40px 42px;
}

.login-panel__form h2,
.login-panel__aside h2 {
    margin-bottom: 10px;
    font-size: 30px;
    letter-spacing: -0.02em;
}

.login-panel__form > p,
.login-panel__aside > p {
    margin-bottom: 26px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--muted);
}

.login-panel__aside {
    border-left: 1px solid rgba(242, 178, 77, 0.18);
    background:
        linear-gradient(165deg, rgba(28, 18, 8, 0.88), rgba(10, 11, 28, 0.92)),
        url("../img/normal-breadcrumb-rio.jpg") center/cover;
}

.input__item {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.input__item input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 50px;
    border: 1px solid rgba(242, 178, 77, 0.22);
    border-radius: 12px;
    color: #fff8e8;
    background: rgba(8, 8, 14, 0.72);
    font-size: 15px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.input__item input:focus {
    border-color: #f2b24d;
    background: rgba(12, 10, 8, 0.9);
    box-shadow: 0 0 0 4px rgba(242, 178, 77, 0.14);
    outline: 0;
}

.input__item > span {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #f2b24d;
    font-size: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}

.login-submit {
    width: 100%;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
    min-height: 54px;
    border-radius: 12px;
}

.login-download-row {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.login-launcher-button,
.login-apk-button {
    width: 100%;
    justify-content: center;
}

.login-help {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.login-help a {
    color: #f2b24d;
    font-size: 12px;
    font-weight: 700;
}

.login-help a:hover {
    color: #ffe08a;
}

.login-panel__aside .section-kicker {
    color: #f4c542;
}

.login-panel__aside h2 {
    color: #fff8ec;
}

.login-panel__aside > p {
    color: #e4dcc8;
}

.login-panel__aside .cta-button--ghost {
    color: #fff8ec;
    border-color: #f4c542;
    background: rgba(20, 28, 48, 0.88);
}

.TextWarning {
    min-height: 24px;
    margin: 14px 0 0;
    text-align: center;
}

.login-panel__aside .cta-button {
    width: 100%;
}

.login-security {
    display: grid;
    gap: 11px;
    margin-top: 30px;
}

.login-security span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d8d9e2;
    font-size: 11px;
}

.login-security i {
    color: var(--green);
}

/* Responsive */

@media (max-width: 1279px) {
    .portal-nav a {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 11px;
    }

    .account-link {
        width: 38px;
        padding: 0;
        font-size: 0;
    }

    .account-link i {
        font-size: 13px;
    }

    .weapon-card {
        grid-template-columns: 44% minmax(0, 1fr);
    }

    .news-item {
        grid-template-columns: 125px minmax(0, 1fr);
    }
}

@media (max-width: 1099px) {
    .portal-header__inner {
        min-height: 70px;
    }

    .portal-nav,
    .portal-header__actions,
    .account-actions {
        display: none;
    }

    #mobile-menu-wrap {
        display: block;
    }

    .slicknav_menu {
        display: block;
        padding: 0;
        background: transparent;
    }

    .slicknav_btn {
        position: relative;
        top: auto;
        right: auto;
        margin: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--panel);
    }

    .slicknav_nav {
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        z-index: 1100;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 0 0 8px 8px;
        background: rgba(14, 16, 36, 0.98);
        box-shadow: var(--shadow);
    }

    .slicknav_nav ul {
        margin: 0;
    }

    .slicknav_nav a {
        margin: 0;
        padding: 11px 12px;
        border-radius: 5px;
        color: var(--text);
        font-size: 12px;
        font-weight: 800;
    }

    .slicknav_nav a:hover,
    .slicknav_nav .slicknav_row:hover {
        color: var(--ink);
        background: var(--gold);
    }

    .slicknav_nav .mobile-only {
        display: block;
    }

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

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

    .event-card--large {
        grid-row: auto;
        grid-column: span 2;
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 240px;
    }

    .event-card--large .event-card__image {
        position: relative;
        min-height: 240px;
    }

    .event-card--large .event-card__image::after {
        background: linear-gradient(90deg, transparent 45%, rgba(7, 7, 18, 0.94));
    }

    .event-card--large .event-card__content {
        min-height: 240px;
    }

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

    .news-item {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .play-guide__layout {
        gap: 40px;
    }

    .guild-spotlight {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .guild-spotlight dl {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(100% - 28px, 1280px);
    }

    .portal-section {
        padding: 70px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 28px;
    }

    .section-heading h2,
    .play-guide__intro h2 {
        font-size: 34px;
    }

    .section-heading p {
        margin-top: 14px;
    }

    .brand__copy {
        display: none;
    }

    .brand img {
        width: 140px;
        height: 48px;
    }

    .hero__slider,
    .hero__slider .owl-stage-outer,
    .hero__slider .owl-stage,
    .hero__slider .owl-item,
    .hero__items {
        min-height: 520px;
    }

    .hero__items {
        background-position: 60% center;
    }

    .hero__shade {
        background: linear-gradient(90deg, rgba(4, 5, 16, 0.94) 0%, rgba(4, 5, 16, 0.72) 72%, rgba(4, 5, 16, 0.42) 100%);
    }

    .hero__text {
        max-width: 88%;
        padding-bottom: 74px;
        margin-left: 0;
    }

    .hero__text h1 {
        font-size: 50px;
    }

    .hero__text h2 {
        font-size: 28px;
    }

    .hero__text p {
        font-size: 15px;
    }

    .hero__slider.owl-carousel .owl-nav {
        display: none;
    }

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

    .status-card {
        min-height: 88px;
        padding: 14px;
    }

    .status-card__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .status-card strong {
        font-size: 23px;
    }

    .status-card span:not(.status-card__icon) {
        font-size: 9px;
    }

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

    .weapon-card:not(.weapon-card--stats) {
        grid-template-columns: 40% minmax(0, 1fr);
    }

    .weapon-card--stats {
        display: flex;
        flex-direction: column;
    }

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

    .event-card,
    .event-card--large {
        grid-column: auto;
        grid-template-columns: 128px minmax(0, 1fr);
        min-height: 190px;
    }

    .event-card--large .event-card__image {
        min-height: 190px;
    }

    .event-card--large .event-card__image::after {
        display: none;
    }

    .event-card--large .event-card__content {
        min-height: 190px;
        padding: 20px;
    }

    .podium {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-top: 30px;
    }

    .podium-card,
    .podium-card--first,
    .podium-card--second,
    .podium-card--third {
        min-height: 0;
        padding: 76px 24px 24px;
        border-radius: 8px;
    }

    .podium-card--first {
        order: -1;
        margin-top: 34px;
    }

    .guild-spotlight {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .guild-spotlight > a {
        grid-column: 1 / -1;
        padding-top: 4px;
    }

    .news-item {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .play-guide__layout {
        grid-template-columns: 1fr;
    }

    .steps-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        display: block;
        padding: 18px 0;
    }

    .footer-bottom span {
        display: block;
        margin-top: 6px;
    }

    .weapon-modal__dialog {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .weapon-modal__dialog > img {
        height: 360px;
    }

    .weapon-modal__copy {
        padding: 28px 24px;
    }

    .login-hero,
    .login-hero__content {
        min-height: 220px;
    }

    .login-hero h1 {
        font-size: 36px;
    }

    .login-panel {
        grid-template-columns: 1fr;
        width: min(92vw, 560px);
    }

    .login-panel__aside {
        border-top: 1px solid rgba(242, 178, 77, 0.18);
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .weapon-modal__facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 499px) {
    .hero__text {
        max-width: 100%;
    }

    .hero__eyebrow {
        font-size: 10px;
    }

    .hero__text h1 {
        font-size: 43px;
    }

    .hero__text h2 {
        font-size: 24px;
    }

    .hero__actions,
    .play-guide__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

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

    .weapon-card {
        grid-template-columns: 42% minmax(0, 1fr);
        min-height: 205px;
    }

    .weapon-card__media {
        min-height: 205px;
    }

    .weapon-card__body {
        padding: 18px 16px 18px 6px;
    }

    .weapon-card h3 {
        font-size: 17px;
    }

    .event-card,
    .event-card--large {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .event-card__content,
    .event-card--large .event-card__content {
        padding: 16px;
    }

    .event-card h3 {
        font-size: 18px;
    }

    .event-card p {
        font-size: 11px;
    }

    .news-item {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .guild-spotlight {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .guild-spotlight dl {
        width: 100%;
    }

    .news-item__copy {
        padding: 15px;
    }

    .news-item h3 {
        font-size: 16px;
    }

    .news-item p {
        display: none;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .weapon-modal {
        padding: 14px;
    }

    .weapon-modal__dialog {
        grid-template-columns: 1fr;
    }

    .weapon-modal__dialog > img {
        height: 230px;
    }

    .weapon-modal__copy {
        padding: 24px 20px;
    }

    .weapon-modal__copy h2 {
        font-size: 24px;
    }

    .login-panel__form,
    .login-panel__aside {
        padding: 30px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
