/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* =======================================================
   0. GLOBAL SETTINGS & SCROLL
   ======================================================= */
html {
    scroll-padding-top: 120px;
}

/* =======================================================
   1. TOP CASINOS (FINAL) - FIXED
   ======================================================= */
.tc-table {
  --tc-maxw: 1100px; --tc-gap: 18px; --tc-radius: 18px; --tc-row-bg: #1f232a;
  --tc-border: rgba(255,255,255,.10); --tc-shadow: 0 10px 28px rgba(0,0,0,.35);
  --tc-text: #ffffff; --tc-muted: rgba(255,255,255,.70);
  --tc-play-bg: #28a909; --tc-play-hover: #1f8607;
  --tc-dl-bg: #e11d48; --tc-dl-hover: #be123c; --tc-star: #fbbf24;
  max-width: var(--tc-maxw); margin: 0 auto 20px auto;
  display: flex; flex-direction: column; gap: var(--tc-gap);
}
.tc-table:last-child { margin-bottom: 0; }

.tc-row {
  background: var(--tc-row-bg); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); box-shadow: var(--tc-shadow);
  padding: 16px; display: grid;
  /* Базовая сетка (Desktop) */
  grid-template-columns: 120px 1fr 240px;
  grid-template-areas: "left head right" "left mid right";
  gap: 14px 16px; 
  align-items: stretch; /* ВАЖНО: stretch, чтобы колонки были одной высоты */
}

/* ЛЕВАЯ КОЛОНКА (Лого) */
.tc-left { 
  grid-area: left; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.tc-logo {
  width: 92px; height: 92px; object-fit: contain; border-radius: 12px;
  background: transparent; border: 0 !important; outline: 0 !important;
  box-shadow: none !important; padding: 0; display: block;
}

/* ЗАГОЛОВОК И РЕЙТИНГ */
.tc-head { 
  grid-area: head; 
  display: flex; 
  justify-content: flex-start; 
  align-items: center; 
  gap: 12px; 
  min-width: 0;
  align-self: end; /* Прижимаем заголовок к низу его ячейки, ближе к контенту */
}

/* Если ты поменял div на h3, сбрасываем margin */
h3.tc-title, .tc-title { 
  font-size: 26px; 
  font-weight: 950; 
  color: var(--tc-text); 
  line-height: 1.15; 
  letter-spacing: .2px; 
  min-width: 0; 
  margin: 0; /* ВАЖНО: убираем стандартные отступы заголовка */
}

.tc-rating { display: flex; align-items: center; gap: 6px; white-space: nowrap; margin-left: 10px; }
.tc-rating-num { font-weight: 400; color: var(--tc-text); opacity: .92; }
.tc-stars {
  --tc-star-size: 13px; --tc-fill: calc((var(--tc-rating) / 5) * 100%);
  position: relative; display: inline-block; font-size: var(--tc-star-size); line-height: 1;
}
.tc-stars::before { content: "★★★★★"; color: rgba(255,255,255,.22); }
.tc-stars::after {
  content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--tc-fill);
  overflow: hidden; white-space: nowrap; color: var(--tc-star);
}

/* ЦЕНТРАЛЬНАЯ ЧАСТЬ */
.tc-mid { 
  grid-area: mid; 
  min-width: 0; 
}

.tc-bonus {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px;
  border: 1px solid var(--tc-play-bg); background: rgba(40,169,9,.10);
  border-radius: 999px; color: var(--tc-text); line-height: 1.2; margin-top: 8px; font-size: 14px;
}
.tc-bonus-label { font-weight: 900; color: rgba(255,255,255,.85); margin: 0; }
.tc-bonus-val { font-weight: 900; color: #ffffff; }

.tc-pros { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tc-pros li { display: flex; gap: 10px; align-items: flex-start; color: var(--tc-text); font-size: 14px; }
.tc-pros li::before { content: "✔"; font-weight: 900; color: #34d399; line-height: 1; margin-top: 1px; }

/* ПРАВАЯ КОЛОНКА (Кнопки) */
.tc-right { 
  grid-area: right; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  align-items: stretch; 
  justify-content: center; /* Центрируем кнопки по вертикали внутри растянутой колонки */
}

.tc-btn, .tc-btn:visited {
  display: inline-flex; justify-content: center; align-items: center; width: 100%;
  padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 900;
  color: #000 !important; line-height: 1.1; transition: transform .08s ease, background .2s ease;
  box-sizing: border-box; /* Чтобы padding не ломал ширину */
}
.tc-btn--play { background: var(--tc-play-bg); color: #000 !important; }
.tc-btn--play:hover { background: var(--tc-play-hover); transform: translateY(-1px); }
.tc-btn--download { background: var(--tc-dl-bg); color: #fff !important; }
.tc-btn--download:hover { background: var(--tc-dl-hover); transform: translateY(-1px); }
.tc-note { font-size: 12px; color: var(--tc-muted); text-align: center; margin-top: 2px; }

/* --- DESKTOP FIXES --- */
@media (min-width: 821px) {
  .tc-row { 
    /* Убираем align-items: center, оставляем stretch из базового класса */
    align-items: stretch; 
  }
  .tc-left {
    align-self: stretch; /* Растягиваем фон */
    background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
    border-right: 1px solid rgba(255,255,255,.10); 
    margin: -16px 0 -16px -16px; /* Компенсация паддинга родителя */
    padding: 16px; 
    border-top-left-radius: var(--tc-radius); 
    border-bottom-left-radius: var(--tc-radius);
  }
  .tc-right {
    align-self: stretch; /* Растягиваем фон */
    background: #151a20; 
    border-left: 1px solid rgba(255,255,255,.10);
    margin: -16px -16px -16px 0; /* Компенсация паддинга родителя */
    padding: 16px;
    border-top-right-radius: var(--tc-radius); 
    border-bottom-right-radius: var(--tc-radius); 
  }
}

/* --- MOBILE FIXES --- */
@media (max-width: 820px) {
  .tc-row {
    grid-template-columns: 1fr; 
    grid-template-areas: "left" "head" "mid" "right";
    gap: 12px; padding: 16px; 
  }
  .tc-left {
    justify-content: center; 
    background: #151a20; 
    border-bottom: 1px solid rgba(255,255,255,.10);
    margin: -16px -16px 0 -16px; /* Растягиваем заголовок мобилки */
    padding: 16px;
    border-top-left-radius: var(--tc-radius); 
    border-top-right-radius: var(--tc-radius);
    border-bottom-left-radius: 0; /* Сбрасываем радиус снизу */
  }
  .tc-logo { width: 128px; height: 128px; }
  .tc-head { justify-content: center; text-align: center; flex-wrap: wrap; gap: 8px 10px; }
  .tc-title { width: 100%; text-align: center; font-size: 22px; }
  .tc-rating { justify-content: center; width: 100%; margin-left: 0; }
  .tc-right { margin-top: 6px; align-items: stretch; }
  .tc-btn { width: 100%; }
}

@media (max-width: 420px) {
  .tc-logo { width: 90px; height: 90px; } /* Чуть уменьшил для узких экранов */
  .tc-title { font-size: 20px; }
}


/* =======================================================
   2. HEADER & NAVIGATION
   ======================================================= */
.site-header { background-color: #0b0d11 !important; border-bottom: 2px solid #e91e63; box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15); }
.main-navigation { background-color: transparent !important; }
.main-navigation .main-nav ul li a {
    color: #e0e0e0; font-family: inherit; font-weight: 800; text-transform: uppercase;
    font-size: 16px; letter-spacing: 1px; transition: all 0.3s ease;
    padding-left: 15px !important; padding-right: 15px !important;
    line-height: 25px !important; padding-top: 5px !important; padding-bottom: 5px !important;
}
.main-navigation .main-nav ul li:hover > a, 
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #39ff14 !important; text-shadow: 0 0 10px rgba(57, 255, 20, 0.6); background: transparent !important;
}
.main-navigation ul ul {
    background-color: #15181e !important; border: 1px solid #333;
    border-top: 2px solid #39ff14; box-shadow: 0 10px 40px rgba(0,0,0,0.8); width: 220px;
}
.main-navigation ul ul li a { font-size: 12px; font-weight: 600; border-bottom: 1px solid #222; }
.menu-item-has-children .dropdown-menu-toggle { padding-right: 0 !important; margin-left: -8px; }
.header-widget {
    float: none !important; max-width: none !important; width: auto !important;
    margin-left: 20px !important; flex-shrink: 0 !important; order: 2;
    display: flex !important; align-items: center; justify-content: center; flex-grow: 1;
}
@media (min-width: 769px) { .main-navigation .main-nav ul li.mobile-only-btn { display: none !important; } }
@media (max-width: 768px) {
    .header-widget { display: none !important; }
    .site-header .inside-header { justify-content: space-between !important; }
    .main-navigation .main-nav ul li.mobile-only-btn { display: block !important; margin: 20px 15px 10px 15px !important; width: auto; }
    .main-navigation .main-nav ul li.mobile-only-btn a {
        background: #39ff14 !important; color: #051b0e !important; text-align: center !important;
        justify-content: center !important; border-radius: 50px; font-weight: 900 !important;
        font-size: 16px !important; text-transform: uppercase; padding: 15px !important;
        box-shadow: 0 0 20px rgba(57, 255, 20, 0.4); line-height: 1 !important;
    }
    .main-navigation .main-nav ul li.mobile-only-btn a::before { display: none !important; }
}

/* =======================================================
   3. FIXED BOTTOM BUTTON (MOBILE ONLY)
   ======================================================= */
body { padding-bottom: 80px !important; }

/* По умолчанию (на ПК) кнопка скрыта */
.sticky-footer-cta {
    display: none; 
}

/* На мобильных устройствах показываем */
@media (max-width: 768px) {
    .sticky-footer-cta {
        display: flex; /* Включаем */
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        justify-content: center;
        z-index: 9999;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
}

/* Логика скрытия при скролле до футера (работает только когда кнопка видна) */
.sticky-footer-cta.hidden-by-footer {
    transform: translateY(100px);
    opacity: 0;
}

.acid-btn {
    pointer-events: auto;
    background: #39ff14;
    color: #000 !important;
    text-decoration: none !important;
    font-family: inherit;
    font-weight: 900;
    text-transform: uppercase;
    
    /* PILL SHAPE */
    height: 48px;
    padding: 0 40px;
    border-radius: 50px;
    font-size: 18px;
    letter-spacing: 1px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    box-shadow: 5px 15px 25px rgba(57, 255, 20, 0.4);
    border: 2px solid #39ff14;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: btn-pulse 2s infinite;
}

.acid-btn:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.5);
    border-color: #fff;
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 15px rgba(57, 255, 20, 0.3); }
    50% { box-shadow: 0 0 30px rgba(57, 255, 20, 0.6); }
    100% { box-shadow: 0 0 15px rgba(57, 255, 20, 0.3); }
}


/* =======================================================
   4. AVIATOR WIDGETS (FIXED FONTS & INPUTS)
   ======================================================= */
/* 1. PROFIT ENGINE */
.avi-pro-wrapper {
    background: linear-gradient(180deg, #111317 0%, #0b0d11 100%);
    border: 2px solid #e91e63 !important; border-radius: 12px; padding: 15px !important;
    max-width: 380px !important; margin: 30px auto !important;
    color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(233, 30, 99, 0.1);
    font-family: inherit; position: relative; z-index: 1;
}
.avi-header { text-align: center; margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.avi-header h3 { font-size: 18px !important; font-weight: 900; margin: 0; color: #e91e63; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.2; font-family: inherit; }
.avi-header p { font-size: 11px !important; margin: 2px 0 0 0; color: #888; font-family: inherit; }
.avi-row { display: flex; gap: 10px; margin-bottom: 10px; background: transparent; padding: 0; border: none; }
.avi-col { flex: 1; min-width: 0; overflow: hidden; }
.avi-label { font-size: 10px !important; text-transform: uppercase; color: #aaa; margin-bottom: 4px; font-weight: 700; display: block; font-family: inherit; }
.avi-input { 
    width: 100%; max-width: 100%; min-width: 0; background: #f4f4f4 !important;
    border: 1px solid #ccc; color: #000 !important; padding: 8px 10px !important; 
    border-radius: 6px; font-size: 14px !important; font-weight: bold; outline: none; 
    transition: 0.3s; box-sizing: border-box; height: 36px; font-family: inherit;
}
.avi-input:focus { border-color: #e91e63; background: #fff; box-shadow: 0 0 8px rgba(233, 30, 99, 0.3); }
.avi-btn { 
    width: 100%; background: #e91e63; color: #000 !important; border: none; 
    padding: 10px; font-size: 14px !important; font-weight: 800; border-radius: 6px; 
    cursor: pointer; text-transform: uppercase; margin-top: 5px; transition: 0.2s; 
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3); font-family: inherit;
}
.avi-btn:hover { background: #ff1744; transform: translateY(-1px); }
.avi-result { margin-top: 15px; background: #15181e; border-radius: 8px; padding: 15px; text-align: center; border: 1px dashed #444; display: none; animation: fadeIn 0.3s ease; font-family: inherit; }
.avi-profit-title { font-size: 10px; color: #888; text-transform: uppercase; margin-bottom: 2px; font-family: inherit; }
.avi-profit-val { font-size: 32px !important; font-weight: 900; color: #00e676; text-shadow: 0 0 15px rgba(0, 230, 118, 0.2); margin-bottom: 5px; line-height: 1; font-family: inherit; }
.avi-res-details { display: flex; justify-content: space-between; font-size: 11px; color: #aaa; margin-top: 10px; border-top: 1px solid #333; padding-top: 8px; font-family: inherit; }
.avi-badge { display: inline-block; padding: 3px 10px; border-radius: 15px; font-size: 9px; font-weight: bold; text-transform: uppercase; margin-top: 8px; font-family: inherit; }
.badge-safe { background: rgba(0, 230, 118, 0.1); color: #00e676; border: 1px solid #00e676; }
.badge-mid { background: rgba(255, 152, 0, 0.1); color: #ff9800; border: 1px solid #ff9800; }
.badge-high { background: rgba(244, 67, 54, 0.1); color: #f44336; border: 1px solid #f44336; }
.avi-loader { height: 3px; background: #333; margin: 15px 0; border-radius: 2px; overflow: hidden; display: none; }
.avi-loader-bar { height: 100%; background: #e91e63; width: 0%; transition: width 0.8s ease-in-out; }
/* Добавь этот стиль в CSS, чтобы div выглядел как заголовок */
.avi-title {
    font-size: 1.5rem; /* Размер как у h3 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1.2;
}
/* 2. AI PREDICTOR */
.ai-pro-wrapper {
    background: #0b0d11; border: 1px solid rgba(57, 255, 20, 0.3);
    border-top: 2px solid #39ff14; border-radius: 16px; padding: 25px;
    font-family: inherit; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.6); overflow: hidden;
}
.ai-pro-wrapper::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(57, 255, 20, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.02) 1px, transparent 1px);
    background-size: 20px 20px; z-index: 0; pointer-events: none;
}
.ai-content { position: relative; z-index: 1; }
.ai-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 15px; }
.ai-title { color: #fff; font-weight: bold; font-size: 14px; line-height: 1.2; }
.ai-dot { width: 8px; height: 8px; background: #39ff14; border-radius: 50%; box-shadow: 0 0 8px #39ff14; animation: pulse-dot 1s infinite; }
@keyframes pulse-dot { 50% { opacity: 0.3; } }
.terminal-screen { background: rgba(0,0,0,0.5); border: 1px solid #222; padding: 15px; height: 120px; font-size: 12px; color: #39ff14; line-height: 1.5; overflow: hidden; margin-bottom: 20px; border-radius: 6px; }
.ai-result-box { text-align: center; display: none; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:translateY(0);} }
.safe-range-label { font-family: inherit; font-size: 11px; color: #888; text-transform: uppercase; margin-bottom: 5px; }
.safe-range-val { font-family: inherit; font-size: 32px; font-weight: 900; color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
.ai-action-btn { 
    width: 100%; background: transparent; border: 1px solid #39ff14; color: #39ff14; 
    padding: 12px; font-family: inherit; font-weight: bold; cursor: pointer; 
    transition: 0.3s; text-transform: uppercase; border-radius: 4px; 
}
.ai-action-btn:hover { background: #39ff14; color: #000; box-shadow: 0 0 20px rgba(57, 255, 20, 0.4); }

/* --- 3. DEMO TRAINER (UPGRADED) --- */
.reflex-pro-wrapper {
    background: #0b0d11;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    max-width: 500px;
    margin: 30px auto;
}

/* История раундов */
.reflex-history {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    margin-bottom: 10px;
    height: 25px;
    overflow: hidden;
}

.hist-pill {
    background: #1a1d24;
    color: #ff003c; /* Красный по дефолту */
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #333;
}

.hist-pill.win {
    color: #39ff14; /* Зеленый если > 2x */
    border-color: rgba(57, 255, 20, 0.3);
}

/* Экран игры */
.graph-bg {
    position: relative;
    height: 200px;
    background: radial-gradient(circle at bottom left, #1a1a1a, #000);
    border: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    /* Сетка */
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.center-val {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    font-variant-numeric: tabular-nums; /* Чтобы цифры не прыгали */
}

/* Самолетик */
.plane-dot {
    position: absolute;
    bottom: 10%; 
    left: 10%;
    font-size: 32px;
    z-index: 3;
    /* Убрали transition отсюда, чтобы не было глюков при ресете */
    filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.5));
    line-height: 1;
}

.plane-dot.flying {
    animation: plane-shake 0.5s infinite alternate;
}


@keyframes plane-shake {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(2deg); }
}

/* Вспышка при краше/победе */
.game-status-overlay {
    position: absolute; top:0; left:0; right:0; bottom:0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1;
}
.graph-bg.crashed .game-status-overlay {
    background: rgba(255, 0, 60, 0.2);
    opacity: 1;
}
.graph-bg.won .game-status-overlay {
    background: rgba(57, 255, 20, 0.2);
    opacity: 1;
}

/* Кнопка */
.reflex-btn {
    background: #39ff14; /* Зеленый на старт */
    color: #000 !important;
    border: none;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 900;
    border-radius: 8px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
    transition: 0.1s;
    font-family: inherit;
}

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

/* Стиль кнопки когда летим (Жми чтобы забрать) */
.reflex-btn.active {
    background: #ff9100; /* Оранжевый - внимание! */
    color: #000 !important;
    box-shadow: 0 0 25px rgba(255, 145, 0, 0.4);
    animation: btn-pulse 1s infinite;
}

.game-msg {
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    font-weight: bold;
    min-height: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* 4. BONUS BOOSTER */
.booster-box { background: #0b0d11; border: 1px solid #333; border-radius: 16px; padding: 25px; color: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.5); font-family: inherit; }
.booster-header { text-transform: uppercase; font-size: 12px; color: #888; margin-bottom: 15px; letter-spacing: 1px; font-weight: 700; line-height: 1.2; }
.booster-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.booster-input-group { flex: 1; min-width: 0; }
.booster-label { display: block; font-size: 11px; margin-bottom: 5px; color: #aaa; }
.booster-input { 
    width: 100%; max-width: 100%; min-width: 0; background: #f4f4f4 !important;
    border: 1px solid #ccc; color: #000 !important; padding: 12px; border-radius: 8px; 
    font-size: 18px; font-weight: bold; outline: none; transition: 0.3s; font-family: inherit;
}
.booster-input:focus { border-color: #39ff14; background: #fff; box-shadow: 0 0 10px rgba(57, 255, 20, 0.2); }
.booster-arrow { font-size: 24px; color: #39ff14; font-weight: bold; }
.booster-result { flex: 1; background: rgba(57, 255, 20, 0.1); border: 1px solid #39ff14; border-radius: 8px; padding: 10px; text-align: center; }
.total-label { font-size: 10px; color: #39ff14; text-transform: uppercase; font-weight: bold; }
.total-val { font-size: 22px; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.boost-btn { 
    width: 100%; background: linear-gradient(90deg, #39ff14, #00c853); border: none; 
    padding: 14px; border-radius: 8px; color: #000 !important; font-weight: 900; 
    text-transform: uppercase; cursor: pointer; transition: 0.2s; font-family: inherit;
}
.boost-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(57, 255, 20, 0.4); }

/* 5. SERVER STATUS */
.srv-status { 
    background: #000; border: 1px solid #222; border-radius: 6px; 
    padding: 10px 15px; font-family: inherit; font-size: 11px; color: #b0b0b0; 
    display: inline-flex; align-items: center; gap: 15px; margin-top: 20px; 
}
.srv-item { display: flex; align-items: center; gap: 5px; }
.srv-dot { width: 6px; height: 6px; background: #39ff14; border-radius: 50%; box-shadow: 0 0 5px #39ff14; animation: blink 2s infinite; }
.srv-val { color: #fff; font-weight: bold; }
@keyframes blink { 50% { opacity: 0.4; } }

/* =======================================================
   5. LAYOUT & RESPONSIVE FIXES
   ======================================================= */
/* Ограничиваем ширину и центрируем виджеты */
.avi-pro-wrapper, .ai-pro-wrapper, .reflex-pro-wrapper, .booster-box {
    max-width: 500px !important; width: 100% !important; margin: 40px auto !important; box-sizing: border-box !important;
}
/* Фикс для мобилок */
@media (max-width: 600px) {
    .avi-pro-wrapper, .ai-pro-wrapper, .reflex-pro-wrapper, .booster-box { width: 94% !important; margin: 20px auto !important; }
    .avi-row { flex-direction: column; gap: 10px; }
    .avi-profit-val { font-size: 32px; }
    .booster-row { flex-direction: column !important; gap: 5px !important; }
    .booster-input-group, .booster-result { width: 100% !important; }
    .booster-arrow { transform: rotate(90deg); margin: 5px 0; font-size: 20px; }
    .booster-box { padding: 20px 15px !important; }
}

/* =========================================
   6. MINIMALIST TOC (ACCORDION V2)
   ========================================= */
.min-toc-accordion { background: #0b0d11; border: 1px solid #e91e63; border-radius: 12px; margin: 30px 0; width: 100%; overflow: hidden; box-sizing: border-box; }
.toc-min-header { padding: 15px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: transparent; }
.toc-min-title { font-family: inherit; color: #fff; font-weight: 800; font-size: 20px; }
.toc-min-arrow { width: 32px; height: 32px; border: 1px solid #39ff14; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
.toc-min-header.active .toc-min-arrow { transform: rotate(180deg); background: rgba(57, 255, 20, 0.1); }
.toc-min-body { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; padding: 0 25px; }
.toc-min-body.open { max-height: 1000px; padding-bottom: 25px; }
.toc-min-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.toc-min-grid a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: 13px; font-weight: 600; font-family: inherit; border: 1px solid #e91e63; border-radius: 8px; padding: 8px 16px; background: rgba(233, 30, 99, 0.05); transition: all 0.2s ease; }
.toc-min-grid a span { color: #39ff14; font-size: 14px; line-height: 1; }
.toc-min-grid a:hover { background: #e91e63; color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3); }
.toc-min-grid a:hover span { color: #fff; }
@media (max-width: 600px) { .toc-min-header { padding: 15px; } .toc-min-body { padding: 0 15px; } .toc-min-body.open { padding-bottom: 15px; } .toc-min-grid a { width: 100%; } }

/* =========================================
   7. PROMOCODE VAULT
   ========================================= */
.vault-pro-wrapper { background: #0b0d11; border: 1px solid rgba(57, 255, 20, 0.3); border-radius: 16px; padding: 30px; max-width: 450px; width: 100%; margin: 30px auto; font-family: inherit; color: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.6); position: relative; overflow: hidden; text-align: center; box-sizing: border-box; }
.vault-pro-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px); background-size: 20px 20px; pointer-events: none; z-index: 0; }
.vault-content { position: relative; z-index: 1; }
.vault-header { color: #39ff14; font-weight: 900; text-transform: uppercase; font-size: 14px; margin-bottom: 20px; letter-spacing: 2px; text-shadow: 0 0 10px rgba(57, 255, 20, 0.4); }
.code-box { background: #000; border: 2px dashed #333; padding: 20px; border-radius: 8px; position: relative; cursor: pointer; transition: 0.3s; margin-bottom: 15px; }
.code-box:hover { border-color: #39ff14; box-shadow: 0 0 20px rgba(57, 255, 20, 0.1); }
.hidden-text { font-family: inherit; font-size: 28px; font-weight: 900; color: #fff; filter: blur(8px); transition: 0.3s; user-select: none; opacity: 0.5; }
.overlay-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; font-weight: 800; font-size: 12px; text-transform: uppercase; background: rgba(0,0,0,0.8); padding: 5px 10px; border-radius: 4px; border: 1px solid #333; white-space: nowrap; }
.code-box.unlocked { border-style: solid; border-color: #39ff14; }
.code-box.unlocked .hidden-text { filter: blur(0); opacity: 1; color: #39ff14; text-shadow: 0 0 15px rgba(57, 255, 20, 0.5); }
.code-box.unlocked .overlay-text { display: none; }
.vault-btn { background: #333; color: #aaa; border: none; padding: 10px 20px; border-radius: 6px; font-size: 12px; font-weight: bold; text-transform: uppercase; width: 100%; cursor: default; transition: 0.3s; font-family: inherit; }
.vault-btn.active { background: #39ff14; color: #000; box-shadow: 0 0 15px rgba(57, 255, 20, 0.4); }
@media (max-width: 600px) { .vault-pro-wrapper { width: 94% !important; padding: 20px !important; } .hidden-text { font-size: 22px; } }

