body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 0%, rgba(94, 162, 255, 0.16), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(181, 56, 183, 0.12), transparent 30%),
        #070b14;
    color: #edf2ff;
    line-height: 1.5;
}

a {
    color: inherit;
}

.weapon-page {
    max-width: 1480px;
    margin: 0 auto;
    padding: 24px;
}

.weapon-top-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    color: #8bc3ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.18s ease, transform 0.18s ease;
}

.weapon-top-back:hover {
    color: #b7daff;
    transform: translateX(-3px);
}

.weapon-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px 300px;
    gap: 22px;
    align-items: start;
}

.weapon-main {
    min-width: 0;
}

.weapon-header,
.weapon-section,
.weapon-infobox,
.sidebar-box,
.similar-card {
    background: linear-gradient(180deg, #171b24 0%, #141923 100%);
    border: 1px solid #2a3242;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.weapon-header {
    padding: 24px;
    margin-bottom: 18px;
}

.weapon-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 12px;
}

.weapon-heading-block {
    min-width: 0;
}

.weapon-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #72809b;
    font-size: 12px;
    font-weight: 700;
}

.weapon-breadcrumbs a {
    position: relative;
    color: #8bc3ff;
    text-decoration: none;
    transition: color 0.18s ease;
}

.weapon-breadcrumbs a:not(:last-child)::after {
    content: "›";
    margin: 0 6px;
    font-size: 11px;
    color: #5f6c85;
}

.weapon-breadcrumbs a:hover {
    color: #b7daff;
}

.weapon-breadcrumbs span {
    color: #9aa7c2;
    margin-left: 6px;
}

.weapon-title {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.weapon-intro {
    margin: 16px 0 0;
    max-width: 850px;
    color: #c7d0e3;
    font-size: 16px;
    line-height: 1.75;
}

.weapon-wiki-term {
    color: #8bc3ff;
    font-weight: 600;
    position: relative;
}

a.weapon-wiki-term {
    cursor: pointer;
    text-decoration: none;
}

a.weapon-wiki-term:hover {
    color: #b7daff;
}

.weapon-wiki-value {
    color: #facc7b;
    font-weight: 700;
    position: relative;
    cursor: default;
}

.weapon-wiki-term::after,
.weapon-wiki-value::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.weapon-wiki-term::after {
    background: rgba(94, 162, 255, 0.4);
}

.weapon-wiki-value::after {
    background: rgba(250, 204, 123, 0.4);
}

.weapon-wiki-term:hover::after,
.weapon-wiki-value:hover::after {
    opacity: 1;
}

.weapon-variants-header {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin: 0;
}

.weapon-variant-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #2a3242;
    background: rgba(255, 255, 255, 0.05);
    color: #cfd6e6;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.weapon-variant-pill.active {
    background: rgba(94, 162, 255, 0.18);
    border-color: rgba(94, 162, 255, 0.5);
    color: #b7daff;
}

.weapon-variant-block.is-hidden {
    display: none !important;
}

.weapon-variant-block.is-active {
    display: block !important;
}

.weapon-section {
    padding: 22px;
    margin-bottom: 18px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.weapon-section:hover {
    border-color: #3a455b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.weapon-section h2,
.weapon-section h4 {
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.weapon-section h2 {
    font-size: 24px;
}

.weapon-section h4 {
    font-size: 18px;
}

.weapon-description-quote {
    position: relative;
    padding: 22px 22px 22px 26px;
    border-radius: 16px;
    background: linear-gradient(180deg, #141923 0%, #11151d 100%);
    border: 1px solid rgba(255,255,255,0.06);
    color: #d6deed;
    font-size: 16px;
    line-height: 1.7;
    overflow: hidden;
}

.weapon-description-quote::before {
    content: "“";
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 64px;
    line-height: 1;
    color: rgba(94, 162, 255, 0.18);
    font-weight: 900;
    pointer-events: none;
}

.weapon-description-quote::after {
    content: "”";
    position: absolute;
    bottom: 4px;
    right: 14px;
    font-size: 64px;
    line-height: 1;
    color: rgba(94, 162, 255, 0.18);
    font-weight: 900;
    pointer-events: none;
}

.weapon-description-quote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.weapon-data-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.weapon-data-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.weapon-data-card {
    min-height: 78px;
    padding: 14px;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.032));
    border: 1px solid rgba(255,255,255,0.075);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.weapon-data-card:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 162, 255, 0.32);
    background: linear-gradient(180deg, rgba(94,162,255,0.095), rgba(255,255,255,0.035));
}

.weapon-data-card span {
    color: #8d9ab4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.weapon-data-card strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 900;
    word-break: break-word;
}

.weapon-data-card.is-highlight {
    min-height: 92px;
    background:
        radial-gradient(circle at 90% 10%, rgba(94,162,255,0.18), transparent 42%),
        linear-gradient(180deg, rgba(94,162,255,0.10), rgba(255,255,255,0.035));
    border-color: rgba(94,162,255,0.24);
}

.weapon-data-card.is-highlight strong {
    color: #b7daff;
    font-size: 24px;
}

.weapon-rockstar-stats {
    margin-top: 20px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #121722, #0f141d);
    border: 1px solid rgba(255,255,255,0.06);
}

.weapon-stats-title {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7f8aa3;
}

.weapon-stats-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.weapon-stat-row {
    display: grid;
    grid-template-columns: 110px 1fr 50px;
    align-items: center;
    gap: 12px;
}

.weapon-stat-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8d9ab4;
}

.weapon-stat-bar {
    display: flex;
    gap: 5px;
}

.weapon-stat-segment {
    flex: 1;
    height: 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.weapon-stat-segment.is-active.rating-high {
    background: linear-gradient(90deg, #5ea2ff, #b538b7);
    box-shadow: 0 0 10px rgba(94,162,255,0.3);
}

.weapon-stat-segment.is-active.rating-mid {
    background: linear-gradient(90deg, #facc7b, #f59e0b);
    box-shadow: 0 0 10px rgba(250,204,123,0.25);
}

.weapon-stat-segment.is-active.rating-low {
    background: linear-gradient(90deg, #fb7185, #f97316);
    box-shadow: 0 0 10px rgba(249,115,22,0.22);
}

.weapon-stat-value {
    font-size: 13px;
    font-weight: 800;
    color: #edf2ff;
    text-align: right;
}

.weapon-stat-overall {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.weapon-stat-overall span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7f8aa3;
}

.overall-badge {
    min-width: 80px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(250,204,123,0.15), rgba(255,255,255,0.03));
    border: 1px solid rgba(250,204,123,0.35);
    font-size: 18px;
    font-weight: 900;
    color: #facc7b;
    text-align: center;
    box-shadow:
        0 0 14px rgba(250,204,123,0.25),
        inset 0 0 8px rgba(255,255,255,0.05);
}

.weapon-purchase-summary {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 15px;
    background:
        radial-gradient(circle at 88% 12%, rgba(250,204,123,0.12), transparent 42%),
        linear-gradient(180deg, rgba(250,204,123,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(250,204,123,0.22);
}

.weapon-purchase-summary p {
    margin: 0;
    color: #c7d0e3;
    font-size: 15px;
    line-height: 1.7;
}

.weapon-purchase-summary p + p {
    margin-top: 8px;
}

.weapon-purchase-facts,
.weapon-customization-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.purchase-fact-card,
.customization-fact-card {
    min-height: 74px;
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.purchase-fact-card span,
.customization-fact-card span {
    display: block;
    margin-bottom: 10px;
    color: #8d9ab4;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.purchase-fact-card strong,
.customization-fact-card strong {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.purchase-fact-card:first-child {
    background: rgba(245, 158, 11, 0.09);
    border-color: rgba(245, 158, 11, 0.22);
}

.purchase-fact-card:first-child strong {
    color: #facc7b;
}

.weapon-components-note {
    margin: 16px 0 0;
    color: #c7d0e3;
    font-size: 14px;
    line-height: 1.7;
}

.weapon-tech-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.weapon-tech-group h5 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.weapon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weapon-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.weapon-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.weapon-list strong {
    flex: 0 0 145px;
    color: #8d9ab4;
    font-size: 13px;
    font-weight: 800;
}

.weapon-list span {
    flex: 1;
    text-align: right;
    color: #edf2ff;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}

.weapon-info-column {
    position: sticky;
    top: 92px;
}

.weapon-infobox {
    overflow: hidden;
    padding: 0;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.weapon-infobox:hover {
    transform: translateY(-4px);
    border-color: #42516c;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.weapon-infobox-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background:
        radial-gradient(circle at 50% 35%, rgba(94, 162, 255, 0.2), transparent 50%),
        #0f141d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.weapon-infobox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 14px;
    box-sizing: border-box;
    transition: transform 0.18s ease;
}

.weapon-infobox:hover .weapon-infobox-image {
    transform: scale(1.045);
}

.weapon-infobox-body {
    padding: 16px;
}

.weapon-infobox-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 7px;
    color: #8d9ab4;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.weapon-infobox-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.035em;
}

.weapon-infobox-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.badge-class {
    background: rgba(94, 162, 255, 0.14);
    border: 1px solid rgba(94, 162, 255, 0.28);
    color: #b7daff;
}

.badge-type {
    background: rgba(181, 56, 183, 0.14);
    border: 1px solid rgba(181, 56, 183, 0.28);
    color: #f0b7ff;
}

.badge-game {
    background: rgba(250, 204, 123, 0.12);
    border: 1px solid rgba(250, 204, 123, 0.26);
    color: #facc7b;
}

.weapon-infobox-highlights {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.info-highlight {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.075);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.info-highlight:hover {
    transform: translateX(3px);
}

.info-highlight span {
    margin: 0;
    color: #7e8ca8;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-highlight strong {
    min-width: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    text-align: right;
    word-break: break-word;
}

.info-highlight-price {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.20);
}

.info-highlight-price strong {
    color: #facc7b;
}

.info-highlight-damage {
    background: rgba(94, 162, 255, 0.08);
    border-color: rgba(94, 162, 255, 0.20);
}

.info-highlight-damage strong {
    color: #b7daff;
}

.weapon-infobox-stats {
    display: grid;
    gap: 0;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.info-stat {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 38px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.info-stat:last-child {
    border-bottom: 0;
}

.info-stat span {
    display: block;
    color: #7e8ca8;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-stat strong {
    min-width: 0;
    color: #edf2ff;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    word-break: break-word;
}

.weapon-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}

.sidebar-box {
    padding: 14px;
}

.sidebar-label {
    display: block;
    margin-bottom: 10px;
    color: #72809b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ad-placeholder {
    min-height: 250px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
    color: #65728c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.sidebar-box:nth-child(2) .ad-placeholder {
    min-height: 600px;
}

.weapon-section-full {
    margin-top: 24px;
}

.similar-weapons {
    margin: 28px 0 10px;
}

.similar-weapons h2 {
    margin: 0 0 16px;
    font-size: 26px;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.similar-card {
    display: block;
    padding: 0;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.similar-card:hover {
    transform: translateY(-4px);
    border-color: #42516c;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.similar-card-image-wrap {
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 50% 35%, rgba(94, 162, 255, 0.16), transparent 50%),
        #0f141d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.similar-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.similar-card-body {
    padding: 16px;
}

.similar-title {
    margin-bottom: 7px;
    font-size: 16px;
    font-weight: 900;
}

.similar-meta {
    margin-bottom: 8px;
    color: #8d9ab4;
    font-size: 13px;
    font-weight: 700;
}

.similar-type {
    color: #b7daff;
    font-size: 14px;
    font-weight: 900;
}

@media (max-width: 1280px) {
    .weapon-detail-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .weapon-sidebar {
        display: none;
    }
}

@media (max-width: 980px) {
    .weapon-detail-grid {
        grid-template-columns: 1fr;
    }

    .weapon-info-column,
    .weapon-sidebar {
        position: static;
    }

    .weapon-info-column {
        order: -1;
    }

    .weapon-infobox {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .weapon-infobox-image-wrap {
        aspect-ratio: auto;
        min-height: 240px;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }

    .similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .weapon-page {
        padding: 16px;
    }

    .weapon-header,
    .weapon-section,
    .weapon-infobox,
    .sidebar-box {
        border-radius: 16px;
    }

    .weapon-header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .weapon-variants-header {
        justify-content: flex-start;
    }

    .weapon-header,
    .weapon-section {
        padding: 18px;
    }

    .weapon-data-grid,
    .weapon-data-grid-featured,
    .weapon-purchase-facts,
    .weapon-customization-facts,
    .weapon-tech-grid {
        grid-template-columns: 1fr;
    }

    .weapon-infobox {
        display: block;
    }

    .weapon-infobox-image-wrap {
        aspect-ratio: 16 / 10;
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .info-stat {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .weapon-list li {
        flex-direction: column;
        gap: 5px;
    }

    .weapon-list strong {
        flex: none;
    }

    .weapon-list span {
        text-align: left;
    }

    .weapon-stat-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .weapon-stat-value {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .similar-grid {
        grid-template-columns: 1fr;
    }

    .weapon-title {
        font-size: 32px;
    }
}