/* =========================
   NAVBAR
========================= */

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 84px;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, min-height 0.25s ease;
}

.site-navbar.navbar-scrolled {
    background: rgba(10, 10, 10, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 76px;
}

.site-brand {
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-toggler {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.4rem 0.65rem;
}

.site-toggler:focus {
    box-shadow: none;
}

.site-toggler .navbar-toggler-icon {
    filter: invert(1);
    width: 1.2rem;
    height: 1.2rem;
}

.site-nav-list {
    align-items: center;
    gap: 0.2rem;
}

.site-nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.7rem 0.9rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav-link:hover {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.45rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.95);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.site-nav-link:hover::after {
    transform: scaleX(1);
}

/* мобильное меню */
@media (max-width: 991px) {
    .site-navbar {
        min-height: 78px;
    }

    .site-navbar-collapse {
        margin-top: 12px;
        padding: 14px 16px;
        border-radius: 16px;
        background: rgba(18, 18, 18, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav-list {
        align-items: flex-start;
        gap: 0;
    }

    .site-nav-link {
        width: 100%;
        padding: 0.85rem 0 !important;
        margin: 0;
    }

    .site-nav-link::after {
        left: 0;
        right: auto;
        width: 36px;
        bottom: 0.5rem;
    }
}

/* =========================
   FOOTER — МИНИМАЛИЗМ
========================= */

.site-footer {
    margin-top: 40px;
    padding: 24px 0;
    background: transparent;
    border: none;
}

.footer-links,
.footer-meta,
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 10px;
}

.footer-links a,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-links a:hover,
.footer-bottom a:hover {
    color: #ffffff;
}

.footer-meta span,
.footer-bottom span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

/* мобилка */
@media (max-width: 768px) {
    .site-footer {
        padding: 20px 0;
    }

    .footer-meta span,
    .footer-bottom span {
        font-size: 0.85rem;
    }
}

/* =========================
   ГЛАВНАЯ
========================= */

.home-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.home-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* секция */
.home {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
}

/* контент */
.home-content {
    max-width: 820px;
}

/* текст */
.home-text {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.50rem;   /* в 2 раза меньше */
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
}

/* заголовок */
.home-title {
    margin: 0;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 200;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
}
/* 📱 мобилка */
@media (max-width: 768px) {
    .home {
        padding-top: 100px;
    }

    .home-content {
        max-width: 100%;
    }

    .home-title {
        font-size: 1.6rem;
        line-height: 1.4;
        max-width: 100%;
    }

    .home-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}


/* =========================
   ABOUT
========================= */

.about-header {
    max-width: 900px;
    margin-bottom: 32px;
}

.about-intro-text {
    max-width: 760px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 28px;
}

.about-card-content {
    height: 100%;
}

.about-card-title {
    margin: 0 0 16px;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
}

.about-card-text {
    margin-bottom: 16px;
}

.about-achievements {
    margin-top: 18px;
}

.about-achievements-label {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-date {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.about-card-image-wrap {
    overflow: hidden;
    border-radius: 18px;
}

.about-card-image {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.empty-block {
    padding: 24px;
}

@media (max-width: 768px) {
    .about-card {
        padding: 18px;
    }

    .about-card-title {
        font-size: 1.3rem;
    }

    .about-card-image {
        max-height: 300px;
    }
}

/* =========================
   ТЕМНЫЕ СТРАНИЦЫ (кроме главной)
========================= */

.page-dark {
    min-height: 100vh;
    background: transparent;
}

body.site-body {
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 60%),
        linear-gradient(180deg, #121212 0%, #0f0f0f 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* =========================
   NAVBAR — ПРОЗРАЧНЫЙ
========================= */

.site-navbar {
    background: transparent;
    padding: 20px 0;
}

/* ссылки */
.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: 0.2s ease;
}

/* hover */
.site-navbar .nav-link:hover {
    color: #ffffff;
}

/* активная ссылка */
.site-navbar .nav-link.active {
    color: #ffffff;
}

/* ABOUT WIDTH FIX */
.about-text-col,
.about-card-content {
    min-width: 0;
}

.about-card-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.about-card-title,
.about-card-text,
.about-achievements,
.about-achievements-text,
.about-date {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about-card-text p,
.about-achievements-text p {
    max-width: 100%;
    margin-bottom: 0.8rem;
}

.about-card-image-wrap {
    width: 100%;
}

.about-card-image {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .about-text-col {
        padding-right: 8px;
    }

    .about-image-col {
        padding-left: 8px;
    }
}

/* =========================
   ABOUT
========================= */

.about-header {
    max-width: 900px;
    margin-bottom: 32px;
}

.about-intro-text {
    max-width: 760px;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    padding: 28px;
}

.about-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

.about-card-left {
    min-width: 0;
}

.about-card-right {
    min-width: 0;
}

.about-card-title {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
}

.about-card-text,
.about-achievements-text {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.about-card-text {
    margin-bottom: 16px;
}

.about-achievements {
    margin-top: 16px;
}

.about-achievements-label {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
}

.about-date {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.about-card-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.about-card-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.empty-block {
    padding: 24px;
}

@media (max-width: 991px) {
    .about-card {
        padding: 20px;
    }

    .about-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card-image {
        height: auto;
        max-height: 360px;
    }
}

@media (max-width: 768px) {
    .about-card-title {
        font-size: 1.3rem;
    }

    .about-card-image {
        max-height: 300px;
    }
}

.card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.about-card {
    margin-bottom: 28px;
}

.about-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

.about-card-left,
.about-card-right {
    min-width: 0;
}

.about-card-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-card-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .about-card-grid {
        grid-template-columns: 1fr;
    }

    .about-card-image {
        height: auto;
        max-height: 360px;
    }
}

/* =========================
   FEEDBACK
========================= */

.feedback-header {
    max-width: 900px;
    margin-bottom: 32px;
}

.feedback-intro-text {
    max-width: 760px;
}

.feedback-carousel-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.feedback-status-line {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.feedback-status-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    white-space: nowrap;
}

.feedback-progress-track {
    position: relative;
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.feedback-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.9);
}

.feedback-indicators {
    position: static;
    margin: 0 0 18px 0;
    justify-content: center;
}

.feedback-card {
    padding: 40px 32px;
    border-radius: 24px;
}

.feedback-card-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.feedback-quote-mark {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.22);
    font-size: 4rem;
    line-height: 1;
    font-weight: 500;
}

.feedback-text {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.9;
}

.feedback-text p:last-child {
    margin-bottom: 0;
}

.feedback-author {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.feedback-photo-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.feedback-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feedback-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .feedback-status-line {
        gap: 10px;
        margin-bottom: 14px;
    }

    .feedback-card {
        padding: 26px 18px;
        border-radius: 20px;
    }

    .feedback-quote-mark {
        font-size: 3rem;
    }

    .feedback-text {
        font-size: 1rem;
        line-height: 1.75;
    }

    .feedback-photo-wrap {
        width: 120px;
        height: 120px;
    }
    .feedback-photo-wrap:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
}

    .feedback-name {
        font-size: 0.95rem;
    }
}
/* =========================
   WORKS
========================= */

.works-page {
    padding-top: 140px;
    padding-bottom: 60px;
}

.works-header {
    max-width: 920px;
    margin-bottom: 42px;
}

.works-intro-text {
    max-width: 780px;
}

.works-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.works-card.card-dark {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    margin: 0;
}

.works-card-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.works-card-title {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
}

.works-card-text {
    max-width: 760px;
    margin-bottom: 20px;
}

.works-media-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 18px;
}

.works-video,
.works-preview-image {
    width: 100%;
    max-width: 100%;
    display: block;
}

.works-video {
    height: 520px;
    max-height: 520px;
    object-fit: contain;
    background: #000;
}

.works-preview-image {
    height: 520px;
    max-height: 520px;
    object-fit: cover;
}

.works-card-subtext {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
    .works-page {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .works-list {
        gap: 28px;
    }

    .works-card.card-dark {
        padding: 18px;
        border-radius: 20px;
    }

    .works-card-title {
        font-size: 1.3rem;
    }

    .works-card-text,
    .works-card-subtext {
        max-width: 100%;
    }

    .works-video,
    .works-preview-image {
        height: 260px;
        max-height: 260px;
    }
}


/* =========================
   TRAINING
========================= */

.training-page {
    padding-top: 140px;
    padding-bottom: 60px;
}

.training-header {
    max-width: 920px;
    margin-bottom: 42px;
}

.training-intro-text {
    max-width: 780px;
}

.training-section {
    margin-bottom: 56px;
}

.training-section-title {
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.2;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.training-card.card-dark {
    padding: 28px;
    border-radius: 24px;
}

.training-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.training-card-left,
.training-card-right {
    min-width: 0;
}

.training-card-title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.2;
}

.training-card-text {
    max-width: 760px;
}

.training-card-actions {
    margin-top: 22px;
}

.training-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    background: transparent;
    transition: 0.25s ease;
}

.training-btn:hover {
    color: #0f0f0f;
    background: #ffffff;
}

.training-card-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.training-card-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .training-card-grid {
        grid-template-columns: 1fr;
    }

    .training-card-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .training-page {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .training-section {
        margin-bottom: 42px;
    }

    .training-card.card-dark {
        padding: 18px;
        border-radius: 20px;
    }

    .training-card-image {
        height: 240px;
    }
}

/* =========================
   ONLINE
========================= */

.online-page {
    padding-top: 140px;
    padding-bottom: 60px;
}

.online-header {
    max-width: 920px;
    margin-bottom: 42px;
}

.online-intro-text {
    max-width: 780px;
}

.online-carousel-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.online-indicators {
    position: static;
    margin: 0 0 18px 0;
    justify-content: center;
}

.online-card.card-dark {
    padding: 28px;
    border-radius: 24px;
}

.online-card-inner {
    width: 100%;
    max-width: 100%;
}

.online-card-top {
    max-width: 760px;
    margin-bottom: 20px;
}

.online-card-title {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
}

.online-card-text {
    max-width: 760px;
}

.online-media-wrap {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.online-video,
.online-preview-image {
    width: 100%;
    display: block;
}

.online-video {
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: none;
    object-fit: cover;
    background: #000;
}

.online-preview-image {
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: none;
    object-fit: cover;
}

.online-control {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    opacity: 1;
}

@media (max-width: 768px) {
    .online-page {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .online-card.card-dark {
        padding: 18px;
        border-radius: 20px;
    }

    .online-card-title {
        font-size: 1.25rem;
    }

    .online-video,
    .online-preview-image {
        height: 260px;
        max-height: 260px;
    }

    .online-control {
        width: 42px;
        height: 42px;
    }
}


.page-wrap {
    padding-top: 140px;
}

/* =========================
   ANIMATIONS
========================= */

/* базовая анимация появления */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* небольшие задержки */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* карточки */
.card-dark {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background 0.35s ease;
}

.card-dark:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

/* фото */
.about-card-image,
.training-card-image,
.feedback-photo,
.online-preview-image,
.works-preview-image {
    transition: transform 0.5s ease;
}

.about-card-image-wrap:hover .about-card-image,
.training-card-image-wrap:hover .training-card-image,
.online-media-wrap:hover .online-preview-image,
.works-media-wrap:hover .works-preview-image {
    transform: scale(1.04);
}

/* видео-обертки */
.works-media-wrap,
.online-media-wrap {
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.works-media-wrap:hover,
.online-media-wrap:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.14);
}

/* кнопки */
.training-btn {
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.training-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* ссылки в навигации */
.site-navbar .nav-link {
    transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.site-navbar .nav-link:hover {
    transform: translateY(-1px);
}

/* уважение к настройкам пользователя */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal.is-visible,
    .card-dark,
    .about-card-image,
    .training-card-image,
    .feedback-photo,
    .online-preview-image,
    .works-preview-image,
    .works-media-wrap,
    .online-media-wrap,
    .training-btn,
    .site-navbar .nav-link {
        transition: none !important;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }
}

.online-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
}

.online-card-price {
    margin-top: 14px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
}

.online-card-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.online-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    background: transparent;
    transition: 0.25s ease;
}

.online-buy-btn:hover {
    color: #0f0f0f;
    background: #ffffff;
}

/* =========================
   ONLINE — MOBILE FIX
========================= */

@media (max-width: 768px) {

    /* убираем стрелки */
    .online-control {
        display: none;
    }

    /* карточка компактнее */
    .online-card {
        padding: 16px;
    }

    /* ОБЁРТКА ВИДЕО */
    .online-media-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #000;
        border-radius: 14px;
        overflow: hidden;
    }

    /* ВАЖНО: вертикальное видео */
    .online-video,
    .online-preview-image {
        width: auto;
        height: 70vh;        /* контролируем высоту */
        max-height: 75vh;
        max-width: 100%;
        object-fit: contain; /* не обрезает */
        display: block;
    }

    /* текст */
    .online-card-title {
        font-size: 1.2rem;
    }

    .online-card-price {
        font-size: 1.1rem;
    }

    /* кнопка */
    .online-buy-btn {
        width: 100%;
    }
}

/* =========================
   CIRCLE BUTTON FINAL CLEAN
========================= */

.circle-btn {
    position: fixed;
    right: 40px;
    bottom: 90px;

    width: 150px;
    height: 150px;

    z-index: 9999;
    display: block;
    text-decoration: none;
}

/* SVG вращение */
.circle-btn-svg {
    width: 100%;
    height: 100%;
    display: block;
    animation: circleSpin 16s linear infinite;
}

/* текст по кругу */
.circle-btn-text-svg {
    fill: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* центр */
.circle-btn-center {
    position: absolute;
    left: 50%;
    top: 50%;

    width: 60px;
    height: 60px;

    transform: translate(-50%, -50%);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.25);

    backdrop-filter: blur(6px);

    transition: all 0.3s ease;
}

/* внутренний круг */
.circle-btn-center::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* hover */
.circle-btn:hover .circle-btn-center {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
}

.circle-btn:hover .circle-btn-text-svg {
    fill: #ffffff;
}

/* вращение */
@keyframes circleSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .circle-btn {
        right: 20px;
        bottom: 80px;
        width: 110px;
        height: 110px;
    }

    .circle-btn-text-svg {
        font-size: 10px;
        letter-spacing: 1.2px;
    }

    .circle-btn-center {
        width: 44px;
        height: 44px;
    }

    .circle-btn-center::before {
        inset: 8px;
    }
}

/* Аналитика */
.analytics-container {
    padding: 20px;
}

.stats-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    min-width: 150px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #007bff;
}

.stat-label {
    color: #6c757d;
    margin-top: 5px;
}

.analytics-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.analytics-table-wrapper {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.analytics-table-wrapper h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
}

.analytics-table th,
.analytics-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.analytics-table th {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.blocked-ips {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
}

.blocked-ips ul {
    margin: 0;
    padding-left: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 14px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: #ffc107;
}

.cookie-buttons .btn-primary {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
}