@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=EB+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Playfair+Display:ital,wght@0,700;0,900;1,400&display=swap');

:root {
    --gold: #d4af37;
    --gold-light: #f4e5a1;
    --gold-dim: rgba(212, 175, 55, 0.4);
    --deep: #04020d;
    --deep2: #080418;
    --purple: #1a0a2e;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: rgba(0, 0, 0, 0.4);
}

* {
    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: var(--deep);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============ COSMIC BACKGROUND ============ */
.cosmic-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cosmic-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(80, 20, 120, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(30, 10, 80, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(100, 50, 0, 0.3) 0%, transparent 50%),
        linear-gradient(180deg, #04020d 0%, #080418 40%, #0d0520 100%);
}

.nebula-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 40, 200, 0.25) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation: nebulaDrift 20s ease-in-out infinite alternate;
    filter: blur(40px);
}

.nebula-2 {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 100, 20, 0.2) 0%, transparent 70%);
    bottom: 10%;
    right: -80px;
    animation: nebulaDrift 25s ease-in-out infinite alternate-reverse;
    filter: blur(50px);
}

@keyframes nebulaDrift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.15); }
}

/* ============ STARS ============ */
.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star.shooting {
    width: 2px !important;
    height: 2px !important;
    background: linear-gradient(90deg, transparent, white, transparent);
    border-radius: 0;
    animation: shoot 4s linear infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes shoot {
    0% { opacity: 0; transform: translateX(0) translateY(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateX(200px) translateY(100px); }
}

/* ============ LIQUID GLASS MIXIN ============ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid var(--glass-border);
    box-shadow:
        0 8px 32px var(--glass-shadow),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: clamp(22px, 4vw, 36px) clamp(16px, 4vw, 32px);
    background: rgba(4, 2, 13, 0.75);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-text { display: none; }

.nav {
    display: flex;
    gap: clamp(16px, 5vw, 45px);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav a {
    font-family: "Cinzel", serif;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    font-weight: 700;
    letter-spacing: clamp(1.5px, 0.6vw, 3px);
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
    padding: 4px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--gold);
}

.nav a:hover::after {
    width: 100%;
}

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

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.logo {
    font-family: "Cinzel", serif;
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #a07820 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, #a07820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(212,175,55,0.4));
}

/* ============ MYSTICAL EYE ============ */
.mystical-circle-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 10px auto 30px;
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.orbit-ring-1 {
    inset: 0;
    border-color: rgba(212,175,55,0.6);
    animation: orbit1 20s linear infinite;
    box-shadow: 0 0 20px rgba(212,175,55,0.15), inset 0 0 20px rgba(212,175,55,0.05);
}

.orbit-ring-2 {
    inset: 15px;
    border-color: rgba(212,175,55,0.3);
    animation: orbit1 15s linear infinite reverse;
}

.orbit-ring-3 {
    inset: 30px;
    border-color: rgba(160,120,40,0.4);
    animation: orbit1 30s linear infinite;
    border-style: dashed;
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

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

.mystical-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mystical-object {
    position: relative;
    z-index: 10;
}

.mystical-eye {
    width: 110px;
    height: 72px;
    position: relative;
    filter: drop-shadow(0 0 25px rgba(212,175,55,0.7));
}

.eye-outer {
    width: 110px;
    height: 72px;
    background: linear-gradient(135deg, #c49020, var(--gold), var(--gold-light), var(--gold));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.eye-outer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    border-radius: 50%;
}

.eye-inner {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 35% 35%, #6b1f7a, #2d0a3d 60%, #0a0018 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eye-inner::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 35%;
    height: 35%;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    filter: blur(2px);
}

.eye-pupil {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 40% 40%, var(--gold-light), var(--gold), #8b5e00);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 1), 0 0 30px rgba(212,175,55,0.4);
    animation: lookAround 5s ease-in-out infinite;
}

@keyframes lookAround {
    0%,100% { transform: translate(0, 0); }
    20% { transform: translate(-8px, 3px); }
    40% { transform: translate(5px, -4px); }
    60% { transform: translate(8px, 2px); }
    80% { transform: translate(-3px, -5px); }
}

/* Rune symbols around circle */
.rune-symbol {
    position: absolute;
    font-size: 1rem;
    color: rgba(212,175,55,0.5);
    font-family: "Cinzel", serif;
    animation: runeGlow 3s ease-in-out infinite;
}

.rune-symbol:nth-child(1) { top: 5px; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.rune-symbol:nth-child(2) { top: 50%; right: 5px; transform: translateY(-50%); animation-delay: 0.5s; }
.rune-symbol:nth-child(3) { bottom: 5px; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.rune-symbol:nth-child(4) { top: 50%; left: 5px; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes runeGlow {
    0%,100% { opacity: 0.3; text-shadow: none; }
    50% { opacity: 1; text-shadow: 0 0 10px var(--gold); color: var(--gold); }
}

/* ============ HERO TEXT ============ */
.hero-text {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    margin: 20px 0 15px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 3px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.hero-text span {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(212,175,55,0.5));
}

.hero-description {
    font-family: "EB Garamond", serif;
    font-size: 1.15rem;
    color: rgba(192,192,192,0.8);
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.7;
    font-style: italic;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* ============ CTA BUTTON - LIQUID GLASS ============ */
.cta-button {
    font-family: "Cinzel", serif;
    position: relative;
    background: linear-gradient(135deg,
        rgba(212,175,55,0.9) 0%,
        rgba(244,229,161,0.95) 40%,
        rgba(212,175,55,0.9) 100%);
    color: #0a0618;
    font-size: 1rem;
    font-weight: 700;
    padding: 18px 50px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    width: 100%;
    max-width: 340px;
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 4px 20px rgba(212,175,55,0.4),
        0 0 60px rgba(212,175,55,0.1),
        inset 0 1px 0 rgba(255,255,255,0.5);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before,
.cta-button:active::before {
    left: 100%;
}

.cta-button:active {
    transform: scale(0.97);
}

/* ============ DIVIDER ============ */
.mystical-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    margin: 20px 0;
    opacity: 0.5;
}

.mystical-divider::before,
.mystical-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.mystical-divider::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* ============ SECTIONS ============ */
section {
    padding: 70px 20px;
    position: relative;
    z-index: 2;
}

h2 {
    font-family: "Cinzel", serif;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold);
    letter-spacing: 4px;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 15px auto 0;
}

/* ============ ABOUT SECTION - GLASS ============ */
#about .glass-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(25px) saturate(1.5);
    -webkit-backdrop-filter: blur(25px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 35px 25px;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

#about .glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at top left, rgba(212,175,55,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.about-content {
    text-align: center;
    line-height: 1.9;
    font-size: 1.1rem;
    color: rgba(200,190,210,0.9);
}

.about-content p {
    margin-bottom: 20px;
    position: relative;
}

.about-content p:last-child {
    color: var(--gold-light);
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 0;
}

/* ============ CONTACTS - GLASS ============ */
.contacts {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(25px) saturate(1.5);
    -webkit-backdrop-filter: blur(25px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 30px 20px;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: 420px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

.contact-item:active {
    transform: scale(0.99);
}

.contact-item h3 {
    font-family: "Cinzel", serif;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.contact-item p {
    color: rgba(192,192,192,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============ QUIZ CONTAINER ============ */
.quiz-container {
    display: none;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
}

.quiz-container.active {
    display: block;
}

.quiz-step {
    display: none;
    padding: 20px;
    animation: stepReveal 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}

@keyframes stepReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ PROGRESS - GLASS ============ */
.progress-container {
    margin-bottom: 35px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 22px 20px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-text {
    font-family: "Cinzel", serif;
    color: rgba(212,175,55,0.8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.progress-percent {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8b5e00, var(--gold), var(--gold-light), var(--gold));
    border-radius: 6px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(255,255,255,0.6);
    filter: blur(4px);
    border-radius: 50%;
}

/* ============ QUIZ TITLE ============ */
.quiz-title {
    font-family: "Cinzel", serif;
    font-size: 1.25rem;
    text-align: center;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 30px;
    line-height: 1.4;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(212,175,55,0.3);
}

/* ============ QUIZ OPTIONS - LIQUID GLASS ============ */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    padding: 18px 20px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    color: rgba(240,235,255,0.9);
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.quiz-option::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quiz-option:active::before,
.quiz-option.selected::before {
    opacity: 1;
}

.quiz-option.selected {
    border-color: rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.08);
    color: var(--gold-light);
    box-shadow:
        0 4px 25px rgba(212,175,55,0.2),
        inset 0 1px 0 rgba(212,175,55,0.2);
    transform: translateX(4px);
}

/* ============ ZODIAC GRID ============ */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.zodiac-card {
    padding: 18px 8px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.zodiac-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.zodiac-card:active,
.zodiac-card.selected {
    border-color: rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.1);
    box-shadow: 0 0 25px rgba(212,175,55,0.2);
    transform: scale(0.97);
}

.zodiac-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
}

.zodiac-name {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    color: rgba(212,175,55,0.8);
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============ TAROT CARDS ============ */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.tarot-card {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    position: relative;
}

.tarot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212,175,55,0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.tarot-card:active::before,
.tarot-card.selected::before {
    opacity: 1;
}

.tarot-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212,175,55,0.4), 0 8px 30px rgba(0,0,0,0.5);
    transform: translateY(-5px) scale(1.02);
}

.tarot-card-image {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    filter: saturate(0.8) brightness(0.9);
    transition: filter 0.3s ease;
}

.tarot-card.selected .tarot-card-image {
    filter: saturate(1.1) brightness(1.05);
}

.tarot-name {
    font-family: "Cinzel", serif;
    font-size: 0.72rem;
    color: var(--gold-light);
    text-align: center;
    padding: 10px 5px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    background: rgba(0,0,0,0.4);
}

/* ============ QUIZ BUTTON - GLASS ============ */
.quiz-button {
    font-family: "Cinzel", serif;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg,
        rgba(212,175,55,0.85) 0%,
        rgba(244,229,161,0.9) 50%,
        rgba(212,175,55,0.85) 100%);
    color: #0a0618;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow:
        0 4px 20px rgba(212,175,55,0.35),
        inset 0 1px 0 rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.quiz-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.quiz-button:active::after { left: 100%; }
.quiz-button:active { transform: scale(0.98); }

/* ============ RESULT ============ */
.quiz-result {
    text-align: center;
    padding: 10px 0;
}

/* ============ CRYSTAL BALL ANIMATED ============ */
.crystal-ball-wrap {
    width: 220px;
    height: 230px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.crystal-ball-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: ballFloat 4s ease-in-out infinite;
    filter:
        drop-shadow(0 0 25px rgba(140, 80, 255, 0.7))
        drop-shadow(0 0 60px rgba(100, 50, 200, 0.4));
}

.crystal-shadow {
    width: 120px;
    height: 16px;
    background: radial-gradient(ellipse, rgba(120, 60, 220, 0.5) 0%, transparent 70%);
    filter: blur(8px);
    margin-top: -5px;
    animation: shadowPulse 4s ease-in-out infinite;
}

@keyframes ballFloat {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes shadowPulse {
    0%,100% { transform: scaleX(1); opacity: 0.7; }
    50% { transform: scaleX(0.7); opacity: 0.35; }
}

.result-message {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 25px 20px;
    color: rgba(210,200,230,0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}

.result-message::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}

/* ============ FINISH / HOME BUTTONS ============ */
.finish-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 18px 30px;
    border-radius: 18px;
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 25px rgba(37,211,102,0.35),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.finish-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;
}

.finish-button:active::before { left: 100%; }
.finish-button:active { transform: scale(0.98); }

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

.home-button-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    margin-top: 15px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    color: rgba(192,192,192,0.7);
    font-family: "Cinzel", serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-button-simple:active {
    transform: scale(0.98);
    background: rgba(255,255,255,0.07);
}

/* ============ CONTACT BUTTONS ============ */
.whatsapp-button, .telegram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    margin-top: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    box-shadow: 0 6px 25px rgba(37,211,102,0.3);
}

.telegram-button {
    background: linear-gradient(135deg, #2aabee, #229ed9);
    color: white;
    box-shadow: 0 6px 25px rgba(42,171,238,0.3);
}

.whatsapp-button i, .telegram-button i {
    font-size: 1.4em;
}

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

/* ============ FORM INPUTS - GLASS ============ */
.input-group { margin-bottom: 20px; }

.input-label {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: rgba(192,192,192,0.6);
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.name-input {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    color: var(--gold-light);
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.name-input::placeholder { color: rgba(192,192,192,0.35); }

.name-input:focus {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 0 25px rgba(212,175,55,0.15), inset 0 2px 8px rgba(0,0,0,0.3);
    background: rgba(212,175,55,0.06);
}

.date-selects {
    display: grid;
    grid-template-columns: 1fr 2fr 1.4fr;
    gap: 10px;
}

.date-select {
    padding: 14px 8px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    color: var(--gold-light);
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    text-align: center;
    width: 100%;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.date-select:focus {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 0 20px rgba(212,175,55,0.12);
}

.date-select option {
    background: #1a1025;
    color: var(--gold-light);
}

/* ============ ERROR ============ */
.error-message {
    display: none;
    color: #ff6b6b;
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 10px;
    padding: 12px;
    background: rgba(255,107,107,0.1);
    border-radius: 12px;
    border: 1px solid rgba(255,107,107,0.2);
}

.error-message.show { display: block; }

/* ============ CTA SUBTITLE ============ */
.cta-subtitle {
    font-family: "EB Garamond", serif;
    margin-top: 15px;
    color: rgba(192,192,192,0.6);
    font-size: 1rem;
    font-style: italic;
    text-align: center;
}

/* ============ FOOTER ============ */
footer {
    font-family: "EB Garamond", serif;
    text-align: center;
    padding: 40px 20px;
    color: rgba(102,102,102,0.6);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
}

/* ============ FLOATING PARTICLES ============ */
.particle {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ============ MOBILE OPTIMIZED ============ */
@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 50px;
        min-height: auto;
    }

    .logo {
        font-size: 1.7rem;
        letter-spacing: 4px;
    }

    .mystical-circle-wrap {
        width: 200px;
        height: 200px;
    }

    .mystical-eye { width: 80px; height: 52px; }
    .eye-outer { width: 80px; height: 52px; }
    .eye-inner { width: 36px; height: 36px; }
    .eye-pupil { width: 14px; height: 14px; }

    .hero-text { font-size: 1.7rem; margin: 15px 0 12px; }
    .hero-description { font-size: 1rem; }
    .cta-button { font-size: 0.9rem; padding: 16px 35px; }

    section { padding: 50px 15px; }
    h2 { font-size: 1.5rem; letter-spacing: 3px; }

    .zodiac-grid { gap: 8px; }
    .zodiac-icon { font-size: 2rem; }
    .zodiac-name { font-size: 0.65rem; }
    .zodiac-card { padding: 14px 5px; }

    .quiz-title { font-size: 1.1rem; letter-spacing: 2px; }
    .tarot-card-image { }
    .tarot-name { font-size: 0.68rem; }

    .result-sun-container { width: 170px; height: 170px; }
    .result-message { font-size: 1rem; }
}

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

/* ── Pricing: prevent $ clipping and text overflow on very small screens ── */
@media (max-width: 400px) {
    .pricing-card {
        padding: 28px 16px;
    }
    .pricing-price-row {
        gap: 1px;
    }
    .pricing-price-row .price-currency {
        font-size: 1.25rem;
        margin-bottom: 5px;
    }
    .pricing-price-row .price-amount {
        font-size: 2.6rem;
    }
    .pricing-price-row .pricing-period {
        font-size: 0.7rem;
        margin-left: 3px;
    }
    .pricing-plan-name {
        font-size: 0.72rem;
        letter-spacing: 2px;
    }
    .pricing-badge {
        right: 12px;
        font-size: 0.58rem;
        padding: 5px 10px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 80px 15px 40px; }
    .mystical-circle-wrap { width: 140px; height: 140px; }
}

/* ============ PRICING SECTION ============ */
#pricing {
    padding: 70px 20px;
    position: relative;
    z-index: 2;
}

#pricing h2 {
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-family: "EB Garamond", serif;
    text-align: center;
    color: rgba(192,192,192,0.6);
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    border-radius: 24px;
    padding: 30px 24px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pricing-card:active {
    transform: scale(0.99);
}

/* Base card - glass */
.pricing-card.basic {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(25px) saturate(1.5);
    -webkit-backdrop-filter: blur(25px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
        0 15px 50px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Premium card - gold glow glass */
.pricing-card.premium {
    background: rgba(212,175,55,0.06);
    backdrop-filter: blur(25px) saturate(1.8);
    -webkit-backdrop-filter: blur(25px) saturate(1.8);
    border: 1px solid rgba(212,175,55,0.35);
    box-shadow:
        0 20px 60px rgba(212,175,55,0.12),
        0 0 0 1px rgba(212,175,55,0.1),
        inset 0 1px 0 rgba(212,175,55,0.2);
}

/* Top light line */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.pricing-card.premium::before {
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

/* Popular badge */
.pricing-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #0a0618;
    font-family: "Cinzel", serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 0 0 14px 14px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

/* Extra top spacing on premium to separate ETERNO badge from SOL ETERNO text */
.pricing-card.premium {
    padding-top: 56px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
}

.pricing-plan-name {
    font-family: "Cinzel", serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(192,192,192,0.6);
    margin-bottom: 28px;
    text-align: center;
}

.pricing-card.premium .pricing-plan-name {
    color: rgba(212,175,55,0.7);
}

.pricing-price-row {
    font-family: "Playfair Display", serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
    overflow: visible;
    min-width: 0;
}

.pricing-price-row .price-currency {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
    align-self: flex-end;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.pricing-price-row .price-amount {
    font-size: clamp(2rem, 8vw, 3.4rem);
    font-weight: 900;
    line-height: 1;
    flex-shrink: 1;
    min-width: 0;
}

.pricing-price-row .pricing-period {
    font-family: "EB Garamond", serif;
    font-size: clamp(0.75rem, 2.5vw, 1rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(192,192,192,0.6);
    margin-left: 4px;
    line-height: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.pricing-card.premium .pricing-price-row {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(212,175,55,0.4));
}

.pricing-card.premium .pricing-price-row .pricing-period {
    background: none;
    -webkit-text-fill-color: rgba(212,175,55,0.6);
    filter: none;
}

.pricing-cancel {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: rgba(150,140,165,0.6);
    font-style: italic;
    text-align: center;
    margin-bottom: 5px;
}

.pricing-period {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: rgba(192,192,192,0.5);
    font-style: italic;
}

.pricing-card.premium .pricing-period {
    color: rgba(212,175,55,0.6);
}

.pricing-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 20px auto;
}

.pricing-card.premium .pricing-divider {
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
    width: 60px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.pricing-features li {
    font-family: "EB Garamond", serif;
    font-size: 1rem;
    color: rgba(210,200,225,0.85);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.pricing-features li .feat-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(212,175,55,0.8);
    font-weight: 700;
    font-family: "Cinzel", serif;
    width: 16px;
}

.pricing-features li.feat-dim .feat-icon {
    color: rgba(150,140,165,0.4);
}

.pricing-features li.feat-dim {
    color: rgba(150,140,165,0.5);
    text-decoration: line-through;
    text-decoration-color: rgba(150,140,165,0.3);
}

.pricing-cta {
    width: 100%;
    padding: 16px;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 16px;
    font-family: "Cinzel", serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.basic .pricing-cta {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
}

.pricing-card.basic .pricing-cta:active {
    background: rgba(255,255,255,0.12);
    transform: scale(0.98);
}

.pricing-card.premium .pricing-cta {
    background: linear-gradient(135deg, rgba(212,175,55,0.9), rgba(244,229,161,0.95), rgba(212,175,55,0.9));
    color: #0a0618;
    box-shadow: 0 4px 20px rgba(212,175,55,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}

.pricing-card.premium .pricing-cta:active {
    transform: scale(0.98);
}

.pricing-cta::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}

.pricing-cta:active::after { left: 100%; }

.pricing-note {
    text-align: center;
    font-family: "EB Garamond", serif;
    font-size: 0.85rem;
    color: rgba(150,140,165,0.5);
    margin-top: 20px;
    font-style: italic;
}
/* ============ RESULT PAGE ============ */
.result-page {
    padding: 10px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Header */
.result-header {
    text-align: center;
    margin-bottom: 24px;
    animation: fadeSlideUp 0.8s ease forwards;
}

.result-runes {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 6px 0;
}

.result-rune {
    font-size: 0.85rem;
    color: var(--gold-dim);
    animation: runeAppear 0.5s ease forwards;
    animation-delay: var(--d, 0s);
    opacity: 0;
}

@keyframes runeAppear {
    from { opacity: 0; transform: scale(0); }
    to { opacity: 1; transform: scale(1); }
}

.result-title {
    font-family: "Cinzel", serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.3;
    color: #fff;
    margin: 8px 0;
}

.result-title span {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212,175,55,0.6));
}

/* Orb with burst rings */
.result-orb-wrap {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.orb-burst {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.burst-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(140, 80, 255, 0.3);
    animation: burstExpand 3s ease-out infinite;
}

.burst-ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.burst-ring-2 { width: 200px; height: 200px; animation-delay: 1s; border-color: rgba(212,175,55,0.2); }
.burst-ring-3 { width: 240px; height: 240px; animation-delay: 2s; border-color: rgba(140, 80, 255, 0.15); }

@keyframes burstExpand {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Fate divider */
.fate-string {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 16px 0;
    animation: fadeSlideUp 1s ease 0.4s forwards;
    opacity: 0;
}

.fate-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.4), transparent);
}

.fate-icon { font-size: 1.2rem; }

/* Prophecy card */
.prophecy-card {
    width: 100%;
    background: rgba(80, 20, 150, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(140, 80, 255, 0.25);
    border-radius: 24px;
    padding: 28px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 1s ease 0.6s forwards;
    opacity: 0;
    box-shadow:
        0 20px 60px rgba(80, 20, 150, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

.prophecy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.5), transparent);
}

.prophecy-card::after {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(140,80,255,0.12), transparent 70%);
    pointer-events: none;
}

.prophecy-label {
    font-family: "Cinzel", serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: rgba(212,175,55,0.6);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.prophecy-text {
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    line-height: 1.9;
    color: rgba(220, 210, 240, 0.9);
    font-style: italic;
}

.prophecy-name {
    color: var(--gold-light);
    font-style: normal;
    font-size: 1.3rem;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.5));
}

.prophecy-divider {
    color: rgba(212,175,55,0.4);
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin: 14px 0;
}

.prophecy-sub {
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
    color: rgba(180, 170, 200, 0.6);
    line-height: 1.6;
    font-style: italic;
}

/* Countdown */
.result-countdown {
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
    animation: fadeSlideUp 1s ease 0.8s forwards;
    opacity: 0;
}

.countdown-label {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: rgba(192,192,192,0.5);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.countdown-timer {
    font-family: "Cinzel", serif;
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b6b, #ff9f43, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(255,107,107,0.4));
    letter-spacing: 4px;
    animation: timerPulse 1s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255,107,107,0.3)); }
    50% { filter: drop-shadow(0 0 25px rgba(255,107,107,0.6)); }
}

/* CTA */
.result-cta-wrap {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    animation: fadeSlideUp 1s ease 1s forwards;
    opacity: 0;
}

.result-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    padding: 20px 30px;
    border-radius: 20px;
    text-decoration: none;
    font-family: "Cinzel", serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a7a4a, #25d366, #1a7a4a);
    background-size: 200% 100%;
    animation: fadeSlideUp 1s ease 1s forwards, btnShimmer 3s ease infinite;
    box-shadow:
        0 8px 30px rgba(37,211,102,0.4),
        0 0 60px rgba(37,211,102,0.1),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.result-cta-btn i { font-size: 1.6em; }

.result-cta-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: glowSlide 2.5s ease infinite;
}

@keyframes glowSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.result-cta-btn:active { transform: scale(0.98); }

.result-cta-hint {
    font-family: "EB Garamond", serif;
    font-size: 0.9rem;
    color: rgba(192,192,192,0.5);
    font-style: italic;
    margin-top: 12px;
}

/* Sparkles */
.result-sparkles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.sparkle-dot {
    position: absolute;
    animation: sparkleOut 1.2s ease forwards;
    transform: translate(-50%, -50%);
}

@keyframes sparkleOut {
    0% { transform: translate(-50%, -50%) translate(0, 0) scale(0); opacity: 1; }
    60% { opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1); opacity: 0; }
}

/* Shared fade up */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ CSS CRYSTAL BALL ============ */
.css-crystal-ball {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    animation: ballFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(140,80,255,0.8)) drop-shadow(0 0 60px rgba(100,50,200,0.4));
}

.ccb-outer {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%,
        rgba(200,180,255,0.9) 0%,
        rgba(140,80,220,0.85) 30%,
        rgba(80,30,160,0.9) 60%,
        rgba(40,10,100,0.95) 85%,
        rgba(20,5,60,1) 100%);
    position: relative;
    overflow: hidden;
    box-shadow:
        inset -20px -20px 40px rgba(0,0,0,0.5),
        inset 10px 10px 30px rgba(180,140,255,0.3);
}

.ccb-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.ccb-glow {
    position: absolute;
    width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(212,175,55,0.6), rgba(150,80,255,0.3), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: orbGlow 3s ease-in-out infinite;
}

.ccb-swirl {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(180,130,255,0.2) 20%,
        transparent 40%,
        rgba(212,175,55,0.15) 60%,
        transparent 80%,
        rgba(140,80,255,0.1) 100%
    );
    animation: orbit1 6s linear infinite;
}

.ccb-highlight {
    position: absolute;
    width: 50px; height: 35px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.7), transparent 70%);
    top: 18%; left: 20%;
    border-radius: 50%;
    transform: rotate(-30deg);
    filter: blur(4px);
}

@keyframes orbGlow {
    0%,100% { transform: translate(-50%,-50%) scale(0.8); opacity: 0.6; }
    50% { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}

/* ============================================================
   MOBILE PERFORMANCE OPTIMIZATION
   Отключаем тяжёлые эффекты на мобильных устройствах
   ============================================================ */
@media (max-width: 768px) {

    /* 1. Убираем backdrop-filter blur везде — самый тяжёлый эффект */
    .header,
    .glass,
    .progress-container,
    #about .glass-card,
    .contact-item,
    .quiz-container,
    .result-message,
    .prophecy-card,
    .home-button-simple,
    .name-input,
    .date-select,
    .pricing-card.basic,
    .pricing-card.premium {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 2. Останавливаем анимацию небул — blur(40-50px) + анимация = огонь */
    .nebula-1,
    .nebula-2 {
        animation: none !important;
        filter: none !important;
        opacity: 0.15;
    }

    /* 3. Уменьшаем кол-во орбитальных колец — оставляем одно */
    .orbit-ring-2,
    .orbit-ring-3 {
        display: none;
    }

    /* 4. Убираем drop-shadow фильтры с постоянно анимированных элементов */
    .mystical-eye {
        filter: none !important;
    }
    .logo {
        filter: none !important;
    }
    .hero-text span {
        filter: none !important;
    }

    /* 5. Замедляем/упрощаем анимацию глаза */
    .eye-pupil {
        animation-duration: 8s !important;
    }
    .orbit-ring-1 {
        animation-duration: 30s !important;
    }

    /* 6. Burst rings на результате — убираем */
    .burst-ring-2,
    .burst-ring-3 {
        display: none;
    }
}

/* Для самых слабых/старых телефонов — ещё агрессивнее */
@media (max-width: 480px) {
    /* Полностью останавливаем nebula */
    .nebula-1, .nebula-2 {
        display: none;
    }

    /* Звёзды — убираем анимацию scale, оставляем только opacity */
    .star {
        animation: twinkleLite 4s infinite !important;
    }

    @keyframes twinkleLite {
        0%, 100% { opacity: 0.1; }
        50% { opacity: 0.7; }
    }

    /* Rune symbols — убираем text-shadow в анимации */
    .rune-symbol {
        animation: runeGlowLite 4s ease-in-out infinite !important;
    }

    @keyframes runeGlowLite {
        0%, 100% { opacity: 0.2; }
        50% { opacity: 0.8; }
    }
}

/* ============ WILL-CHANGE — подсказка браузеру что анимируется ============ */
/* Только на десктопе — на мобиле will-change съедает RAM */
@media (min-width: 769px) {
    .orbit-ring-1,
    .orbit-ring-2,
    .orbit-ring-3,
    .eye-pupil,
    .nebula-1,
    .nebula-2 {
        will-change: transform;
    }
}

/* Изолируем рендеринг секций — браузер не перерисовывает всё */
#about, #pricing, #contacts {
    contain: layout style;
}