* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: #25223b;
    --soft: #7d7498;
    --purple: #9b72f2;
    --purple-dark: #7c55d9;
    --border: #eadcff;
    --shadow: 0 22px 55px rgba(156, 120, 255, 0.14);
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fff7fb 0%, #f7efff 48%, #effaf7 100%);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 30px;
    font-weight: 900;
    color: #222037;
}

.nav {
    display: flex;
    gap: 12px;
}

.nav a {
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 999px;
    color: #37304f;
    font-size: 15px;
    font-weight: 800;
}

.nav a:hover,
.active-link {
    background: #eee6ff;
    color: var(--purple-dark) !important;
    box-shadow: 0 10px 24px rgba(155, 114, 242, 0.16);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    transition: 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.primary {
    color: white;
    background: linear-gradient(135deg, #a985ff, #8f63e8);
    box-shadow: 0 16px 28px rgba(143, 99, 232, 0.26);
}

.secondary {
    color: var(--purple-dark);
    background: #ffffff;
    border: 2px solid rgba(155, 114, 242, 0.26);
    box-shadow: 0 12px 26px rgba(155, 114, 242, 0.12);
}

/* LANDING */

.guest-landing {
    width: 100%;
}

.guest-hero {
    width: 92%;
    max-width: 1320px;
    margin: 32px auto 70px auto;
    padding: 48px 44px;
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 54px;
    align-items: center;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
}

.guest-pill {
    display: none;
}

.guest-hero-left h1 {
    font-size: 56px;
    line-height: 1.08;
    margin-bottom: 22px;
    color: #25223b;
}

.guest-hero-left h1 span {
    color: var(--purple);
}

.guest-hero-text {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--soft);
    margin-bottom: 26px;
}

.guest-hero-actions {
    display: none;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

/* THREE MINI CARDS */

.guest-mini-benefits {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guest-mini-card {
    min-height: 110px !important;
    padding: 16px 18px !important;
    border-radius: 22px !important;
}

.guest-mini-card img {
    width: 70px !important;
    height: 70px !important;
}

.guest-mini-card strong {
    font-size: 18px !important;
}

.guest-mini-card p {
    font-size: 14px !important;
}
/* якщо екран менший */
@media (max-width: 1200px) {
    .guest-mini-benefits {
        grid-template-columns: 1fr;
    }

    .guest-mini-card {
        max-width: 520px;
    }
}

/* RIGHT HERO SCENE */

.guest-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-40px);
}

.cute-hero-scene {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 430px;
    border-radius: 34px;
    background:
        url("/static/images/bg-cute.png") center/cover no-repeat,
        linear-gradient(145deg, #fffaff, #f5eeff);
    border: 3px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(156, 120, 255, 0.13);
}

.cute-blob {
    position: absolute;
    width: 450px;
    height: 300px;
    right: 35px;
    top: 80px;
    border-radius: 50%;
    background: rgba(222, 208, 255, 0.7);
}

.cute-cat-img {
    position: absolute;
    width: 180px;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
}

.cute-card-day {
    position: absolute;
    width: 380px;
    min-height: 150px;
    left: 72px;
    top: 168px;
    z-index: 5;
    padding: 22px 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
    border: 2px solid #efe5ff;
    box-shadow: 0 16px 34px rgba(134, 102, 200, 0.14);
}

.cute-card-title {
    text-align: center;
    color: #8d63df;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
}

.cute-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.cute-word-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: #dff0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.cute-card-content h3 {
    font-size: 30px;
    color: #211d38;
}

.cute-card-content p {
    font-size: 18px;
    color: #7b7398;
}

.cute-stats-row {
    position: absolute;
    left: 70px;
    right: 34px;
    bottom: 28px;
    z-index: 7;
    display: grid;
    grid-template-columns: 110px 110px 1fr;
    gap: 16px;
}

.cute-stat-box {
    padding: 16px 15px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid #efe5ff;
    box-shadow: 0 12px 26px rgba(134, 102, 200, 0.12);
}

.cute-stat-box span {
    display: block;
    color: #7f739d;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}

.cute-stat-box strong {
    display: block;
    font-size: 28px;
    color: #211d38;
}

.cute-focus-box {
    background: #fff3d8;
    border-color: #f5dfad;
}

.cute-focus-box strong {
    font-size: 17px;
    line-height: 1.3;
}

/* SECTIONS */

.guest-steps,
.guest-reviews,
.guest-final-hero {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 44px 0;
}

.section-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 34px;
}

.section-badge {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--purple-dark);
    border: 1px solid var(--border);
    box-shadow: 0 10px 22px rgba(155, 114, 242, 0.10);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 16px;
}

.section-heading h2 {
    font-size: 38px;
    color: #25223b;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--soft);
    font-size: 17px;
    line-height: 1.7;
}

.guest-steps-grid,
.guest-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guest-step-card,
.guest-review-card {
    padding: 26px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid var(--border);
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.10);
}

.guest-step-number {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: #f3e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-dark);
    font-weight: 900;
    margin-bottom: 16px;
}

.guest-step-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 22px auto;
}

.guest-step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.guest-step-card h3,
.guest-review-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.guest-step-card p,
.guest-review-card p {
    color: var(--soft);
    line-height: 1.65;
}

/* REVIEWS */

.guest-review-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.guest-review-avatar-img {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    border-radius: 18px;
    object-fit: cover;
}

.guest-review-top span {
    color: var(--soft);
    font-size: 14px;
}

.guest-review-stars {
    color: #f6b93b;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.featured-review {
    background: #f7efff;
}

/* FINAL BLOCK */

.guest-final-container {
    padding: 44px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
    align-items: center;
}

.guest-final-left h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.final-qa {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.final-qa-item {
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 2px solid var(--border);
}

.final-qa-item span {
    color: var(--purple-dark);
    font-weight: 900;
}

.final-qa-item p {
    margin-top: 6px;
    color: var(--soft);
}

.guest-final-right img {
    width: 100%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .guest-hero,
    .guest-final-container {
        grid-template-columns: 1fr;
    }

    .guest-hero-right {
        transform: none;
    }

    .guest-mini-benefits,
    .guest-steps-grid,
    .guest-reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .container {
        flex-direction: column;
        gap: 16px;
    }

    .guest-hero {
        padding: 28px 20px;
    }

    .guest-hero-left h1 {
        font-size: 38px;
    }

    .cute-hero-scene {
    max-width: 520px !important;
    height: 360px !important;
}

    .cute-card-day {
    width: 320px !important;
    top: 140px !important;
}
    .cute-stats-row {
        left: 20px;
        right: 20px;
        grid-template-columns: 1fr 1fr;
    }

    .cute-focus-box {
        grid-column: 1 / -1;
    }

    .btn {
        width: 100%;
    }
}
/* =========================
   FIX ALL INNER PAGES
========================= */

.auth-page,
.profile-page,
.cards-premium-page,
.training-hub-page,
.training-lux-page,
.profile-dashboard-page,
.member-home-page {
    width: 92%;
    max-width: 1320px;
    margin: 40px auto;
    padding: 40px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid #efe4ff;
    box-shadow: 0 18px 45px rgba(155, 109, 255, 0.12);
}

.auth-page {
    min-height: calc(100vh - 220px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 34px;
    border-radius: 32px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    box-shadow: 0 16px 38px rgba(155, 109, 255, 0.14);
    text-align: center;
}

.auth-card h2 {
    font-size: 30px;
    margin-bottom: 24px;
}

.auth-card form,
.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input,
textarea,
.search-filter-input,
.training-input {
    width: 100%;
    padding: 16px 18px;
    border-radius: 18px;
    border: 2px solid #efe4ff;
    background: #ffffff;
    font-size: 16px;
    outline: none;
}

input:focus,
textarea:focus,
.search-filter-input:focus,
.training-input:focus {
    border-color: #9b72f2;
    box-shadow: 0 0 0 5px rgba(155, 114, 242, 0.15);
}

.cards-premium-hero,
.training-hub-hero,
.training-lux-hero,
.profile-hero-card,
.member-home-hero {
    margin-bottom: 34px;
}

.cards-premium-hero h1,
.training-hub-left h1,
.training-lux-hero h1,
.profile-hero-left h1,
.member-home-left h1 {
    font-size: 46px;
    color: #25223b;
    margin-bottom: 12px;
}

.cards-premium-hero p,
.training-hub-left p,
.training-lux-hero p,
.profile-bio-text,
.member-home-text {
    font-size: 18px;
    line-height: 1.7;
    color: #7a7194;
}

.decks-premium-grid,
.flip-cards-grid,
.dictionary-flip-grid,
.profile-stats-grid,
.profile-sections-grid,
.member-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.deck-premium-card,
.empty-premium-card,
.training-mode-card,
.profile-stat-card,
.profile-section-card,
.profile-edit-card,
.member-guide-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: 34px;

    background:
        linear-gradient(145deg, rgba(255,255,255,0.96), rgba(250,245,255,0.96));

    border: 2px solid rgba(234, 220, 255, 0.9);

    box-shadow:
        0 18px 45px rgba(155, 109, 255, 0.12),
        0 0 0 6px rgba(155, 114, 242, 0.04);

    transition: 0.3s ease;
}
.deck-premium-card::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(255, 210, 230, 0.25),
            rgba(200, 220, 255, 0.18),
            rgba(225, 210, 255, 0.22)
        );

    z-index: 0;
}

.deck-premium-card > * {
    position: relative;
    z-index: 2;
}

.deck-premium-card:hover,
.training-mode-card:hover,
.member-guide-card:hover {
    transform: translateY(-8px) scale(1.01);

    box-shadow:
        0 28px 55px rgba(155, 109, 255, 0.20),
        0 0 0 8px rgba(155, 114, 242, 0.06);
}

.deck-premium-card h3,
.training-mode-card h3,
.empty-premium-card h3,
.member-guide-card h3 {
    font-size: 26px;
    color: #25223b;
    margin-bottom: 12px;
}

.deck-premium-card p,
.training-mode-card p,
.empty-premium-card p,
.member-guide-card p {
    color: #7a7194;
    line-height: 1.65;
}

.deck-premium-icon {
    width: 84px;
    height: 84px;
    border-radius: 28px;

    background:
        linear-gradient(135deg, #f4e8ff, #fff0d8);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 42px;

    margin-bottom: 20px;

    box-shadow:
        0 12px 24px rgba(155, 109, 255, 0.14),
        inset 0 0 12px rgba(255,255,255,0.6);
}
.training-mode-icon,
.member-guide-icon,
.empty-premium-emoji {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: #f2e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 16px;
}

.flip-card,
.dictionary-flip-card {
    height: 360px;
    cursor: pointer;
}

.flip-card-item,
.dictionary-flip-card-item {
    perspective: 1200px;
}

.flip-card-inner,
.dictionary-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card-inner,
.dictionary-flip-card.is-flipped .dictionary-flip-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back,
.dictionary-flip-front,
.dictionary-flip-back {
    position: absolute;
    inset: 0;
    padding: 28px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.12);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flip-card-back,
.dictionary-flip-back {
    transform: rotateY(180deg);
    background: #f7f1ff;
}

.flip-card-front h3,
.flip-card-back h3,
.dictionary-flip-front h3,
.dictionary-flip-back h3 {
    font-size: 32px;
    margin: 14px 0;
}

.training-lux-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.training-lux-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
    align-items: center;
}

.training-lux-progress-card,
.training-lux-mini-box,
.training-lux-main-card,
.training-summary-card {
    padding: 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.10);
}

.training-lux-main-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.training-lux-main-word {
    font-size: 56px;
    margin: 16px 0;
}

.training-mode-switch,
.training-controls,
.training-summary-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.training-mode-btn,
.choice-btn {
    border: none;
    padding: 16px 22px;
    border-radius: 22px;
    background: #ffffff;
    color: #7c55d9;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(155, 109, 255, 0.14);
}

.training-mode-btn:hover,
.choice-btn:hover,
.choice-btn-active {
    background: #9b72f2;
    color: #ffffff;
}

.training-choices-grid {
    width: 100%;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 20px auto;
}

.training-correct-block {
    display: none;
    padding: 20px;
    border-radius: 24px;
    background: #dff8ed;
    margin-top: 14px;
}

.footer {
    margin-top: 40px;
    padding: 28px 0;
    background: rgba(255, 255, 255, 0.78);
    border-top: 2px solid #efe4ff;
}

.footer-container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .training-lux-topbar,
    .profile-sections-grid {
        grid-template-columns: 1fr;
    }

    .auth-page,
    .profile-page,
    .cards-premium-page,
    .training-hub-page,
    .training-lux-page,
    .profile-dashboard-page,
    .member-home-page {
        padding: 24px;
    }
}

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

    .cards-premium-hero h1,
    .training-hub-left h1,
    .training-lux-hero h1,
    .profile-hero-left h1,
    .member-home-left h1 {
        font-size: 34px;
    }

    .btn {
        width: 100%;
    }
}
/* =========================
   LOGGED-IN HOME PAGE FIX
========================= */

.member-home-page {
    width: 92%;
    max-width: 1320px;
    margin: 32px auto 70px;
    padding: 0;
}

.member-home-hero {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
    padding: 46px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 85% 20%, rgba(223, 248, 237, 0.75), transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(255, 219, 233, 0.75), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7efff);
    border: 2px solid #efe4ff;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.14);
    margin-bottom: 54px;
}

.member-home-left h1 {
    font-size: 56px;
    line-height: 1.08;
    color: #25223b;
    margin-bottom: 18px;
}

.member-home-text {
    font-size: 19px;
    line-height: 1.75;
    color: #7a7194;
    max-width: 680px;
    margin-bottom: 26px;
}

.member-home-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.member-home-right {
    display: flex;
    justify-content: center;
}

.member-route-card {
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: 34px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    box-shadow: 0 18px 42px rgba(155, 109, 255, 0.14);
}

.member-route-card::before {
    content: "🐱";
    display: block;
    font-size: 74px;
    text-align: center;
    margin-bottom: 10px;
}

.member-route-card h3 {
    font-size: 30px;
    color: #25223b;
    margin-bottom: 18px;
    text-align: center;
}

.member-route-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #efe4ff;
}

.member-route-step:last-child {
    border-bottom: none;
}

.member-route-step span {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: #f2e8ff;
    color: #7c55d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.member-route-step p {
    color: #7a7194;
    line-height: 1.55;
    font-size: 16px;
}

.member-guide-section {
    margin-top: 20px;
}

.member-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.member-guide-card {
    text-decoration: none;
    padding: 28px 24px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.10);
    transition: 0.25s ease;
}

.member-guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(155, 109, 255, 0.16);
}

.member-guide-icon {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f2e8ff, #fff2d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 18px;
}

.member-guide-card h3 {
    font-size: 24px;
    color: #25223b;
    margin-bottom: 10px;
}

.member-guide-card p {
    font-size: 16px;
    line-height: 1.65;
    color: #7a7194;
}

.member-guide-link {
    margin-top: 16px;
    color: #7c55d9;
    font-weight: 900;
}

.member-extra-card {
    margin-top: 46px;
    padding: 38px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 219, 233, 0.8), transparent 28%),
        linear-gradient(135deg, #ffffff, #f7efff);
    border: 2px solid #efe4ff;
    box-shadow: 0 18px 42px rgba(155, 109, 255, 0.12);
    text-align: center;
}

.member-extra-card h2 {
    font-size: 38px;
    color: #25223b;
    margin-bottom: 14px;
}

.member-extra-card p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #7a7194;
}

.member-flow {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.member-flow-item {
    padding: 14px 20px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid #efe4ff;
    color: #25223b;
    font-weight: 900;
}

.member-flow-arrow {
    color: #9b72f2;
    font-size: 24px;
    font-weight: 900;
}

@media (max-width: 1100px) {
    .member-home-hero,
    .member-guide-grid {
        grid-template-columns: 1fr;
    }

    .member-home-hero {
        padding: 30px;
    }
}

@media (max-width: 700px) {
    .member-home-left h1 {
        font-size: 36px;
    }

    .member-home-text {
        font-size: 17px;
    }

    .member-home-actions {
        flex-direction: column;
    }
}
.guest-mini-card {
    border: 2px solid rgba(155, 114, 242, 0.35) !important;
    border-radius: 26px !important;
    background: #ffffff;
    box-shadow:
        0 10px 25px rgba(155, 114, 242, 0.08),
        0 0 0 4px rgba(155, 114, 242, 0.05);
}
/* ЗБІЛЬШЕННЯ КАРТИНКИ В БЛОЦІ "ЧОМУ СКЛАДНО" */
.guest-final-right img {
    width: 550px !important;
    max-width: none !important;
    height: auto;
}
/* ===== CUTE MEMBER HOME AFTER LOGIN ===== */

.cute-member-page {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 0 80px;
}

.cute-member-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 34px;
    align-items: center;
    padding: 42px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid #eadcff;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.14);
}

.cute-member-pill {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #ffffff;
    color: #8b5cf6;
    font-weight: 900;
    border: 2px solid #eadcff;
    margin-bottom: 20px;
}

.cute-member-left h1 {
    font-size: 56px;
    line-height: 1.08;
    color: #25223b;
    margin-bottom: 16px;
}

.cute-member-left p {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.7;
    color: #7a7194;
    margin-bottom: 26px;
}

.cute-member-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cute-member-right {
    position: relative;
    min-height: 380px;
    border-radius: 34px;
    background:
        url("/static/images/bg-cute.png") center/cover no-repeat,
        linear-gradient(145deg, #fffaff, #f5eeff);
    border: 3px solid #eadcff;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(156, 120, 255, 0.13);
}

.cute-member-cat {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: 190px;
    z-index: 3;
}

.cute-member-card-day {
    position: absolute;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    width: 72%;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid #efe5ff;
    box-shadow: 0 16px 34px rgba(134, 102, 200, 0.14);
    text-align: center;
}

.cute-member-card-day span {
    color: #8d63df;
    font-size: 18px;
    font-weight: 900;
}

.cute-member-card-day h3 {
    font-size: 38px;
    color: #211d38;
    margin: 10px 0 2px;
}

.cute-member-card-day p {
    font-size: 22px;
    color: #7b7398;
}

.cute-progress-row {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cute-progress-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(155, 109, 255, 0.12);
}

.cute-progress-card h3 {
    font-size: 22px;
    color: #26213f;
    margin-bottom: 14px;
}

.cute-progress-card strong {
    font-size: 34px;
    color: #26213f;
}

.cute-progress-card p {
    color: #7a7195;
    font-weight: 700;
    margin-top: 6px;
}

.cute-progress-card img {
    width: 95px;
    height: 95px;
    object-fit: contain;
    margin: 18px auto;
}

.cute-progress-line {
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.8);
    overflow: hidden;
    margin-top: 20px;
}

.cute-progress-line div {
    width: 68%;
    height: 100%;
    background: #9b72f2;
    border-radius: 999px;
}

.cute-member-section {
    margin-top: 46px;
}

.cute-member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.cute-member-nav-card {
    text-decoration: none;
    padding: 28px 22px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #eadcff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.10);
    text-align: center;
    transition: 0.25s ease;
}

.cute-member-nav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(155, 109, 255, 0.18);
}

.cute-member-nav-card img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin: 0 auto 18px;
}

.cute-member-nav-card h3 {
    font-size: 24px;
    color: #26213f;
    margin-bottom: 10px;
}

.cute-member-nav-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #7a7195;
}

@media (max-width: 1000px) {
    .cute-member-hero,
    .cute-progress-row,
    .cute-member-grid {
        grid-template-columns: 1fr;
    }

    .cute-member-left h1 {
        font-size: 40px;
    }
}
/* LOGO STYLE */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
    color: #222037;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.logo::before,
.logo::after {
    content: none !important;
}
/* ===== BEAUTIFUL CARDS PAGE FIX ===== */

.deck-link-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.deck-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.decks-premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 28px;
    align-items: start;
}

.deck-premium-card {
    min-height: 280px;
    padding: 28px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255, 219, 233, 0.75), transparent 30%),
        linear-gradient(145deg, #ffffff, #f7efff);
    border: 3px solid #eadcff;
    box-shadow: 0 18px 42px rgba(155, 109, 255, 0.14);
}

.deck-premium-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.deck-premium-icon {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f2e8ff, #fff2d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    box-shadow: 0 14px 28px rgba(155, 109, 255, 0.14);
}

.deck-premium-card h3 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 12px;
    text-decoration: none !important;
}

.deck-premium-card p {
    font-size: 17px;
    line-height: 1.6;
    color: #7a7194;
    text-decoration: none !important;
}

.deck-premium-bottom {
    margin-top: 22px;
    font-weight: 900;
    color: #7c55d9;
}

.profile-badge {
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #7c55d9;
    border: 2px solid #eadcff;
    font-size: 13px;
    font-weight: 900;
}

.delete-inline-form {
    margin: 0;
}

.danger-btn {
    background: #ffe1ec;
    color: #b04472;
    border: 2px solid #ffc5da;
    box-shadow: 0 12px 24px rgba(255, 130, 174, 0.16);
}
/* ===== SOFT PASTEL CARDS PAGE ===== */

.cards-premium-page {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 36px;
    border: 2px solid #efe4ff;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.10);
}

.search-filter-box {
    margin: 30px 0 28px;
}

.search-filter-input {
    border: 2px solid #eadcff !important;
    box-shadow: 0 12px 28px rgba(155, 109, 255, 0.08);
}

.decks-premium-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 28px !important;
}

.deck-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deck-premium-card {
    min-height: 260px;
    padding: 30px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 221, 235, 0.9), transparent 34%),
        radial-gradient(circle at 90% 20%, rgba(223, 248, 237, 0.75), transparent 32%),
        linear-gradient(145deg, #ffffff, #f8f1ff);
    border: 2px solid #eadcff;
    box-shadow: 0 18px 42px rgba(155, 109, 255, 0.12);
    text-decoration: none;
}

.deck-premium-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.deck-premium-icon {
    width: 86px;
    height: 86px;
    border-radius: 28px;
    background: linear-gradient(135deg, #f2e8ff, #fff1d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.deck-premium-card h3 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 12px;
    text-decoration: none;
}

.deck-premium-card p {
    font-size: 17px;
    color: #7d7498;
    line-height: 1.55;
}

.deck-premium-bottom {
    margin-top: 22px;
    color: #7c55d9;
    font-weight: 900;
}

.deck-card-wrap .btn {
    width: 100%;
}

.deck-card-wrap .secondary {
    background: #ffffff;
    border: 2px solid #eadcff;
}

.deck-card-wrap .danger-btn {
    background: #fff0f6;
    border: 2px solid #ffcfe0;
    color: #c0527a;
}
/* ===== HERO WITH PLANT ===== */

.cards-premium-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: center;
    gap: 30px;

    padding: 50px;
    border-radius: 40px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 236, 245, 0.9),
            rgba(243, 238, 255, 0.95),
            rgba(236, 247, 255, 0.9)
        );

    border: 1px solid rgba(190, 160, 255, 0.2);

    box-shadow:
        0 10px 40px rgba(180, 150, 255, 0.08);
}

.cards-premium-left h1 {
    font-size: 64px;
    line-height: 1.05;
    margin-bottom: 20px;

    color: #2f2545;
}

.cards-premium-left p {
    font-size: 21px;
    line-height: 1.7;
    color: #7d7396;

    max-width: 700px;
    margin-bottom: 30px;
}

.cards-premium-plant {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-premium-plant img {
    width: 290px;
    object-fit: contain;

    filter:
        drop-shadow(0 25px 40px rgba(170, 130, 255, 0.15));

    animation: floatPlant 5s ease-in-out infinite;
}

@keyframes floatPlant {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 1000px) {

    .cards-premium-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cards-premium-plant img {
        width: 220px;
    }

    .cards-premium-left h1 {
        font-size: 48px;
    }
}
/* ===== BEAUTIFUL TRAINING PAGE ===== */

.training-hub-page {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #eadcff;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.12);
}

.training-hub-hero {
    padding: 48px;
    border-radius: 36px;
    background:
        radial-gradient(circle at 90% 10%, rgba(223, 248, 237, 0.9), transparent 28%),
        radial-gradient(circle at 10% 90%, rgba(255, 219, 233, 0.9), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7efff);
    border: 2px solid #eadcff;
    margin-bottom: 42px;
}

.training-hub-left h1 {
    font-size: 58px;
    line-height: 1.05;
}

.training-section-block {
    margin-top: 44px;
}

.training-section-title {
    margin-bottom: 22px;
}

.training-section-title h2 {
    font-size: 34px;
    color: #25223b;
}

.training-section-title p {
    font-size: 18px;
    color: #7d7498;
}

.training-mode-card {
    min-height: 280px;
    padding: 34px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.97), rgba(248,242,255,0.96));
    border: 2px solid #eadcff;
    box-shadow: 0 18px 42px rgba(155, 109, 255, 0.13);
}

.training-mode-card:hover {
    transform: translateY(-7px);
}

.training-mode-icon {
    width: 96px;
    height: 96px;
    font-size: 48px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f2e8ff, #fff2d8);
}

.training-mode-card h3 {
    font-size: 30px;
    margin-top: 18px;
}

.training-mode-card p {
    font-size: 17px;
    line-height: 1.6;
}

.training-mode-bottom span {
    display: inline-block;
    margin-top: 22px;
    color: #7c55d9;
    font-weight: 900;
}
/* ===== TRAINING SESSION BEAUTY ===== */

.training-lux-page {
    width: 92%;
    max-width: 1320px;
    margin: 18px auto 24px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.9);
}

.training-lux-layout {
    padding: 16px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 219, 233, 0.35), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(223, 248, 237, 0.45), transparent 28%),
        linear-gradient(135deg, #ffffff, #faf5ff);
    border: 2px solid #eadcff;
    max-width: 1400px;
    margin: 0 auto;
    gap: 12px;
}

.training-lux-topbar {
    margin-bottom: 30px;
}

.training-lux-progress-card,
.training-lux-mini-box {
    background: #ffffff;
    border: 2px solid #eadcff;
    border-radius: 28px;
}

.training-lux-main-card {
    padding: 18px;
    min-height: 330px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #ffffff, #fbf7ff);
    border: 2px solid #eadcff;
    box-shadow: 0 18px 45px rgba(155, 109, 255, 0.12);
}
.training-lux-layout {
    max-width: 1400px;
    margin: 0 auto;
}

.training-lux-topbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: start;
}

.training-mode-switch {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.training-lux-mini-stats {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.training-lux-word-icon-wrap {
    margin: 6px 0;
}

.training-front-icon-lux {
    font-size: 42px;
}

.training-lux-subtext {
    margin-bottom: 16px;
}

.training-lux-card-top {
    margin-bottom: 18px;
}

.training-lux-word-chip {
    color: #7c55d9;
    font-weight: 900;
    margin-top: 10px;
}

.training-front-icon-lux {
    font-size: 28px;
    margin: 2px 0;
}

.training-lux-main-word {
    font-size: 34px;
    line-height: 1;
    margin: 4px 0;
    word-break: break-word;
}

.training-lux-subtext {
    color: #7d7498;
    font-size: 15px;
    margin-bottom: 8px;
}
.training-answer-block-lux {
    display: grid;
    gap: 10px;
    max-width: 420px;
}

.training-label {
    font-weight: 900;
    color: #7c55d9;
}

.training-controls-lux {
    margin-top: 6px;
}
.training-check-btn {
    min-width: 190px;
}
@media (max-width: 1200px) {

    .training-lux-topbar {
        grid-template-columns: 1fr;
    }

    .training-lux-main-word {
        font-size: 42px;
    }

    .training-lux-main-card {
        padding: 28px 20px;
    }
}
/* ===== TRAINING SUMMARY BEAUTY FIX ===== */

.training-summary-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 36px !important;
    text-align: center;
    border-radius: 34px !important;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 219, 233, 0.75), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(223, 248, 237, 0.65), transparent 30%),
        linear-gradient(135deg, #ffffff, #faf5ff);
    border: 2px solid #eadcff !important;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.16) !important;
}

.training-summary-emoji {
    font-size: 64px;
    margin-bottom: 10px;
}

.training-summary-card h2 {
    font-size: 36px;
    margin-bottom: 12px;
    color: #25223b;
}

.training-summary-text-lux {
    max-width: 560px;
    margin: 0 auto 26px;
    font-size: 17px;
    line-height: 1.6;
    color: #7d7498;
}

.training-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 26px 0 28px;
}

.training-summary-box {
    padding: 18px 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #eadcff;
}

.training-summary-box span {
    display: block;
    color: #7d7498;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.training-summary-box strong {
    font-size: 28px;
    color: #7c55d9;
}

.training-summary-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .training-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ===== PROFILE PAGE BEAUTY FIX ===== */

.profile-dashboard-page {
    width: 92%;
    max-width: 1320px;
    margin: 36px auto 70px;
    padding: 44px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.88);
    border: 2px solid #eadcff;
    box-shadow: 0 22px 55px rgba(156, 120, 255, 0.14);
}

.profile-hero-card {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 219, 233, 0.6), transparent 30%),
        linear-gradient(135deg, #ffffff, #f8f1ff);
    border: 2px solid #eadcff;
    box-shadow: 0 16px 38px rgba(155, 109, 255, 0.12);
    margin-bottom: 28px;
}

.profile-hero-left h1 {
    font-size: 46px;
    margin-bottom: 10px;
}

.profile-email-text,
.profile-bio-text {
    color: #7d7498;
    font-size: 18px;
    line-height: 1.6;
}

.profile-avatar-image,
.profile-avatar-placeholder {
    width: 220px !important;
    height: 220px !important;
    border-radius: 34px !important;
    object-fit: cover !important;
    border: 4px solid #eadcff;
    box-shadow: 0 18px 40px rgba(155, 109, 255, 0.18);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.profile-stat-card {
    padding: 22px;
    border-radius: 26px;
    background: #ffffff;
    border: 2px solid #eadcff;
    box-shadow: 0 12px 28px rgba(155, 109, 255, 0.10);
    text-align: center;
}

.profile-stat-card span {
    display: block;
    color: #7d7498;
    font-weight: 800;
    margin-bottom: 8px;
}

.profile-stat-card strong {
    font-size: 30px;
    color: #7c55d9;
}

.profile-edit-card,
.profile-section-card {
    padding: 30px;
    border-radius: 30px;
    background: #ffffff;
    border: 2px solid #eadcff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.10);
    margin-bottom: 24px;
}

.profile-edit-card h2,
.profile-section-card h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.profile-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.profile-upload-label {
    padding: 16px 18px;
    border-radius: 18px;
    border: 2px dashed #cdb8ff;
    background: #faf7ff;
    color: #7c55d9;
    font-weight: 900;
    cursor: pointer;
}

.profile-upload-label input {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .profile-hero-card,
    .profile-sections-grid,
    .profile-stats-grid {
        grid-template-columns: 1fr;
    }

    .profile-avatar-image,
    .profile-avatar-placeholder {
        width: 180px !important;
        height: 180px !important;
        margin: 0 auto;
    }
}
/* ===== BEAUTIFUL FOOTER ===== */

.footer {
    margin-top: 80px;
    padding: 60px 0 34px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.95),
            rgba(247,239,255,0.95)
        );

    border-top: 2px solid #eadcff;
}

.footer-container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 32px;
    font-weight: 900;
    color: #25223b;

    margin-bottom: 18px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand p {
    max-width: 420px;

    color: #7d7498;
    line-height: 1.7;
    font-size: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links h4 {
    font-size: 20px;
    color: #25223b;
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #7d7498;
    font-weight: 700;

    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #8f63e8;
    transform: translateX(4px);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-badge {
    padding: 14px 18px;
    border-radius: 18px;

    background: #ffffff;
    border: 2px solid #eadcff;

    color: #8f63e8;
    font-weight: 900;

    box-shadow: 0 10px 24px rgba(155,114,242,0.10);
}

.footer-right span {
    color: #7d7498;
    font-size: 15px;
}

/* MOBILE */

@media (max-width: 950px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-right {
        align-items: flex-start;
        gap: 18px;
    }

    .footer-logo {
        font-size: 28px;
    }
}
/* =========================
   AUTH HERO PAGE
========================= */

.auth-hero-page {
    width: 92%;
    max-width: 1320px;
    margin: 40px auto 80px;
    padding: 54px;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 44px;
    align-items: center;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #eadcff;
    box-shadow: 0 24px 60px rgba(155, 109, 255, 0.14);
}

.auth-hero-left h1 {
    font-size: 54px;
    line-height: 1.08;
    margin: 18px 0;
    color: #25223b;
}

.auth-hero-left p {
    max-width: 620px;
    font-size: 19px;
    line-height: 1.7;
    color: #7d7498;
    margin-bottom: 24px;
}

.auth-mini-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.auth-mini-card {
    padding: 13px 18px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid #eadcff;
    color: #7c55d9;
    font-weight: 900;
}

.auth-hero-image {
    width: 260px;
    margin-top: 20px;
    filter: drop-shadow(0 18px 30px rgba(155, 109, 255, 0.18));
}

.auth-card {
    max-width: 440px;
}

.auth-switch {
    margin-top: 20px;
    text-align: center;
    color: #7d7498;
    font-weight: 700;
}

.auth-switch a {
    color: #7c55d9;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 950px) {
    .auth-hero-page {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .auth-hero-left h1 {
        font-size: 38px;
    }
}
.member-learning-path {
    margin-top: 48px;
    padding: 42px;
    border-radius: 36px;
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid #eadcff;
    box-shadow: 0 18px 45px rgba(155, 109, 255, 0.12);
}

.member-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.member-action-card {
    text-decoration: none;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(145deg, #ffffff, #f8f1ff);
    border: 2px solid #eadcff;
    box-shadow: 0 14px 32px rgba(155, 109, 255, 0.1);
    transition: 0.25s ease;
}

.member-action-card:hover {
    transform: translateY(-6px);
}

.member-action-card span {
    font-size: 46px;
    display: block;
    margin-bottom: 18px;
}

.member-action-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.member-action-card p {
    color: #7d7498;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .member-action-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== LOGOUT PAGE BEAUTY ===== */

.logout-page {
    width: 92%;
    max-width: 900px;
    min-height: 520px;
    margin: 55px auto 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-card {
    width: 100%;
    max-width: 620px;
    padding: 54px 46px;
    text-align: center;
    border-radius: 38px;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 219, 233, 0.75), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(223, 248, 237, 0.65), transparent 30%),
        linear-gradient(135deg, #ffffff, #faf5ff);
    border: 2px solid #eadcff;
    box-shadow: 0 24px 60px rgba(156, 120, 255, 0.16);
}

.logout-icon {
    font-size: 70px;
    margin-bottom: 14px;
}

.logout-card h1 {
    font-size: 42px;
    margin: 18px 0 14px;
    color: #25223b;
}

.logout-card p {
    max-width: 480px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #7d7498;
}

.logout-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
/* Збільшення стікерів у словнику */
.dictionary-sticker {
    font-size: 72px !important;
    line-height: 1 !important;
    margin: 18px 0 22px !important;
}
/* ===== DARK THEME FULL FIX ===== */

body.dark-theme {
    background: linear-gradient(135deg, #171427 0%, #241b3d 52%, #121f1e 100%) !important;
    color: #f7f1ff !important;
}

/* HEADER */
body.dark-theme .header {
    background: rgba(20, 16, 34, 0.92) !important;
    border-bottom: 1px solid rgba(234, 220, 255, 0.18) !important;
}

body.dark-theme .logo,
body.dark-theme .nav a {
    color: #f7f1ff !important;
}

body.dark-theme .active-link {
    background: #f1eaff !important;
    color: #7c55d9 !important;
}

/* MAIN PAGES */
body.dark-theme .cards-premium-page,
body.dark-theme .profile-dashboard-page,
body.dark-theme .training-hub-page,
body.dark-theme .training-lux-page,
body.dark-theme .auth-hero-page,
body.dark-theme .cute-member-page {
    background: rgba(28, 22, 46, 0.92) !important;
    border-color: rgba(234, 220, 255, 0.22) !important;
}

/* HERO BLOCKS */
body.dark-theme .cards-premium-hero,
body.dark-theme .training-hub-hero,
body.dark-theme .training-lux-hero,
body.dark-theme .profile-hero-card,
body.dark-theme .cute-member-hero,
body.dark-theme .member-learning-path {
    background:
        radial-gradient(circle at 15% 20%, rgba(155, 114, 242, 0.20), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(95, 211, 188, 0.12), transparent 30%),
        linear-gradient(135deg, #241d3d, #1b162d) !important;
    border: 2px solid rgba(234, 220, 255, 0.22) !important;
}

/* CARDS */
body.dark-theme .deck-premium-card,
body.dark-theme .training-mode-card,
body.dark-theme .profile-stat-card,
body.dark-theme .profile-edit-card,
body.dark-theme .profile-section-card,
body.dark-theme .member-action-card,
body.dark-theme .auth-card,
body.dark-theme .empty-premium-card,
body.dark-theme .flip-card-front,
body.dark-theme .flip-card-back,
body.dark-theme .dictionary-flip-front,
body.dark-theme .dictionary-flip-back,
body.dark-theme .training-lux-main-card,
body.dark-theme .training-summary-card {
    background: linear-gradient(145deg, #241d3d, #1b162d) !important;
    border: 2px solid rgba(234, 220, 255, 0.24) !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28) !important;
}

/* TEXT */
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3,
body.dark-theme strong {
    color: #ffffff !important;
}

body.dark-theme p,
body.dark-theme span,
body.dark-theme .profile-email-text,
body.dark-theme .profile-bio-text,
body.dark-theme .cards-premium-left p,
body.dark-theme .training-section-title p,
body.dark-theme .deck-premium-card p,
body.dark-theme .member-action-card p {
    color: #d9cff5 !important;
}

/* BADGES */
body.dark-theme .premium-chip,
body.dark-theme .profile-badge,
body.dark-theme .section-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #c9b8ff !important;
    border: 2px solid rgba(234, 220, 255, 0.22) !important;
}

/* INPUTS */
body.dark-theme input,
body.dark-theme textarea,
body.dark-theme .search-filter-input,
body.dark-theme .training-input {
    background: #171225 !important;
    color: #ffffff !important;
    border: 2px solid rgba(234, 220, 255, 0.28) !important;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
    color: #9f95bd !important;
}

/* FOOTER */
body.dark-theme .footer {
    background: linear-gradient(135deg, #151123, #211936) !important;
    border-top: 2px solid rgba(234, 220, 255, 0.18) !important;
}

body.dark-theme .footer-logo,
body.dark-theme .footer-links h4 {
    color: #ffffff !important;
}

body.dark-theme .footer-links a,
body.dark-theme .footer-brand p,
body.dark-theme .footer-right span {
    color: #cfc3ea !important;
}

body.dark-theme .footer-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(234, 220, 255, 0.22) !important;
    color: #c9b8ff !important;
}
.training-answer-block-lux {
    max-width: 800px !important;
    width: 100% !important;
}

.training-input-lux {
    width: 800px !important;
    max-width: 100% !important;
}
/* ===== GUEST FAQ BLOCK ===== */

.guest-faq {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 44px 0;
}

.guest-faq-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.guest-faq-card {
    padding: 28px 24px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 219, 233, 0.7), transparent 32%),
        linear-gradient(145deg, #ffffff, #f8f1ff);
    border: 2px solid #eadcff;
    box-shadow: 0 16px 36px rgba(155, 109, 255, 0.12);
    transition: 0.25s ease;
}

.guest-faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(155, 109, 255, 0.18);
}

.guest-faq-card span {
    display: block;
    font-size: 42px;
    margin-bottom: 16px;
}

.guest-faq-card h3 {
    font-size: 22px;
    color: #25223b;
    margin-bottom: 12px;
}

.guest-faq-card p {
    font-size: 16px;
    line-height: 1.65;
    color: #7d7498;
}

@media (max-width: 1000px) {
    .guest-faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 650px) {
    .guest-faq-grid {
        grid-template-columns: 1fr;
    }
}
.activity-day-card,
.result-card {
    padding: 22px;
    margin-bottom: 18px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #faf6ff);
    border: 2px solid #eadcff;
    box-shadow: 0 12px 28px rgba(155, 109, 255, 0.10);
}

.activity-date {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #25223b;
}

.activity-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.activity-item {
    padding: 14px;
    border-radius: 18px;
    background: #f7f1ff;
}

.activity-item span,
.result-source,
.result-date {
    display: block;
    color: #7d7498;
    font-size: 14px;
    font-weight: 800;
}

.activity-item strong {
    font-size: 24px;
    color: #25223b;
}

.activity-item.success {
    background: #eafcf0;
}

.activity-item.error {
    background: #fff1f4;
}

.result-card-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.result-card h3 {
    font-size: 22px;
    margin-top: 6px;
    color: #25223b;
}

.result-percent {
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: #f2e8ff;
    color: #7c55d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
}

.result-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.result-stats span {
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid #eadcff;
    color: #6f638d;
    font-weight: 800;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8b5cf6;
    font-size: 30px;
    font-weight: 900;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo span {
    color: #8b5cf6;
}
/* ===== LOGO EVERYWHERE ===== */

.logo,
.logo span {
    color: #8b5cf6 !important;
    font-weight: 900;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
}

.logo img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    display: block !important;
}

.footer-logo,
.footer-logo span {
    color: #8b5cf6 !important;
}
.flip-card-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    margin: 10px auto;
    display: block;
}
/* BEAUTIFUL TRAINING ANSWER RESULT */

.training-result-lux {
    width: 100%;
    max-width: 720px;
    margin: 22px auto 0;
}

.training-result-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 26px;
    border-radius: 28px;
    text-align: left;
    border: 2px solid transparent;
    box-shadow: 0 18px 38px rgba(155, 109, 255, 0.13);
}

.training-result-card h3 {
    font-size: 26px;
    margin-bottom: 6px;
}

.training-result-card p {
    font-size: 17px;
    color: #6f6688;
}

.training-result-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.training-result-card.success {
    background: linear-gradient(135deg, #dcfce7, #f0fdf4);
    border-color: #bbf7d0;
}

.training-result-card.success h3 {
    color: #15803d;
}

.training-result-card.error {
    background: linear-gradient(135deg, #ffe4e6, #fff1f2);
    border-color: #fecdd3;
}

.training-result-card.error h3 {
    color: #dc2626;
}

.training-result-card.warning {
    justify-content: center;
    background: linear-gradient(135deg, #fff7ed, #fffbeb);
    border-color: #fed7aa;
    color: #c2410c;
    font-size: 20px;
    font-weight: 900;
}

.training-correct-block-lux {
    width: 100%;
    max-width: 720px;
    margin: 24px auto 0 !important;
    padding: 28px 30px !important;
    border-radius: 30px !important;
    background: linear-gradient(135deg, #eefdf5, #f7fff9) !important;
    border: 2px solid #bbf7d0 !important;
    box-shadow: 0 18px 38px rgba(34, 197, 94, 0.13);
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.training-lux-answer-head {
    display: flex;
    align-items: center;
    gap: 20px;
}

.training-sticker {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 10px 24px rgba(34, 197, 94, 0.12);
}

.training-lux-answer-label {
    color: #15803d;
    font-size: 16px;
    font-weight: 900;
}

#training-back-text {
    font-size: 34px;
    color: #25223b;
    margin-top: 4px;
}

#training-hint {
    max-width: 320px;
    font-size: 16px;
    line-height: 1.55;
    color: #6f6688;
    text-align: right;
}
