@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Crimson+Text:ital@0;1&display=swap');

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

body {
    background: #0a0a0f;
    color: #e0d5ff;
    font-family: 'Crimson Text', serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Mystical background - static for all pages */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, #1a0033 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, #330066 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, #220044 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, #1a0033 0%, transparent 50%);
    z-index: -2;
}

/* Animated background only for home page */
body.home-page::before {
    animation: mysticalFloat 20s ease-in-out infinite;
}

/* Starfield effect */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes mysticalFloat {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

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

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

/* Header with mystical title */
.header {
    text-align: center;
    padding: 60px 0 40px;
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 600;
    background: linear-gradient(45deg, #b794f6, #e9d8fd, #f687b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(183, 148, 246, 0.5);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: brightness(1) drop-shadow(0 0 20px rgba(183, 148, 246, 0.5)); }
    to { filter: brightness(1.2) drop-shadow(0 0 30px rgba(183, 148, 246, 0.8)); }
}

.tagline {
    font-size: 1.5rem;
    color: #b794f6;
    font-style: italic;
    opacity: 0.9;
}

/* Moon phases decoration */
.moon-phases {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    font-size: 2rem;
    color: #e9d8fd;
    opacity: 0.7;
}

/* Main content area */
.hero-section {
    text-align: center;
    margin: 60px 0;
}

.hero-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e9d8fd;
    max-width: 800px;
    margin: 0 auto 40px;
    text-shadow: 0 0 10px rgba(233, 216, 253, 0.3);
}

/* Dream submission form */
.dream-portal {
    background: rgba(26, 0, 51, 0.6);
    border: 2px solid #b794f6;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(183, 148, 246, 0.3);
    backdrop-filter: blur(10px);
}

.portal-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #f687b3;
    margin-bottom: 20px;
    text-align: center;
}

.dream-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 1.1rem;
    color: #e9d8fd;
    font-weight: 600;
}

.form-input,
.form-textarea {
    background: rgba(10, 10, 15, 0.7);
    border: 1px solid #b794f6;
    border-radius: 10px;
    padding: 12px;
    color: #e9d8fd;
    font-size: 1rem;
    font-family: 'Crimson Text', serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #f687b3;
    box-shadow: 0 0 15px rgba(246, 135, 179, 0.3);
    background: rgba(10, 10, 15, 0.9);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, #b794f6, #f687b3);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a0a0f;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(183, 148, 246, 0.5);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mystical symbols */
.mystical-symbols {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 60px 0;
    font-size: 3rem;
    color: #b794f6;
    opacity: 0.5;
}

.symbol {
    animation: float 3s ease-in-out infinite;
}

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

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

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #b794f6;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Coming soon badge */
.coming-soon {
    display: inline-block;
    background: rgba(246, 135, 179, 0.2);
    border: 1px solid #f687b3;
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #f687b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .dream-portal {
        padding: 30px 20px;
    }
    
    .mystical-symbols {
        font-size: 2rem;
        gap: 20px;
    }
}