:root {
    --amd-red: #ed1c24;
    --amd-red-dark: #6e0f18;
    --amd-red-mid: #8b1522;
    --nv-black: #000000;
    --nv-text: #ffffff;
    --nv-text-dim: #c8c8c8;
    --compare-accent: var(--amd-red-mid);
    --compare-accent-dim: var(--amd-red-dark);
}

.graphics-back {
    padding: 0.55rem 1.25rem;
    background: #0a0a0a;
    border-bottom: 1px solid #2a2a2a;
}

.graphics-back__link {
    color: var(--amd-red);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.graphics-back__link:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    padding-bottom: 6rem;
    background: var(--nv-black);
    color: var(--nv-text);
}

span {
    font-style: italic;
}

.top-rail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 2rem;
    padding: 0.65rem 1.25rem;
    background: var(--nv-black);
    border-bottom: 1px solid #1a1a1a;
}

.top-rail__item {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--nv-text);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.hero-nvidia {
    text-align: center;
    padding: 3.5rem 1.5rem 3rem;
    background: var(--nv-black);
}

.hero-nvidia__overline {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--nv-text);
}

.hero-nvidia__title {
    margin: 1.1rem 0 1.5rem;
    font-size: clamp(1.85rem, 5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--nv-text);
}

.hero-nvidia__body {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.hero-nvidia__body p {
    margin: 0 0 1rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    font-weight: 400;
    color: var(--nv-text-dim);
}

.hero-nvidia__body p:last-child {
    margin-bottom: 0;
}

.hero-nvidia__cta {
    display: inline-block;
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--nv-text);
    text-decoration: none;
}

.hero-nvidia__cta:hover {
    text-decoration: underline;
}

.hero-nvidia__cta-arrow {
    color: var(--amd-red);
    margin-left: 0.15em;
    font-weight: 700;
    font-style: normal;
}

.hero-nvidia__gallery-heading {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;
}

.gallery-title-wrap {
    text-align: center;
    padding: 0 1.25rem 1.25rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.photo-gallery-frame {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 1240px;
    width: calc(100% - 2.5rem);
    margin: 0 auto 1.25rem;
    padding: 1.25rem 0.65rem;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    border: 3px solid var(--amd-red-mid);
}

.photo-carousel__viewport {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.photo-carousel__track {
    display: flex;
    gap: 0;
    transition: transform 0.45s ease-out;
}

.photo-carousel__track.is-instant {
    transition: none;
}

.photo-carousel__slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.5rem 0.35rem;
}

.photo-carousel__slide .content-photo {
    max-width: 100%;
    max-height: min(340px, 48vh);
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    transform: scale(1.06);
    transform-origin: center center;
    transition: transform 0.25s ease;
}

.photo-carousel__slide .content-photo:hover {
    transform: scale(1.12);
}

.photo-carousel__arrow {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    margin: 0 0.15rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #f8f2f3;
    cursor: pointer;
    border: 1px solid #5c0d14;
    border-radius: 4px;
    background: linear-gradient(180deg, #9a1f2e 0%, var(--amd-red-mid) 50%, var(--amd-red-dark) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 120, 120, 0.2);
}

.photo-carousel__arrow:hover {
    filter: brightness(1.12);
}

.photo-carousel__arrow:active {
    filter: brightness(0.95);
}

@media (max-width: 500px) {
    .photo-gallery-frame {
        width: calc(100% - 1.5rem);
        padding: 0.85rem 0.35rem;
        gap: 0.25rem;
    }

    .photo-carousel__arrow {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.45rem;
        margin: 0;
    }

    .photo-carousel__slide .content-photo {
        max-height: min(260px, 42vh);
    }
}

.brands-tiers {
    position: relative;
    margin-top: 0;
    padding: 0 1.25rem 3rem;
    background: var(--nv-black);
    text-align: center;
}

.brands-tiers__sr-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.tiers-section-title {
    text-align: center;
    margin: 0 auto 1.75rem;
}

.tiers-section-title--amd {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 2.25rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #f8f2f3;
    background: linear-gradient(180deg, #9a1f2e 0%, var(--amd-red-mid) 45%, var(--amd-red-dark) 100%);
    border: 1px solid #3d0a10;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 120, 120, 0.2);
}

.brands-tiers .tier-columns {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.tier-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.tier {
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 0.85rem 1.1rem;
    background: #111111;
    position: relative;
    z-index: 0;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tier:hover {
    z-index: 2;
    transform: scale(1.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    border-color: #3d3d3d;
}

.tier-title {
    margin: 0 0 0.35rem;
    font-size: 1.05em;
    color: var(--nv-text);
}

.tier-note {
    margin: 0 0 0.5rem;
    font-size: 0.85em;
    color: #9a9a9a;
}

.tier ul {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--nv-text-dim);
}

.tier li {
    margin-bottom: 0.35rem;
}

@media (max-width: 800px) {
    .tier-columns {
        grid-template-columns: 1fr;
    }
}

.game-benchmarks {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.game-benchmarks span {
    font-style: normal;
}

.bench-intro__text {
    margin: 0 0 2.25rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--nv-text-dim);
    text-align: center;
}

.game-benchmark {
    margin-bottom: 3rem;
}

.game-benchmark:last-child {
    margin-bottom: 0;
}

.game-benchmark__title {
    margin: 0 0 1rem;
    font-size: clamp(1.15rem, 2.8vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--nv-text);
}

.game-compare__stage {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    min-height: min(320px, 52vw);
    border-radius: 10px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
}

.game-compare__pane {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    background: radial-gradient(120% 80% at 50% 100%, #1c1c1c 0%, #101010 55%, #0a0a0a 100%);
}

.game-compare__placeholder {
    max-width: 14rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #6a6a6a;
    text-align: center;
}

.game-compare__divider {
    background: linear-gradient(180deg, var(--compare-accent) 0%, var(--compare-accent-dim) 100%);
    box-shadow: 0 0 14px rgba(139, 21, 34, 0.45);
    z-index: 2;
}

.game-compare__play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #0a0a0a;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.game-compare__play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    border-color: transparent transparent transparent #111;
}

.game-compare__fps {
    position: absolute;
    top: 0.85rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 5.5rem;
    padding: 0.5rem 0.65rem 0.45rem;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.82);
    border: 1px solid #333;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.game-compare__fps--left {
    left: 0.85rem;
}

.game-compare__fps--right {
    right: 0.85rem;
    align-items: flex-end;
    text-align: right;
}

.game-compare__fps-value {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #f5f5f5;
}

.game-compare__fps--right .game-compare__fps-value {
    color: var(--compare-accent);
}

.game-compare__fps-unit {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #b0b0b0;
}

.game-compare__fps--right .game-compare__fps-unit {
    color: #e8a8b0;
}

.game-compare__fps-label {
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    width: 100%;
    font-size: 0.65rem;
    line-height: 1.25;
    font-weight: 600;
    color: #d0d0d0;
    border-top: 1px solid #3a3a3a;
    text-transform: none;
}

.game-compare__fps--right .game-compare__fps-label {
    color: #f0d0d4;
    border-top-color: rgba(196, 42, 53, 0.45);
}

.game-compare__caption {
    margin: 0.65rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #8a8a8a;
}

@media (max-width: 640px) {
    .game-compare__stage {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 3px 1fr;
        min-height: auto;
    }

    .game-compare__fps {
        top: 0.65rem;
    }

    .game-compare__fps--left {
        left: 0.65rem;
    }

    .game-compare__fps--right {
        right: 0.65rem;
    }

    .game-compare__pane {
        min-height: 140px;
    }

}

.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(90deg, #1a0508 0%, #2d0a10 40%, #1a0508 100%);
    border-top: 2px solid #3d0f18;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(0);
    transition: transform 0.45s ease-in;
}

.cookie-notice--dismissed {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-notice__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-notice__text {
    margin: 0;
    flex: 1 1 220px;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #e8d0d4;
    max-width: 52rem;
}

.cookie-notice__confirm {
    max-width: 48rem;
}

.cookie-notice__confirm-title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ffb3b8;
}

.cookie-notice__confirm-lead {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    color: #e8d0d4;
}

.cookie-notice__reasons {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #d4b8bc;
}

.cookie-notice__reasons li {
    margin-bottom: 0.25rem;
}

.cookie-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-notice__actions--confirm {
    margin-top: 0.25rem;
}

.cookie-notice__btn {
    font-family: inherit;
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    border: 1px solid #5c1a24;
}

.cookie-notice__btn--ghost {
    color: #f0e0e3;
    background: transparent;
}

.cookie-notice__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cookie-notice__btn--primary {
    color: #1a0508;
    background: linear-gradient(180deg, #c42a35 0%, #8b1522 100%);
    border-color: #5c0d14;
    font-weight: bold;
}

.cookie-notice__btn--primary:hover {
    filter: brightness(1.08);
}

.cookie-notice__btn--danger {
    color: #ffc9c9;
    background: rgba(139, 21, 34, 0.45);
    border-color: #8b1522;
}

.cookie-notice__btn--danger:hover {
    background: rgba(139, 21, 34, 0.65);
}

@media (max-width: 600px) {
    .cookie-notice__row {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-notice__actions {
        justify-content: stretch;
    }

    .cookie-notice__btn {
        flex: 1;
        text-align: center;
    }
}

