@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@100..900&display=swap');

/* ========================================= */
/* 1. RESET & BASE SETTINGS                  */
/* ========================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; height: 100%; font-family: "Commissioner", sans-serif; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; height: 100%; }

img, picture, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol, menu { list-style: none; }

input, button, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button, [type="button"], [type="submit"], [type="reset"] { appearance: none; -webkit-appearance: none; cursor: pointer; }
textarea { resize: vertical; }
fieldset, legend { border: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }

:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ========================================= */
/* 2. VARIABLES                              */
/* ========================================= */
:root {
  /* Colors */
  --brand-primary: #1D19B4;
  --brand-secondary: #0184FF;
  --brand-tertiary: #003B72;
  --brand-accent: #F18700;
  --brand-accent-2: #F6B801;

  --ink: #1E1E1E;
  --ink-60: rgba(30, 30, 30, 0.60);
  --ink-38: rgba(30, 30, 30, 0.38);
  --on-brand: #FFFFFF;

  --bg: #FFFFFF;
  --surface-1: #FDFDFD;
  --surface-2: #F1F1F5;
  --surface-3: #EEEFF8;
  --surface-ink: #2F333F;
  --border: #A7A8A8;

  /* Palette */
  --blue-300: #7FD8FD;
  --blue-400: #5ECFFF;
  --blue-500: #369CFD;
  --blue-700: #1D19B4;
  --blue-900: #003B72;

  --magenta-300: #FF82B0;
  --magenta-200: #FD9FC1;
  --pink-100: #FFD4BB;
  --red-400: #F26D6E;
  --red-500: #F24848;
  --maroon-700: #660327;
  --maroon-800: #660303;

  --orange-500: #F35C05;
  --orange-400: #F18700;
  --yellow-400: #F6B801;
  --yellow-300: #FFE38F;

  --gray-500: #5C5C68;
  --gray-200: #F6F7FC;
  --white-80: rgba(255, 255, 255, 0.80);
  --white-40: rgba(255, 255, 255, 0.40);
  --white: #FFFFFF;
  --black: #000000;

  /* Gradients */
  --grad-primary: linear-gradient(0deg, #1D19B4 0%, #07053D 100%);
  --grad-warm:    linear-gradient(0deg, #F6B801 0%, #F18700 100%);
  --grad-fade:    linear-gradient(0deg, rgba(243, 92, 5, 0.50) 0%, rgba(243, 92, 5, 0) 100%);

  /* Typography Scale */
  --fs-body: clamp(16px, calc(12px + 0.3125vw), 18px);
  --fs-h1: clamp(40px, calc(8px + 2.5vw), 56px);
  --fs-h2: clamp(22px, calc(10px + 0.9375vw), 28px);
  --fs-h3: clamp(18px, calc(10px + 0.625vw), 22px);
}

/* ========================================= */
/* 3. SHARED COMPONENTS & UTILITIES          */
/* ========================================= */
.visually-hidden { position:absolute!important;width:1px;height:1px;margin:-1px;border:0;padding:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden; }
.sep { color: var(--brand-accent-2) !important; }
.blue-hilight { color: var(--brand-primary) !important; }
.orange-hilight { font-weight: 600 !important; color: var(--brand-accent) !important; }
.is-error { outline: 2px solid #ef4444; border-color:#ef4444 !important; }

/* Buttons shared styles */
.event-info button,
.countdown-container button,
.offer-container button,
.main-prize button {
    padding: 16px 32px;
    border-radius: 32px;
    font-family: "Commissioner", sans-serif;
    font-weight: 500;
    font-size: 20px;
    border: none;
    transition: background 0.3s ease, transform .15s ease, box-shadow .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.event-info button,
.offer-container button, 
.main-prize button {
    background: var(--brand-primary);
    color: var(--on-brand);
}

.countdown-container button {
    background: linear-gradient(180deg,#1D1BB4 0%, #0F1477 100%);
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 18px rgba(16,20,90,.25);
}

/* Text styles */
.big-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; color: var(--surface-ink); margin: 0; }
.semi-title { font-size: clamp(18px, 2.2vw, 28px); font-weight: 500; color: var(--surface-ink); margin: 0; }
.ordinary_text { font-family: "Commissioner", sans-serif !important; font-weight: 500 !important; font-size: 20px !important; text-align: center; color: var(--gray-500); }

/* Icons */
.ico { height: 20px; width: auto; vertical-align: -0.15em; display: inline-block; margin: 0 .35ch 0 .6ch; pointer-events: none; }

/* ========================================= */
/* 3.1 ACHIEVEMENTS STRIP (Hero)             */
/* ========================================= */
.achievements-strip{
  margin-top: 18px;
  margin-bottom: 6px;
  width: min(920px, 100%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(29, 25, 180, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: clamp(20px, 2.2vw, 32px);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-shadow: 0 10px 24px rgba(21, 29, 63, 0.08);
}

.achievements-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.achievements-item__title{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.achievements-item__title b{
  font-size: 22px;
  font-weight: 700;
  color: var(--surface-ink);
}

.achievements-item__title span{
  font-size: 16px;
  font-weight: 600;
  color: var(--surface-ink);
}

.achievements-star{
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.achievements-sep{
  width: 1px;
  height: 32px;
  background: rgba(29, 25, 180, 0.18);
}

.achievements-img{
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.achievements-img.is-circle{ border-radius: 50%; }

.achievements-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.achievements-link:focus-visible{
  outline: 2px solid var(--brand-primary);
  outline-offset: 4px;
  border-radius: 14px;
}



/* --- Lightbox (click-to-zoom images) --- */
.img-lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 5, 61, 0.72);
  z-index: 99999;
}
.img-lightbox.is-open{ display: flex; }
.img-lightbox__panel{
  position: relative;
  width: min(920px, 96vw);
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}
.img-lightbox__img{
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.img-lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(29, 25, 180, 0.10);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.img-lightbox__close:hover{ background: rgba(29, 25, 180, 0.16); }

/* ========================================= */
/* 4. HERO SECTION                           */
/* ========================================= */
header { margin-bottom: 32px; }

.hero {
    position: relative;
    min-height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(assets/bg-grid.png);
    background-size: cover;
}

.event-date { width: 80%; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
.event-date span { font-family: "Commissioner", sans-serif; font-weight: 500; font-size: 18px; color: var(--surface-ink); }

.event-info { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cup-ico { width: 12%; }
.bibig-text { font-family: "Commissioner", sans-serif; font-weight: 600; font-size: 52px !important; line-height: 120%; text-align: center; color: var(--surface-ink); }

/* ========================================= */
/* 5. MAIN CONTENT (Subjects & Info)         */
/* ========================================= */
.main-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
    position: relative;
    height: auto;
    overflow: hidden;
    min-width: 0;
    margin-bottom: 64px;
}

.main-title section {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(16px, 2.5vw, 24px);
    align-items: start;
}

/* --- Subject Slider / Left Block (Optimized) --- */
.main-left.subject-slider-wrapper {
    background-color: var(--gray-200);
    border-radius: clamp(20px, 2.2vw, 32px);
    padding: clamp(16px, 2.6vw, 32px);
    box-sizing: border-box;
    min-width: 0;
    
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
}

/* Slider Header (Text + Buttons) */
.slider-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 16px;
}
.slider-header .semi-title { text-align: left; flex: 1; }

/* Slider Nav Buttons */
.slider-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.slider-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--brand-primary);
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}
.slider-btn:hover { background: var(--brand-primary); color: #fff; }

/* Slider Window & Track */
.slider-window { width: 100%; overflow: hidden; }
.slider-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Subject Grid Page (2x2) */
.subject-page {
    width: 100%;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    box-sizing: border-box;
    justify-items: center;
    padding: 16px;
}

/* Subject Card */
.subject-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    
}
.card-title { font-family: "Commissioner", sans-serif; font-weight: 700; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.2; text-align: center; z-index: 2; margin: 0; }
.card-title span { font-weight: 400; font-size: 0.85em; opacity: 0.9; display: block; margin-top: 4px; }
.subject-card img { height: 100px; object-fit: contain; margin-bottom: -5px; z-index: 1; }

/* --- Main Right Block --- */
.main-right { min-width: 0; }
.main-right div {
    background-color: var(--gray-200);
    border-radius: clamp(20px, 2.2vw, 32px);
    padding: clamp(16px, 2.6vw, 32px);
    box-sizing: border-box;
}

.main-list { display: flex; flex-direction: column; gap: clamp(6px, 1vw, 8px); margin-top: clamp(12px, 2vw, 32px); padding: 0 !important; }
.main-list p { text-align: left !important; margin: 0; }
.main-list .ico { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }

.main-right-top { margin-bottom: clamp(16px, 2.4vw, 32px); }
.main-right-bottom img { width: 42%; height: auto; margin-bottom: clamp(8px, 1.2vw, 16px); display: block; }
.main-right-bottom p { width: 80%; margin-top: 8px; text-align: left !important; }

/* Decorative Overlays (Asterisk/Ribbon) */
.asterisk, .ribbon, .spiral, .flower { position: relative; overflow: hidden; }
.asterisk::after, .ribbon::after, .spiral::after, .flower::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background-repeat: no-repeat;
}

.asterisk::after {
    background-image: url("assets/main-asterisk.png");
    background-size: clamp(140px, 10vw, 180px) auto;
    background-position: right 0 bottom 0;
}
.ribbon {
    background-image: url("assets/main-ribbon.png");
    background-size: clamp(90%, 100%, 110%) auto;
    background-position: left 0 top 0;
}

/* ========================================= */
/* 6. BONUS TIMER SECTION                    */
/* ========================================= */
.bonus-timer { display:flex; flex-direction:column; align-items:center; position: relative; margin-bottom: 64px;}

.countdown-container {
    margin-top:32px; padding:32px; background-color:var(--gray-200); width:min(960px,80%); border-radius:32px;
    display:flex; flex-direction:column; align-items:center; gap:24px; position: relative;
}

.timer-container { display:grid; grid-template-columns: repeat(3, minmax(160px, 1fr)); gap:20px; justify-content: center; }

.time-unit {
    background: linear-gradient(180deg,#1D1BB4 0%, #0F1477 100%);
    -webkit-mask: url("assets/time-unit.svg") center/100% 100% no-repeat;
    mask: url("assets/time-unit.svg") center/100% 100% no-repeat;
    aspect-ratio: 160 / 112;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:6px; padding:16px 20px; color:#fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 18px rgba(16,20,90,.20);
    isolation:isolate;
}

.time-unit p:first-child { font-weight:800; font-size: 52px; line-height:1; letter-spacing:.3px; color:#fff; }
.time-unit p:last-child { margin-top:2px; font-weight:700; font-size:18px; letter-spacing:.09em; text-transform:uppercase; color:rgba(255,255,255,.9); }

#timer-hours, #timer-minutes, #timer-seconds, #timer-secunds, #timer-milisekus { font-size: clamp(32px,3.4vw,40px); font-weight:800; color:#fff; }

.cc-deco { position: absolute; width: 12%; height: auto; pointer-events: none; z-index: 0; }
.cc-deco--tl { top: -40px; left: -50px; }
.cc-deco--br { right: -50px; bottom: -50px; }

/* ========================================= */
/* 7. OFFER SECTION                          */
/* ========================================= */
.offer-main { margin-top: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; position:relative; overflow:hidden; }

.offer-container { width: 80%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
.offer-left, .offer-right { width: calc(50% - 16px); padding: 32px; background-color: var(--gray-200); border-radius: 32px; }
.offer-banner { margin-bottom: 16px; }
.offer-container button { width: 100%; margin-top: 32px; }

.offer-list { list-style: none; display: grid; gap: 10px; padding: 0; margin: 12px 0 0; }
.offer-list li { position: relative; display: flex; align-items: center; gap: 8px; text-align: left; color: var(--gray-500); }
.offer-list li::before { content: ""; width: 18px; height: 18px; background: url("assets/main-light.png") no-repeat center / contain; flex-shrink: 0; }

.spiral::after {
    background-image: url("assets/offer-spiral.png"); background-size: clamp(100px, 10vw, 120px) auto; background-position: right 0 bottom 50%;
}
.flower::after {
    background-image: url("assets/offer-flower.png"); background-size: clamp(100px, 10vw, 120px) auto; background-position: right 0 bottom  55%;
}

/* ========================================= */
/* 8. REVIEWS & STEPS                        */
/* ========================================= */
.reviews-container { width: 100%; margin-top: 56px; display: flex; flex-direction: row; justify-content: center; }
.reviews-big { width: 80%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; }

.reviews-left { width: calc(50% - 16px - 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.reviews-left .ordinary_text { text-align: left !important; }
.reviews-right { width: calc(50% - 16px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.step-card { position: relative; width: 100%; background: var(--gray-200); border-radius: 16px; padding: 16px 16px; }
.step-card .ordinary_text { text-align: left; }
.step-card::after { content: ""; position: absolute; top: 14px; bottom: 14px; right: 32px; width: 6px; border-radius: 6px; background: var(--brand-primary); }
.step--orange::after { background: var(--brand-accent); }
.step--yellow::after { background: var(--brand-accent-2); }
.step--indigo::after { background: var(--brand-primary); }

/* Reviews Carousel (Local Fonts) */
@font-face { font-family: "HelveticaLocal"; src: url("assets/fonts/helvetica_regular.otf") format("otf"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "HelveticaLocal"; src: url("assets/fonts/helvetica_bold.otf") format("otf"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "HelveticaLocal"; src: url("assets/fonts/helvetica_light.otf") format("otf"); font-weight: 300; font-style: normal; font-display: swap; }

.rereviews-main { width: 100%; margin-top: 64px; display: flex; flex-direction: column; align-items: center; font-family: "HelveticaLocal", "Helvetica", Arial, sans-serif; }
.reviews-grid { width: 80%; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 32px; }

.review-card { background: #fff; border: 1px solid #E7EAF2; border-radius: 12px; box-shadow: 0 6px 16px rgba(21,29,63,.06); padding: 32px; }
.review-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 1px #E7EAF2; }

.person-col { display: flex; flex-direction: column; gap: 2px; }
.name-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.person-name { font-weight: 700; font-size: 14px; color: #1E1E1E; }

.badge { display: inline-flex; align-items: center; gap: 6px; color: #1e1e1e86; font-size: 14px; font-weight: 400; }
.badge-ico { width: 20px; height: 20px; display: inline-block; background: url("assets/RecommendIcon.png") center/contain no-repeat; }

.meta { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #9AA1AF; }
.meta .dot { opacity: .6; }
.meta .globe { width: 16px; height: 16px; display: inline-block; background: url("assets/EarthIcon.png") center/contain no-repeat; }

.kebab { width: 22px; height: 22px; border: 0; padding: 0; cursor: pointer; background: url("assets/MenuButton.png") center/contain no-repeat; opacity: .6; }
.kebab:hover { opacity: .85; }
.review-text { margin-top: 14px; font-size: 14px; line-height: 1.45; color: #1F2430; }

/* ========================================= */
/* 9. PRIZE SECTION                          */
/* ========================================= */
.main-prize { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 64px; }
.big-prize { width: 60%; margin-top: 32px; margin-bottom: 32px; }

.prize-container { margin-top: 64px; width: 80%; display: flex; flex-direction: row; gap: 32px; }
.prize-left, .prize-right {
    width: calc(50% - 16px); padding: 32px; background: var(--gray-200); border-radius: 32px;
    display: flex; flex-direction: column; align-items: center; position: relative;
}

.prize-container .ordinary_text { text-align: left !important; margin-top: 16px; margin-bottom: 16px; }
.prize-container .semi-title { width: 100%; }
.prize-right .offer-list { width: 100%; margin-bottom: 16px; }

.prize-orange-box { width: 100%; background: var(--grad-warm); padding: 8px 16px; border-radius: 12px; }
.prize-orange-box .ordinary_text { text-align: left !important; color: var(--on-brand); }
.prize-list-mobile { display: none; }

/* ========================================= */
/* 10. LAST CHANCE / ANTI-GIFT / ABOUT US    */
/* ========================================= */
.last-chanse-container { margin-top: 64px; position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; }
.last-chanse-container .event-info { margin-top: 32px; }

.participants-container { margin-top: 32px; margin-bottom: 32px; width: 40%; display: flex; flex-direction: row; gap: 16px; height: auto; }
.participants-container img { width: 30%; height: auto; }
.participants-container div { display: flex; align-items: center; font-size: 18px; font-weight: 500; }

.anti-gift { margin-top: 64px; display: flex; width: 100%; flex-direction: column; align-items: center; }
.anti-gift-both { margin-top: 32px; width: 60%; display: flex; flex-direction: row; justify-content: center; gap: 32px; color: #FFFFFF; }
.anti-gift-left, .anti-gift-right { width: calc(50% - 16px); border-radius: 32px; padding: 32px; position: relative; }
.anti-gift-left { background: var(--grad-warm); }
.anti-gift-right { background: var(--grad-primary); }
.anti-gift-left .semi-title, .anti-gift-right .semi-title { color: #fff; }
.anti-gift-left .semi-title { margin-bottom: 150px; }
.anti-gift-right .semi-title { margin-bottom: 150px; }

.about-us-container { margin-top: 64px; display: flex; width: 100%; flex-direction: column; align-items: center; }
.about-us-all { margin-top: 32px; width: 80%; display: flex; gap: 32px; margin-bottom: 64px; }
.about-us-left, .about-us-center div, .about-us-right { background: var(--gray-200); border-radius: 32px; padding: 32px; gap: 8px; }
.about-us-left p, .about-us-center div p, .about-us-right p { text-align: left; }

.about-us-left { width: 33%; display: flex; flex-direction: column; align-items: center; }
.about-us-center { width: 33%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.about-us-right { width: 33%; display: flex; flex-direction: column; }

.partners-container { width: 100%; display: 100%; flex-direction: column; gap: 32px; margin-top: 64px; align-items: center; justify-content: center; }
.partners-container p { width: 100%; text-align: center !important; }
.partners-logos { width: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 32px; margin-top: 16px; flex-wrap: wrap; }
.partners-logos img { width: 12%; }

/* ========================================= */
/* 11. DECORATIVE ELEMENTS (Absolute)        */
/* ========================================= */
.abs-img-1 { position: absolute; left: 0; top: 100px; width: 8%; }
.abs-img-2 { position: absolute; right: 0; top: 30px; width: 14%; }
.abs-img-3 { position: absolute; left: 0; bottom: 20px; width: 14%; }
.abs-img-4 { position: absolute; right: 0; bottom: 40px; width: 10%; }
.abs-img-5 { position: absolute; bottom: 20px; left: 0; width: 12%; }
.abs-img-6 { position: absolute; bottom: 100px; right: 160px; width: 12%; }
.abs-img-7 { position: absolute; bottom: 0px; width: 100%; }
.abs-img-8 { position: absolute; right: 0; bottom: 150px; width: 20%; }
.abs-img-9 { position: absolute; bottom: 120px; left: 0; width: 12%; }
.abs-img-10 { position: absolute; bottom: 200px; right: 160px; width: 12%; }
.abs-img-11 { position: absolute; bottom: 0px; left: 0; width: 100%; }
.abs-img-12 { position: absolute; bottom: 0px; left: 0; width: 100%; }
.abs-img-13 { position: absolute; bottom: 0px; right: 0; width: 30%; }
.abs-img-14 { position: absolute; bottom: 0px; right: 0; width: 100%; border-bottom-left-radius: 32px; border-bottom-right-radius: 32px; }

/* ========================================= */
/* 12. MEDIA QUERIES (TABLET & MOBILE)       */
/* ========================================= */





.asterisk,
.ribbon{
  position: relative;
  overflow: hidden;
}
.asterisk::after,
.ribbon::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-repeat: no-repeat;
}

.asterisk::after{
    background-image: url("assets/main-asterisk.png");
    background-size: clamp(140px, 10vw, 180px) auto;
    background-position: right 0 bottom 0;
    background-repeat: no-repeat;
}

.ribbon{
    background-image: url("assets/main-ribbon.png");
    background-size: clamp(90%, 100%, 110%) auto;
    background-position: left 0 top 0;
    background-repeat: no-repeat;
}

.age-group-block {
  padding-left: 0 !important;
  padding-top: 0 !important;
}


.subject-card {
    /* Додаємо плавний перехід для трансформації та тіні */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    cursor: pointer; /* Показуємо, що це клікабельно */
    position: relative;
}

.subject-card:hover {
    /* Піднімаємо картку вгору */
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 5; /* Щоб картка була поверх інших елементів при збільшенні */
}

.subject-card:active {
    /* Ефект натискання */
    transform: translateY(-4px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* ==========================
   HERO: season pills
   ========================== */
.hero-badges{
  margin-top: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.hero-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-family: "Commissioner", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .2px;
  border: 1px solid var(--white-40);
  box-shadow: 0 10px 30px rgba(13,10,35,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  user-select: none;
}

.hero-pill__ico{
  display: inline-flex;
  color: #0d0a23;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white-80);
}

.hero-pill--warm{
  background: var(--grad-warm);
  color: #0d0a23;
}

.hero-pill--primary{
  background: var(--grad-primary);
  color: #fff;
}

.hero-pill--outline{
  background: rgba(255,255,255,.92);
  color: var(--surface-ink);
  border: 1px solid rgba(167, 168, 168, 0.65);
}

/* ==========================
   SEASON ROADMAP
   ========================== */
.season-roadmap{
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0;
}

.season-roadmap__inner{
  width: 92%;
  margin: 0 auto;
}

.season-roadmap__lead{
  margin-top: 10px;
  opacity: .92;
}

.season-roadmap__inner > .big-title,
.season-roadmap__inner > .season-roadmap__lead,
.season-roadmap__inner > .season-roadmap__note{
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}



.roadmap-timeline{
  position: relative;
  margin-top: 26px;
}

.roadmap-viewport{
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 8px 14px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.roadmap-viewport:focus{
  outline: none;
}

.roadmap-viewport::-webkit-scrollbar{
  height: 10px;
}

.roadmap-viewport::-webkit-scrollbar-track{
  background: rgba(29, 25, 180, .06);
  border-radius: 999px;
}

.roadmap-viewport::-webkit-scrollbar-thumb{
  background: rgba(29, 25, 180, .16);
  border-radius: 999px;
}

.roadmap-rail{
  position: relative;
  display: flex;
  gap: clamp(8px, 1.1vw, 14px);
  padding: 68px 4px 14px;
  align-items: stretch;
  min-width: fit-content;
}

.roadmap-rail::before{
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(29, 25, 180, .30), rgba(243, 92, 5, .18));
}

.roadmap-nav{
  position: absolute;
  top: 26px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(229, 223, 241, .95);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 24px rgba(29,25,180,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(13,10,35,.75);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

.roadmap-nav:hover{
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 14px 32px rgba(29,25,180,.12);
  color: rgba(13,10,35,.92);
}

.roadmap-nav--prev{ left: -10px; }
.roadmap-nav--next{ right: -10px; }

.wave-card{
  position: relative;
  flex: 0 0 min(320px, 78vw);
  background: #fff;
  border-radius: clamp(18px, 2vw, 28px);
  box-shadow: 0 2px 10px rgba(89,62,141,.06);
  border: 1px solid rgba(229, 223, 241, .9);
  padding: 16px;
  scroll-snap-align: start;
}



.wave-card::before{
  content: "";
  position: absolute;
  left: 50%;
  top: -52px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--grad-warm);
  border: 3px solid var(--gray-200);
  box-shadow: 0 14px 26px rgba(29,25,180,.12);
  z-index: 2;
}

.wave-card::after{
  content: attr(data-step);
  position: absolute;
  left: 50%;
  top: -92px;
  transform: translateX(-50%);
  font-weight: 800;
  font-size: 26px;
  color: #0d0a23;
  opacity: .92;
}

.wave-cap{
  height: 10px;
  border-radius: 999px;
  background: var(--grad-primary);
  opacity: .92;
}

.wave-cap--warm{
  background: var(--grad-warm);
}

.wave-cap--super{
  background: linear-gradient(90deg, rgba(29,25,180,1), rgba(243,92,5,1));
}

.wave-head{
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-top: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.wave-head__left{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}


.roadmap-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(29, 25, 180, .10);
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.roadmap-badge--super{
  background: rgba(243, 92, 5, .12);
  color: rgba(13,10,35,.92);
}

.wave-title{
  font-weight: 700;
  flex: 1 1 auto;
  color: #0d0a23;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wave-range{
  font-weight: 700;
  color: var(--gray-500);
  white-space: nowrap;
  margin-left: auto;
}

.wave-chevron{
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(13,10,35,.55);
  border-bottom: 2px solid rgba(13,10,35,.55);
  transform: rotate(45deg);
  transition: transform .2s ease;
  justify-self: end;
}

.wave-card.is-open .wave-chevron{
  transform: rotate(-135deg);
}

.wave-body{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(229, 223, 241, .75);
  max-height: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: max-height .45s ease, opacity .25s ease, transform .25s ease;
  will-change: max-height;
  overflow: hidden;
}

.wave-card.is-open .wave-body{
  opacity: 1;
  transform: translateY(0);
}



.roadmap-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}

.roadmap-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
  white-space: nowrap;
}

.roadmap-tag--reg{
  background: rgba(246,184,1,.16);
  color: #5c5c68;
}

.roadmap-tag--play{
  background: rgba(0,183,255,.14);
  color: #2f333f;
}

.roadmap-tag--res{
  background: rgba(243,92,5,.14);
  color: #2f333f;
}

.roadmap-tag--super{
  background: rgba(29,25,180,.10);
  color: var(--brand-primary);
}

.roadmap-text{
  color: #0d0a23;
  font-weight: 600;
}

.season-roadmap__note{
  margin-top: 16px;
  opacity: .95;
}




/* ==========================
   CERTIFICATES
   ========================== */
.certs{
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0;
  background: #fff;
}

.certs__inner{
  width: min(1100px, 80%);
  margin: 0 auto;
}

.certs__lead{
  margin-top: 10px;
  opacity: .92;
}

.certs__inner > .big-title,
.certs__inner > .certs__lead{
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}


.certs-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.certs-card{
  margin: 0;
  padding: 16px;
  border-radius: clamp(18px, 2vw, 28px);
  background: var(--gray-200);
  box-shadow: 0 2px 10px rgba(89,62,141,.06);
  border: 1px solid rgba(229, 223, 241, .9);
}

.certs-card img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(13,10,35,.08);
  transition: transform .25s ease;
}

.certs-card:hover img{
  transform: translateY(-2px) scale(1.01);
}

.certs-cap{
  margin-top: 12px;
  font-weight: 600;
  color: #0d0a23;
  text-align: center;
}

/* ==========================
   BENEFITS (teacher/student)
   ========================== */
.olymp-benefits{
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0;
}

.olymp-benefits__inner{
  width: min(1100px, 80%);
  margin: 0 auto;
}

.olymp-benefits__lead{
  margin-top: 10px;
  opacity: .92;
}

.olymp-benefits__inner > .big-title,
.olymp-benefits__inner > .olymp-benefits__lead{
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}


.benefits-tabs{
  margin-top: 18px;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(29, 25, 180, .10);
  border: 1px solid rgba(29, 25, 180, .12);
}

.benefits-tab{
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: "Commissioner", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(13,10,35,.7);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.benefits-tab:hover{
  transform: translateY(-1px);
}

.benefits-tab.is-active{
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 10px 30px rgba(13,10,35,.08);
}

.benefits-panels{
  margin-top: 18px;
}

.benefits-panel{
  display: none;
}

.benefits-panel.is-active{
  display: block;
}

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.benefits-card{
  border-radius: clamp(18px, 2vw, 28px);
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(229, 223, 241, .9);
  box-shadow: 0 2px 10px rgba(89,62,141,.06);
}

.benefits-card--list{
  background: #fff;
}

.benefits-card--steps{
  background: rgba(0,183,255,.10);
}

.benefits-list{
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.benefits-list li{
  position: relative;
  padding-left: 18px;
  color: rgba(13,10,35,.9);
  line-height: 1.35;
}

.benefits-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange-500);
}

.benefits-steps{
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.benefits-steps li{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.35;
  color: rgba(13,10,35,.9);
}

.benefits-steps li::before{
  counter-increment: step;
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #fff;
  color: var(--brand-primary);
  box-shadow: 0 10px 22px rgba(13,10,35,.08);
}

/* Responsive */


/* --- Roadmap redesign: readable hierarchy + aligned timeline --- */

/* Section spacing */
.season-roadmap{
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 54px);
}
.season-roadmap .big-title{
  margin: 0 auto;
  max-width: 920px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.season-roadmap .big-title + *{
  margin-top: clamp(18px, 2.2vw, 30px) !important;
}

/* No slider controls; static grid */
.roadmap-nav{ display:none !important; }

.roadmap-viewport{
  overflow: visible !important;
  padding: 0 !important;
}
.roadmap-viewport::-webkit-scrollbar{ display:none; }

.roadmap-rail{
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  gap: clamp(8px, 1.1vw, 14px) !important;

  /* creates a dedicated band for markers/line */
  padding-top: 74px !important;
  min-width: 0 !important;
}



/* Timeline line aligned to dots */
.roadmap-rail::before{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 36px;
  height: 2px;
  background: rgba(29,25,180,.25);
  border-radius: 999px;
}

/* Cards */
.wave-card{
  position: relative;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(13,10,35,.08);
  box-shadow: 0 10px 28px rgba(7,5,61,.06);
}

/* Marker dot */
.wave-card::after{
  content: "";
  position: absolute;
  top: -38px;              /* aligns with rail::before top (36px) */
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #F6B801;
  box-shadow: 0 0 0 6px rgba(246,184,1,.15);
}

/* Step number */
.wave-card::before{
  content: attr(data-step);
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 18px;
  color: rgba(13,10,35,.88);
}

/* Ensure all wave bodies are visible; no accordion */
.wave-head{ cursor: default !important; }
.wave-chevron{ display:none !important; }
.wave-body{
  max-height: none !important;
  opacity: 1 !important;
  transform: none !important;
  overflow: visible !important;
}

/* Header typography inside card */
.wave-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 10px 18px;
}
.wave-label,
.roadmap-badge{
  display: inline;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  font-weight: 700 !important;
  font-size: 20px !important;
  color: var(--brand-primary) !important;
  
}
.wave-label--super,
.roadmap-badge--super{
  color: rgba(13,10,35,.92) !important;
}
.wave-range{
  font-weight: 600;
  font-size: 20px;
  color: rgba(13,10,35,.72);
}

/* Divider */
.wave-divider{
  height: 1px;
  background: rgba(13,10,35,.08);
  margin: 0 18px;
}

/* Rows */
.roadmap-row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
}
.roadmap-row:last-child{ padding-bottom: 16px; }

.roadmap-label,
.roadmap-tag{
  font-family: "Commissioner", sans-serif !important; font-weight: 500 !important; font-size: 20px !important; text-align: center; color: var(--gray-500);
}
.roadmap-text{
  font-family: "Commissioner", sans-serif !important; font-weight: 500 !important; font-size: 16px !important; text-align: center;
  color: rgba(13,10,35,.92);
}

/* Normalize emoji visual weight slightly */
.roadmap-label::first-letter{
  font-size: 15px;
}

/* Mobile: shorten the line to match single-column layout */


/* --- Roadmap fix: remove legacy pseudo styles to avoid double markers --- */
.roadmap-rail .wave-card::before{
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.roadmap-rail .wave-card::after{
  border: 0 !important;
}

/* --- Roadmap: remove timeline line + step numbers --- */
.roadmap-rail{
  padding-top: 16px !important; /* reclaim space previously used by timeline */
}
.roadmap-rail::before{ display:none !important; } /* remove the line */
.roadmap-rail .wave-card::before{ content: "" !important; } /* remove 1..5 */
.roadmap-rail .wave-card::after{
  display:none !important; /* remove dot marker */
}

.roadmap-rail .wave-card.activeWave{
  border: #1D19B4 4px solid;
}


/* Certificates block (offer-main look) */
.cert-card{ overflow: hidden; }

.cert-media{
  height: clamp(280px, 30vw, 460px);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 380px at 50% 0%, rgba(29,25,180,.10), transparent 60%),
    radial-gradient(900px 420px at 100% 100%, rgba(241,135,0,.12), transparent 60%),
    #fff;
  box-shadow: inset 0 0 0 1px rgba(13,10,35,.06);
}

.cert-img{
  height: 100%;
  max-height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(13,10,35,.14);
  transform: rotate(-1deg);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cert-card:hover .cert-img{
  transform: rotate(0deg) scale(1.01);
  box-shadow: 0 22px 64px rgba(13,10,35,.18);
}


/* ========================================= */
/* OLYMPIAD BENEFITS (cards, no switches)     */
/* ========================================= */

.olymp-benefits .prize-container.benefits-cards{
  width: 100%;
  margin-top: 32px;
}

.olymp-benefits .prize-left.benefits-prize-card,
.olymp-benefits .prize-right.benefits-prize-card{
  align-items: flex-start;
}

.olymp-benefits .benefits-cta{
  margin-top: 16px;
  align-self: flex-start;
  width: 100%;
}

.olymp-benefits .benefits-prize-card--teacher{
  background: var(--grad-warm);
}

.olymp-benefits .benefits-prize-card--teacher .semi-title,
.olymp-benefits .benefits-prize-card--teacher .ordinary_text,
.olymp-benefits .benefits-prize-card--teacher .benefits-list li{
  color: var(--on-brand) !important;
}

.olymp-benefits .benefits-prize-card--teacher .benefits-list li::before{
  background: rgba(255,255,255,.92);
}





/* ========================================= */
/* 99. HOTFIXES (Mobile Hero + Subject Slider) */
/* ========================================= */

/* Hero: avoid unpredictable clipping on phones (content taller than viewport) */


/* Subject slider: mobile-friendly tiles + allow swipe */


/* Very small phones */

/* ========================================= */
/* 12. MEDIA QUERIES (Consolidated)          */
/* ========================================= */
@media (max-width: 1200px) {
.roadmap-rail{ grid-template-columns: repeat(3, minmax(220px, 1fr)); }
}
@media (max-width: 1080px) {
.partners-logos img { width: 24%; }
}
@media (min-width: 980px) {
.wave-card{
    flex: 1 1 0;
    min-width: 240px;
    max-width: 320px;
  }
}
@media (max-width: 980px) {
.roadmap-nav{
    display: none;
  }
}
@media (max-width: 820px) {
.roadmap-rail{
    grid-template-columns: repeat(1, minmax(0, 1fr));
    padding-top: 64px !important;
  }

.roadmap-rail::before{
    left: 18px;
    right: 18px;
    top: 32px;
  }
  .wave-card::after{ top: -34px; }
  .wave-card::before{ top: -64px; }
  .abs-img-3 {display: none;}
  .roadmap-row {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
.olymp-benefits .prize-container.benefits-cards{
    flex-direction: column;
  }
  .olymp-benefits .prize-left.benefits-prize-card,
  .olymp-benefits .prize-right.benefits-prize-card{
    width: 100%;
  }
  .asterisk::after {
    background-size: clamp(100px, 5vw, 140px) auto;

}

.hero{
    /* don't hard-cap the section height; let it grow if content needs more space */
    height: auto;
    min-height: calc(var(--vh, 1svh) * 100);
    max-height: none;
    justify-content: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .hero > header{ margin-bottom: 24px; }

.slider-window{
    touch-action: pan-y; /* allow vertical page scroll, JS handles horizontal swipe */
    -webkit-user-select: none;
    user-select: none;
  }
  .subject-page{
    padding: 10px;
    gap: 12px;
  }
  .subject-card{
    padding: 12px;
    gap: 14px;
    border-radius: 18px;
  }
  .subject-card img{
    height: clamp(56px, 18vw, 84px);
    margin-bottom: 0;
  }
  .card-title{
    font-size: clamp(12px, 3.6vw, 15px);
    line-height: 1.15;
  }
}
@media (max-width: 720px) {
.achievements-strip{
    width: min(520px, 100%);
    border-radius: 24px;
    padding: 12px 0;
    gap: 16px;
    flex-wrap: wrap;
  }
  .achievements-sep{ display:none; }
  .achievements-item__title b{ font-size: 16px; }
  .achievements-img{ width: 48px; height: 48px; border-radius: 0;}
}
@media (max-width: 600px) {
/* --- Global & Typography --- */
  html, body { width: 100%; max-width: 100vw; overflow-x: hidden; }
  body { font-size: clamp(14px, 3.6vw, 18px); }

  .big-title { font-size: clamp(20px, 5.8vw, 24px); text-align: center; width: 90%; }
  .semi-title { font-size: clamp(16px, 4.8vw, 20px); }
  .ordinary_text { font-size: clamp(14px, 3.8vw, 18px) !important; width: 92%; margin-inline: auto; }

  /* --- Button Variables & Overrides --- */
  :root {
    --btn-font: clamp(16px, 4.4vw, 18px);
    --btn-pad-y: clamp(10px, 3.2vw, 12px);
    --btn-pad-x: clamp(20px, 6vw, 24px);
    --btn-radius: 32px;
    --btn-min-h: clamp(40px, 11vw, 48px);
  }

  .event-info button,
  .countdown-container button,
  .offer-container button,
  .main-prize button {
    font-size: var(--btn-font) !important;
    padding: var(--btn-pad-y) var(--btn-pad-x) !important;
    border-radius: var(--btn-radius) !important;
    min-height: var(--btn-min-h);
    line-height: 1 !important;
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
  }

  /* --- Hero --- */
  .hero {
    position: relative;
    min-height: 100svh;
    min-height: calc(var(--vh, 1svh) * 100);
    padding: clamp(16px, 4vw, 24px) 0;
    width: 100%;
    background-position: center;
    padding-top: 32px; padding-bottom: 32px;
  }

  .event-date { width: 100%; gap: 6px; padding: 0 clamp(8px, 3vw, 16px); flex-wrap: wrap; }
  .event-date span { font-size: clamp(10px, 3.2vw, 12px); }

  .event-info { gap: clamp(12px, 3.5vw, 16px); padding-inline: clamp(8px, 3vw, 16px); }
  .cup-ico { width: clamp(18%, 22vw, 24%); }
  .bibig-text { font-weight: 700; font-size: clamp(24px, 6.8vw, 32px) !important; line-height: 1.22; text-align: center; width: min(92%, 520px); }

  /* Hero Decorations */
  .abs-img-1 { left: 0; top: 80px; width: 12%; }
  .abs-img-2 { right: 0px; top: 32px; width: 20%; }
  .abs-img-3 { right: 12px; bottom: 32px; width: 24%; }
  .abs-img-4 { right: 12px; bottom: 48px; width: 18%; }

  /* --- Main Title / Subjects --- */
  .main-title { min-height: auto; padding: clamp(16px, 4vw, 24px) 0; gap: clamp(16px, 3vw, 24px); }
  .main-title section { width: min(1120px, 92%); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(12px, 3vw, 20px); align-items: stretch; }

  /* Slider Mobile */
  .subject-page { gap: 10px; }
  .subject-card { padding: 12px; border-radius: 12px; max-width: 100%; }
  .slider-header .semi-title { font-size: 18px !important; }
  .slider-btn { width: 32px; height: 32px; font-size: 16px; }

  /* Main Right */
  .main-right > div { background: var(--gray-200); border-radius: clamp(16px, 4vw, 28px); padding: clamp(12px, 4vw, 20px); }
  .main-list { gap: clamp(4px, 2vw, 8px); margin-top: clamp(8px, 3vw, 16px); }
  .main-right-bottom img { width: clamp(38%, 42vw, 48%); margin-bottom: clamp(6px, 2.5vw, 12px); }
  .main-right-bottom p { width: 100%; }

  .asterisk::after { background-size: clamp(120px, 28vw, 160px) auto; }
  .ribbon { background-size: 100% auto; background-position: left top; }

  /* --- Bonus Timer --- */
  .bonus-timer { margin-top: 24px; }
  .countdown-container { width: min(960px, 92%); border-radius: 24px; padding: clamp(12px, 4vw, 20px); gap: clamp(10px, 3vw, 16px); }
  .timer-container { display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); gap: clamp(8px, 2.6vw, 12px); width: 100%; }
  
  .time-unit { border-radius: 16px; -webkit-mask: none; mask: none; aspect-ratio: 160 / 112; padding: clamp(10px, 3vw, 16px); }
  .time-unit p:first-child { font-size: clamp(22px, 7vw, 28px); padding-top: 4px; }
  .time-unit p:last-child { font-size: clamp(10px, 3.2vw, 12px); padding-bottom: 4px; }
  
  .hide-on-phone { display: none !important; }
  #timer-hours, #timer-minutes, #timer-seconds, #timer-secunds, #timer-milisekus { font-size: clamp(22px, 7vw, 28px); font-weight: 800; }
  .cc-deco { width: 16%; } .cc-deco--tl { top:-32px; left:-36px; } .cc-deco--br { right:-36px; bottom:-36px; }

  /* --- Offer --- */
  .offer-main { margin-top: 28px; }
  .offer-container { width: 92%; display: flex; flex-direction: column; gap: clamp(12px, 3.5vw, 16px); }
  .offer-left, .offer-right { width: 100%; padding: clamp(16px, 4vw, 20px); border-radius: 24px; }
  .offer-banner { margin-bottom: 8px; border-radius: 12px; }
  .offer-list { gap: 8px; width: 92%; }
  .offer-container button { width: 100%; margin-top: 16px; }

  .spiral::after { background-size: clamp(72px, 20vw, 100px) auto; background-position: right 0 bottom 70%; }
  .flower::after { background-size: clamp(72px, 20vw, 100px) auto; background-position: right 0 bottom 72%; }

  /* --- Reviews (Info) --- */
  .reviews-container { width: 100%; margin-top: 48px; display: block; }
  .reviews-big { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .reviews-left { width: 92%; align-items: center; }
  .reviews-left .big-title { width: 92%; }
  .reviews-left .ordinary_text { width: 92%; text-align: left !important; }
  .reviews-right { width: 92%; margin-top: 20px; gap: 12px; }
  .step-card { padding: clamp(12px, 4vw, 16px); }
  .step-card .ordinary_text { font-size: clamp(14px, 3.8vw, 18px); }
  .step-card::after { right: 12px; width: 4px; }

  /* --- Reviews (Carousel Cards) --- */
  .rereviews-main { margin-top: 48px; }
  .rereviews-main .big-title { width: 92%; margin: 0 auto 12px; text-align: center; }
  
  /* Slider Track logic */
  .reviews-grid.reviews-track {
    display: flex !important; flex-direction: row !important;
    overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    gap: 0; padding: 0 4%; width: 100%; scroll-padding: 0 4%;
  }
  .reviews-grid.reviews-track::-webkit-scrollbar { display: none; }
  .reviews-grid.reviews-track .review-card { flex: 0 0 100%; scroll-snap-align: start; border-radius: 16px; padding: clamp(16px, 4.5vw, 24px); box-sizing: border-box; }

  /* Slider Navigation */
  .reviews-nav { display: flex; gap: 20px; justify-content: center; align-items: center; margin: 16px 0 0; }
  .reviews-nav button {
    width: 56px; height: 56px; border-radius: 999px; border: 0; background: #F6F7FC; box-shadow: 0 6px 16px rgba(21,29,63,.08); position: relative; cursor: pointer;
  }
  .reviews-nav .reviews-prev::after, .reviews-nav .reviews-next::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: solid #1D19B4; border-width: 0 3px 3px 0; transform: rotate(135deg);
  }
  .reviews-nav .reviews-next::after { transform: rotate(-45deg); }

  /* Review Card Internals */
  .review-head { align-items: start; gap: 12px; }
  .review-avatar { width: 40px; height: 40px; }
  .name-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .person-name { font-size: clamp(16px, 4.6vw, 18px); line-height: 1.2; }
  .badge { font-size: clamp(13px, 3.6vw, 14px); color: #9AA1AF; }
  .badge-ico { width: 18px; height: 18px; }
  .meta { margin-top: 2px; font-size: clamp(12px, 3.4vw, 13px); color: #9AA1AF; }
  .kebab { margin-top: 2px; opacity: .55; }

  /* --- Prizes --- */
  .main-prize { margin-top: 48px; }
  .big-prize { display: none !important; }
  .main-prize button { width: 92%; padding: 12px 24px; }
  
  .prize-container { width: 92%; display: flex; flex-direction: column; gap: 20px; margin-top: 24px; position: relative; }
  .prize-left, .prize-right { width: 100%; padding: clamp(16px, 4vw, 24px); position: relative; }
  .prize-left { padding-bottom: 100px; }
  .prize-right .offer-list { width: 100%; }
  .prize-orange-box { padding: 8px 12px; }
  .abs-img-7 { position: absolute; bottom: 0; width: 100% !important; }
  .abs-img-8 { display: none; }

  /* Mobile Prizes List (Grid) */
  .prize-list-mobile {
    display: grid; grid-template-columns: 1fr; gap: clamp(14px, 3.8vw, 18px);
    width: min(92%, 720px); margin: clamp(12px, 3.6vw, 16px) auto 0;
  }
  .prize-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: clamp(16px, 4.6vw, 22px); background: var(--gray-200);
    border-radius: clamp(18px, 5vw, 24px); box-shadow: 0 1px 0 rgba(0,0,0,.02) inset;
  }
  .prize-item__icon { width: clamp(72px, 22vw, 96px); height: auto; object-fit: contain; margin-bottom: clamp(8px, 2.2vw, 12px); }
  .prize-item__text { font-size: clamp(16px, 4.8vw, 20px); font-weight: 500; line-height: 1.35; letter-spacing: 0.2px; color: #1E1E1E; }

  /* --- Last Chance / Anti-Gift / About --- */
  .last-chanse-container { margin-top: 48px; }
  .last-chanse-container .event-info { margin-top: 20px; }
  .participants-container { width: 92%; gap: 8px; margin: 20px 0; display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .participants-container img { width: 100%; max-width: 160px; }
  .participants-container div { font-size: clamp(14px, 3.8vw, 16px); }

  .anti-gift { margin-top: 48px; }
  .anti-gift-both { width: 92%; display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
  .anti-gift-left, .anti-gift-right { width: 100%; padding: clamp(16px, 4vw, 24px); border-radius: 24px; padding-bottom: 72px; }
  .anti-gift-left .semi-title, .anti-gift-right .semi-title { margin-bottom: clamp(60px, 14vw, 100px); }

  .about-us-container { margin-top: 48px; }
  .about-us-all { width: 92%; display: flex; flex-direction: column; gap: 16px; margin: 20px 0 56px; }
  .about-us-left, .about-us-center div, .about-us-right { padding: clamp(12px, 4vw, 20px); border-radius: 24px; }
  .about-us-left, .about-us-center, .about-us-right { width: 100%; }

  .abs-img-11, .abs-img-12 { width: 100%; bottom: 0; }
  .abs-img-13 { right: 0; bottom: 0; width: 32%; }
  .abs-img-14 { right: 0; bottom: 0; width: 100%; border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; }

.season-roadmap__inner,
  .certs__inner,
  .olymp-benefits__inner{
    width: 92%;
  }

  .roadmap-head{
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "badge title chevron"
      "dates dates dates";
  }

  .roadmap-badge{ grid-area: badge; }
  .roadmap-title{ grid-area: title; }
  .roadmap-chevron{ grid-area: chevron; }
  .roadmap-dates{ grid-area: dates; justify-self: start; }

  .certs-grid,
  .benefits-grid{
    grid-template-columns: 1fr;
  }

  .hero-pill{
    font-size: 13px;
    padding: 9px 12px;
  }
}
@media (max-width: 560px) {
.cert-media{ height: clamp(240px, 78vw, 380px); padding: 14px; border-radius: 18px; }
  .cert-img{ border-radius: 12px; }
}
@media (max-width: 520px) {
.wave-head{ flex-wrap: wrap; }
  .wave-range{ flex-basis: 100%; margin-left: 0; order: 3; }
  .wave-chevron{ margin-left: auto; order: 2; }
}
@media (max-width: 380px) {
.subject-page{ gap: 10px; padding: 8px; }
  .subject-card{ padding: 10px; gap: 10px; }
  .slider-btn{ width: 36px; height: 36px; font-size: 18px; }
}
@media (hover: hover) and (pointer: fine) {
.btn:hover,
  .event-info button:hover,
  .countdown-container button:hover,
  .offer-container button:hover,
  .main-prize button:hover{
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
}



/* ========================================= */
/* 12.X MOBILE: SUBJECTS AS VERTICAL LIST    */
/*   - No slider on mobile                   */
/*   - Horizontal rectangular tiles (8 items)*/
/* ========================================= */
@media (max-width: 980px){
  /* Hide navigation arrows on mobile */
  .main-left.subject-slider-wrapper .slider-nav{ display:none !important; }

  /* Disable slider behaviour: show all pages one under another */
  .main-left.subject-slider-wrapper .slider-window{
    overflow: visible !important;
  }
  .main-left.subject-slider-wrapper .slider-track{
    display: block !important;
    transform: none !important;
    transition: none !important;
    width: 100% !important;
  }

  /* Stack subject pages and render cards as single-column list */
  .main-left.subject-slider-wrapper .subject-page{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 !important;
    justify-items: stretch !important;
    margin-top: 12px;
  }

  /* Make cards horizontal rectangles */
  .main-left.subject-slider-wrapper .subject-card{
    width: 100% !important;
    aspect-ratio: auto !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .main-left.subject-slider-wrapper .subject-card img{
    height: 44px !important;
    width: 44px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }

  .main-left.subject-slider-wrapper .card-title{
    text-align: left !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
  }
  .main-left.subject-slider-wrapper .card-title span{
    margin-top: 2px !important;
  }

  /* (Optional) On small screens the section becomes one column */
  .main-title section{
    grid-template-columns: 1fr !important;
  }
  .main-right{
    margin-top: 16px !important;
  }
}

/* --- Mobile: roadmap waves toggle (show only 1st wave + раскрываем остальные) --- */
@media (max-width: 980px) {
  .season-roadmap .roadmap-viewport { overflow: visible; }
  .season-roadmap .roadmap-rail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: none !important; /* disable horizontal slider transforms on mobile */
  }

  .season-roadmap .wave-toggle {
    width: 100%;
    border: 0;
    border-radius: 16px;
    padding: 14px 16px;
    font: inherit;
    font-weight: 600;
    background: #F6F7FC;
    color: #1D19B4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    cursor: pointer;
  }
  .season-roadmap .wave-toggle:active { transform: scale(0.99); }

  .season-roadmap .wave-more {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .season-roadmap .wave-more.is-open {
    max-height: 2000px;
    opacity: 1;
    transform: translateY(0);
  }
}

.btn--big {
  width: 80%;
  height: 72px;
}