/* Дизайн Gadai.ME - чорний фон */

/* ========================================
   АНІМАЦІЯ ЗІРОК / ЧАСТИНОК
======================================== */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.star.purple {
    background: #8b5cf6;
    box-shadow: 0 0 6px 2px rgba(139, 92, 246, 0.4);
}

.star.gold {
    background: #d4af37;
    box-shadow: 0 0 6px 2px rgba(212, 175, 55, 0.4);
}

.star.large {
    width: 3px;
    height: 3px;
}

/* Блікуючі зірки - ефект хрестоподібного сяйва */
.star.sparkle {
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.9);
    animation: sparkle var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.star.sparkle::before,
.star.sparkle::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.star.sparkle::before {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.star.sparkle::after {
    width: 2px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}


/* Основні кольори */
:root {
    --primary-purple: #8b5cf6;
    --accent-purple: #a78bfa;
    --dark-bg: #000000;
    --card-bg: #0a0a0a;
    --border-color: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

/* Імпорт шрифтів для кирилиці */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* Глобальний box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

/* Body - чорний фон */
body {
    background: #000000;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Container */
.container {
    margin: 0;
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Навігація */
.navbar {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    color: #8b5cf6;
    font-size: 24px;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.5));
}

.nav-logo:hover .logo-icon-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8));
}

.logo-icon-svg {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(139, 92, 246, 0.5));
}

.nav-logo:hover .logo-icon-svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.8));
}

.logo-text {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: #ffffff;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    margin-top: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Збільшуємо зону hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 15px;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-content a:hover {
    background: #0f0f0f;
    color: #ffffff;
    padding-left: 25px;
}

/* Утримуємо dropdown відкритим при наведенні на нього */
.dropdown-content:hover {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Вкладене підменю (submenu) для знаків зодіаку */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu-trigger {
    display: block;
    padding: 12px 20px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.dropdown-submenu .submenu-trigger:hover {
    background: #0f0f0f;
    color: #ffffff;
    padding-left: 25px;
}

.submenu-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1002;
}

.dropdown-submenu:hover .submenu-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.submenu-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.submenu-content a {
    display: block;
    padding: 9px 18px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    white-space: nowrap;
}

.submenu-content a:hover {
    background: #0f0f0f;
    color: #d4af37;
    padding-left: 22px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 52px;
    min-height: 52px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    body {
        padding-top: 90px;
    }

    .navbar {
        position: fixed !important;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 77px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 10px;
        display: none;
        border-top: 1px solid #1a1a1a;
        z-index: 999;
        max-height: calc(100vh - 77px);
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-dropdown .dropdown-content {
        position: static;
        display: none;
        margin-top: 10px;
        padding: 10px 0;
        border: none;
        border-left: 2px solid #8b5cf6;
    }

    .nav-dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding-left: 30px;
    }

    /* Мобільне вкладене підменю */
    .dropdown-submenu .submenu-trigger {
        padding-left: 30px;
    }

    .submenu-content {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        padding: 5px 0;
        min-width: auto;
        border-left: 2px solid #d4af37;
        margin-left: 30px;
        opacity: 1;
        visibility: visible;
        background: transparent;
    }

    .submenu-content-grid {
        display: flex !important;
        flex-direction: column;
    }

    .dropdown-submenu.active .submenu-content {
        display: block;
    }

    .dropdown-submenu:hover .submenu-content {
        display: none;
    }

    .dropdown-submenu.active:hover .submenu-content {
        display: block;
    }

    .submenu-content a {
        padding: 8px 15px;
        font-size: 13px;
        white-space: normal;
    }

    /* Адаптивність для картинок */
    .reading-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reading-image {
        width: 100%;
        max-width: 300px;
        height: 250px;
        margin: 0 auto;
    }

    .additional-readings-grid {
        grid-template-columns: 1fr;
    }

    .additional-reading-card {
        height: 350px;
    }

    .hero-title {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-brand {
        font-size: 12px;
    }

    /* Адаптивність для карти Таро */
    .tarot-card-display {
        max-width: 120px;
        margin: 30px auto;
    }

    /* Hero Section на мобільних */
    .hero-section {
        padding: 40px 15px 50px;
    }

    .hero-section::before {
        width: 400px;
        height: 400px;
    }

    .hero-section::after {
        width: 300px;
        height: 300px;
    }

    .hero-btn {
        padding: 14px 32px;
        font-size: 15px;
        width: calc(100% - 30px);
        max-width: 300px;
    }

    .hero-content {
        padding: 0;
    }
}

/* Додаткова адаптація для дуже маленьких екранів */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-section {
        padding: 30px 10px 40px;
    }

    .tarot-card-display {
        max-width: 100px;
        margin: 20px auto;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .nav-container {
        padding: 15px;
    }
}

/* Додаткові стилі для меню */
.nav-menu a {
    display: inline-block;
}

/* Hero Section */
.hero-section {
    padding: 60px 20px 80px;
    text-align: center;
    background: #000000;
    position: relative;
    overflow: hidden;
    margin: 0;
    max-width: 100%;
}

/* Фіолетовий градієнт-спалах по центру */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.25) 0%,
            rgba(139, 92, 246, 0.15) 20%,
            rgba(236, 72, 153, 0.1) 40%,
            transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Додатковий шар градієнта для глибини */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.15) 0%,
            rgba(167, 139, 250, 0.08) 30%,
            transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: pulseSecondary 6s ease-in-out infinite;
}

@keyframes pulseSecondary {

    0%,
    100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(0.95);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
    }
}

.hero-section>* {
    position: relative;
    z-index: 1;
}

.hero-brand {
    color: #8b5cf6;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Карта Таро */
.tarot-card-display {
    margin: 40px auto;
    max-width: 160px;
}

.tarot-card-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    transition: transform 0.3s ease;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.tarot-card-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.6);
}

/* Кнопка Hero */
.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.hero-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

.hero-btn:active {
    transform: scale(0.95);
}

/* Section Title */
.section-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

/* Картки гадань */
.readings-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .readings-section {
        padding: 0 15px;
        margin: 30px auto;
    }

    .section-title {
        font-size: 24px;
        padding: 0 10px;
    }
}

.reading-item {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.reading-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.15) 0%,
            rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.reading-item>* {
    position: relative;
    z-index: 1;
}

.reading-item:hover::before {
    opacity: 1;
}

.reading-item:hover {
    background: rgba(15, 15, 15, 0.6);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

/* Картинки гадань */
.reading-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.reading-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reading-item:hover .reading-image img {
    transform: scale(1.1);
}

.reading-icon {
    font-size: 50px;
    flex-shrink: 0;
}

.reading-content {
    flex: 1;
}

.reading-content h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.reading-content p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Кнопки гадань */
.reading-btn {
    display: inline-block;
    background: #8b5cf6;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.reading-btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

/* Додаткові гадання */
.additional-readings-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.additional-readings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.additional-reading-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid #1a1a1a;
}

.additional-reading-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.additional-reading-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.5);
}

.additional-reading-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
    padding: 30px;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.additional-reading-card:hover .card-overlay {
    background: linear-gradient(to top,
            rgba(139, 92, 246, 0.95) 0%,
            rgba(139, 92, 246, 0.7) 70%,
            transparent 100%);
}

.card-overlay h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card-overlay p {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* Картки функцій */
.features-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.2) 0%,
            rgba(236, 72, 153, 0.1) 50%,
            transparent 70%);
    transition: all 0.5s ease;
    border-radius: 50%;
    z-index: 0;
}

.feature-item>* {
    position: relative;
    z-index: 1;
}

.feature-item:hover::before {
    width: 400px;
    height: 400px;
}

.feature-item:hover {
    background: #0f0f0f;
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.feature-item p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

/* Секція "Більше функцій" */
.more-features-section {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    max-width: 900px;
    margin: 80px auto;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.more-features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.08) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.more-features-section:hover::before {
    opacity: 1;
    animation: rotate 20s linear infinite;
}

.more-features-section:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.section-subtitle {
    font-size: 16px;
    color: #a0a0a0;
    margin: 20px auto 40px;
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #8b5cf6;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

/* Info Section */
.info-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.info-content {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

.info-content h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.info-content p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 400;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.info-content ul li {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.info-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-size: 20px;
}

.info-content strong {
    color: #ffffff;
}

/* SEO Content Section */
.seo-content {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
}

.seo-content h2 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #d4af37;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-content h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-content p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    font-weight: 400;
}

.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.seo-content ul li {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.seo-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-size: 20px;
}

.seo-content strong {
    color: #ffffff;
}

/* Blog Section */
.blog-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.blog-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.blog-card-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(26, 26, 26, 0.5);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-link:hover .blog-card {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.blog-more {
    text-align: center;
    margin-top: 30px;
}

.blog-more-link {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-more-link:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Articles Page */
.blog-articles {
    max-width: 900px;
    margin: 0 auto;
}

.blog-article {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.5);
}

.article-header h2 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.article-content {
    color: #c0c0c0;
    font-size: 16px;
    line-height: 1.8;
}

.article-content h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.article-content h4 {
    color: #e0e0e0;
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 10px;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    position: relative;
}

.article-content ul li::marker {
    color: #8b5cf6;
}

.article-content ol li::marker {
    color: #8b5cf6;
    font-weight: 600;
}

.article-content a {
    color: #8b5cf6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.article-content strong {
    color: #ffffff;
}

.article-content em {
    color: #a0a0a0;
    font-style: italic;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid rgba(26, 26, 26, 0.5);
}

.comparison-table th {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    font-weight: 600;
}

.comparison-table td {
    background: rgba(10, 10, 10, 0.3);
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.blog-cta h2 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 15px;
}

.blog-cta p {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.cta-button.secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.cta-button.secondary:hover {
    background: rgba(139, 92, 246, 0.2);
}

@media (max-width: 768px) {
    .blog-article {
        padding: 25px;
    }

    .article-header h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .blog-cta {
        padding: 30px 20px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Blog Articles List (index page) */
.blog-articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.blog-article-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.blog-article-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.blog-article-card h2 {
    font-size: 22px;
    margin: 10px 0 15px;
    color: #ffffff;
    line-height: 1.4;
}

.blog-article-card p {
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.article-tags span {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.blog-cta-section {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
}

.blog-cta-section h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.blog-cta-section p {
    color: #a0a0a0;
    margin-bottom: 25px;
}

.blog-cta-section .cta-buttons {
    justify-content: center;
}

/* Center and constrain blog article body and privacy content */
.blog-article-page .article-body,
.privacy-content,
.article-intro,
.article-body section {
    max-width: 900px;
    margin: 0 auto;
}

.blog-article-page .article-hero {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.privacy-content {
    background: rgba(15,15,30,0.6); 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(139,92,246,0.15); 
    border-radius: 20px; 
    padding: 40px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.article-hero h1 {
    font-size: 36px;
    margin-top: 15px;
}

.article-image-container {
    max-width: 900px;
    margin: 0 auto 40px auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.article-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px;
}

/* Responsive for blog list page */
@media (max-width: 768px) {
    .blog-article-card {
        padding: 20px;
    }

    .blog-article-card h2 {
        font-size: 18px;
    }

    .blog-cta-section {
        padding: 25px;
    }

    .blog-cta-section .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .article-tags {
        gap: 6px;
    }

    .article-tags span {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Blog Article Page */
.blog-article-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.blog-article-page .container {
    max-width: 900px;
    margin: 0 auto;
}

.article-breadcrumbs {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.article-breadcrumbs a {
    color: #8b5cf6;
    text-decoration: none;
}

.article-breadcrumbs a:hover {
    text-decoration: underline;
}

.article-hero {
    margin-bottom: 30px;
}

.article-hero h1 {
    font-size: 36px;
    color: #ffffff;
    margin: 15px 0;
    line-height: 1.3;
}

.article-info {
    display: flex;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.article-body {
    /* content centered, no sidebar */
}

.article-intro {
    font-size: 18px;
    line-height: 1.8;
    color: #c0c0c0;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid #8b5cf6;
    border-radius: 0 8px 8px 0;
}

.article-toc {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

.article-toc h2 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 15px;
}

.article-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc li {
    margin-bottom: 10px;
}

.article-toc a {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 15px;
}

.article-toc a:hover {
    text-decoration: underline;
}

.article-body section {
    margin-bottom: 40px;
}

.article-body h2 {
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.article-body h3 {
    font-size: 20px;
    color: #e0e0e0;
    margin: 25px 0 15px;
}

.article-body h4 {
    font-size: 17px;
    color: #c0c0c0;
    margin: 20px 0 10px;
}

.article-body p {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: #8b5cf6;
    text-decoration: none;
}

.article-body a:hover {
    text-decoration: underline;
}

/* Cards list in articles */
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
}

.card-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.card-item.positive {
    border-left: 3px solid #10b981;
}

.card-item.negative {
    border-left: 3px solid #ef4444;
}

.card-item.neutral {
    border-left: 3px solid #f59e0b;
}

.card-item h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.card-item p {
    margin-bottom: 10px;
}

.card-item ul {
    margin-bottom: 0;
}

/* Info boxes */
.info-box,
.warning-box,
.advice-box,
.success-box,
.example-box,
.quote-box {
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
}

.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.advice-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.example-box {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.quote-box {
    background: rgba(139, 92, 246, 0.05);
    border-left: 3px solid #8b5cf6;
}

.quote-box blockquote {
    font-style: italic;
    color: #c0c0c0;
    margin: 0;
}

/* Spread diagram */
.spread-diagram {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.spread-positions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.position {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.position-number {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.position-name {
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
}

.position p {
    color: #a0a0a0;
    font-size: 14px;
    margin: 0;
}

/* Readings list (for blog articles sidebar) */
.readings-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.readings-list .reading-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.readings-list .reading-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.readings-list .reading-item h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.readings-list .reading-item p {
    color: #a0a0a0;
    font-size: 14px;
    margin-bottom: 15px;
}

.readings-list .reading-item a {
    color: #8b5cf6;
    font-weight: 600;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.article-cta h2 {
    border: none;
    padding: 0;
}

.article-cta .cta-buttons {
    justify-content: center;
    margin-top: 25px;
}

/* Блок перелінковки "Можливо вам буде цікаво" */
.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.related-articles h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    color: #e2e8f0;
    border: none;
    padding: 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    text-decoration: none;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.related-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.15);
}

.related-emoji {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.related-title {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

/* Article sidebar */
.article-sidebar {
    grid-column: 2 / 3;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h3 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 10px;
}

.sidebar-widget a {
    color: #8b5cf6;
    text-decoration: none;
    font-size: 14px;
}

.sidebar-widget a:hover {
    text-decoration: underline;
}

.comparison-table h3 {
    margin-top: 20px;
}

.comparison-table .pros li {
    color: #10b981;
}

.comparison-table .cons li {
    color: #ef4444;
}

/* Responsive for article page */
@media (max-width: 992px) {
    /* blog container already single column */

    /* sidebar removed - no longer used */

    .article-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        font-size: 24px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-body h3 {
        font-size: 18px;
    }

    .article-cta {
        padding: 25px;
    }

    .article-cta .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-articles h2 {
        font-size: 20px;
    }

    .readings-list {
        grid-template-columns: 1fr;
    }

    .article-intro {
        font-size: 16px;
        padding: 15px;
    }

    .article-toc {
        padding: 15px;
    }

    .article-breadcrumbs {
        font-size: 12px;
    }

    .card-item {
        padding: 15px;
    }

    .spread-diagram {
        padding: 15px;
    }

    .info-box,
    .warning-box,
    .advice-box,
    .success-box,
    .example-box {
        padding: 15px;
    }
}

/* Spreads Section */
.spreads-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.spreads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.spread-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.spread-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.spread-card>* {
    position: relative;
    z-index: 1;
}

.spread-card:hover::before {
    opacity: 1;
}

.spread-card:hover {
    background: #0f0f0f;
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.spread-card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.spread-card p {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(26, 26, 26, 0.5);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.faq-item>* {
    position: relative;
    z-index: 1;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item:hover {
    background: #0f0f0f;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.25);
}

.faq-item h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

.faq-item p {
    color: #a0a0a0;
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid #1a1a1a;
    padding: 60px 20px 30px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 40px;
    padding: 0 40px;
}

.footer-section h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #b8b8b8;
    line-height: 1.8;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: #b8b8b8;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: #999999;
    font-size: 13px;
}

/* Highlight */
.highlight {
    color: #8b5cf6;
}

/* Адаптивність */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .reading-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-section {
        flex: none;
    }

    .footer-section:first-child {
        flex: none;
    }

    .features-grid,
    .spreads-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   СУЧАСНІ СТИЛІ ДЛЯ СТОРІНОК ВОРОЖІНЬ
======================================== */

/* Page Header стилі інлайновані в header.php */

/* Tarot Reading Container */
.tarot-reading {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* Tarot Container - стиль як reading-item */
.tarot-container {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    padding: 50px 50px 60px 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.tarot-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tarot-container:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.tarot-container:hover::before {
    opacity: 1;
}

.tarot-container h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Форма користувача - сучасний стиль */
.toggle-form-btn {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 10px 16px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.toggle-form-btn:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* User Form */
.user-form {
    margin-bottom: 30px;
}

.user-form label {
    display: block;
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Поля вводу - як на головній */
.user-form input,
.user-form textarea,
.user-form select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px;
}

.user-form input::placeholder,
.user-form textarea::placeholder {
    color: #606060;
}

.user-form input:focus,
.user-form textarea:focus,
.user-form select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1), 0 8px 20px rgba(139, 92, 246, 0.15);
    transform: translateY(-1px);
}

/* Radio buttons - красиві кнопки вибору */
.reading-type-selector,
.question-type,
.reading-mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px auto;
    max-width: 600px;
}

.reading-type-selector label,
.question-type label,
.reading-mode-selector label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    font-weight: 600;
    color: #b0b0b0;
    text-align: center;
    min-height: 80px;
    margin: 0 !important;
}

.reading-type-selector label::before,
.question-type label::before,
.reading-mode-selector label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reading-type-selector input[type="radio"],
.question-type input[type="radio"],
.reading-mode-selector input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
}

.reading-type-selector label:hover,
.question-type label:hover,
.reading-mode-selector label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.reading-type-selector label:hover::before,
.question-type label:hover::before,
.reading-mode-selector label:hover::before {
    opacity: 1;
}

/* Активна кнопка - для input всередині label */
.reading-type-selector label:has(input[type="radio"]:checked),
.question-type label:has(input[type="radio"]:checked),
.reading-mode-selector label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.reading-type-selector label:has(input[type="radio"]:checked)::before,
.question-type label:has(input[type="radio"]:checked)::before,
.reading-mode-selector label:has(input[type="radio"]:checked)::before {
    opacity: 1;
}

/* Іконка для вибраної кнопки */
.reading-type-selector label:has(input[type="radio"]:checked)::after,
.question-type label:has(input[type="radio"]:checked)::after,
.reading-mode-selector label:has(input[type="radio"]:checked)::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
}

/* Активна кнопка - для input перед label (старий варіант) */
.reading-type-selector input[type="radio"]:checked+label,
.question-type input[type="radio"]:checked+label {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: #8b5cf6;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.reading-type-selector input[type="radio"]:checked+label::before,
.question-type input[type="radio"]:checked+label::before {
    opacity: 1;
}

.reading-type-selector input[type="radio"]:checked+label::after,
.question-type input[type="radio"]:checked+label::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #8b5cf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
}

/* Текст в кнопках */
.reading-type-selector label span,
.question-type label span,
.reading-mode-selector label span {
    position: relative;
    z-index: 1;
}

/* Додатковий текст */
.reading-type-selector label small,
.question-type label small,
.reading-mode-selector label small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #808080;
    margin-top: 4px;
}

/* Кнопка "Витягнути карту" - як reading-btn */
.draw-card-btn,
button[type="submit"],
.tarot-container button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    border-radius: 12px;
    padding: 18px 40px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    width: 100%;
    max-width: 500px;
    margin: 24px auto 0 auto;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
    display: block;
}

.draw-card-btn:hover,
button[type="submit"]:hover,
.tarot-container button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

.draw-card-btn:active,
button[type="submit"]:active,
.tarot-container button:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Картки Таро */
.tarot-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    transition: all 0.3s ease;
}

.tarot-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.tarot-card img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
    max-width: 100%;
    height: auto;
}

.tarot-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 20px 0 12px;
}

.tarot-card p {
    color: #b0b0b0;
    line-height: 1.7;
}

/* Результат ворожіння */
.reading-result {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 35px;
    margin-top: 35px;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reading-result h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 20px;
}

.reading-result p {
    color: #e0e0e0;
    line-height: 1.9;
    font-size: 1.05rem;
}

/* Адаптивність */
@media (max-width: 768px) {
    .tarot-container {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .tarot-container h2 {
        font-size: 1.6rem;
    }

    .draw-card-btn,
    button[type="submit"],
    .tarot-container button {
        padding: 16px 28px;
        font-size: 1rem;
    }

    .reading-type-selector,
    .question-type,
    .reading-mode-selector {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .reading-type-selector label,
    .question-type label,
    .reading-mode-selector label {
        min-height: 70px;
        padding: 16px 20px;
    }
}

/* ============================================
   ПРОГРЕС-БАР ГЕНЕРАЦІЇ AI
   ============================================ */

.ai-progress-container {
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    text-align: center;
}

.ai-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.ai-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0%;
    transition: width 0.3s ease-out;
    animation: progressShimmer 1.5s ease-in-out infinite;
}

@keyframes progressShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.ai-progress-text {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.ai-progress-stage {
    font-size: 16px;
    color: #d4af37;
    font-weight: 600;
    min-height: 24px;
    margin-bottom: 15px;
}

.ai-progress-percentage {
    font-size: 24px;
    font-weight: 700;
    color: #8b5cf6;
    margin-top: 10px;
}

/* Анімація пульсації для іконки */
.ai-progress-icon {
    font-size: 40px;
    margin-bottom: 15px;
    animation: progressPulse 1s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Адаптивність для прогрес-бару AI */
@media (max-width: 768px) {
    .ai-progress-container {
        max-width: 90%;
        margin: 15px auto;
        padding: 0 10px;
    }

    .ai-progress-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .ai-progress-stage {
        font-size: 14px;
        min-height: 20px;
        margin-bottom: 12px;
    }

    .ai-progress-bar {
        height: 6px;
        margin-bottom: 12px;
    }

    .ai-progress-percentage {
        font-size: 20px;
        margin-top: 8px;
    }

    .ai-progress-text {
        font-size: 12px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .ai-progress-container {
        max-width: 95%;
        margin: 10px auto;
        padding: 0 5px;
    }

    .ai-progress-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .ai-progress-stage {
        font-size: 13px;
        min-height: 18px;
        margin-bottom: 10px;
    }

    .ai-progress-bar {
        height: 5px;
        margin-bottom: 10px;
    }

    .ai-progress-percentage {
        font-size: 18px;
        margin-top: 6px;
    }

    .ai-progress-text {
        font-size: 11px;
        margin-bottom: 5px;
    }
}

/* ========================================
   ГОРОСКОП - ЗНАКИ ЗОДІАКУ
======================================== */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.zodiac-sign {
    background: rgba(10, 10, 10, 0.5);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    color: inherit;
}

.zodiac-sign:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.zodiac-sign.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.zodiac-symbol {
    font-size: 32px;
    line-height: 1;
}

.zodiac-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.zodiac-dates {
    font-size: 11px;
    color: #888;
}

.zodiac-sign.selected .zodiac-name {
    color: #d4af37;
}

.zodiac-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.zodiac-link-item {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #ffffff;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: block;
    font-size: 15px;
    font-weight: 500;
}

.zodiac-link-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.2);
    color: #ffffff;
}

/* Карти гороскопу - уніфіковані розміри */
.horoscope-card,
.card-position .horoscope-card,
.card-position .card.horoscope-card {
    width: 130px !important;
    height: 217px !important;
    transition: transform 0.4s, box-shadow 0.3s, opacity 0.4s;
}

.horoscope-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.horoscope-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.horoscope-spread {
    gap: 15px;
}

.horoscope-spread .card-position {
    min-height: auto;
    width: auto;
    padding: 0;
}

.horoscope-spread .card-position:hover {
    transform: none;
}

/* Адаптивність для знаків зодіаку */
@media (max-width: 768px) {
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .zodiac-sign {
        padding: 15px 10px;
    }

    .zodiac-symbol {
        font-size: 28px;
    }

    .zodiac-name {
        font-size: 12px;
    }

    .zodiac-dates {
        font-size: 10px;
    }

    .horoscope-card,
    .card-position .horoscope-card,
    .card-position .card.horoscope-card {
        width: 110px !important;
        height: 183px !important;
    }

    .horoscope-spread {
        gap: 12px !important;
    }
}

@media (max-width: 480px) {
    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: 100%;
        padding: 0 5px;
    }

    .zodiac-sign {
        padding: 8px 4px;
        border-radius: 8px;
        gap: 4px;
    }

    .zodiac-symbol {
        font-size: 20px;
    }

    .zodiac-name {
        font-size: 9px;
    }

    .zodiac-dates {
        display: none;
    }

    .horoscope-card,
    .card-position .horoscope-card,
    .card-position .card.horoscope-card {
        width: 90px !important;
        height: 150px !important;
    }

    .horoscope-spread {
        gap: 8px !important;
    }
}

@media (max-width: 360px) {
    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        padding: 0 3px;
    }

    .zodiac-sign {
        padding: 6px 3px;
        border-radius: 6px;
        gap: 3px;
    }

    .zodiac-symbol {
        font-size: 18px;
    }

    .zodiac-name {
        font-size: 8px;
    }
}

/* ============================================
   Перелінковка знаків зодіаку (SEO сторінки)
   ============================================ */
.zodiac-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0 30px;
}

.zodiac-link-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    color: #d4af37;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.zodiac-link-item:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: #8b5cf6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
    .zodiac-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .zodiac-link-item {
        padding: 12px 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .zodiac-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .zodiac-link-item {
        padding: 10px 6px;
        font-size: 13px;
    }
}
/* === ���������� Բ�� ²����ϲ� ��� ��������� === */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 15px !important;
        box-sizing: border-box;
    }
    .seo-content {
        padding: 20px 15px !important;
        margin: 20px auto !important;
        box-sizing: border-box;
        max-width: 100%;
        overflow-x: hidden;
    }
    .generator-box, .result-box, .tarot-container, .tarot-reading {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
        margin-left: 10px !important;
        margin-right: 10px !important;
        max-width: calc(100% - 20px) !important;
    }
    .content-text {
        padding: 0 15px 30px 15px !important;
        box-sizing: border-box;
    }
}

/* Fix: user form grid (name/surname, date/time) stacks on small mobile screens */
@media (max-width: 480px) {
    .form-grid-row {
        grid-template-columns: 1fr !important;
    }
}