:root {
    --gfx-red: #e60012;
    --gfx-red-bright: #ff2a2a;
    --gfx-red-glow: rgba(230, 0, 18, 0.55);
    --gfx-black: #000000;
    --gfx-gray-900: #0d0d0d;
    --gfx-gray-800: #1a1a1a;
    --gfx-text: #ffffff;
    --gfx-text-dim: #a8a8a8;
    --gfx-white-bar: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.gfx-page {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--gfx-black);
    color: var(--gfx-text);
    font-size: 16px;
    line-height: 1.45;
}

a {
    color: inherit;
}

.gfx-skip {
    position: absolute;
    left: -9999px;
}

.gfx-skip:focus {
    left: 1rem;
    top: 1rem;
    z-index: 10000;
    padding: 0.5rem 1rem;
    background: var(--gfx-white-bar);
    color: var(--gfx-black);
}

/* —— Tier 1: white top bar —— */
.gfx-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0 1.5rem;
    background: var(--gfx-white-bar);
    color: #1a1a1a;
    border-bottom: 1px solid #e0e0e0;
}

.gfx-topbar__left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.gfx-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.7rem, 1.65vw, 1.05rem);
    letter-spacing: 0.05em;
    color: #1a1a1a;
    max-width: min(100%, 26rem);
    line-height: 1.15;
}

.gfx-brand__eye {
    width: 28px;
    height: 18px;
    flex-shrink: 0;
}

.gfx-brand__wordmark {
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0.04em;
}

.gfx-brand__sep {
    font-weight: 700;
    opacity: 0.85;
}

.gfx-topbar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gfx-topbar__nav a {
    text-decoration: none;
    color: #333;
}

.gfx-topbar__nav a:hover {
    color: var(--gfx-red);
}

.gfx-topbar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
}

.gfx-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border: none;
    background: transparent;
    font: inherit;
    cursor: pointer;
    color: inherit;
}

.gfx-icon-btn:hover {
    color: var(--gfx-red);
}

.gfx-icon-btn--icon {
    padding: 0.35rem;
    color: #333;
}

.gfx-icon-btn--icon .gfx-icon {
    display: block;
}

.gfx-lang {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    cursor: pointer;
    color: #333;
}

.gfx-lang__icon {
    display: flex;
    color: #333;
    flex-shrink: 0;
}

.gfx-lang__select {
    appearance: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #333;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.25rem 1.75rem 0.25rem 0.4rem;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #666 50%),
        linear-gradient(135deg, #666 50%, transparent 50%);
    background-position: calc(100% - 10px) calc(50% + 2px), calc(100% - 6px) calc(50% + 2px);
    background-size: 4px 4px, 4px 4px;
    background-repeat: no-repeat;
}

.gfx-lang__select:hover,
.gfx-lang__select:focus {
    border-color: var(--gfx-red);
    outline: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— Tier 2: sub nav bar (dark) —— */
.gfx-geforce-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    min-height: 48px;
    padding: 0 1.5rem;
    background: var(--gfx-black);
    border-bottom: 1px solid #222;
}

.gfx-geforce-bar__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.gfx-geforce-bar__nav a {
    text-decoration: none;
    color: #e8e8e8;
    white-space: nowrap;
}

.gfx-geforce-bar__nav a:hover {
    color: var(--gfx-red-bright);
}

.gfx-dd {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.gfx-dd::after {
    content: "";
    border: 4px solid transparent;
    border-top-color: #888;
    margin-top: 4px;
}

/* —— Hero —— */
.gfx-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 120% 80% at 70% 20%, #1a0a0a 0%, var(--gfx-black) 55%);
}

.gfx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1.1fr);
    gap: 2rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    min-height: min(72vh, 640px);
}

.gfx-hero__label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gfx-text-dim);
}

.gfx-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.gfx-hero__quote {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    color: #d0d0d0;
}

.gfx-hero__attr {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: var(--gfx-text-dim);
}

.gfx-hero__cta {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--gfx-black);
    background: var(--gfx-red);
    border: none;
    border-radius: 2px;
    box-shadow: 0 0 24px var(--gfx-red-glow);
    transition: filter 0.2s ease, transform 0.15s ease;
}

.gfx-hero__cta:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.gfx-hero__visual {
    position: relative;
    height: min(420px, 52vw);
    min-height: 260px;
}

.gfx-hero__glow-bar {
    position: absolute;
    right: 8%;
    top: 5%;
    width: 8px;
    height: 78%;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--gfx-red-bright) 0%, var(--gfx-red) 50%, #660008 100%);
    box-shadow:
        0 0 20px var(--gfx-red-glow),
        0 0 60px rgba(230, 0, 18, 0.35);
}

.gfx-hero__glow-bar--2 {
    right: 18%;
    opacity: 0.75;
    height: 65%;
    top: 12%;
}

.gfx-hero__glow-bar--3 {
    right: 28%;
    opacity: 0.5;
    height: 52%;
    top: 18%;
}

.gfx-hero__panes {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 4%;
    padding-bottom: 8%;
    gap: 0.5rem;
    perspective: 900px;
}

.gfx-hero__pane {
    width: 22%;
    max-width: 140px;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    background: linear-gradient(145deg, #2a2a2a 0%, #0a0a0a 100%);
    border: 1px solid #333;
    box-shadow: -8px 8px 24px rgba(0, 0, 0, 0.6);
    transform: rotateY(-18deg) rotateX(6deg) translateZ(0);
    background-image: url("../images/hero-pane-1.svg");
    background-size: cover;
    background-position: center;
}

.gfx-hero__pane:nth-child(2) {
    transform: rotateY(-14deg) rotateX(4deg) translateY(-12px);
    background-image: url("../images/hero-pane-2.svg");
}

.gfx-hero__pane:nth-child(3) {
    transform: rotateY(-10deg) rotateX(2deg) translateY(-22px);
    background-image: url("../images/hero-pane-3.svg");
}

.gfx-hero__floor {
    position: absolute;
    left: 10%;
    right: 0;
    bottom: 0;
    height: 35%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(230, 0, 18, 0.08) 40%,
        rgba(230, 0, 18, 0.22) 72%,
        rgba(230, 0, 18, 0.45) 100%
    );
    transform: perspective(400px) rotateX(58deg);
    transform-origin: 50% 100%;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.gfx-hero__lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, rgba(230, 0, 18, 0.06) 50%, transparent 100%),
        repeating-linear-gradient(
            -18deg,
            transparent,
            transparent 38px,
            rgba(230, 0, 18, 0.07) 38px,
            rgba(230, 0, 18, 0.07) 39px
        );
    pointer-events: none;
}

/* —— Four-column strip —— */
.gfx-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    background: var(--gfx-gray-900);
}

.gfx-strip__col {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-left: 1px solid #222;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    min-height: 100%;
}

.gfx-strip__media {
    flex: 0 0 clamp(72px, 14vw, 120px);
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #222;
}

.gfx-strip__col--1 .gfx-strip__media {
    background-image: url("../images/strip-1.svg");
}

.gfx-strip__col--2 .gfx-strip__media {
    background-image: url("../images/strip-2.svg");
}

.gfx-strip__col--3 .gfx-strip__media {
    background-image: url("../images/strip-3.svg");
}

.gfx-strip__col--4 .gfx-strip__media {
    background-image: url("../images/strip-4.svg");
}

.gfx-strip__body {
    padding: 1rem 1rem 1.35rem;
    flex: 1 1 auto;
    background: var(--gfx-gray-900);
}

.gfx-strip__col:first-child {
    border-left: none;
}

.gfx-strip__col:hover .gfx-strip__body {
    background: rgba(230, 0, 18, 0.06);
}

.gfx-strip__col.is-active {
    box-shadow: inset 0 4px 0 0 var(--gfx-red);
}

.gfx-strip__col:not(.is-active) {
    box-shadow: inset 0 1px 0 0 #444;
}

.gfx-strip__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gfx-text-dim);
}

.gfx-strip__text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #eee;
}

/* —— Product card + embed (3rd ref) —— */
.gfx-embed-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.gfx-embed-section__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gfx-product-card {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    background: var(--gfx-gray-800);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.gfx-product-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gfx-product-card--link:hover {
    border-color: #444;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.55);
    transform: translateY(-2px);
}

.gfx-product-card--link:focus-visible {
    outline: 2px solid var(--gfx-red);
    outline-offset: 3px;
}

.gfx-product-card__visual {
    position: relative;
    min-height: 240px;
    background: #0a0a0a;
    overflow: hidden;
}

.gfx-product-card__waves {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(230, 0, 18, 0.35) 0%, transparent 55%),
        repeating-linear-gradient(
            -5deg,
            transparent,
            transparent 12px,
            rgba(230, 0, 18, 0.12) 12px,
            rgba(230, 0, 18, 0.12) 13px
        );
    opacity: 0.9;
}

.gfx-product-card__visual-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 1.25rem 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.gfx-product-card__gpu {
    width: auto;
    max-width: min(78%, 420px);
    height: auto;
    max-height: 220px;
    object-fit: contain;
    transform: rotate(-14deg);
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.65));
    pointer-events: none;
}

.gfx-product-card__body {
    padding: 1.75rem 1.5rem 1.5rem;
    background: #141414;
}

.gfx-product-card__kicker {
    margin: 0 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gfx-text-dim);
}

.gfx-product-card__heading {
    margin: 0 0 0.75rem;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gfx-product-card__copy {
    margin: 0 0 1.35rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #c4c4c4;
}

.gfx-product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gfx-black);
    background: var(--gfx-red);
    border-radius: 2px;
    box-shadow: 0 0 20px var(--gfx-red-glow);
}

.gfx-product-card--link:hover .gfx-product-card__cta {
    filter: brightness(1.06);
}

/* —— Bottom promo —— */
.gfx-promo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid #222;
}

.gfx-promo__text {
    padding: 2.5rem 1.5rem 2.5rem 1.5rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.gfx-promo__text h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
}

.gfx-promo__text p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    color: #c0c0c0;
    line-height: 1.55;
}

.gfx-promo__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gfx-text);
    text-decoration: none;
}

.gfx-promo__link:hover .gfx-arrow {
    transform: translateX(3px);
}

.gfx-promo__link .gfx-arrow {
    display: inline-block;
    color: var(--gfx-red);
    font-weight: 900;
    transition: transform 0.2s ease;
}

.gfx-promo__art {
    min-height: 220px;
    background: #111 url("../images/promo-bg.svg") center / cover no-repeat;
    border-left: 1px solid #222;
}

/* —— Feedback tab —— */
.gfx-feedback {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 900;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right center;
    padding: 0.4rem 0.75rem;
    background: #f5f5f5;
    color: #111;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 4px 4px 0 0;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.25);
    cursor: default;
    user-select: none;
}

@media (max-width: 960px) {
    .gfx-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 2.5rem;
    }

    .gfx-hero__visual {
        height: 320px;
    }

    .gfx-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .gfx-strip__col {
        border-left: 1px solid #222;
    }

    .gfx-strip__col:nth-child(odd) {
        border-left: none;
    }

    .gfx-promo {
        grid-template-columns: 1fr;
    }

    .gfx-promo__art {
        min-height: 200px;
        border-left: none;
        border-top: 1px solid #222;
    }
}

/* —— Cookie banner —— */
.cookie-notice {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    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;
    }
}

@media (max-width: 560px) {
    .gfx-topbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1rem;
    }

    .gfx-geforce-bar__nav {
        gap: 0.5rem 1rem;
    }

    .gfx-strip {
        grid-template-columns: 1fr;
    }

    .gfx-strip__col {
        border-left: none;
        border-top: 1px solid #222;
    }

    .gfx-strip__col:first-child {
        border-top: none;
    }

}
