/* Custom styles */
/* ===== HEADER (Clash Royale) ===== */
#div1 {
  background-image: url("https://supercell.com/images/21f696d382b894ed8a35f8718be2d872/790/bg_gamesocial_brawlstars.4762f735.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}



/* ===== STICKY WRAPPER ===== */
.header_StickyHeader__afXYg {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
}


/* ===== HEADER ===== */
.header_header__aEre8 {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BACKGROUND LAYER ===== */
.header_headerBg__Kx6wd {
  position: absolute;
  inset: 0;
 background: linear-gradient(
  145deg,
  #000000 -15%,
  #1c1c1c 55%,
  #000000 115%
);

  border-bottom: 1px solid rgba(0,0,0,.4);
  filter: drop-shadow(0 8px 6px rgba(0,0,0,.45));
  z-index: 0;
}

/* ===== CONTENT ===== */
.header_content__4hEDm {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.header_logo__Rz_Om {
  position: relative;
  height: 54px;
  aspect-ratio: 372 / 195;
  cursor: pointer;
}

.header_logo__Rz_Om img {
  width: 100%;
  height: 100%;
  object-fit: contain;

 
}

/* ===== NAV BUTTONS ===== */
.header_navButtons__VUEA5 {
  display: flex;
  align-items: center;
}

/* ===== MENU BUTTON ===== */
.header_menuButton__TqCpT {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #ffffff; /* currentColor للـ SVG */
}

.header_menuIcon__U3HNm {
  width: 32px;
  height: 32px;
}

/* ===== SVG ===== */
.header_menuIcon__U3HNm svg {
  width: 100%;
  height: 100%;
}

.header_menuIcon__U3HNm svg path {
  stroke: currentColor;
}



/* ===== GLOBAL ===== */
body {
    font-family: 'Lilita One', cursive;
}

.hidden {
    display: none;
}

/* ===== PLATFORM BUTTON ===== */
.platform-btn.selected {
    border-color: #eab308;
    background-color: rgba(234, 179, 8, 0.1);
}

.platform-btn.selected span {
    color: #facc15;
}

/* ===== IMAGE BUTTON (CONTINUE / CONFIRM) ===== */
.image-btn {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
    cursor: pointer;
}

.image-btn:active {
    transform: scale(0.98);
}

.image-btn img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.image-btn span {
    position: absolute;
    color: white;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

/* ===== ERROR MESSAGE ===== */
#error-msg {
    color: #ff4d4f;
    background-color: rgba(255, 77, 79, 0.1);
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 0.875rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===== STARS BACKGROUND ===== */
.stars,
.stars2,
.stars3 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat top center;
    z-index: -1;
}

.stars {
    z-index: 0;
    background-size: 1000px 1000px;
    animation: move-stars 50s linear infinite;
}

.stars2 {
    z-index: 1;
    background-size: 1500px 1500px;
    animation: move-stars 100s linear infinite;
}

.stars3 {
    z-index: 2;
    background-size: 2000px 2000px;
    animation: move-stars 150s linear infinite;
}

/* ===== ANIMATIONS ===== */
@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100); }
}

.animate-marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes move-stars {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
}

@keyframes bounce-custom {
    0%, 100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(5%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-custom {
    animation: bounce-custom 2s infinite;
}

@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.info-animate {
    animation: pulse-soft 1.8s ease-in-out infinite;
}

/* ===== TEXT UTIL ===== */
.stroke-black {
    -webkit-text-stroke: 1.5px black;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== FOOTER BASE ===== */

.styles_footer__1cZ8q {
  background: #000;
  color: #fff;
  padding: 30px 10vw 20px;
  font-family: Arial, sans-serif;
}

/* ===== TOP LINKS ===== */
.styles_links-wrapper__BmrYJ {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.styles_links-wrapper__BmrYJ a {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}

.styles_links-wrapper__BmrYJ a:hover {
  text-decoration: underline;
}

/* ===== FOOTER BOTTOM ===== */
.styles_footer-bottom__4Uy_G {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #262626;
  margin-top: 25px;
  padding-top: 20px;
  gap: 20px;
}

/* ===== LEFT (LOGO + COOKIE) ===== */
.styles_bottom-links__RK3oy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.styles_bottom-links__RK3oy a {
  color: #aaa;
  font-size: 0.85rem;
  text-decoration: none;
}

.styles_bottom-links__RK3oy a:hover {
  color: #fff;
}

.styles_bottom-links__RK3oy img {
  display: block;
  width: 52px;
  height: auto;
}

/* ===== SOCIAL ICONS ===== */
.styles_social__J7f1N {
  display: flex;
  align-items: center;
}

.styles_social__J7f1N a {
  opacity: 0.6;
  margin-left: 14px;
}

.styles_social__J7f1N a:hover {
  opacity: 1;
}

.styles_social__J7f1N svg {
  width: 22px;
  height: 22px;
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
  .styles_footer-bottom__4Uy_G {
    flex-direction: column;
    text-align: center;
  }

  .styles_bottom-links__RK3oy {
    flex-direction: column;
  }

  .styles_social__J7f1N {
    justify-content: center;
  }
}













/*Brawlstars*/
/* Icons big cards (Trophies / Level) */
.bsIconImg{
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

/* Icons small cards (3v3 / solo / duo / exp) */
.bsIconImgSmall{
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

/* باش النص ما يلصقش ويهبط */
/*red*/
.bsCard, .bsCardSmall{
  text-align: center;
  
  background: rgba(25, 55, 110, 0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  padding: 14px 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}



/* =========================
   BRAWL STARS UI (MOBILE)
   Paste at END of styles.css
========================= */

/* container ديال player info */
#player-info{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---- Header card (avatar + name + tag) ---- */
.playerCard{
  background: rgba(25, 55, 110, 0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 12px;
}

.playerHeader{
  display: flex;
  align-items: center;
  gap: 12px;
}

/* avatar دائري صغير بحال brawl stars */
.avatar{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}

.playerMeta{ flex: 1; min-width: 0; }

.playerName{
  font-weight: 1000;
  font-size: 18px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,0.35);
  line-height: 1.1;
}

.playerTag{
  margin-top: 2px;
  font-weight: 800;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  letter-spacing: .5px;
}

/* ---- Stats grids ---- */
.top2Stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.grid4Stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 10px;
}

/* كارد ستاتس (icon + number + label) */
.statBox{
  background: rgba(20, 55, 120, 0.40);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 8px 0 rgba(0,0,0,0.12);
}

.statBox.small{ padding: 10px 8px; }

.statIcon{
  width: 26px;
  height: 26px;
  object-fit: contain;
  margin: 0 auto 6px;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.25));
}
.statIcon.small{ width: 22px; height: 22px; }

.statNum{
  font-weight: 1000;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.28);
  line-height: 1;
}
.statNum.small{ font-size: 16px; }

.statLbl{
  margin-top: 4px;
  font-weight: 1000;
  font-size: 10px;
  letter-spacing: .8px;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}
.statLbl.small{ font-size: 10px; }

/* ---- TOP BRAWLERS title ---- */
.topTitle{
  text-align: center;
  font-weight: 1000;
  letter-spacing: 1px;
  margin: 10px 0 8px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0,0,0,0.35);
}

/* ---- Brawler rows ---- */
.brawlerRow{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(20, 55, 120, 0.38);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 0 rgba(0,0,0,0.12);
  margin-bottom: 10px;
}

.brawlerImg{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 6px 0 rgba(0,0,0,0.12);
}

.brawlerInfo{ flex: 1; min-width: 0; }

.brawlerName{
  font-weight: 1000;
  font-size: 14px;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: #ffc400; /* أصفر brawl-ish */
  text-shadow: 0 2px 0 rgba(0,0,0,0.35);
}

.brawlerStats{
  display: flex;
  gap: 12px;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

.clubLine{
  margin-top: 10px;
  text-align: center;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
}

/* صغير شوية فالموبايل */
@media (max-width: 380px){
  .playerName{ font-size: 16px; }
  .avatar{ width: 50px; height: 50px; }
  .brawlerImg{ width: 52px; height: 52px; }
}









































































/* ===== button free ===== */
/* =========================
   BASE BUTTON (عام)
========================= */
.Button_Button__Msu2a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 48px;
  border-radius: 12px;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  font-family: SupercellText-Bold, system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}

@media (min-width: 64em) {
  .Button_Button__Msu2a {
    font-family: SupercellText-Bold, system-ui, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
  }
}

/* =========================
   TEXT STYLE (Clash Royale font look)
========================= */
.BuyButton_FreebieButton__0vwyf.BuyButton_clashroyale__HZKTK {
  font-family: Clash, system-ui, sans-serif;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  transform: translateZ(0);
}

/* =========================
   FINAL LOOK (بحال الصورة) + تعديلاتك:
   - نقصنا border
   - حيدنا stroke ديال FREE
========================= */
button.BuyButton_FreebieButton__0vwyf.BuyButton_clashroyale__HZKTK {
  position: relative !important;

  /* الحجم */
  height: 42px !important;
  min-width: 115px !important;
  padding: 0 20px !important;
  border-radius: 12px !important;

  /* border (نقصناه) */
  border: 2px solid #000 !important;

  /* gradient */
  background: linear-gradient(
    180deg,
    #0f8f8a 0%,
    #20c446 55%,
    #16a93a 100%
  ) !important;

  /* depth */
  box-shadow:
    inset 0 -5px 0 rgba(0,0,0,.22),
    inset 0 2px 0 rgba(255,255,255,.30),
    0 2px 0 rgba(0,0,0,.30) !important;
}

/* inner highlight border */
button.BuyButton_FreebieButton__0vwyf.BuyButton_clashroyale__HZKTK::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.18);
  pointer-events: none;
}

/* shine strip (فوق) */
button.BuyButton_FreebieButton__0vwyf.BuyButton_clashroyale__HZKTK::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 6px;
  height: 11px;
  border-radius: 10px;
  background: rgba(255,255,255,.20);
  pointer-events: none;
}

/* النص FREE (بدون stroke/outline) */
button.BuyButton_FreebieButton__0vwyf.BuyButton_clashroyale__HZKTK span {
  position: relative;
  z-index: 2;

  color: #fff !important;
  font-size: 18px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;

  /* حيدنا الخوليّة */
  -webkit-text-stroke: 0 !important;

  /* ظل خفيف فقط */
  text-shadow: 0 2px 0 rgba(0,0,0,.25) !important;
  margin-top: 0 !important;
}


/*fonts*/

@font-face {
  font-family: 'ClashRegular';
  src: url('/media/LilitaOne-regular.1b150542.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  
}
html, body, body *:not(footer):not(footer *) {
  font-family: 'ClashRegular' !important;
}


/* button $$$$ */

.Button_Button__Msu2a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    height: 48px;
    border-radius: 12px;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-family: SupercellText-Bold,system-ui,sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5
}

@media(min-width: 64em) {
    .Button_Button__Msu2a {
        font-family:SupercellText-Bold,system-ui,sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.5
    }
}

.BuyButton_StoreFrontBuyButton__Zykdy.BuyButton_Dark__Ww3Wu {
    background-color: #000;
    box-shadow: inset 0 3px 0 #4d4d4d;
    color: #fff
}

.BuyButton_Dark__Ww3Wu,.BuyButton_StoreFrontBuyButton__Zykdy.BuyButton_LightBordered__ZXdKY,.BuyButton_StoreFrontBuyButton__Zykdy.BuyButton_Light__yoKPW {
    padding-inline-start:10px;padding-inline-end:12px}

.BuyButton_ContentWrapper__pg5il {
    opacity: .6!important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.BuyButton_Icon__gacm5.BuyButton_WithContent__L0cYC {
    margin-right: 6px
}
/* style button safra */
.ClashRoyaleItem_FooterLabel__zkCY5{
            position:relative;
            height:38px;
            width: 100px;
            border-radius:20%/50%;
            background:radial-gradient(57.26% 108.97% at 58.86% 0,#f6dc5e 0,#f0ba45 100%);
            margin-bottom: 30px;
            margin-top: -15px;
            display:flex;
            justify-content:center;
            align-items:center
            
        }
            .ClashRoyaleItem_FooterLabel__zkCY5:not(.ClashRoyaleItem_heroOffer__KolCy):before{
                inset:0;
                padding:6px;
                z-index:2;
                background:linear-gradient(0deg,#cd7724,#cd7724 49.5%,#ec9f38 50%,#fdeca9 95%,#efb741);
                border-radius:20px/50%
            }
            .ClashRoyaleItem_FooterLabel__zkCY5:not(.ClashRoyaleItem_heroOffer__KolCy):after,.ClashRoyaleItem_FooterLabel__zkCY5:not(.ClashRoyaleItem_heroOffer__KolCy):before{
                content:"";
                position:absolute;
                -webkit-mask:linear-gradient(white 0 0) content-box,linear-gradient(white 0 0);
                mask:linear-gradient(white 0 0) content-box,linear-gradient(white 0 0);-webkit-mask-composite:xor;mask-composite:exclude}






















