/* ===== CSS VARIABLES ===== */
:root {
    /* Cosmic Colors */
    --cosmic-purple: #6b5ce7;
    --cosmic-pink: #e056fd;
    --cosmic-blue: #4834d4;
    --cosmic-dark: #0a0a1a;
    --cosmic-darker: #050510;
    --lunar-silver: #c4c9d4;
    --star-gold: #ffd700;
    --nebula-red: #ff6b6b;
    --aurora-green: #26de81;
    
    /* UI Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --card-bg: rgba(20, 20, 40, 0.85);
    --card-border: rgba(255, 255, 255, 0.1);
    
    /* Easing */
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --safe-top: env(safe-area-inset-top, 20px);
    --safe-bottom: env(safe-area-inset-bottom, 20px);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cosmic-darker);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: pan-y;
    overscroll-behavior: none;
}

/* ===== COSMIC BACKGROUND ===== */
.cosmic-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, 
        var(--cosmic-darker) 0%, 
        #0d0d2b 50%, 
        #1a1a3e 100%);
}

.stars {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 200px, white, transparent),
        radial-gradient(2px 2px at 100px 180px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 200px 250px, white, transparent),
        radial-gradient(2px 2px at 280px 50px, rgba(255,255,255,0.6), transparent);
    background-size: 400px 300px;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nebula {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(107, 92, 231, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(224, 86, 253, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(72, 52, 212, 0.08) 0%, transparent 60%);
    animation: nebula-drift 20s ease-in-out infinite;
}

@keyframes nebula-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

/* ===== BACK BUTTON ===== */
.back-btn {
    position: fixed;
    top: calc(var(--safe-top) + 16px);
    left: 16px;
    z-index: 100;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ===== ZODIAC SELECTOR ===== */
.zodiac-selector {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--cosmic-darker);
    opacity: 1;
    transition: opacity 0.5s var(--ease-out-expo);
}

.zodiac-selector.hidden {
    opacity: 0;
    pointer-events: none;
}

.zodiac-content {
    position: relative;
    max-width: 480px;
    width: 100%;
    text-align: center;
    z-index: 1;
}

.cosmic-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(107, 92, 231, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.zodiac-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.zodiac-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.zodiac-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 2;
}

.zodiac-btn:hover, .zodiac-btn:focus {
    background: rgba(107, 92, 231, 0.2);
    border-color: rgba(107, 92, 231, 0.4);
    transform: translateY(-2px);
}

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

.zodiac-symbol {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.zodiac-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.zodiac-dates {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* ===== GAMES CONTAINER ===== */
.games-container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.games-container.active {
    opacity: 1;
    pointer-events: auto;
}

.games-wrapper {
    height: 100%;
    transition: transform 0.6s var(--ease-out-expo);
}

/* ===== GAME SCREEN ===== */
.game-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: calc(var(--safe-top) + 80px);
    padding-bottom: calc(var(--safe-bottom) + 60px);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.game-screen.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.game-screen.prev {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
}

.game-content {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* ===== GAME HEADER ===== */
.game-header {
    text-align: center;
}

.game-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.3), rgba(224, 86, 253, 0.3));
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.game-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.animated-divider {
    width: 60px;
    height: 2px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, transparent, var(--cosmic-purple), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.animated-divider.lunar { background: linear-gradient(90deg, transparent, var(--lunar-silver), transparent); }
.animated-divider.elemental { background: linear-gradient(90deg, transparent, var(--star-gold), transparent); }
.animated-divider.planetary { background: linear-gradient(90deg, transparent, #4facfe, transparent); }
.animated-divider.stellar { background: linear-gradient(90deg, transparent, var(--cosmic-pink), transparent); }
.animated-divider.warning { background: linear-gradient(90deg, transparent, var(--nebula-red), transparent); }
.animated-divider.manifest { background: linear-gradient(90deg, transparent, var(--aurora-green), transparent); }

@keyframes shimmer {
    0%, 100% { opacity: 0.5; width: 40px; }
    50% { opacity: 1; width: 80px; }
}

.game-prompt {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* ===== GAME BODY - INTERACTIVE ELEMENTS ===== */
.game-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

/* Orb (Cosmic Energy) */
.reveal-orb {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(107, 92, 231, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: orb-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes orb-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.orb-core {
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

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

/* Moon (Moon Message) */
.moon-display {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moon-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(196, 201, 212, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: moon-glow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes moon-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.moon-phase {
    font-size: 5rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Elements (Lucky Element) */
.elements-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.element-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--ease-out-expo);
    animation: element-float 3s ease-in-out infinite;
}

.element-icon:nth-child(2) { animation-delay: 0.5s; }
.element-icon:nth-child(3) { animation-delay: 1s; }
.element-icon:nth-child(4) { animation-delay: 1.5s; }

@keyframes element-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Planet (Planetary Guide) */
.planet-orbit {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: orbit-spin 20s linear infinite;
}

.orbit-ring::before {
    content: '🪐';
    position: absolute;
    top: -12px;
    left: 50%;
    font-size: 1.5rem;
    transform: translateX(-50%);
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.planet-center {
    font-size: 3rem;
    animation: sun-pulse 4s ease-in-out infinite;
}

@keyframes sun-pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

/* Constellation (Star Alignment) */
.constellation {
    position: relative;
    width: 160px;
    height: 160px;
}

.star {
    position: absolute;
    font-size: 1.5rem;
    color: white;
    animation: star-twinkle 2s ease-in-out infinite;
}

.star.s1 { top: 10%; left: 30%; animation-delay: 0s; }
.star.s2 { top: 30%; left: 70%; animation-delay: 0.3s; }
.star.s3 { top: 50%; left: 40%; animation-delay: 0.6s; font-size: 1rem; }
.star.s4 { top: 70%; left: 60%; animation-delay: 0.9s; }
.star.s5 { top: 80%; left: 20%; animation-delay: 1.2s; font-size: 1rem; }

@keyframes star-twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Eye (Cosmic Warning) */
.warning-eye {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: eye-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes eye-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

.eye-symbol {
    font-size: 4rem;
    animation: eye-blink 4s ease-in-out infinite;
}

@keyframes eye-blink {
    0%, 45%, 55%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.1); }
}

/* Hands (Manifestation) */
.manifest-hands {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hands-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(38, 222, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: manifest-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes manifest-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.hands-symbol {
    font-size: 4rem;
    animation: hands-raise 2s ease-in-out infinite;
}

@keyframes hands-raise {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== GAME FOOTER ===== */
.game-footer {
    text-align: center;
    width: 100%;
}

.reveal-btn {
    position: relative;
    width: 100%;
    max-width: 280px;
    padding: 18px 32px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-pink));
    z-index: 10;
}

.reveal-btn.lunar { background: linear-gradient(135deg, #667eea, #764ba2); }
.reveal-btn.elemental { background: linear-gradient(135deg, #f093fb, #f5576c); }
.reveal-btn.planetary { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.reveal-btn.stellar { background: linear-gradient(135deg, #fa709a, #fee140); }
.reveal-btn.warning { background: linear-gradient(135deg, #ff6b6b, #feca57); }
.reveal-btn.manifest { background: linear-gradient(135deg, #11998e, #38ef7d); }

.reveal-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
    pointer-events: none;
}

.reveal-btn:hover::before {
    transform: translateX(100%);
}

.reveal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 92, 231, 0.4);
}

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

.btn-loading {
    display: none;
}

.reveal-btn.loading .btn-text {
    display: none;
}

.reveal-btn.loading .btn-loading {
    display: inline;
}

.reveal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.daily-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== RESULT OVERLAY ===== */
.result-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
    z-index: 500;
    padding: 20px;
}

.result-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.result-card {
    position: relative;
    max-width: 360px;
    width: 100%;
    padding: 32px 24px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.5s var(--ease-out-back);
    overflow: hidden;
}

.result-overlay.visible .result-card {
    transform: scale(1) translateY(0);
}

/* Aura glow behind card */
.aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(107, 92, 231, 0.2) 0%, transparent 50%);
    filter: blur(40px);
    pointer-events: none;
    animation: aura-breathe 4s ease-in-out infinite;
}

.aura-glow.lunar { background: radial-gradient(circle, rgba(196, 201, 212, 0.25) 0%, transparent 50%); }
.aura-glow.elemental { background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 50%); }
.aura-glow.planetary { background: radial-gradient(circle, rgba(79, 172, 254, 0.2) 0%, transparent 50%); }
.aura-glow.stellar { background: radial-gradient(circle, rgba(224, 86, 253, 0.2) 0%, transparent 50%); }
.aura-glow.warning { background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 50%); }
.aura-glow.manifest { background: radial-gradient(circle, rgba(38, 222, 129, 0.2) 0%, transparent 50%); }

@keyframes aura-breathe {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.result-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-pink));
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.result-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Energy Display (Cosmic) */
.energy-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.energy-emoji {
    font-size: 3.5rem;
    animation: energy-pop 0.6s var(--ease-out-back);
}

@keyframes energy-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.energy-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff, var(--cosmic-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.energy-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Moon Message Display */
.moon-message-display {
    margin-bottom: 16px;
}

.moon-emoji {
    display: block;
    font-size: 3rem;
    margin-bottom: 12px;
}

.moon-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Element Display */
.element-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.element-big-emoji {
    font-size: 4rem;
    animation: element-reveal 0.8s var(--ease-out-back);
}

@keyframes element-reveal {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.element-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
}

.element-blessing {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Planet Display */
.planet-reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.planet-emoji {
    font-size: 4rem;
    animation: planet-orbit-in 1s var(--ease-out-expo);
}

@keyframes planet-orbit-in {
    0% { transform: translateX(-100px) scale(0); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}

.planet-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.planet-influence {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Alignment Display */
.alignment-display {
    margin-bottom: 16px;
}

.alignment-meter {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 12px;
}

.alignment-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cosmic-purple), var(--cosmic-pink), var(--star-gold));
    border-radius: 100px;
    transition: width 1.5s var(--ease-out-expo);
}

.alignment-percent {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-pink), var(--star-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alignment-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    margin-bottom: 16px;
}

.alignment-emoji {
    font-size: 1.2rem;
}

.alignment-text {
    font-weight: 600;
}

/* Warning Display */
.warning-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.warning-emoji {
    font-size: 3rem;
    animation: warning-shake 0.5s ease-in-out;
}

@keyframes warning-shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.warning-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--nebula-red);
}

.warning-advice {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Power Display (Manifestation) */
.power-display {
    margin-bottom: 16px;
}

.power-bars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.power-bar {
    width: 24px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.power-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, var(--aurora-green), #7bed9f);
    border-radius: 100px;
    transition: height 0.8s var(--ease-out-expo);
}

.power-bar.active::after {
    height: 100%;
}

.power-bar:nth-child(1)::after { transition-delay: 0.1s; }
.power-bar:nth-child(2)::after { transition-delay: 0.2s; }
.power-bar:nth-child(3)::after { transition-delay: 0.3s; }
.power-bar:nth-child(4)::after { transition-delay: 0.4s; }
.power-bar:nth-child(5)::after { transition-delay: 0.5s; }

.power-level {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--aurora-green);
}

.power-tip {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Result Date */
.result-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Result Actions */
.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--cosmic-pink));
    border: none;
    border-radius: 100px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 92, 231, 0.4);
}

.coming-soon {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== PAGE INDICATORS ===== */
.page-indicators {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.page-dot.active {
    background: var(--cosmic-pink);
    box-shadow: 0 0 10px var(--cosmic-pink);
    transform: scale(1.3);
}

/* ===== SWIPE HINT ===== */
.swipe-hint {
    position: fixed;
    bottom: calc(var(--safe-bottom) + 20px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    z-index: 50;
    animation: hint-fade 3s ease-in-out infinite;
}

@keyframes hint-fade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(20, 20, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 600;
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

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

.toast-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
    z-index: 700;
}

.loading-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--cosmic-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .zodiac-btn {
        padding: 12px 4px;
    }
    
    .zodiac-symbol {
        font-size: 1.5rem;
    }
    
    .zodiac-name {
        font-size: 0.75rem;
    }
    
    .zodiac-dates {
        display: none;
    }
    
    .game-title {
        font-size: 1.6rem;
    }
}

@media (min-width: 768px) {
    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .zodiac-btn {
        padding: 20px 12px;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .result-card {
        padding: 40px 32px;
    }
}

/* ===== UNLOCK DEEP BUTTON ===== */
.unlock-deep-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.2) 0%, rgba(224, 86, 253, 0.2) 100%);
    border: 1px solid rgba(107, 92, 231, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.unlock-deep-btn:hover {
    background: linear-gradient(135deg, rgba(107, 92, 231, 0.3) 0%, rgba(224, 86, 253, 0.3) 100%);
    border-color: rgba(107, 92, 231, 0.6);
    transform: translateY(-2px);
}

.unlock-deep-btn span {
    font-size: 1.1rem;
}

/* ===== UNLOCK MODAL ===== */
.unlock-modal {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.unlock-modal.visible {
    opacity: 1;
    visibility: visible;
}

.unlock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.unlock-container {
    position: relative;
    max-width: 380px;
    width: 100%;
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.98) 0%, rgba(30, 25, 50, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s var(--ease-out-back);
}

.unlock-modal.visible .unlock-container {
    transform: scale(1) translateY(0);
}

.unlock-header {
    margin-bottom: 24px;
}

.unlock-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.unlock-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.unlock-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.unlock-preview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.unlock-preview-item {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.unlock-preview-item:last-child {
    border-bottom: none;
}

.unlock-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.unlock-price-amount {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.unlock-price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.unlock-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 92, 231, 0.4);
}

.unlock-btn .unlock-btn-loading {
    display: none;
}

.unlock-btn.loading .unlock-btn-text {
    display: none;
}

.unlock-btn.loading .unlock-btn-loading {
    display: inline;
}

.unlock-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--aurora-green);
    font-style: italic;
}

/* ===== DEEP REPORT MODAL ===== */
.deep-report-modal {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.deep-report-modal.visible {
    opacity: 1;
    visibility: visible;
}

.deep-report-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.deep-report-container {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 40px 0;
    background: linear-gradient(145deg, rgba(20, 20, 40, 0.98) 0%, rgba(15, 15, 35, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    transform: translateY(30px);
    transition: transform 0.5s var(--ease-out-expo);
}

.deep-report-modal.visible .deep-report-container {
    transform: translateY(0);
}

.deep-report-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.deep-report-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.deep-report-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deep-report-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--cosmic-purple) 0%, var(--cosmic-pink) 100%);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.deep-report-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.deep-report-zodiac {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.deep-report-content {
    margin-bottom: 32px;
}

.deep-report-section {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border-left: 3px solid var(--cosmic-purple);
}

.deep-report-section:nth-child(2) {
    border-left-color: var(--cosmic-pink);
}

.deep-report-section:nth-child(3) {
    border-left-color: var(--aurora-green);
}

.deep-report-section:nth-child(4) {
    border-left-color: var(--star-gold);
}

.deep-report-section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.deep-report-section-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.deep-report-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.deep-report-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}

.deep-report-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deep-report-share:hover {
    background: rgba(255, 255, 255, 0.15);
}

