* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo Header */
.logo-header {
    text-align: center;
    padding: 20px 0 10px;
    margin-bottom: 20px;
}

.logo-header a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-header a:hover {
    transform: scale(1.05);
}

.header-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(180, 142, 255, 0.4));
}

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

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px #b48eff, 0 0 30px #b48eff, 0 0 40px #b48eff; }
    50% { text-shadow: 0 0 30px #fff, 0 0 50px #b48eff, 0 0 70px #b48eff; }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

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

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

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

body {
    font-family: 'Georgia', 'Palatino', serif;
    background: linear-gradient(to bottom, #0a0620 0%, #1a0f3d 30%, #2d1b4e 70%, #1a0528 100%);
    min-height: 100vh;
    padding: 20px;
    color: #d4c5f9;
    position: relative;
    overflow-x: hidden;
}

/* Mystical moon background */
body::after {
    content: '🌙';
    position: fixed;
    top: 10%;
    right: 5%;
    font-size: 120px;
    opacity: 0.15;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(3px 3px at 60% 70%, rgba(139, 92, 246, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(180, 142, 255, 0.7), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 33% 80%, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(3px 3px at 15% 90%, rgba(180, 142, 255, 0.6), transparent),
        radial-gradient(2px 2px at 70% 20%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 40% 60%, rgba(139, 92, 246, 0.6), transparent);
    background-size: 200% 200%;
    animation: twinkle 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Mystical orb glow */
.container::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(180, 142, 255, 0.15) 40%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: glow 4s ease-in-out infinite;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    color: #f0e6ff;
    margin-bottom: 30px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
    position: relative;
}

/* Mystical symbols around header */
header::before {
    content: '⋆｡˚ ☽ ˚｡⋆';
    display: block;
    font-size: 1.5em;
    margin-bottom: 15px;
    opacity: 0.6;
    letter-spacing: 8px;
    animation: twinkle 4s ease-in-out infinite;
}

header::after {
    content: '⋆｡˚ ☆ ˚｡⋆';
    display: block;
    font-size: 1.5em;
    margin-top: 15px;
    opacity: 0.6;
    letter-spacing: 8px;
    animation: twinkle 4s ease-in-out infinite 2s;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    animation: glow 3s ease-in-out infinite;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

header h1::before {
    content: '✧';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    animation: float 3s ease-in-out infinite;
}

header h1::after {
    content: '✧';
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    animation: float 3s ease-in-out infinite 1.5s;
}

.subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin-top: 10px;
    color: #c4b5fd;
    font-style: italic;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.5);
}

.learn-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(180, 142, 255, 0.2);
    color: #f0e6ff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(180, 142, 255, 0.3);
    box-shadow: 0 0 20px rgba(180, 142, 255, 0.2);
}

.learn-link:hover {
    background: rgba(180, 142, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(180, 142, 255, 0.4);
}

.card {
    background: rgba(26, 15, 61, 0.8);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(139, 92, 246, 0.3),
                inset 0 0 60px rgba(139, 92, 246, 0.05);
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(180, 142, 255, 0.2), rgba(139, 92, 246, 0.5)) 1;
    backdrop-filter: blur(15px);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

/* Mystical corner decorations */
.card::before {
    content: '✦';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 24px;
    color: rgba(139, 92, 246, 0.4);
    animation: twinkle 3s ease-in-out infinite;
}

.card::after {
    content: '✦';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 24px;
    color: rgba(139, 92, 246, 0.4);
    animation: twinkle 3s ease-in-out infinite 1.5s;
}

.card h2 {
    color: #d4b5ff;
    margin-bottom: 15px;
    font-size: 1.8em;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.5);
    font-weight: 300;
}

.description {
    color: #c4b5fd;
    margin-bottom: 25px;
    font-style: italic;
    opacity: 0.9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: #d4c5f9;
    font-size: 1.05em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(10, 14, 39, 0.6);
    color: #f0e6ff;
    font-family: 'Georgia', 'Palatino', serif;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3),
                0 0 15px rgba(139, 92, 246, 0.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4),
                0 0 40px rgba(139, 92, 246, 0.2),
                inset 0 2px 10px rgba(0, 0, 0, 0.3);
    background: rgba(10, 14, 39, 0.8);
    transform: translateY(-1px);
}

.form-group select option {
    background: #1a0f3d;
    color: #f0e6ff;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    color: #f0e6ff;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    font-family: 'Georgia', 'Palatino', serif;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4),
                0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(139, 92, 246, 0.6),
                0 0 40px rgba(180, 142, 255, 0.5),
                0 10px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
    border-color: rgba(180, 142, 255, 0.8);
}

.prediction-section {
    margin-bottom: 25px;
    padding: 25px;
    background: rgba(45, 27, 78, 0.5);
    border-radius: 15px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-left: 5px solid #8b5cf6;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(139, 92, 246, 0.2),
                inset 0 0 30px rgba(139, 92, 246, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.prediction-section::before {
    content: '◈';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: rgba(139, 92, 246, 0.3);
    animation: twinkle 3s ease-in-out infinite;
}

.prediction-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3),
                0 0 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
}

.prediction-section h3 {
    color: #d4b5ff;
    margin-bottom: 12px;
    font-size: 1.3em;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.5);
    font-weight: 300;
}

.prediction-text {
    color: #e5dff9;
    line-height: 1.8;
    font-size: 1.05em;
}

.prediction-section.advice {
    background: rgba(180, 142, 255, 0.15);
    border-left: 4px solid #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.prediction-section.advice h3 {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.reveal {
    background: rgba(251, 191, 36, 0.1);
    border-left: 4px solid #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.reveal h2 {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.reveal-text {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #e5dff9;
}

.techniques {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.techniques li {
    padding: 12px;
    margin-bottom: 10px;
    background: rgba(45, 27, 78, 0.5);
    border-radius: 8px;
    border-left: 3px solid #b48eff;
    color: #e5dff9;
    transition: all 0.3s ease;
}

.techniques li:hover {
    background: rgba(45, 27, 78, 0.7);
    transform: translateX(5px);
}

.actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    color: #f0e6ff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(180, 142, 255, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    font-family: 'Georgia', 'Palatino', serif;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(124, 58, 237, 0.6), 0 0 30px rgba(180, 142, 255, 0.4);
    background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
}

.btn.secondary {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%);
    border: 2px solid rgba(71, 85, 105, 0.5);
    box-shadow: 0 0 20px rgba(71, 85, 105, 0.3);
}

.btn.secondary:hover {
    box-shadow: 0 5px 25px rgba(71, 85, 105, 0.6);
    background: linear-gradient(135deg, #64748b 0%, #334155 100%);
}

.btn.download {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border: 2px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn.download:hover {
    box-shadow: 0 5px 25px rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
}

.learn-text {
    line-height: 1.8;
    color: #e5dff9;
    margin-bottom: 15px;
}

.technique-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(45, 27, 78, 0.4);
    border-radius: 15px;
    border: 1px solid rgba(180, 142, 255, 0.3);
    transition: all 0.3s ease;
}

.technique-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(180, 142, 255, 0.2);
}

.technique-item h3 {
    color: #d4b5ff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.5);
}

.example {
    margin-top: 10px;
    padding: 15px;
    background: rgba(10, 14, 39, 0.5);
    border-left: 3px solid #10b981;
    border-radius: 8px;
    font-style: italic;
    color: #c4b5fd;
}

.learn-list {
    padding-left: 20px;
    line-height: 2;
    color: #e5dff9;
}

.learn-list li {
    margin-bottom: 10px;
}

/* Multi-step form styles */
.progress-indicator {
    margin-bottom: 30px;
    text-align: center;
}

.progress-text {
    display: block;
    color: #d4b5ff;
    font-size: 1.1em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.5);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(45, 27, 78, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(180, 142, 255, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed 0%, #b48eff 100%);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(180, 142, 255, 0.6);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

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

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.button-group .submit-btn {
    flex: 1;
}

.secondary-btn {
    background: linear-gradient(135deg, #475569 0%, #1e293b 100%) !important;
    border: 2px solid rgba(71, 85, 105, 0.5) !important;
    box-shadow: 0 0 20px rgba(71, 85, 105, 0.3) !important;
}

.secondary-btn:hover {
    box-shadow: 0 5px 25px rgba(71, 85, 105, 0.6) !important;
    background: linear-gradient(135deg, #64748b 0%, #334155 100%) !important;
}

footer {
    text-align: center;
    color: #c4b5fd;
    padding: 20px;
    opacity: 0.8;
    font-size: 0.9em;
    text-shadow: 0 0 10px rgba(180, 142, 255, 0.3);
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }

    .card {
        padding: 20px;
    }

    .actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
