
:root{
    --pink:#f01982;
    --pink-dark:#d80d70;
    --cyan:#12bfd7;
    --cyan-light:#c9f4fa;
    --yellow:#ffc51b;
    --orange:#ff9e00;
    --navy:#102d59;
    --muted:#77859b;
    --page:#ffffff;
    --shadow:0 10px 28px rgba(16,45,89,.10);
    --radius-xl:30px;
    --radius-lg:22px;
    --app-width:720px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    min-height:100vh;
    font-family:"Vazirmatn",Tahoma,Arial,sans-serif;
    background:
    radial-gradient(circle at 8% 10%, rgba(255,208,50,.34) 0 18px, transparent 19px),
    radial-gradient(circle at 96% 7%, rgba(179,236,246,.70) 0 42px, transparent 43px),
    linear-gradient(180deg,#eef2f5 0,#f7f8fa 100%);
    color:var(--navy);
}

button,a{font-family:inherit}
button{cursor:pointer}

/* =========================================================
   APP SHELL
========================================================= */
.app{
    width:100%;
    max-width:var(--app-width);
    min-height:100vh;
    margin-inline:auto;
    position:relative;
    overflow:hidden;
    background:
    radial-gradient(circle at -5% 31%, rgba(251,218,236,.78) 0 62px, transparent 63px),
    radial-gradient(circle at 104% 45%, rgba(255,225,132,.48) 0 28px, transparent 29px),
    radial-gradient(circle at 4% 77%, rgba(193,239,247,.45) 0 55px, transparent 56px),
    #fff;
    box-shadow:0 0 55px rgba(15,39,71,.13);
}

.app-inner{
    position:relative;
    z-index:2;
    padding:0 28px calc(118px + env(safe-area-inset-bottom));
}

.confetti{
    position:absolute;
    z-index:1;
    pointer-events:none;
    border-radius:999px;
}
.c1{width:13px;height:13px;background:#f2b900;right:21px;top:145px}
.c2{width:9px;height:9px;background:#ef2b87;left:26px;top:360px}
.c3{width:12px;height:12px;background:#19bfd5;left:12px;top:602px}
.c4{width:10px;height:10px;background:#ffc51b;right:17px;top:706px}
.c5{width:8px;height:8px;background:#ef2387;right:46px;top:290px}

/* =========================================================
   HEADER
========================================================= */
.topbar{
    height:132px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding-top:18px;
}

.brand{
    position:relative;
    width:122px;
    height:104px;
    display:grid;
    place-items:center;
}
.brand img{
    width:116px;
    height:100px;
    object-fit:cover;
    object-position:center;
    border-radius:50%;
    filter:drop-shadow(0 7px 7px rgba(15,35,60,.15));
}

/* =========================================================
   HERO
========================================================= */
.hero{
    position:relative;
    min-height:290px;
    overflow:hidden;
    border-radius:30px;
    background:#0b2b50;
    box-shadow:0 12px 25px rgba(11,43,80,.18);
    isolation:isolate;
}

.hero-media{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transform:scale(1.015);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
            270deg,
            rgba(4,20,48,.88) 0%,
            rgba(6,24,51,.46) 40%,
            rgba(5,20,43,.06) 77%
    ),
    linear-gradient(
            0deg,
            rgba(5,17,39,.28),
            transparent 42%
    )
}

.hero-content{
    position:relative;
    z-index:3;
    min-height:290px;
    padding:43px 30px 22px;
}

.hero-title{
    margin:0;
    color:#12c9e7;
    font-size:43px;
    line-height:1.02;
    font-weight:900;
    letter-spacing:-1.7px;
    text-shadow:3px 3px 0 #0c68a0, 0 7px 12px rgba(0,0,0,.3);
}
.hero-title strong{
    display:block;
    color:#ffcc20;
    font-weight:900;
    text-shadow:3px 3px 0 #e98e00,0 7px 12px rgba(0,0,0,.3);
}
.hero-description{
    margin-top:16px;
    max-width:230px;
    color:#fff;
    font-size:14px;
    line-height:1.9;
    font-weight:600;
    text-shadow:0 2px 4px rgba(0,0,0,.4);
}

.hero-note{
    position:absolute;
    left:15px;
    bottom:79px;
    width:104px;
    color:#fff;
    font-size:11px;
    line-height:1.9;
    text-align:center;
    transform:rotate(-8deg);
    z-index:4;
}
.hero-note:after{
    content:"";
    position:absolute;
    width:62px;
    height:28px;
    right:-5px;
    bottom:-15px;
    border-bottom:2px solid #fff;
    border-radius:50%;
    transform:rotate(-16deg);
}

.ticket{
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:4;
    min-width:194px;
    height:52px;
    border:0;
    border-radius:28px;
    color:#fff;
    background:linear-gradient(90deg,#ff2d93,#ec0b77);
    font-size:16px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(239,17,126,.25);
    transition:.2s ease;
}
.ticket:hover{transform:translateY(-2px)}
.ticket:active{transform:translateY(0) scale(.98)}
.ticket .ticket-icon{
    margin-right:9px;
    font-size:19px;
}
.ticket .ticket-arrow{
    float:left;
    margin-left:10px;
    font-size:27px;
    line-height:18px;
    font-family:Arial,sans-serif;
}

.slider-dots{
    position:absolute;
    left:19px;
    bottom:19px;
    z-index:5;
    display:flex;
    gap:7px;
    direction:ltr;
}
.slider-dots button{
    width:11px;height:11px;
    padding:0;
    border:1px solid rgba(255,255,255,.7);
    border-radius:50%;
    background:#fff;
    opacity:.95;
}
.slider-dots button.active{background:var(--pink);border-color:var(--pink)}

/* =========================================================
      ABOUT
  ========================================================= */
.about{
    margin-top:20px;
    min-height:244px;
    padding:13px;
    display:flex;
    gap:15px;
    align-items:center;
    direction:rtl;

    background:#fff;
    border:1px solid rgba(16,45,89,.035);
    border-radius:30px;
    box-shadow:var(--shadow);
}


/* =========================================================
    MAIN IMAGE - RIGHT
========================================================= */
.about-media{
    order:1;
    flex:0 0 150px;
    height:218px;
    position:relative;
    overflow:visible;

    border:5px solid #ffbd1a;
    border-radius:23px;
    background:#eee;

    box-shadow:0 5px 12px rgba(16,45,89,.11);
}

.about-media > img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;

    border-radius:17px;
}


/* =========================================================
    IMAGE BADGE
========================================================= */
.about-badge{
    position:absolute;

    top:-6px;
    right:-45px;

    width:91px;
    height:71px;

    z-index:5;

    pointer-events:none;
}

.about-badge img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}


/* =========================================================
    TEXT
========================================================= */
.about-copy{
    order:2;

    min-width:0;
    flex:1;

    padding:2px 5px 2px 7px;

    text-align:right;
}

.eyebrow-title{
    position:relative;
    display:inline-block;

    margin:0 0 16px;

    color:var(--navy);

    font-size:19px;
    line-height:1.35;
    font-weight:900;
}

.eyebrow-title:after{
    content:"";

    position:absolute;

    width:48px;
    height:4px;

    right:3px;
    bottom:-8px;

    border-radius:99px;

    background:#ee2383;

    transform:rotate(-4deg);
}

.about-copy p{
    margin:0 0 13px;

    color:#748197;

    font-size:11.5px;
    line-height:2.02;
    font-weight:500;
}


/* =========================================================
    MORE BUTTON
========================================================= */
.more{
    display:inline-flex;
    align-items:center;
    gap:8px;

    border:0;

    padding:8px 15px 8px 13px;

    border-radius:24px;

    color:#17355e;
    background:#c7f1fa;

    font-size:12px;
    font-weight:900;

    transition:.2s;
}

.more:hover{
    filter:brightness(.97);
    transform:translateY(-1px);
}

.more span{
    font-family:Arial,sans-serif;
    font-size:25px;
    line-height:15px;
}


/* =========================================================
    DECORATIVE IMAGE - AFTER TEXT
========================================================= */
.about-star{
    order:3;

    flex:0 0 75px;

    width:75px;
    height:120px;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:visible;
}

.about-star img{
    width:100%;
    height:100%;

    display:block;

    object-fit:contain;
}


/* =========================================================
    MOBILE
========================================================= */
@media (max-width:576px){

    .about{
        gap:10px;
        padding:10px;
    }

    .about-media{
        flex:0 0 125px;
        height:190px;
    }

    .about-badge{
        width:75px;
        height:59px;
        right:-18px;
        top:5px;
    }

    .about-copy{
        padding:0 3px;
    }

    .eyebrow-title{
        font-size:17px;
        margin-bottom:14px;
    }

    .about-copy p{
        font-size:10.5px;
        line-height:1.9;
    }

    .about-star{
        flex:0 0 50px;
        width:50px;
        height:85px;
    }
}


/* =========================================================
   BOTTOM NAV
========================================================= */
.bottom-wrap{
    position:fixed;
    z-index:50;
    left:50%;
    bottom:max(12px,env(safe-area-inset-bottom));
    width:min(calc(100% - 28px),692px);
    transform:translateX(-50%);
    pointer-events:none;
}
.bottom-nav{
    height:86px;
    padding:4px 36px 5px;
    display:flex;
    align-items:center;
    justify-content:space-around;
    border-radius:29px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(16,45,89,.045);
    box-shadow:0 12px 30px rgba(16,45,89,.18);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    pointer-events:auto;
}
.nav-link{
    position:relative;
    width:100px;
    color:#647186;
    text-decoration:none;
    text-align:center;
    font-size:12px;
    font-weight:800;
    transition:.2s;
}
.nav-link:hover{color:var(--pink)}
.nav-icon{
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:29px;
    line-height:1;
    font-family:Arial,sans-serif;
}
.nav-link.active{color:var(--pink)}
.nav-link.active:after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-5px;
    width:44px;height:5px;
    transform:translateX(-50%);
    border-radius:99px;
    background:var(--pink);
}

/* =========================================================
   DESKTOP / SMALL DEVICES
   ========================================================= */
@media (min-width:721px){
    .app{min-height:100vh}
    .bottom-wrap{position:fixed}
}

@media (max-width:600px){
    body{background:#fff}
    .app{box-shadow:none}
    .app-inner{padding-inline:18px}
    .hero-content{padding-right:24px}
    .hero-title{font-size:39px}
    .about-media{flex-basis:138px}
    .about-copy p{font-size:11px}
    .bottom-nav{padding-inline:18px}
}

@media (max-width:400px){
    .app-inner{padding-inline:12px}
    .topbar{height:124px}
    .hero{min-height:268px;border-radius:25px}
    .hero-content{min-height:268px;padding:38px 20px 18px}
    .hero-title{font-size:34px}
    .hero-description{font-size:12px;max-width:205px}
    .hero-note{font-size:10px;left:9px}
    .ticket{min-width:175px;height:48px;bottom:15px;right:15px;font-size:14px}
    .about{padding:10px;gap:9px}
    .about-media{flex-basis:124px;height:207px}
    .about-copy{padding-left:2px}
    .eyebrow-title{font-size:17px}
    .about-copy p{font-size:10px;line-height:1.95}
    .more{font-size:11px;padding:7px 12px}
    .section-head h2{font-size:18px}
    .all-games{font-size:10.5px}
    .all-games .round{width:33px;height:33px}
    .game-image{height:115px}
    .game-name{font-size:11px}
    .game-emoji{font-size:17px}
    .game-arrow{width:32px;height:32px;flex-basis:32px}
    .bottom-nav{height:80px;padding-inline:8px}
}

@media (prefers-reduced-motion:reduce){
    *,*:before,*:after{scroll-behavior:auto!important;transition:none!important}
}
