        
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-primary: #000;
            --bg-secondary: #111;
            --text-primary: #fff;
            --text-secondary: #ccc;
            --accent-primary: #8b5cf6;
            --accent-secondary: #a855f7;
            --card-bg: #1a1a2e;
            --border-color: #333;
        }

        [data-theme="light"] {
            --bg-primary: #fff;
            --bg-secondary: #f8f9fa;
            --text-primary: #000;
            --text-secondary: #666;
            --accent-primary: #8b5cf6;
            --accent-secondary: #a855f7;
            --card-bg: #f0f0f0;
            --border-color: #ddd;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
            transition: all 0.3s ease;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .star {
            position: absolute;
            width: 2px;
            height: 2px;
            background: var(--text-secondary);
            border-radius: 50%;
            animation: twinkle 3s infinite;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 1; }
        }

        .floating-orb {
            position: fixed;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
            pointer-events: none;
            z-index: 2;
            animation: float 15s infinite ease-in-out;
        }

        .orb1 { top: 10%; left: 10%; animation-delay: 0s; }
        .orb2 { top: 60%; right: 10%; animation-delay: -5s; }
        .orb3 { bottom: 20%; left: 20%; animation-delay: -10s; }

        @keyframes float {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(30px, -20px) scale(1.1); }
            50% { transform: translate(-20px, 30px) scale(0.9); }
            75% { transform: translate(20px, 20px) scale(1.05); }
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            width: 100%;
            max-width: none;
        }

        .left-nav {
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--accent-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo::before {
            content: "🔮";
            font-size: 28px;
            animation: rotate 10s linear infinite;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 8px 16px;
            border-radius: 20px;
            position: relative;
            overflow: hidden;
            font-size: 14px;
            white-space: nowrap;
        }

        .nav-links a:hover {
            color: var(--accent-primary);
            transform: translateY(-2px);
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
            transition: left 0.5s;
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .controls {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .theme-toggle {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 44px;
            min-height: 44px;
        }

        .theme-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
        }

        .lang-dropdown {
            position: relative;
        }

        .lang-toggle {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 12px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            min-width: 44px;
            min-height: 44px;
        }

        .lang-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
        }

        .lang-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 10px 0;
            min-width: 160px;
            display: none;
            z-index: 1000;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .lang-menu.show {
            display: block;
        }

        .lang-option {
            padding: 8px 16px;
            cursor: pointer;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            min-height: 44px;
        }

        .lang-option:hover {
            background: var(--accent-primary);
        }

        .login-button {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            color: white;
            border: none;
            padding: 8px 20px;
            font-size: 14px;
            font-weight: 500;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-height: 44px;
        }

        .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
        }

        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            min-width: 44px;
            min-height: 44px;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .mobile-menu-toggle:hover {
            background: var(--card-bg);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: var(--bg-primary);
            z-index: 200;
            transform: translateY(-100%);
            transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            padding: 20px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .mobile-menu.show {
            transform: translateY(0);
        }

        .mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 150;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }

          .footer {
            background-color: #000000;
            border-top: 1px solid #222;
            padding: 4rem 2rem 2rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 4rem;
            margin-bottom: 3rem;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
        }

        .brand-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 1.5rem;
            color: #fff;
            line-height: 1.4;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background-color: transparent;
            border: 1px solid #333;
            border-radius: 4px;
            color: #ccc;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .social-link:hover {
            background-color: #333;
            color: white;
        }

        .footer-column {
            display: flex;
            flex-direction: column;
        }

        .column-title {
            font-size: 1rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
            color: #fff;
        }

        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .footer-link {
            color: #ccc;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.2s ease;
            line-height: 1.4;
        }

        .footer-link:hover {
            color: #fff;
        }

        .footer-middle {
            margin-bottom: 2rem;
        }

        .languages {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .lang-link {
            color: #999;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease;
        }

        .lang-link:hover,
        .lang-link.active {
            color: #fff;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 2rem;
            border-top: 1px solid #222;
            font-size: 0.85rem;
            color: #666;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-legal {
            display: flex;
            gap: 2rem;
        }

        .legal-link {
            color: #666;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .legal-link:hover {
            color: #ccc;
        }

        .copyright {
            color: #666;
        }

        @media (max-width: 768px) {
            .footer-top {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .languages {
                gap: 1rem;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .footer-legal {
                flex-direction: column;
                gap: 1rem;
            }
        }

        .mobile-menu-overlay.show {
            opacity: 1;
            visibility: visible;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-color);
        }

        .mobile-menu-logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--accent-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .mobile-menu-logo::before {
            content: "🔮";
            font-size: 28px;
        }

        .mobile-menu-close {
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            min-width: 44px;
            min-height: 44px;
            border-radius: 10px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-menu-close:hover {
            background: var(--card-bg);
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 0;
            margin-bottom: 40px;
        }

        .mobile-nav-links a {
            color: var(--text-primary);
            text-decoration: none;
            padding: 20px 0;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 60px;
        }

        .mobile-nav-links a:hover {
            color: var(--accent-primary);
            padding-left: 10px;
        }

        .mobile-nav-links a.has-dropdown::after {
            content: "";
            width: 16px;
            height: 16px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
            transition: transform 0.3s ease;
        }

        .mobile-nav-links a.has-dropdown.expanded::after {
            transform: rotate(90deg);
        }

        .mobile-nav-links a.has-dropdown:hover::after {
            transform: translateX(5px);
        }

        .mobile-nav-links a.has-dropdown.expanded:hover::after {
            transform: rotate(90deg) translateY(-5px);
        }

        .mobile-submenu {
            display: none;
            background: var(--card-bg);
            margin-top: 10px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .mobile-submenu.show {
            display: block;
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                max-height: 0;
            }
            to {
                opacity: 1;
                max-height: 300px;
            }
        }

        .mobile-submenu a {
            padding: 15px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-size: 16px;
            font-weight: 400;
            min-height: 50px;
        }

        .mobile-submenu a:last-child {
            border-bottom: none;
        }

        .mobile-controls {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }

        .mobile-control-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 0;
            font-size: 18px;
            font-weight: 500;
            min-height: 60px;
        }

        .mobile-control-button {
            background: var(--card-bg);
            border: 1px solid #33333300;
            border-radius: 16px;
            padding: 12px 16px;
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            min-height: 44px;
        }

        .mobile-control-button:hover {
            background: var(--accent-primary);
            border-color: var(--accent-primary);
        }

        .mobile-login-button {
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            color: white;
            border: none;
            padding: 16px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 20px;
            text-align: center;
            min-height: 56px;
        }

        .mobile-login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
        }

        main {
            position: relative;
            z-index: 10;
            max-width: 800px;
            margin: 0 auto;
            padding: 120px 20px 60px;
            text-align: center;
        }

        .hero-image {
            width: min(300px, 80vw);
            height: min(200px, 53.3vw);
            margin: 0 auto 40px auto;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(138, 92, 246, 0);
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .hero-image:hover {
            transform: scale(1.05);
        }

        .hero-image:hover img {
            animation: spinOnce 2s ease-in-out;
        }

        @keyframes spinOnce {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .hero-title {
            font-size: clamp(2rem, 8vw, 4rem);
            font-weight: 300;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            line-height: 1.2;
        }

        .hero-subtitle {
            font-size: clamp(1.5rem, 6vw, 2.5rem);
            font-weight: 600;
            color: var(--accent-primary);
            margin-bottom: 30px;
            text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
            line-height: 1.3;
        }

        .hero-description {
            font-size: clamp(16px, 4vw, 18px);
            color: var(--text-secondary);
            margin-bottom: 60px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .tarot-card-container {
            margin: 60px 0;
            perspective: 1000px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .tarot-card {
            width: min(200px, 50vw);
            height: min(300px, 75vw);
            margin: 0 auto;
            position: relative;
            transform-style: preserve-3d;
            cursor: pointer;
            animation: continuous3DRotation 20s linear infinite;
        }

        @keyframes continuous3DRotation {
            0% { 
                transform: perspective(1000px) rotateY(0deg) rotateX(0deg) rotateZ(0deg);
            }
            25% { 
                transform: perspective(1000px) rotateY(90deg) rotateX(10deg) rotateZ(5deg);
            }
            50% { 
                transform: perspective(1000px) rotateY(180deg) rotateX(-5deg) rotateZ(0deg);
            }
            75% { 
                transform: perspective(1000px) rotateY(270deg) rotateX(15deg) rotateZ(-5deg);
            }
            100% { 
                transform: perspective(1000px) rotateY(360deg) rotateX(0deg) rotateZ(0deg);
            }
        }

        .tarot-card:hover {
            animation-play-state: paused;
            transform: perspective(1000px) rotateY(15deg) rotateX(10deg) scale(1.1);
        }

        .card-inner {
            width: 100%;
            height: 100%;
            border-radius: 15px;
            background: linear-gradient(135deg, #1a1a2e, #2d1b6900);
            border: 2px solid rgb(139 92 246 / 0%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }

        .card-inner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
            animation: shimmer 3s linear infinite;
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }

        .card-inner::after {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
            border-radius: inherit;
            z-index: -1;
            animation: borderGlow 4s linear infinite;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }

        .card-placeholder {
            width: 127%;
            height: 133%;
            z-index: 1;
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .card-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 10px;
        }

        .start-button {
            background: linear-gradient(135deg, #250e57, var(--accent-secondary));
            color: white;
            border: none;
            padding: 9px 34px;
            font-size: clamp(16px, 4vw, 18px);
            font-weight: 200;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
            min-height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            max-width: 300px;
        }

        .start-button:hover {
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
        }

        .start-button:active {
            transform: translateY(-2px);
        }

        .start-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }

        .start-button:hover::before {
            left: 100%;
        }

        /* Новые улучшенные стили для отзывов */
        .testimonials-section {
            margin-top: 80px;
            padding: 0 20px;
        }

        .testimonials-title {
            font-size: clamp(24px, 6vw, 32px);
            font-weight: 700;
            text-align: center;
            margin-bottom: 60px;
            color: var(--text-primary);
            background: linear-gradient(135deg, var(--text-primary), var(--accent-primary));
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: 0 auto;
            justify-content: center;
        }

        .testimonial-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 30px 25px;
            text-align: left;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            height: 280px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .testimonial-card:hover::before {
            transform: scaleX(1);
        }

        .testimonial-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(139, 92, 246, 0.25);
            border-color: var(--accent-primary);
        }

        .testimonial-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 20px;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .author-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
            color: white;
            flex-shrink: 0;
        }

        .author-info {
            flex: 1;
        }

        .author-name {
            font-weight: 600;
            color: var(--text-primary);
            font-size: 16px;
            margin-bottom: 2px;
        }

        .author-location {
            font-size: 13px;
            color: var(--text-secondary);
            opacity: 0.8;
        }

        .stars-rating {
            display: flex;
            gap: 2px;
            align-items: center;
        }

        .star-icon {
            width: 16px;
            height: 16px;
            transition: all 0.2s ease;
        }

        .star-filled {
            fill: #ffd700;
            filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
        }

        .star-empty {
            fill: #444;
            opacity: 0.3;
        }

        .testimonial-text {
            color: var(--text-secondary);
            line-height: 1.6;
            font-size: 15px;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 6;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .theme-icon, .lang-icon, .dropdown-icon {
            width: 18px;
            height: 18px;
            fill: currentColor;
            flex-shrink: 0;
        }

        @media (max-width: 1024px) {
            .testimonials-grid {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                gap: 20px;
            }
            
            .testimonial-card {
                height: 260px;
            }
        }

        /* Оптимизация для мобильных устройств */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .controls {
                display: none;
            }

            .mobile-menu-toggle {
                display: block;
            }

            main {
                padding-top: 90px;
                padding-left: 15px;
                padding-right: 15px;
            }

            .hero-image {
                width: min(250px, 70vw);
                height: min(170px, 47vw);
                margin-bottom: 30px;
            }

            .tarot-card {
                width: min(160px, 40vw);
                height: min(240px, 60vw);
            }

            .testimonials-section {
                padding: 0 10px;
                margin-top: 60px;
            }

            .testimonials-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
                gap: 20px;
            }

            .testimonial-card {
                height: 250px;
                padding: 25px 20px;
            }

            .hero-description {
                margin-bottom: 40px;
            }

            .tarot-card-container {
                margin: 40px 0;
            }

            .start-button {
                padding: 14px 32px;
                margin: 0 10px;
                min-height: 50px;
            }

            .testimonials-title {
                margin-bottom: 40px;
            }

            /* Отключаем некоторые эффекты для лучшей производительности на мобильных */
            .floating-orb {
                display: none;
            }

            .stars .star:nth-child(n+51) {
                display: none;
            }

            /* Упрощенная анимация карты для мобильных */
            @keyframes continuous3DRotationMobile {
                0% { 
                    transform: perspective(800px) rotateY(0deg) rotateX(0deg);
                }
                25% { 
                    transform: perspective(800px) rotateY(90deg) rotateX(5deg);
                }
                50% { 
                    transform: perspective(800px) rotateY(180deg) rotateX(0deg);
                }
                75% { 
                    transform: perspective(800px) rotateY(270deg) rotateX(5deg);
                }
                100% { 
                    transform: perspective(800px) rotateY(360deg) rotateX(0deg);
                }
            }

            .tarot-card {
                animation: continuous3DRotationMobile 15s linear infinite;
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 12px 0;
            }

            nav {
                padding: 0 15px;
            }

            .logo {
                font-size: 22px;
            }

            .logo::before {
                font-size: 24px;
            }

            main {
                padding-top: 80px;
                padding-left: 10px;
                padding-right: 10px;
            }

            .hero-image {
                width: min(200px, 60vw);
                height: min(135px, 40vw);
            }

            .tarot-card {
                width: min(140px, 35vw);
                height: min(210px, 52vw);
            }

            .testimonials-section {
                padding: 0 5px;
            }

            .testimonials-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .testimonial-card {
                height: 240px;
                padding: 20px 15px;
            }

            .start-button {
                padding: 12px 24px;
                font-size: 16px;
                min-height: 48px;
            }

            /* Еще больше упрощений для очень маленьких экранов */
            .stars .star:nth-child(n+31) {
                display: none;
            }

            .testimonials-title {
                margin-bottom: 30px;
            }
        }

        /* Поддержка touch устройств */
        @media (hover: none) and (pointer: coarse) {
            .testimonial-card:hover,
            .nav-links a:hover,
            .theme-toggle:hover,
            .lang-toggle:hover,
            .login-button:hover {
                transform: none;
                box-shadow: none;
            }

            .start-button:hover {
                transform: none;
                box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
            }

            .hero-image:hover {
                transform: none;
            }

            .tarot-card:hover {
                animation-play-state: running;
                transform: none;
            }
        }

        /* Улучшенная производительность */
        * {
            -webkit-tap-highlight-color: transparent;
        }

        .tarot-card,
        .card-inner,
        .star,
        .floating-orb {
            will-change: transform;
        }

        /* Анимация загрузки */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero-image,
        .hero-title,
        .hero-subtitle,
        .hero-description,
        .tarot-card-container,
        .start-button,
        .testimonials-title,
        .testimonial-card {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .hero-title { animation-delay: 0.1s; }
        .hero-subtitle { animation-delay: 0.2s; }
        .hero-description { animation-delay: 0.3s; }
        .tarot-card-container { animation-delay: 0.4s; }
        .start-button { animation-delay: 0.5s; }
        .testimonials-title { animation-delay: 0.6s; }
        .testimonial-card:nth-child(1) { animation-delay: 0.7s; }
        .testimonial-card:nth-child(2) { animation-delay: 0.8s; }
        .testimonial-card:nth-child(3) { animation-delay: 0.9s; }
        .testimonial-card:nth-child(4) { animation-delay: 1.0s; }