:root {
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
    background: #020611;
    color: #fff
}

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

html {
    min-width: 320px;
    background: #020611
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(7, 33, 61, .35), transparent 38%), linear-gradient(#020611, #030814 70%, #020611)
}

button {
    font: inherit;
    -webkit-tap-highlight-color: transparent
}

.landing {
    min-height: 100vh;
    overflow: hidden
}

.page-shell {
    width: min(100% - 32px, 1240px);
    margin-inline: auto
}

.hero {
    line-height: 0;
    overflow: hidden;
    background: #03040a
}

.hero__picture {
    display: block;
    width: 100%
}

.hero__image {
    display: block;
    width: 100%;
    height: auto
}

.hero__inner {
    display: flex;
    align-items: center;
    min-height: 620px;
    padding-block: 38px 78px
}

.hero__copy {
    position: relative;
    z-index: 1;
    width: min(490px, 47%)
}

.game-logo {
    display: flex;
    align-items: center;
    height: 155px;
    margin-bottom: -2px;
    white-space: nowrap
}

.game-logo__gta {
    color: #fff;
    font-family: Impact, Arial Black, sans-serif;
    font-size: 118px;
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.055em;
    -webkit-text-stroke: 2px #eef1f6;
    text-shadow: 0 7px 0 rgba(151, 157, 174, .28), 0 10px 18px #000
}

.game-logo__six {
    margin-left: 14px;
    color: transparent;
    font-family: Impact, Arial Black, sans-serif;
    font-size: 156px;
    font-style: italic;
    line-height: 1;
    -webkit-text-stroke: 4px #fff;
    filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 8px #ff19c9);
    text-shadow: 0 0 8px #ff008c, 0 0 18px #ff008c
}

.hero__welcome {
    margin: -2px 0 -8px 2px;
    color: #fff;
    font-family: Segoe Script, Brush Script MT, cursive;
    font-size: 41px;
    font-style: italic;
    line-height: 1;
    text-shadow: 0 0 4px #fff, 0 0 10px #ff159f, 0 0 20px #ff159f;
    transform: rotate(-3deg);
    transform-origin: left center
}

.hero h1 {
    margin: 0;
    font-family: Impact, Arial Black, sans-serif;
    font-size: 91px;
    font-weight: 900;
    line-height: .98;
    letter-spacing: .015em;
    text-transform: uppercase;
    background: linear-gradient(#faffff 4%, #c9fff9 37%, #aa7fe6 72%, #f028a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .65))
}

.hero__description {
    margin: 22px 0 0 4px;
    color: #f6f6f8;
    font-size: 20px;
    line-height: 1.46;
    text-shadow: 0 2px 5px #000
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 650px;
    margin-top: 48px
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 145px
}

.mini-feature svg {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    fill: none;
    stroke: #ff71a9;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(255, 61, 153, .25))
}

.mini-feature strong,
.mini-feature span {
    display: block;
    white-space: nowrap
}

.mini-feature strong {
    margin-bottom: 4px;
    font-size: 12px;
    line-height: 1
}

.mini-feature span {
    color: #c9c8cf;
    font-size: 10px
}

.platforms {
    position: relative;
    z-index: 2;
    padding: 8px 0 20px;
    background: radial-gradient(circle at 50% 0%, rgba(3, 28, 51, .8), transparent 43%), linear-gradient(180deg, #020610, #030815 68%, #020611)
}

.section-title {
    margin-bottom: 27px;
    text-align: center
}

.section-title h2 {
    margin: 0;
    font-size: 29px;
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow: 0 2px 5px #000
}

.section-title__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 8px;
    color: #ff4da1
}

.section-title__ornament span {
    width: 94px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fd15ad)
}

.section-title__ornament span:last-child {
    background: linear-gradient(90deg, #fd15ad, #286aff, transparent)
}

.section-title__ornament b {
    font-size: 24px;
    line-height: 1;
    text-shadow: 0 0 10px #ff168f
}

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

.product-card {
    --accent: #1487ff;
    --accent-rgb: 20, 135, 255;
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 585px;
    flex-direction: column;
    padding: 14px 13px 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), .84);
    border-radius: 11px;
    background: radial-gradient(circle at 50% 35%, rgba(var(--accent-rgb), .2), transparent 48%), linear-gradient(160deg, rgba(var(--accent-rgb), .11), #020710f0 44%);
    box-shadow: inset 0 0 34px rgba(var(--accent-rgb), .08), 0 12px 24px #0003
}

.product-card--xbox-s,
.product-card--xbox-x {
    --accent: #35c713;
    --accent-rgb: 53, 199, 19
}

.product-card--pc {
    --accent: #9b4aff;
    --accent-rgb: 155, 74, 255
}

.product-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 37px;
    margin: 0 5px 9px
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 30px;
    padding: 0 14px;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), #09102a 48%));
    box-shadow: 0 0 12px rgba(var(--accent-rgb), .42);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap
}

.platform-mark {
    display: block;
    flex: 0 0 auto;
    color: #fff;
    fill: currentColor;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, .2))
}

.platform-mark--playstation {
    width: 48px;
    height: 37px
}

.platform-mark--xbox {
    width: 39px;
    height: 39px;
    fill: #f5fff9
}

.platform-mark--xbox path {
    fill: #153c1b
}

.platform-mark--pc {
    width: 43px;
    height: 34px;
    fill: none;
    stroke: #e5dbff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.platform-mark--pc .platform-mark__screen {
    fill: #e2d7ff14;
    stroke: none
}

.cover-art {
    position: relative;
    width: 100%;
    aspect-ratio: 194 / 218;
    overflow: hidden;
    border-radius: 2px;
    background: #17091f;
    box-shadow: 0 8px 18px #00000061
}

.cover-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none
}

.file-row {
    display: flex;
    align-items: center;
    min-height: 80px;
    gap: 13px;
    margin-top: 14px;
    padding: 11px 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 8px;
    background: #0d131ec2;
    box-shadow: inset 0 0 18px #ffffff06
}

.file-icon {
    display: block;
    width: 44px;
    height: 54px;
    flex: 0 0 44px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25))
}

.file-icon__tile {
    fill: #e8e5ff;
    stroke: #ffffffeb;
    stroke-width: 1
}

.file-icon__paper {
    fill: #fbfaff
}

.file-icon__fold {
    fill: #d5ceff
}

.file-icon__zip {
    fill: #7554ef
}

.file-icon__pull {
    fill: none;
    stroke: #7554ef;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.file-row strong,
.file-row span {
    display: block
}

.file-row strong {
    overflow: hidden;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap
}

.file-row div>span {
    margin-top: 6px;
    color: #e8e7ed;
    font-size: 15px
}

.storage {
    margin: 24px 0 25px;
    text-align: center;
    text-transform: uppercase
}

.storage span,
.storage strong {
    display: block
}

.storage span {
    color: #e1dfe4;
    font-size: 12px
}

.storage strong {
    margin-top: 9px;
    color: var(--accent);
    font-size: 21px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(var(--accent-rgb), .3)
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin-top: auto;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(115deg, var(--accent), #c000ac 92%);
    box-shadow: 0 0 14px rgba(var(--accent-rgb), .3), inset 0 1px #ffffff2e;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease
}

.product-card--xbox-s .download-button,
.product-card--xbox-x .download-button {
    background: linear-gradient(115deg, #14b733, #ef1b73)
}

.product-card--pc .download-button {
    background: linear-gradient(115deg, #7234db, #d200a7)
}

.download-button svg {
    width: 22px;
    height: 22px;
    margin-right: 9px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.download-button:hover {
    filter: brightness(1.12)
}

.download-button:active {
    transform: translateY(1px) scale(.99)
}

.download-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px
}

.captcha-wrapper {
    position: relative;
    z-index: 3;
    width: min(100%, 620px);
    margin: 24px auto 0;
    padding: 18px;
    border: 1px solid rgba(255, 85, 169, .55);
    border-radius: 10px;
    opacity: 0;
    background: #050a17f0;
    box-shadow: 0 0 28px #ff179829;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease
}

.captcha-wrapper[hidden] {
    display: none
}

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

.offer-disclosure {
    margin: 0
}

.security-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 36px;
    padding: 28px 36px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 11px;
    background: linear-gradient(110deg, #0f1827eb, #09101de6);
    box-shadow: inset 0 0 24px #ffffff05
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 78px;
    padding: 0 28px
}

.security-item+.security-item {
    border-left: 1px solid rgba(255, 255, 255, .22)
}

.security-item svg {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    fill: none;
    stroke: #ff73a6;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(255, 82, 151, .2))
}

.security-item strong,
.security-item span {
    display: block
}

.security-item strong {
    margin-bottom: 8px;
    font-size: 15px;
    text-transform: uppercase
}

.security-item span {
    color: #c6c4cc;
    font-size: 14px;
    line-height: 1.55
}

@media(max-width:1050px) {
    .page-shell {
        width: min(100% - 30px, 994px)
    }
    .hero__copy {
        width: 48%
    }
    .product-grid {
        gap: 14px
    }
    .product-card {
        min-height: 575px;
        padding-inline: 12px
    }
    .download-button {
        font-size: 15px
    }
    .security-item {
        gap: 18px;
        padding-inline: 20px
    }
}

@media(max-width:860px) {
    .game-logo__gta {
        font-size: 95px
    }
    .game-logo__six {
        font-size: 132px
    }
    .hero h1 {
        font-size: 72px
    }
    .hero__description {
        font-size: 17px
    }
    .hero__trust {
        gap: 18px
    }
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px
    }
    .product-card {
        min-height: 680px
    }
    .security-strip {
        padding-inline: 18px
    }
    .security-item {
        flex-direction: column;
        gap: 10px;
        padding-inline: 14px;
        text-align: center
    }
}

@media(max-width:600px) {
    .page-shell {
        width: min(100% - 28px, 460px)
    }
    .hero__copy {
        width: 100%
    }
    .game-logo {
        height: 102px;
        margin-bottom: 0
    }
    .game-logo__gta {
        font-size: 72px;
        -webkit-text-stroke-width: 1px
    }
    .game-logo__six {
        margin-left: 9px;
        font-size: 99px;
        -webkit-text-stroke-width: 3px
    }
    .hero__welcome {
        margin-top: 0;
        font-size: 28px
    }
    .hero h1 {
        font-size: clamp(56px, 17.3vw, 72px)
    }
    .hero__description {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.45
    }
    .hero__description br {
        display: none
    }
    .hero__trust {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        margin-top: 28px
    }
    .mini-feature {
        min-width: 0;
        flex-direction: column;
        gap: 7px;
        text-align: center
    }
    .mini-feature svg {
        width: 30px;
        height: 30px
    }
    .mini-feature strong {
        font-size: 10px
    }
    .mini-feature span {
        font-size: 8px;
        white-space: normal
    }
    .platforms {
        padding-top: 22px
    }
    .section-title h2 {
        font-size: 23px
    }
    .section-title__ornament span {
        width: 68px
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }
    .product-card {
        width: 100%;
        min-height: 0;
        padding: 16px
    }
    .cover-art {
        aspect-ratio: 194 / 218
    }
    .file-row strong,
    .file-row div>span {
        font-size: 16px
    }
    .storage {
        margin-block: 25px
    }
    .download-button {
        min-height: 60px;
        font-size: 17px
    }
    .captcha-wrapper {
        padding: 12px
    }
    .security-strip {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 24px;
        padding: 8px 20px
    }
    .security-item {
        min-height: 116px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 22px;
        padding: 18px 8px;
        text-align: left
    }
    .security-item+.security-item {
        border-top: 1px solid rgba(255, 255, 255, .18);
        border-left: 0
    }
}

@media(max-width:370px) {
    .page-shell {
        width: min(100% - 22px, 460px)
    }
    .hero h1 {
        font-size: 54px
    }
    .file-row {
        gap: 10px;
        padding-inline: 10px
    }
    .download-button {
        font-size: 15px
    }
}

@media(prefers-reduced-motion:reduce) {
    .download-button,
    .captcha-wrapper {
        transition: none
    }
}


/*New*/




/* جعل الـ grid مرجعاً للموضع المطلق للكرتشة */
.product-grid {
    position: relative;
}

/* عند إضافة class "floating" يصبح العنصر مطلقاً ويظهر أسفل الزر */
.captcha-wrapper.floating {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 0; /* سيتم ضبطه بواسطة JavaScript */
    width: min(100%, 620px);
    transform: none; /* إلغاء التحريك السابق */
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 10; /* ليكون فوق البطاقات الأخرى */
    margin-top: 0; /* إلغاء الهامش العلوي الأصلي */
}

.captcha-wrapper.floating.is-visible {
    opacity: 1;
}