/*
|--------------------------------------------------------------------------
| FTRGAMES — EA APP GIFT CARDS PAGE
|--------------------------------------------------------------------------
*/

.ftr-ea-page{
    --bg:#08020d;
    --panel:#15071e;
    --panel2:#1c0928;
    --border:rgba(185,76,255,.18);
    --border-strong:rgba(190,78,255,.38);
    --text:#fff;
    --muted:#aaa0af;
    --purple:#aa3cff;
    --yellow:#ffd400;
    --green:#2aee91;

    width:100%;
    overflow:hidden;
    color:var(--text);
    background:
        radial-gradient(circle at 50% 0,rgba(131,31,199,.09),transparent 28%),
        var(--bg);
}

.ftr-ea-page *{box-sizing:border-box}

.ftr-ea-shell{
    width:min(1240px,calc(100% - 36px));
    margin:0 auto;
    padding:24px 0 90px;
}

.ftr-ea-kicker{
    display:block;
    margin-bottom:12px;
    color:var(--yellow);
    font-size:9px;
    line-height:1;
    font-weight:950;
    letter-spacing:.15em;
    text-transform:uppercase;
}

/* Hero */
.ftr-ea-hero{
    position:relative;
    min-height:500px;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:24px;
    background:#0b0310;
    box-shadow:0 30px 90px rgba(0,0,0,.3);
}

.ftr-ea-hero > img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.ftr-ea-hero__shade{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(5,1,8,.96),rgba(5,1,8,.76) 38%,rgba(5,1,8,.18) 72%,rgba(5,1,8,.24));
}

.ftr-ea-hero__copy{
    position:relative;
    z-index:2;
    display:flex;
    min-height:500px;
    max-width:690px;
    flex-direction:column;
    justify-content:center;
    padding:64px;
}

.ftr-ea-hero h1{
    margin:0;
    color:#fff;
    font-size:clamp(58px,7vw,92px);
    line-height:.88;
    font-weight:950;
    letter-spacing:-.065em;
}

.ftr-ea-hero h1 em{
    display:block;
    color:var(--yellow);
    font-style:normal;
}

.ftr-ea-hero__copy p{
    max-width:590px;
    margin:23px 0 0;
    color:#d0c5d5;
    font-size:14px;
    line-height:1.7;
}

.ftr-ea-hero__actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:27px;
}

.ftr-ea-hero__actions a{
    display:inline-flex;
    min-height:46px;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:0 18px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:9px;
    background:rgba(255,255,255,.035);
    color:#fff !important;
    font-size:10px;
    font-weight:950;
    text-decoration:none !important;
    transition:transform .18s ease,border-color .18s ease,filter .18s ease;
}

.ftr-ea-hero__actions a:hover{transform:translateY(-2px)}

.ftr-ea-hero__actions a.is-primary{
    border-color:transparent;
    background:var(--yellow);
    color:#15051c !important;
}

/* Generic sections */
.ftr-ea-section{padding:76px 0 0}

.ftr-ea-section__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:26px;
    margin-bottom:24px;
}

.ftr-ea-section__head--intro{max-width:930px}

.ftr-ea-section h2,
.ftr-ea-section__head h2{
    margin:0;
    color:#fff;
    font-size:clamp(38px,5vw,58px);
    line-height:.94;
    font-weight:950;
    letter-spacing:-.055em;
}

.ftr-ea-section p,
.ftr-ea-section__head p{
    margin:12px 0 0;
    color:var(--muted);
    font-size:12px;
    line-height:1.7;
}

/* About / how it works */
.ftr-ea-info-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.ftr-ea-info-card{
    position:relative;
    min-height:235px;
    overflow:hidden;
    padding:26px;
    border:1px solid var(--border);
    border-radius:20px;
    background:
        radial-gradient(circle at 95% 0,rgba(170,60,255,.14),transparent 35%),
        linear-gradient(180deg,rgba(255,255,255,.025),transparent),
        var(--panel);
}

.ftr-ea-info-card__number{
    position:absolute;
    top:18px;
    right:20px;
    color:rgba(255,255,255,.13);
    font-size:36px;
    line-height:1;
    font-weight:950;
}

.ftr-ea-info-card__icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border:1px solid rgba(190,78,255,.22);
    border-radius:14px;
    background:rgba(170,60,255,.10);
    color:#d89aff;
    font-size:16px;
    font-weight:950;
}

.ftr-ea-info-card h3{
    margin:28px 0 0;
    color:#fff;
    font-size:20px;
    line-height:1.1;
    font-weight:950;
    letter-spacing:-.025em;
}

.ftr-ea-info-card p{
    margin-top:10px;
    font-size:11px;
    line-height:1.65;
}

.ftr-ea-info-card strong{color:#fff}

.ftr-ea-region-note{
    display:flex;
    align-items:center;
    gap:14px;
    margin-top:14px;
    padding:16px 18px;
    border:1px solid rgba(255,212,0,.15);
    border-radius:16px;
    background:rgba(255,212,0,.045);
}

.ftr-ea-region-note__dot{
    flex:0 0 10px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--yellow);
    box-shadow:0 0 22px rgba(255,212,0,.6);
}

.ftr-ea-region-note div{
    display:flex;
    min-width:145px;
    flex-direction:column;
}

.ftr-ea-region-note small{
    color:#887c8d;
    font-size:7px;
    line-height:1;
    font-weight:950;
    letter-spacing:.12em;
}

.ftr-ea-region-note strong{
    margin-top:4px;
    color:#fff;
    font-size:12px;
    line-height:1.1;
}

.ftr-ea-region-note p{
    margin:0;
    font-size:10px;
}

/* Products */
.ftr-ea-products-head__badge{
    min-width:92px;
    padding:12px 16px;
    border:1px solid var(--border);
    border-radius:13px;
    background:var(--panel);
    text-align:center;
}

.ftr-ea-products-head__badge small{
    display:block;
    color:#786d80;
    font-size:7px;
    font-weight:950;
    letter-spacing:.12em;
}

.ftr-ea-products-head__badge strong{
    display:block;
    margin-top:5px;
    color:var(--yellow);
    font-size:15px;
    line-height:1;
    font-weight:950;
}

.ftr-ea-products{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

.ftr-ea-product-card{
    display:grid;
    grid-template-rows:230px minmax(0,1fr);
    min-width:0;
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.022),transparent),var(--panel);
    transition:transform .18s ease,border-color .18s ease;
}

.ftr-ea-product-card:hover{
    transform:translateY(-3px);
    border-color:var(--border-strong);
}

.ftr-ea-product-card__visual{
    position:relative;
    height:230px;
    overflow:hidden;
    background:
        radial-gradient(circle at 50% 45%,rgba(156,47,239,.16),transparent 55%),
        #090611;
}

.ftr-ea-product-card__visual img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.ftr-ea-product-card__visual::after{
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:42%;
    background:linear-gradient(180deg,transparent,rgba(7,3,11,.76));
    pointer-events:none;
}

.ftr-ea-product-card__value{
    position:absolute;
    z-index:2;
    right:14px;
    bottom:14px;
    display:inline-flex;
    min-height:42px;
    align-items:baseline;
    gap:5px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:12px;
    background:rgba(12,5,18,.80);
    color:#fff;
    font-size:20px;
    font-weight:950;
    backdrop-filter:blur(8px);
}

.ftr-ea-product-card__value small{
    color:var(--yellow);
    font-size:9px;
    font-weight:950;
}

.ftr-ea-product-card__body{
    display:flex;
    min-width:0;
    flex-direction:column;
    padding:19px;
    background:linear-gradient(180deg,rgba(25,8,35,.99),var(--panel));
}

.ftr-ea-product-card__eyebrow{
    color:#c76eff;
    font-size:7px;
    line-height:1;
    font-weight:950;
    letter-spacing:.11em;
}

.ftr-ea-product-card h3{
    margin:10px 0 0;
    color:#fff;
    font-size:18px;
    line-height:1.15;
    font-weight:950;
    letter-spacing:-.025em;
}

.ftr-ea-product-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:10px;
}

.ftr-ea-product-meta span{
    display:inline-flex;
    min-height:25px;
    align-items:center;
    padding:0 8px;
    border:1px solid rgba(255,255,255,.075);
    border-radius:99px;
    background:rgba(255,255,255,.025);
    color:#b9aec0;
    font-size:9px;
    font-weight:850;
}

.ftr-ea-price-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-top:20px;
}

.ftr-ea-price-row small{
    display:block;
    margin-bottom:5px;
    color:#807485;
    font-size:8px;
    font-weight:950;
    letter-spacing:.09em;
}

.ftr-ea-price-row strong{
    display:block;
    color:var(--yellow);
    font-size:25px;
    line-height:1;
    font-weight:950;
}

.ftr-ea-save{
    display:block;
    margin-top:7px;
    color:var(--green);
    font-size:10px;
    font-weight:950;
}

.ftr-ea-wallet-value{text-align:right}

.ftr-ea-wallet-value strong{
    color:#c6bacb;
    font-size:14px;
    text-decoration:line-through;
    text-decoration-thickness:1px;
}

.ftr-ea-buy{
    display:flex;
    min-height:44px;
    align-items:center;
    justify-content:space-between;
    margin-top:auto;
    padding:0 14px;
    border-radius:9px;
    background:linear-gradient(90deg,#ffd400,#ffe45b);
    color:#16051e !important;
    font-size:9px;
    font-weight:950;
    text-decoration:none !important;
    transition:transform .18s ease,filter .18s ease;
}

.ftr-ea-buy:hover{
    transform:translateY(-1px);
    filter:brightness(1.04);
}

.ftr-ea-buy.is-disabled{
    justify-content:center;
    background:#34253d;
    color:#8f8295 !important;
    cursor:not-allowed;
}

.ftr-ea-empty{
    padding:40px;
    border:1px dashed rgba(185,76,255,.28);
    border-radius:18px;
    background:rgba(255,255,255,.015);
    text-align:center;
}

.ftr-ea-empty strong{color:#fff;font-size:18px}
.ftr-ea-empty p{margin-top:8px;font-size:11px}

/* Redeem steps */
.ftr-ea-redeem{
    display:grid;
    grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
    gap:48px;
    align-items:start;
}

.ftr-ea-redeem__copy p{max-width:480px}

.ftr-ea-steps{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
}

.ftr-ea-steps li{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:14px;
    align-items:start;
    padding:18px;
    border:1px solid var(--border);
    border-radius:16px;
    background:var(--panel);
}

.ftr-ea-steps > li > span{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:var(--yellow);
    color:#18091f;
    font-size:14px;
    font-weight:950;
}

.ftr-ea-steps strong{
    display:block;
    color:#fff;
    font-size:13px;
    font-weight:950;
}

.ftr-ea-steps p{
    margin:5px 0 0;
    font-size:12px;
    line-height:1.5;
}

@media(max-width:900px){
    .ftr-ea-products{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ftr-ea-info-grid{grid-template-columns:1fr}
    .ftr-ea-info-card{min-height:0}
    .ftr-ea-redeem{grid-template-columns:1fr;gap:22px}
}

@media(max-width:700px){
    .ftr-ea-shell{
        width:min(100% - 24px,1240px);
        padding-top:12px;
    }

    .ftr-ea-hero{
        min-height:620px;
        border-radius:20px;
    }

    .ftr-ea-hero > img{
        object-position:center top;
    }

    .ftr-ea-hero__shade{
        background:linear-gradient(180deg,rgba(5,1,8,.02),rgba(5,1,8,.08) 22%,rgba(5,1,8,.56) 49%,rgba(5,1,8,.94) 72%,rgba(5,1,8,1));
    }

    .ftr-ea-hero__copy{
        min-height:620px;
        max-width:none;
        justify-content:flex-end;
        padding:0 22px 28px;
    }

    .ftr-ea-hero h1{
        font-size:clamp(44px,13vw,54px);
        line-height:.9;
    }

    .ftr-ea-hero__copy p{
        margin-top:17px;
        font-size:12px;
        line-height:1.6;
    }

    .ftr-ea-hero__actions{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
        gap:9px;
        margin-top:21px;
    }

    .ftr-ea-hero__actions a{
        min-height:50px;
        width:100%;
        padding:0 11px;
        font-size:8px;
    }

    .ftr-ea-section{padding-top:54px}

    .ftr-ea-section__head{
        align-items:flex-start;
        flex-direction:column;
        gap:14px;
    }

    .ftr-ea-section h2,
    .ftr-ea-section__head h2{
        font-size:39px;
    }

    .ftr-ea-info-card{
        padding:22px;
        border-radius:17px;
    }

    .ftr-ea-region-note{
        align-items:flex-start;
        flex-wrap:wrap;
        padding:14px;
    }

    .ftr-ea-region-note p{
        flex:1 0 100%;
        margin-top:2px;
    }

    .ftr-ea-products{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
    }

    .ftr-ea-product-card{
        grid-template-rows:auto minmax(0,1fr);
        border-radius:16px;
    }

    .ftr-ea-product-card__visual{
        height:auto;
        aspect-ratio:1 / 1.02;
    }

    .ftr-ea-product-card__value{
        right:9px;
        bottom:9px;
        min-height:32px;
        padding:0 9px;
        border-radius:9px;
        font-size:14px;
    }

    .ftr-ea-product-card__value small{font-size:7px}

    .ftr-ea-product-card__body{padding:12px 10px 11px}
    .ftr-ea-product-card__eyebrow{font-size:6px}

    .ftr-ea-product-card h3{
        margin-top:7px;
        font-size:13px;
    }

    .ftr-ea-product-meta{
        gap:4px;
        margin-top:8px;
    }

    .ftr-ea-product-meta span{
        min-height:22px;
        padding:0 6px;
        font-size:8px;
    }

    .ftr-ea-price-row{
        display:block;
        margin-top:13px;
    }

    .ftr-ea-price-row small{font-size:7px}
    .ftr-ea-price-row strong{font-size:18px}
    .ftr-ea-save{font-size:8px}

    .ftr-ea-wallet-value{
        margin-top:8px;
        text-align:left;
    }

    .ftr-ea-wallet-value strong{font-size:12px}

    .ftr-ea-buy{
        min-height:38px;
        margin-top:12px;
        padding:0 9px;
        font-size:7px;
    }

    .ftr-ea-products-head__badge{display:none}

    .ftr-ea-steps li{
        grid-template-columns:36px 1fr;
        gap:11px;
        padding:14px;
    }

    .ftr-ea-steps > li > span{
        width:36px;
        height:36px;
        border-radius:10px;
    }
}


/* =========================================================
   EA APP GIFT CARDS — SHARED PRODUCT IMAGE / CENTERED VALUE / COUNTRY FLAG
   ========================================================= */
.ftr-ea-product-card__value{
    left:50%;
    right:auto;
    bottom:14px;
    transform:translateX(-50%);
    justify-content:center;
    min-width:104px;
    text-align:center;
}

.ftr-ea-product-meta__country{
    gap:6px;
}

.ftr-ea-product-meta__country i{
    font-style:normal;
    font-size:11px;
    line-height:1;
}

@media(max-width:700px){
    .ftr-ea-product-card__value{
        min-width:88px;
        bottom:10px;
        padding:0 11px;
    }

    .ftr-ea-product-meta__country i{
        font-size:10px;
    }
}


/* =========================================================
   EA APP GIFT CARDS — RIGHT VALUE BADGE + COMPACT SIZE
   ========================================================= */
.ftr-ea-product-card__value{
    left:auto !important;
    right:12px !important;
    bottom:12px !important;
    transform:none !important;
    min-width:0 !important;
    min-height:34px !important;
    justify-content:center !important;
    gap:4px !important;
    padding:0 9px !important;
    border-radius:9px !important;
    font-size:16px !important;
    text-align:right !important;
}

.ftr-ea-product-card__value small{
    font-size:8px !important;
}

@media(max-width:700px){
    .ftr-ea-product-card__value{
        right:9px !important;
        bottom:9px !important;
        min-height:30px !important;
        padding:0 8px !important;
        border-radius:8px !important;
        font-size:13px !important;
    }

    .ftr-ea-product-card__value small{
        font-size:6px !important;
    }
}


/* =========================================================
   EA APP GIFT CARDS — VALUE BADGE FAR RIGHT + SMALLER + SAME FONT
   ========================================================= */
.ftr-ea-product-card__value{
    left:auto !important;
    right:8px !important;
    bottom:12px !important;
    transform:none !important;
    min-width:0 !important;
    min-height:28px !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    padding:0 8px !important;
    border-radius:8px !important;
    font-size:14px !important;
    line-height:1 !important;
    text-align:center !important;
}

.ftr-ea-product-card__value small{
    color:var(--yellow) !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    line-height:1 !important;
}

@media(max-width:700px){
    .ftr-ea-product-card__value{
        right:7px !important;
        bottom:10px !important;
        min-height:26px !important;
        gap:2px !important;
        padding:0 7px !important;
        border-radius:7px !important;
        font-size:12px !important;
    }

    .ftr-ea-product-card__value small{
        font-size:inherit !important;
    }
}


/* =========================================================
   EA APP GIFT CARDS — INFO CARDS BELOW PRODUCTS + FULL REDEEM LINK
   ========================================================= */
.ftr-ea-info-grid--below-products{
    margin-top:28px;
}

.ftr-ea-redeem-link{
    display:contents;
    color:inherit !important;
    text-decoration:none !important;
}

.ftr-ea-redeem{
    position:relative;
    cursor:pointer;
}

.ftr-ea-redeem::after{
    content:"↗";
    position:absolute;
    top:78px;
    right:0;
    display:grid;
    width:38px;
    height:38px;
    place-items:center;
    border:1px solid rgba(255,255,255,.10);
    border-radius:11px;
    background:rgba(255,255,255,.035);
    color:var(--yellow);
    font-size:17px;
    font-weight:950;
    pointer-events:none;
}

.ftr-ea-redeem:hover .ftr-ea-redeem__copy h2{
    color:#ffe76d;
}

@media(max-width:700px){
    .ftr-ea-info-grid--below-products{
        margin-top:20px;
    }

    .ftr-ea-redeem::after{
        top:54px;
        right:0;
        width:34px;
        height:34px;
    }
}


/* =========================================================
   EA APP HERO — SEPARATE MOBILE BANNER
   Desktop keeps the existing banner; <=700px uses banner-eaapp.png.
   ========================================================= */
.ftr-ea-hero__media{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
}

.ftr-ea-hero__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

@media(max-width:700px){
    .ftr-ea-hero__media img{
        object-position:center top;
    }
}
