* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: "EB Garamond", serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

:target {
    scroll-margin-top: 60px;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}
@keyframes twinkle {
    0%,
    100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: none;
}
.header-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-text {
    display: none;
}
.nav {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.nav a {
    font-family: "Cinzel", serif;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
}
.nav a:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    padding-top: 0px;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}
.logo {
    font-family: "Cinzel", serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin-bottom: 15px;
    margin-top: 100px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.2;
}
.subtitle {
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    color: #b8b8b8;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 1px;
}

.mystical-circle {
    width: 250px;
    height: 250px;
    border: 3px solid #d4af37;
    border-radius: 50%;
    margin: 40px auto 20px;
    position: relative;
    animation: rotate 25s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.mystical-circle::before {
    content: "✦";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}
.mystical-circle::after {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite reverse;
}
.mystical-object {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    animation: counterRotate 25s linear infinite;
    z-index: 10;
}
@keyframes counterRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}
.mystical-eye {
    width: 100px;
    height: 65px;
    position: relative;
}
.eye-outer {
    width: 100px;
    height: 65px;
    background: linear-gradient(135deg, #d4af37, #f4e5a1);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.7);
    position: relative;
}
.eye-inner {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle, #4a0e4e 30%, #2d0a3d 100%);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eye-pupil {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #f4e5a1, #d4af37);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 1);
    position: relative;
    animation: lookAround 4s ease-in-out infinite;
}
@keyframes lookAround {
    0%,
    100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, 0);
    }
    50% {
        transform: translate(0, 0);
    }
    75% {
        transform: translate(10px, 0);
    }
}

.hero-text {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin: 40px 0 20px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    line-height: 1.3;
}
.hero-text span {
    color: #d4af37;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.hero-description {
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    color: #c0c0c0;
    margin-bottom: 40px;
    max-width: 100%;
    text-align: center;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
    padding: 0 10px;
}
.cta-button {
    font-family: "Cinzel", serif;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
    width: 100%;
    max-width: 350px;
}
.cta-button:active {
    transform: scale(0.98);
}

section {
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}
h2 {
    font-family: "Cinzel", serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #d4af37;
    letter-spacing: 4px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.about-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #c0c0c0;
    font-weight: 300;
}
.about-content p {
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.quiz-container {
    display: none;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    padding-top: 20px;
}
.quiz-container.active {
    display: block;
}
.quiz-step {
    display: none;
    padding: 20px;
}
.quiz-step.active {
    display: block;
}

.progress-container {
    margin-bottom: 40px;
    background: rgba(10, 10, 10, 0.7);
    padding: 25px 20px;
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}
.progress-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.progress-text {
    font-family: "Cinzel", serif;
    color: #d4af37;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 2px;
}
.progress-percent {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f4e5a1;
    text-shadow: 0 0 20px rgba(244, 229, 161, 0.6);
}
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(40, 40, 40, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.9);
}
.quiz-title {
    font-family: "Cinzel", serif;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 40px;
    color: #f4e5a1;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    letter-spacing: 3px;
    font-weight: 600;
    line-height: 1.4;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0;
}
.zodiac-card {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.9) 0%,
        rgba(40, 30, 50, 0.8) 100%
    );
    border: 2px solid rgba(100, 80, 150, 0.3);
    border-radius: 20px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.zodiac-card:active {
    transform: scale(0.95);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    background: linear-gradient(
        135deg,
        rgba(40, 30, 50, 0.9) 0%,
        rgba(60, 40, 80, 0.8) 100%
    );
}
.zodiac-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}
.zodiac-name {
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c0c0c0;
    font-weight: 400;
}

.quiz-question {
    margin: 30px 0;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.quiz-option {
    font-family: "EB Garamond", serif;
    background: linear-gradient(
        135deg,
        rgba(30, 20, 40, 0.8) 0%,
        rgba(20, 20, 30, 0.9) 100%
    );
    border: 2px solid rgba(150, 100, 200, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}
.quiz-option:active {
    border-color: #d4af37;
    background: linear-gradient(
        135deg,
        rgba(60, 40, 80, 0.8) 0%,
        rgba(40, 30, 60, 0.9) 100%
    );
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    transform: scale(0.98);
}
.quiz-option.selected {
    border-color: #d4af37;
    background: linear-gradient(
        135deg,
        rgba(80, 60, 100, 0.8) 0%,
        rgba(60, 40, 80, 0.9) 100%
    );
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

.tarot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}
.tarot-card {
    background: linear-gradient(
        135deg,
        rgba(30, 20, 40, 0.95) 0%,
        rgba(20, 20, 30, 0.98) 100%
    );
    border: 3px solid rgba(150, 100, 200, 0.4);
    border-radius: 20px;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tarot-card:active {
    transform: scale(0.95);
    border-color: #d4af37;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(
        135deg,
        rgba(60, 40, 80, 0.95) 0%,
        rgba(40, 30, 60, 0.98) 100%
    );
}
.tarot-card.selected {
    border-color: #d4af37;
    background: linear-gradient(
        135deg,
        rgba(80, 60, 100, 0.95) 0%,
        rgba(60, 40, 80, 0.98) 100%
    );
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.7);
}
.tarot-card-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    filter: brightness(0.95);
    transition: all 0.3s ease;
}
.tarot-card:active .tarot-card-image,
.tarot-card.selected .tarot-card-image {
    filter: brightness(1.1);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}
.tarot-name {
    font-family: "Cinzel", serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #f4e5a1;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 5px;
}

.quiz-button {
    font-family: "Cinzel", serif;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    color: #0a0a0a;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}
.quiz-button:active {
    transform: scale(0.98);
}

.whatsapp-button-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-button-simple:active {
    transform: scale(0.96);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
}
.wa-icon {
    font-size: 1.8rem;
    line-height: 1;
    animation: pulse-icon 2s infinite;
}
@keyframes pulse-icon {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}
.wa-text {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-button-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.2) 0%,
        rgba(244, 229, 161, 0.15) 100%
    );
    color: #f4e5a1;
    padding: 16px 35px;
    border-radius: 50px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    font-family: "Cinzel", serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin: 30px auto 0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    width: 100%;
    max-width: 380px;
}
.home-button-simple:active {
    transform: scale(0.96);
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.3) 0%,
        rgba(244, 229, 161, 0.25) 100%
    );
    border-color: #d4af37;
}
.home-button-simple span:first-child {
    font-size: 1.5rem;
    line-height: 1;
}

.error-message {
    display: none;
    font-family: "EB Garamond", serif;
    color: #ff4444;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    animation: shake 0.5s;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}
.error-message.show {
    display: block;
}
@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.quiz-result {
    text-align: center;
    padding: 20px;
}
.result-sun-container {
    width: 280px;
    height: 280px;
    margin: 40px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #d4af37;
    border-radius: 50%;
    box-shadow:
        0 0 50px rgba(212, 175, 55, 0.6),
        inset 0 0 30px rgba(212, 175, 55, 0.2);
    background: radial-gradient(
        circle,
        rgba(244, 229, 161, 0.15) 0%,
        rgba(10, 10, 10, 0.9) 70%
    );
    animation: sunCircleGlow 3s ease-in-out infinite;
    overflow: hidden;
}
@keyframes sunCircleGlow {
    0%,
    100% {
        box-shadow:
            0 0 50px rgba(212, 175, 55, 0.6),
            inset 0 0 30px rgba(212, 175, 55, 0.2);
        border-color: #d4af37;
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 80px rgba(212, 175, 55, 0.9),
            inset 0 0 50px rgba(212, 175, 55, 0.3);
        border-color: #f4e5a1;
        transform: scale(1.05);
    }
}
.sun-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: sunFloat 3s ease-in-out infinite;
}
@keyframes sunFloat {
    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(244, 229, 161, 0.7));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 50px rgba(244, 229, 161, 1));
    }
}
.result-message {
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #f4e5a1;
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    padding: 0 15px;
}
.result-highlight {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #d4af37;
    margin: 30px auto;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1.5px;
    max-width: 100%;
    padding: 0 15px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.whatsapp-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 20px 15px;
    box-sizing: border-box;
}

.cta-subtitle {
    font-family: "EB Garamond", serif;
    margin-top: 20px;
    color: #c0c0c0;
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}

.contacts {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.contact-item {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.9) 0%,
        rgba(30, 20, 40, 0.8) 100%
    );
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* центрирует всё по горизонтали */
}
.contact-item h3 {
    font-family: "Cinzel", serif;
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 2px;
}
.contact-item p {
    font-family: "EB Garamond", serif;
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.6;
}
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-button i,
.telegram-button i {
    font-size: 1.4em;
    vertical-align: middle;
    margin-right: 6px;
}

.telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 100%);

    color: white;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px #24a1de66;
}

.whatsapp-button:active {
    transform: scale(0.98);
}

.name-input {
    display: block;
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 15px;
    background: linear-gradient(
        135deg,
        rgba(30, 20, 40, 0.8) 0%,
        rgba(20, 20, 30, 0.9) 100%
    );
    border: 2px solid rgba(150, 100, 200, 0.3);
    border-radius: 15px;
    color: #f4e5a1;
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.name-input::placeholder {
    color: rgba(192, 192, 192, 0.5);
}
.name-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    background: linear-gradient(
        135deg,
        rgba(60, 40, 80, 0.8) 0%,
        rgba(40, 30, 60, 0.9) 100%
    );
}
.input-label {
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
    color: rgba(192, 192, 192, 0.7);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
    text-align: left;
    text-transform: uppercase;
}
.input-group {
    margin-bottom: 20px;
}
.date-selects {
    display: grid;
    grid-template-columns: 1fr 2fr 1.4fr;
    gap: 10px;
}
.date-select {
    padding: 16px 10px;
    background: linear-gradient(
        135deg,
        rgba(30, 20, 40, 0.8) 0%,
        rgba(20, 20, 30, 0.9) 100%
    );
    border: 2px solid rgba(150, 100, 200, 0.3);
    border-radius: 15px;
    color: #f4e5a1;
    font-family: "EB Garamond", serif;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    text-align: center;
    width: 100%;
}
.date-select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
    background: linear-gradient(
        135deg,
        rgba(60, 40, 80, 0.8) 0%,
        rgba(40, 30, 60, 0.9) 100%
    );
}
.date-select option {
    background: #1a1025;
    color: #f4e5a1;
}

footer {
    font-family: "EB Garamond", serif;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    border-top: 1px solid #333;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.finish-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.finish-button {
    display: inline-flex;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;

    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.finish-button i {
    font-size: 1.7em;
}

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

    .zodiac-name {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-top: 50px;
    }
    #contacts .container {
        padding-top: 0px !important;
    }
    section {
        padding: 40px 15px;
    }
    .zodiac-name {
        font-size: 0.65rem;
        letter-spacing: 0;
        word-break: break-word;
        line-height: 1.2;
    }

    .zodiac-card {
        padding: 15px 5px;
    }

    .zodiac-icon {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }
    .hero {
        min-height: auto;
        padding: 80px 15px 60px; /* верх: отступ под header, низ: воздух */
        justify-content: flex-start;
    }
    .logo {
        font-size: 1.6rem;
        letter-spacing: 3px;
        margin-bottom: 70px;
        margin-top: 10px;
    }
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .mystical-circle {
        width: 180px;
        height: 180px;
        margin: 15px auto;
    }
    .mystical-eye {
        width: 70px;
        height: 45px;
    }
    .eye-outer {
        width: 70px;
        height: 45px;
    }
    .eye-inner {
        width: 32px;
        height: 32px;
    }
    .eye-pupil {
        width: 12px;
        height: 12px;
    }
    .hero-text {
        font-size: 1.4rem;
        margin: 15px 0 10px;
        margin-top: 60px;
    }
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    .cta-button {
        font-size: 0.95rem;
        padding: 14px 35px;
        max-width: 280px;
    }
    .zodiac-icon {
        font-size: 2.5rem;
    }
    .zodiac-name {
        font-size: 0.75rem;
    }
    .quiz-title {
        font-size: 1.3rem;
    }
    .result-sun-container {
        width: 220px;
        height: 220px;
    }
    .tarot-card-image {
        max-height: 140px;
    }
    .tarot-name {
        font-size: 0.75rem;
    }
    .result-highlight {
        font-size: 1rem;
        line-height: 1.4;
    }
    .whatsapp-button-simple {
        padding: 18px 30px;
        font-size: 0.9rem;
        gap: 10px;
        max-width: 100%;
    }
    .wa-icon {
        font-size: 1.5rem;
    }
    .home-button-simple {
        padding: 14px 25px;
        font-size: 0.85rem;
        gap: 8px;
        max-width: 100%;
    }
    .home-button-simple span:first-child {
        font-size: 1.3rem;
    }
    .cta-subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    .whatsapp-button-simple {
        padding: 18px 30px;
        align-self: center;
        font-size: 0.9rem;
        gap: 10px;
        max-width: calc(100% - 30px); /* вместо 100% */
        align-self: center; /* добавить */
        margin: 0 auto;
        align-self: center;
        width: calc(100% - 30px); /* убрать перекрытие padding родителя */
        max-width: 340px;
        box-sizing: border-box;
    }
    .whatsapp-button-simple {
        padding: 15px 20px;
        width: calc(100% - 20px);
        max-width: 100%;
        align-self: center;
        margin: 0 auto;
    }

    .whatsapp-cta {
        padding: 15px 10px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 20px;
    }
    .mystical-circle {
        width: 180px;
        height: 180px;
    }
    .container {
        padding-top: 100px;
    }
}
