.social_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.social_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 8px 12px;
    border-radius: 10px;
    color: #ffffff69 !important;
    text-decoration: none;
    transition: 0.2s;
}
.social_btn:hover {
    color: #fff !important;
}
.social_btn i {
    font-size: 18px;
}

        .cards_menu {
  padding: 20px;
  border-radius: 20px;
  gap: 15px;
  display: flex;
  background: #2e2c38;
}
    .cards_menu {
    display: flex;
    overflow-x: auto;
    width: 100%;
    position: relative;
    }

    .cards_menu::-webkit-scrollbar {
    display: none
}
.card_block i {
  position: absolute;
  z-index: 11;
  top: 13px;
  left: 13px;
  font-size: 17px;
  width: 35px;
  background: radial-gradient(100% 100% at 50% 0, #ffa46d 0, #c37647 100%);
  height: 35px;
  text-shadow: #00000069 1px 0 7px;
  display: flex;
  color: #ffffff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.card_block {
  background: linear-gradient(15deg, #333334 30%, #414141 100%);
  height: 270px;
  width: 100%;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.card_block:hover img {
    transform: translate(1rem) translateY(0.0rem) scale(1.19) rotate(-6deg);
    opacity: 0.7;
}
.card_block img{
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.3s all;
    object-fit: cover;
}
     .card_block {
    width: 300px !important;
    min-width: 200px;
} 
.block_info_card {
  position: relative;
  z-index: 1;
  font-family: "Unbounded", sans-serif;
  height: 140px;
  display: flex;
  gap: 2px;
  padding: 15px;
  background: linear-gradient(360deg, #2f2f2fed 30%, #2f324100 100%);
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}     
.name_card1 {
  font-size: 15px;
  line-height: 16px;
  font-weight: 600;
  background: -webkit-linear-gradient(#ffffff, #ffc9a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.desp_card1 {
  font-size: 9.6px;
  display: flex;
  width: 100%;
  font-weight: 500;
  color: #adadad;
}
}
/* =================================================
   TIME PANEL (GameCMS)
   ================================================= */

#time-panel-big {
    padding: 20px;
    width: 340px;
    text-align: center;
    border-radius: 15px;
  font-family: "Unbounded", sans-serif !important;
    color: #fff;
    margin: 10px auto;
}
.other-block + #time-panel-big {
    margin-top: 5px; /* yuqoridan yaqinlashtirish */
}
#today-date {
    font-size: 20px;
text-align: center;
    margin-bottom: 15px;
    color: #ffffff; /* oq rang */
    font-weight: bold;
}

#time-blocks {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.time-mini-block {
    padding: 20px 25px;
    border-radius: 10px;
    font-size: 32px;
    font-weight: bold;
    color: #fff; /* Soat va daqiqa oq rang */
    min-width: 80px;
}

#seconds {
    color: #ff5255
}

#full-date-day {
text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#date-part {
text-align: center;
    color: #ffffff; /* Sana oq */
}

#day-part {
text-align: center;
    color: #ff5255
}
}
/* =================================================
   carusel (GameCMS)
   ================================================= */
.carusel_container {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  margin-top: -12px;
}

.carusel_track {
  display: flex;
  width: max-content;
  background: #ff49491c;
  will-change: transform;
  height: 57px;
  margin-bottom: 15px;
}

.carusel_buttons {
  display: flex;
  gap: 16px;
}

.btn_carusel {
  flex-shrink: 0;
}


.carusel_buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  margin-right: 8px;
  padding: 8px 0px;
}

.btn_carusel {
  font-size: 9px;
  background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #ff4c4c4f 0, #ff4c4c29 100%));
  display: flex;
  gap: 10px;
  height: 40px;
  border-radius: 50px;
  color: #ffd6d6;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0px 5px;
  overflow: hidden;
  position: relative;
}

.btn_carusel:hover {
  color: #ffffff;
  opacity: 0.7;
}

.btn_carusel i{
  font-size: 40px;
  position: absolute;
  left: -15px;
  bottom: -10px;
  color: #ff535324;
  transform: rotate(343deg);
}

.flex_btn_carusel {
  position: relative;
  gap: 5px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.flex_btn_carusel i {position: relative;left: auto;font-size: 17px;bottom: auto;transform: rotate(
360deg);background: -webkit-linear-gradient(#ff6161, #9b2e2e);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}

.target_carusel {
  background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #ea4c50 0, #a92f32 100%));
  color: #fff;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 1px;
  display: flex;
  height: 30px;
  padding: 0px 10px;
  border-radius: 50px;
  align-items: center;
  justify-content: center;
}
/* =================================================
   TG (GameCMS)
   ================================================= */

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

.donator_left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tg_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 15%;
  background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #ff5255 0, #bd3638 100%));
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
/* KATTA PRAVILA*/
.copy_btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color:  #ff5255;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  width: 32px;
  height: 32px;
}

.rule_row:hover .copy_btn {
  opacity: 1;
}
.copy_btn i {
  font-size: 18px; /* Bu yerni 22px yoki 24px qilib xohishingizga ko'ra o'zgartiring */
  display: block;
}
.copy_tooltip {
  position: absolute;
  right: 120%; /* Tugmadan chapda turishi uchun */
  top: 50%;
  
  /* Silliqlik siri: Y o'qi (-50%) doimo bir xil turadi, faqat X o'qi o'zgaradi */
  transform: translateY(-50%) translateX(20px); 
  
  background: rgba(255, 82, 85, 0.4);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  
  /* Animatsiya vaqti va turi */
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.15);
  pointer-events: none;

}

.copy_btn.show_msg .copy_tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.rules_content_inner {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Har bir qoida (rule_row) orasidagi masofa */
  padding: 10px 18px 20px 18px;
}

/* Qator ichidagi elementlarni tekis taqsimlash */
.rule_row {
  display: flex;
  flex-wrap: wrap; /* Elementlar sig'masa keyingi qatorga tushishiga ruxsat beradi */
  align-items: flex-start; /* Raqam har doim tepada turadi, markazga qochmaydi */
  gap: 10px;
  background: rgb(53, 53, 66);
  padding: 12px 16px;
  border-radius: 14px;
}
.rules_block {
  background: #2c2a36
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  font-family: sans-serif;
}

.rules_head { margin-bottom: 20px; }
.rules_title { font-size: 22px; font-weight: 700; display: block; text-align: center;}
.rules_warning {
display: table;        /* Yoki inline-flex */
  margin: 0 auto;        /* Qo'shimcha kafolat */
 
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgb(78, 53, 67);
}

.rules_item {
  color: #f7f2f2fd;
  background: rgb(44, 42, 54);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgb(78, 53, 67);
}
.rules_item:hover {
  border: 1px solid  #ff5255;
}
.rules_header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.rules_header_left {
  display: flex;
  align-items: center; /* Ikonka va matnni bir chiziqqa tekislaydi */
  gap: 15px;
}

.rules_icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #ff5255 0, #bd3638 100%)); 
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.rules_item_title {
  font-weight: 600;
  font-size: 16px;
}

/* "+" va "×" belgisi uchun stil */
.rules_toggle_icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease, color 0.3s ease;
  width: 24px;
  text-align: center;
}

.rules_content {
  max-height: 0;       /* Balandlikni qat'iy 0 qilish */
  opacity: 0;          /* Ko'rinmas qilish */
  overflow: hidden;    /* Eng muhimi: Ichidagi hamma narsani (paddinglarni ham) qirqib tashlash */
  visibility: hidden;  /* Elementni butunlay yashirish */
  transition: max-height 0.6s cubic-bezier(0, 1, 0, 1), opacity 0.6s ease;
}

.rules_content_inner {
  overflow: hidden;
}




.punish_label {
    color:  #fa2e2e !important; /* Oq rang */
    margin-right: 5px !important; /* Matndan biroz masofa */
    font-weight: 900 !important; /* Qalinroq */
    text-transform: uppercase !important; /* KATTA HARFLARDA */
}


/* JS orqali qo'shiladigan klasslar */
.rules_item.active .rules_content {
  max-height: fit-content; /* Yoki 5000px kabi katta raqam */
  opacity: 1;
  visibility: visible;
  transition: max-height 0.6s cubic-bezier(0.9, 0, 0.1, 1), opacity 0.6s ease;
}
.rules_item.active .rules_toggle_icon {
  transform: rotate(45deg); /* "+" ni "×" ga aylantirish */
  color: #ef4444;
}


/* Ichki qoidalar qatori */
.rules_content_inner { padding: 0 16px 16px 16px; }

.rule_row {
  color: #ffffff;
  display: flex; align-items: center; gap: 12px;
  background: rgb(53, 53, 66); padding: 14px; border-radius: 14px;
}


.rule_num {
  width: 36px; height: 36px; background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #ff5255 0, #bd3638 100%)); 
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700;
}

.rule_text {
  flex: 1; /* Matn qolgan joyni egallaydi */
  min-width: 250px; /* Matn va raqam bir qatorda qolishini ta'minlaydi */
  font-size: 14px;
  font-weight: bold;
}
/* Jazo badge (nishon) konteyneri */
.rule_punish_badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%; /* Mana shu narsa jazoni MATNDAN KEYINGI qatorga tushiradi */
  margin-top: 2px; /* Matn bilan oraliq masofa */
  background: rgba(78, 53, 67, 0.4);
  border-left: 4px solid  #ff5255;
  border-radius: 10px;
  height: 42px;
} 
/* Jazo matni */
.rule_punish_text {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
 color:  #ffd351;
  white-space: nowrap;
}

/* "i" tugmasi (Rasmdagi kabi yorqin qizil) */
.rule_info_btn {
  width: 40px;
  height: 40px;
  background: radial-gradient(100% 100% at 50% 0, #ff5255 0, #bd3638 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: serif;
  font-style: italic;
  font-size: 16px;
  border-radius: 4px; /* Ichki kichik yumaloqlik */
  margin: 2px; /* Konteyner ichida kichik bo'shliq */
}

/* Qatorni tekislash uchun rule_row ga qo'shimcha */
.rule_row {
  display: flex;
  align-items: center;
  gap: 15px;
  background:  rgba(53, 53, 66, 0.33);
  padding: 12px 16px;
  border-radius: 14px;
}
.rule_row:hover {
   background: rgb(53, 53, 66);
}
/* Mobil versiya uchun (768px gacha) */
@media (max-width: 768px) {
.copy_btn, 
    .copy_icon, 
    [class*="copy"],        /* Copy bilan bog'liq hamma narsa */
    .rule_punish_badge,     /* Jazo bloki */
    .rule_punish_text,      /* Jazo matni */
    .rule_info_btn,         /* "i" tugmasi */
    .rules_toggle_icon,     /* Ochib-yopish ikonchasi */
    .rules-image {          /* Tepadagi blokdagi ortiqcha rasm/bo'shliq */
        display: none !important;
    }
.title_break {
        display: block; /* Bu qatorni yangi qatorga tushiradi */
        margin-top: 2px; /* Biroz masofa */
        color: #ff4444; /* Ixtiyoriy: "Easy Cheat Detected" ni qizil qilish (chiroyli chiqadi) */
    }
  .rules_block{
     transform: translateX(10px) scaleX(1.06) !important; 
  }
    .rule_row {
        display: flex !important;
        flex-direction: column !important; /* Raqam va matn ustma-ust tushadi */
        align-items: flex-start !important;
        padding: 12px 15px !important;
        gap: 8px !important;
        height: auto !important; /* Balandlikni matnga qarab avtomat sozlaydi */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 2. Punish (Jazo) blokini butunlay yashirish */
    .rule_punish_badge, .rule_punish_text {
        display: none !important;
    }

    /* 3. Ortiqcha elementlarni o'chirish */
    .rule_info_btn, .copy_btn, .copy_icon {
        display: none !important; /* "i" va "copy" tugmalarini mobilda yashiramiz */
    }

    /* 4. Raqam va asosiy matn */
    .rule_num {
        font-size: 14px !important;
        margin: 0 !important;
    }

    .rule_text {
        font-size: 14px !important;
        line-height: 1.5 !important;
        width: 100% !important;
        color: #fff !important;
    }
}

/*****RULES******/
.project-rules {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111;
  border-radius: 20px;
  padding: 25px 40px;
  color: #fff;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* ✳️ Chap tomondagi rasm — blok bilan bir xil o‘lchamda */
.rules-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%; /* o‘ng tomondagi qismi */
  height: 100%;
   border-radius: 0 20px 20px 0;
  z-index: 0;
  opacity: 0.8;
}

.rules-text {
  max-width: 50%;
  z-index: 3;
}

.rules-video {
  width: 45%;
  height: 220px;
  position: relative;
  z-index: 2;
}

.rules-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: auto;
  transform: translate(-50%, -50%) scale(1.9) translateY(-10px) translateX(50px);
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.rules-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 90, 205, 0.15);
  border: 1.5px solid rgba(138, 43, 226, 0.6);
  color: #fff !important; /* matn rangi qat’iy */
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  backdrop-filter: blur(4px);
}

.rules-btn:hover {
  background: rgba(138, 43, 226, 0.25);
  border-color: rgba(138, 43, 226, 0.9);
  color: #fff !important; /* hoverda ham oq tursin */
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}
@media (max-width: 768px) {
  .project-rules {
    flex-direction: column;
    text-align: center;
       padding: 20px 10px !important;
    transform: scaleX(1.08) translateX(10px); /* 20% kengaytiradi */

  }

  .rules-video,
  .rules-image {
    display: none; /* mobil uchun rasm va video o‘chadi */
  }

  .rules-text {
    max-width: 100%;
    z-index: 2;
  }

.rules-btn {
  width: 100%; /* to‘liq kenglik */
  margin-top: 15px;
  font-size: 16px;
  display: flex; /* flex orqali markazga */
  justify-content: center; /* gorizontal markaz */
  align-items: center; /* vertikal markaz */
  text-align: center; /* qo‘shimcha */
}
}


.rules-btn:hover {
  background: rgba(138, 43, 226, 0.25);
  border-color: rgba(138, 43, 226, 0.9);
  color: #fff !important; /* hoverda ham oq tursin */
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.4);
}
@media (max-width: 768px) {
  .project-rules {
    flex-direction: column;
    text-align: center;
       padding: 20px 10px !important;
    transform: scaleX(1.08) translateX(10px); /* 20% kengaytiradi */

  }

  .rules-video,
  .rules-image {
    display: none; /* mobil uchun rasm va video o‘chadi */
  }

  .rules-text {
    max-width: 100%;
    z-index: 2;
  }

.rules-btn {
  width: 100%; /* to‘liq kenglik */
  margin-top: 15px;
  font-size: 16px;
  display: flex; /* flex orqali markazga */
  justify-content: center; /* gorizontal markaz */
  align-items: center; /* vertikal markaz */
  text-align: center; /* qo‘shimcha */
}
}
.prize-note {
    color: #ffffff9f !important; /* To'q sariq/oltin rang */
}

/* Link ustiga sichqoncha kelganda */
a.prize-note:hover {
      color: #fff !important;               /* Hover bo'lganda rang oqqa o'zgaradi (xohishga ko'ra) */
 
}


.prize-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important; 
}
.ctb-card-label {
    font-size: 22px; 
    color: #ffffff;
    margin: 0;
}
.ctb-head-left {
    display: flex !important;
    align-items: center !important; /* Vertikal markazlash */
    gap: 12px !important;           /* Icon va matn orasidagi masofa */
}

/* Icon wrapper ichidagi elementlar ham markazda bo'lishi uchun */
.ctb-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Sarlavha matni yonidagi bo'shliqlarni nolga tushirish */
.ctb-title {
    margin: 0 !important;
    line-height: 1 !important;
    display: inline-block !important;
}
.ctb-timer-title {
    width: 100% !important;        /* Blok butun kenglikni egallashi shart */
    text-align: center !important; /* Matnni markazga tekislaydi */
    display: block !important;     /* Element alohida qatorda turishini ta'minlaydi */
    margin-left: auto !important;
    margin-right: auto !important;
    color: #ffffffa6; 
    font-size: 12px; 
    margin-bottom: 10px; 
    text-transform: uppercase;
}
/* ASOSIY KONTEYNER VA BLOCKLAR BALANDLIGINI TENG SHAKLGA KELTIRISH */
.ctb-main-container {
    display: flex;
    gap: 25px;
    align-items: stretch !important; /* Balandlikni tenglashtiradi */
    justify-content: space-between;
}

.ctb-prizes-section {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.ctb-progress-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #393647;
    padding: 25px;
    border-radius: 20px;
}

/* KARTALAR VA PRIZLAR */
.ctb-card { 
    background: #393647; 
    border-radius: 12px; 
    padding: 15px; 
    transition: 0.3s; 
    display: flex; 
    align-items: center; 
    gap: 15px;
    flex: 1; /* Kartalarni bo'sh joyga qarab cho'zilishi */
}
.ctb-card:hover { 
background: #423f50;
}
.ctb-prizes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 2;
    display: flex;
    flex-direction: column;
}

.ctb-main-prize-card {
    background: #393647;
}

.ctb-prize-header { display: flex; align-items: baseline; gap: 20px; }
.ctb-motivation-text { font-size: 12px; color: #ffffff56; margin-top: 4px; }
.ctb-card-value-main { color: #f95154; font-size: 26px; font-weight: 900; }
.prize-item { font-size: 16px; color: #fff; font-weight: 600; }

/* AYLANALAR VA MATNNI MARKAZLASH */
.ctb-circle-wrapper { position: relative; width: 150px; height: 150px; margin-bottom: 10px; }
.ctb-circle-wrapper svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ctb-circle-bg { fill: none; stroke: #2d2b37; stroke-width: 7; }
.ctb-circle-fill { fill: none; stroke: #f95154; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }

.ctb-circle-text {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
}

#month-percent { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 0 15px rgba(249, 81, 84, 0.5); }
.ctb-circle-text small { color: #888; text-transform: uppercase; font-size: 10px; margin-top: 5px; }

/* TAYMER */
.ctb-countdown-wrapper { display: flex; gap: 8px; justify-content: center; margin-top: 15px; }
.ctb-time-circle { position: relative; width: 60px; height: 60px; }
.ctb-time-circle svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ctb-circle-prog { fill: none; stroke: #f95154; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 0.5s ease; }

.ctb-time-data {
    position: absolute !important;
    top: 60% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 100%;
}
.ctb-time-data span { display: block; font-size: 18px; font-weight: 800; color: #fff; line-height: 1; }
.ctb-time-data small { font-size: 9px; color: #666; text-transform: lowercase; }

/* UMUMIY STILLAR */
.ctb-season-banner { background: #2d2b37; padding: 30px; border-radius: 0 0 20px 20px; }
.gold { color: #ffd700; } .silver { color: #c0c0c0; } .bronze { color: #cd7f32; }
.ctb-block-head { background: #2d2b37; border-radius: 20px 20px 0 0; padding: 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f95154; }
.ctb-title { color: #fff; font-weight: bold; font-size: 18px; }
.ctb-status-badge { background: #f95154; padding: 5px 15px; border-radius: 8px; }
.ctb-status-text { color: #ffffff; font-size: 11px; font-weight: bold; }

@media (max-width: 768px) {
    /* 1. Asosiy blok va bannerni chekkagacha yoyamiz */
    .ctb-block, 
    .ctb-season-banner {
        padding: 15px 0 !important; /* Yonlardagi paddingni olib tashlaymiz */
        border-radius: 20 !important; /* Mobil qurilmada burchaklarni tekis qilgan ma'qul */
    }

    .ctb-main-container {
        flex-direction: column-reverse !important; /* Progress tepada, Cardlar pastda */
        gap: 15px !important;
        padding: 0 14px !important; /* Faqat kartalar ekranga yopishib qolmasligi uchun ozgina masofa */
        width: 100% !important;
    }

    /* 2. Har bir qism (Progress va Prize) 100% kenglikda */
    .ctb-prizes-section, 
    .ctb-progress-section {
        width: 100% !important;
        flex: none !important;
    }

    /* 3. Kartochkalarni ikki yonga chuzish */
    .ctb-card {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 4. Progress blokini chizmadagidek chuzish */
    .ctb-progress-section {
        padding: 25px 15px !important;
        border-radius: 15px !important;
        order: 1; /* Progress birinchi chiqadi */
    }
    
    .ctb-prizes-section {
        order: 2; /* Kartochkalar pastda */
    }

    /* 5. Taymer doiralarini mobilga sig'dirish */
    .ctb-countdown-wrapper {
        display: flex !important;
        justify-content: space-around !important; /* Doiralar orasini ochish */
        width: 100% !important;
        
        
    }
}
/* --- MOBIL MOSLASHUV (Media Query) --- */
@media (max-width: 768px) {
    /* Konteynerni vertikal holatga o'tkazamiz */
    .ctb-main-container {
        flex-direction: column-reverse !important; /* Progress tepaga, Prizlar pastga chiqishi uchun */
        gap: 20px !important;
    }

    /* Progress bo'limi kengligini to'liq qilamiz */
    .ctb-progress-section {
        width: 100% !important;
        padding: 20px 10px !important;
        order: 1; /* Birinchi bo'lib ko'rinadi */
    }

    /* Prizlar bo'limi pastga tushadi */
    .ctb-prizes-section {
        width: 100% !important;
        order: 2; /* Ikkinchi bo'lib ko'rinadi */
    }

    /* Taymer doiralarini kichikroq ekranlarda sig'dirish */
    .ctb-countdown-wrapper {
        gap: 5px !important;
    }
    
    .ctb-time-circle {
        width: 55px !important;
        height: 55px !important;
    }

    .ctb-time-data span {
        font-size: 16px !important;
    }

    /* Kartochkalar ichidagi matnni mobilga moslash */
    .prize-item {
        font-size: 14px !important;
        flex-wrap: wrap; /* Matn sig'masa pastga tushadi */
    }

    .ctb-card-label {
        font-size: 18px !important;
    }
}


  /* Таймер */
.block_timer {
    height: 100px;
    display: flex;
    background: linear-gradient(1deg, #2b2934 30%, #2d2b37 100%);
    padding: 22px;
    border-radius: 18px;
    margin-bottom: 30px;
}

.bp_title_timer {
    font-size: 30px;
    font-family: sans-serif;
    font-weight: bold;
}

.bp_left_info {
    display: grid;
    gap: 15px;
}

.bp_descp_timer {
    font-size: 16px;
    font-family: sans-serif;
    background: -webkit-linear-gradient(#ff5255 0, #bd3638);-webkit-background-clip: text;-webkit-text-fill-color: transparent;
}
.bp_descp_timer:hover {
    filter: brightness(1.4); 
}
.timer-block {
  position: relative;
  right: -135px;
  top: -16px;
} 

@media (max-width: 991.99px) {
  .block_timer {
    height: 140px;
    display: block;
  }
  
  .bp_title_timer {
    display: none;
  }
  
  .timer-block {
    right: 1px;
    top: 8px;
  }
  
  .bp_descp_timer {
    margin: auto;
    margin-top: -5px;
  }
}
.countdown {
  display: flex;
  gap: 10px;
}
.countdown-item {
  position: relative;
  text-align: center;
  width: 90px;
  height: 90px;
}
.countdown-item svg {
  transform: rotate(-90deg);
  width: 90px;
  height: 90px;
}
.countdown-item .bg {
  fill: none;
  stroke: #4e4b60;
  stroke-width: 6;
}
.countdown-item .progress {
  fill: none;
  stroke: #f95154;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}
.countdown-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.countdown-content span {
  display: block;
  font-size: 24px;
  font-weight: bold;
  color: #f7f5f5;
 text-shadow: 
    0 0 10px #ff525545, 
    0 0 25px #ff525545, 
    0 0 45px #ff525545, 
    0 0 65px #ff525545; 
}
#seconds {
  color: #f7f5f5 !important;
}
.countdown-content small {
  font-size: 11px;
  color: #aaa;
}

@media (max-width: 991.99px) {
  .block_timer {
   display: none;
  }
}


/***NEWS****/
.news-button-vk {
    display: flex;
    align-items: center;
    gap: 8px; 
}
.news-button-vk i {
    color: #e87575; 
}
.news-button-vk:hover {
  background: #494559; 
    color: #fffffffb;
}
.news-button-vk:hover i {
    color: #3ba0f3; 
}
@media (max-width: 768px) {
/* Asosiy konteyner */
.news_block {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Ichidagi hamma narsani cho'zadi */
    width: 100% !important;
    padding: 0 !important;
}

/* Rasm - chetdan chetgacha */
.news-block-img {
    width: 100% !important;
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Ma'lumotlar turadigan ichki blok */
.flex_info_new {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Markazlashishni bekor qiladi */
    padding: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 15px !important;
}

/* Sarlavha va qisqa matnni chapga tekislash */
.flex_up_new {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.name_news {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
}

.short_news {
    font-size: 14px !important;
    color: #a0a0b0 !important;
}

/* Pastki qism - Statistika va tugmalar */
.flex_down_new {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

/* Statistika qatorlarini (Просмотров va Дата) ikki chetga yoyish */
.first_text_news {
    display: flex !important;
    flex-direction: row !important; /* Yonma-yon */
    justify-content: space-between !important; /* Bittasi chapda, bittasi o'ngda */
    align-items: center !important;
    width: 100% !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #888 !important;
}

.second_text_news {
    color: #fff !important;
    font-weight: bold !important;
}

/* Tugmalar - a tegi ichidagi div butun kenglikni egallashi shart */
.flex_down_new a {
    width: 100% !important;
    display: block !important;
    text-decoration: none !important;
}

.news-button-bottom, .news-button-vk {
    width: 100% !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important; /* Matn markazda, lekin tugma o'zi to'liq kenglikda */
    border-radius: 12px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Qizil tugma */
.news-button-bottom {
    background: #e84a4a !important;
    color: #fff !important;
}

/* Telegram tugma */
.news-button-vk {
    background: #3e3d4d !important;
    color: #fff !important;
    gap: 10px !important;
}

.news-button-vk i {
    color: #3ba0f3 !important;
}
/* 1. Telegram tugmasini o'rab turgan linkni blok darajasiga o'tkazish */
.flex_down_new a[href*="t.me"] {
    display: block !important;
    width: 100% !important;
    margin: 10px 0 0 0 !important; /* Qizil tugmadan keyin masofa */
    text-decoration: none !important;
}

/* 2. Telegram tugmasining o'zi */
.news-button-vk {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 50px !important; /* Balandlikni majburiy qilish */
    background: #3e3d4d !important; /* To'q kulrang fon */
    border-radius: 12px !important;
    align-items: center !important;
    justify-content: center !important; /* Matn markazda */
    gap: 10px !important;
    color: #ffffff !important;
    border: none !important;
    box-sizing: border-box !important;
}

/* 3. Telegram ikonkasini majburan ko'rsatish */
.news-button-vk i {
    display: inline-block !important;
    color: #3ba0f3 !important; /* Telegram ko'k rangi */
    font-size: 20px !important;
    margin: 0 !important;
}

/* 4. Agar umumiy blokda centering (markazlashish) bo'lsa, uni yengish */
.flex_down_new {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important; /* Hammasini kenglik boylab cho'zadi */
    width: 100% !important;
}
/* 1. Sarlavhani (NAME NEWS) to'liq va chapdan davomli qilish */
.name_news {
    display: block !important;
    width: 100% !important;
    text-align: left !important;      /* Markazda bo'lsa, chapga suradi */
    white-space: normal !important;   /* Matnni pastki qatorga tushiradi */
    overflow: visible !important;     /* Kesib tashlamaydi */
    height: auto !important;          /* Matn hajmiga qarab blok kengayadi */
    line-height: 1.2 !important;      /* Qatorlar orasi yopishib qolmasligi uchun */
    margin: 0 !important;             /* Avtomatik chekkalarni yo'qotadi */
}

/* 2. Qisqa matnni (SHORT TEXT) ham to'liq qilish */
.short_news {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    height: auto !important;
    color: #a0a0b0 !important;
}

/* 3. Ularni o'rab turgan blokni "markazdan" "yoyilish" rejimiga o'tkazish */
.flex_up_new {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Elementlarni chap chetga yopishtiradi */
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 5px !important;               /* Matnlar orasidagi masofa */
}

/* 4. Umumiy ma'lumotlar bloki kengligini majburiy 100% qilish */
.flex_info_new {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;    /* Ichidagi hamma narsani devorgacha cho'zadi */
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Rasmni butunlay ochib berish */
.news-block-img {
    display: block !important;
    width: 100% !important;
    
    /* Rasmingizning nisbatiga qarab balandlikni hisoblaydi */
    aspect-ratio: 16 / 9 !important; 
    
    /* Balandlik 0 bo'lib qolmasligi uchun majburiy o'lcham */
    min-height: 200px !important; 
    
    background-size: cover !important; /* Blokni to'ldirsin */
    background-repeat: no-repeat !important;
    background-position: center !important;
    
    /* Agar rasmning hech bir qismi kesilmasligi shart bo'lsa, 'cover'ni '100% 100%'ga almashtiring */
    /* background-size: 100% 100% !important; */
    
    border-radius: 15px 15px 0 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Blok rasmga qarab kengayishi uchun */
.news_block {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}
}