.dream-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5em auto 0.5em;
    padding: 0 2em;
    gap: 0.5em;
    flex-wrap: nowrap;
}

.nav-public,
.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.dream-nav a {
    white-space: nowrap;
    text-align: center;
    min-width: 100px;
    padding: 0.5em 1em;
    margin: 0 0.25em;
}

.nav-auth {
    display: flex;
    gap: 2em;
    align-items: center;
}

/* Hide logged-in content by default */
[data-ms-content="is-logged-in"] {
    display: none;
}

/* Show logged-in content only when authenticated */
[data-ms-content="is-logged-in"].ms-visible {
    display: inline-flex;
}

/* Always show logged-out content by default */
[data-ms-content="is-logged-out"] {
    display: inline-flex;
    gap: 2em;
    align-items: center;
}

/* Hide logged-out content when authenticated */
[data-ms-content="is-logged-out"].ms-visible-out {
    display: none;
}

.dream-action {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: #fff;
    padding: 0.7em 2em;
    border-radius: 2em;
    text-decoration: none;
    font-size: 1.2em;
    box-shadow: 0 2px 12px #b39ddb;
    transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
    border: none;
    outline: none;
    letter-spacing: 0.05em;
}

.dream-action:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 24px #90caf9;
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
}
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Orbitron:wght@700&family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #d1c4e9 0%, #90caf9 100%);
    color: #222;
    min-height: 100vh;
}

header {
    background: rgba(44, 62, 80, 0.85);
    color: #fff;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.2);
}

.site-title {
    font-family: 'Pacifico', cursive;
    font-size: 4em;
    color: #fff;
    text-shadow: 0 2px 16px #7e57c2, 0 0px 32px #90caf9;
    margin: 0.5em 0;
    animation: dreamFade 3s ease-in-out infinite alternate;
    background: rgba(44, 62, 80, 0.85);
    padding: 0.2em 0;
}

nav {
    margin: 1em 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.4em;
    padding: 0.5em 1.5em;
    margin: 0 0.5em;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

nav a:hover, nav a.active {
    transform: scale(1.1);
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.dream-title {
    font-family: 'Pacifico', cursive;
    font-size: 3.5em;
    letter-spacing: 0.1em;
    color: #fff;
    text-shadow: 0 2px 16px #7e57c2, 0 0px 32px #90caf9;
    margin: 0;
    animation: dreamFade 3s ease-in-out infinite alternate;
}

@keyframes dreamFade {
    0% { text-shadow: 0 2px 16px #7e57c2, 0 0px 32px #90caf9; }
    100% { text-shadow: 0 4px 32px #90caf9, 0 0px 64px #7e57c2; }
}

.hero {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-background {
    width: 100%;
    height: 80vh;
    background-image: url('images/Home Background Image.png?v=2');
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 3em 2em;
    margin: 0 auto;
    background: linear-gradient(135deg, #d1c4e9 0%, #90caf9 100%);
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-family: 'Pacifico', cursive;
    font-size: 3.5em;
    margin-bottom: 0.5em;
    color: #2c3e50;
    text-shadow: 0 2px 16px #7e57c2, 0 0px 32px #90caf9;
    animation: dreamFade 3s ease-in-out infinite alternate;
}

.hero-subheadline {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    margin-bottom: 2em;
    line-height: 1.5;
    color: #34495e;
}

.cta-button {
    font-family: 'Orbitron', sans-serif;
    display: inline-block;
    font-size: 1.5em;
    padding: 0.8em 2em;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 32px rgba(0,0,0,0.4);
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
}

main {
    padding: 0;
    text-align: center;
}

.hero-image {
    position: relative;
    width: 100%;
    margin-bottom: 2em;
    background: #000;
    overflow: hidden;
}

.full-width-image {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin: 0;
    width: 100%;
    text-align: center;
}

main section {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works {
    background: rgba(255, 255, 255, 0.9);
    padding: 4em 2em !important;
    margin-top: 2em;
}

.how-it-works h2 {
    font-family: 'Pacifico', cursive;
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 1.5em;
    text-shadow: 0 1px 8px #b39ddb;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1.5em;
    background: linear-gradient(135deg, #d1c4e9 0%, #90caf9 100%);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2.5em;
    color: #7e57c2;
    margin-bottom: 0.5em;
    text-shadow: 0 2px 10px rgba(144, 202, 249, 0.6);
}

.step h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    color: #2c3e50;
    margin: 0.5em 0;
}

.step p {
    color: #34495e;
    font-size: 1.1em;
    line-height: 1.4;
}

.step-connector {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    position: relative;
    align-self: center;
}

.step-connector::after {
    content: '›';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: #7e57c2;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 2em;
    }

    .step {
        width: 100%;
        max-width: 300px;
    }

    .step-connector {
        width: 3px;
        height: 30px;
    }

    .step-connector::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

/* Dream Showcase Section */
.dream-showcase {
    padding: 4em 2em !important;
    background: linear-gradient(135deg, rgba(209, 196, 233, 0.3) 0%, rgba(144, 202, 249, 0.3) 100%);
    margin-top: 3em;
}

.dream-showcase h2 {
    font-family: 'Pacifico', cursive;
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 1.5em;
    text-shadow: 0 1px 8px #b39ddb;
}

.showcase-container {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.dream-card {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(126, 87, 194, 0.2);
}

.dream-description {
    padding: 1.5em;
    background: linear-gradient(135deg, #7e57c2 0%, #90caf9 100%);
    color: white;
}

.dream-description h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    margin: 0 0 0.5em 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dream-text {
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.dream-visual {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.dream-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dream-card:hover .dream-image {
    transform: scale(1.05);
}

.dream-interpretation {
    padding: 1.5em;
    background: linear-gradient(135deg, rgba(209, 196, 233, 0.2) 0%, rgba(144, 202, 249, 0.2) 100%);
}

.dream-interpretation h4 {
    font-family: 'Orbitron', sans-serif;
    color: #7e57c2;
    margin: 0 0 0.8em 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.dream-interpretation i {
    font-size: 1.2em;
}

.dream-interpretation p {
    color: #34495e;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .dream-card {
        min-width: 280px;
    }
}

.bottom-nav {
    margin: 3em auto;
    padding-bottom: 2em;
}

.bottom-nav nav a {
    font-size: 1.6em;
    padding: 0.7em 2em;
}

/* Contact Form Styles */
.contact-section {
    padding: 2em;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2em;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 1.1em;
}

.form-group label i {
    color: #7e57c2;
}

.form-group input,
.form-group textarea {
    padding: 1em;
    border: 2px solid #d1c4e9;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #7e57c2;
    box-shadow: 0 0 10px rgba(126, 87, 194, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea.warning {
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.dream-select {
    padding: 1em;
    border: 2px solid #d1c4e9;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    cursor: pointer;
}

.dream-select option {
    padding: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
}

.prompt-preview {
    margin-top: 2em;
    padding: 1.5em;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 2px solid #d1c4e9;
}

.prompt-preview h3 {
    color: #7e57c2;
    font-family: 'Orbitron', sans-serif;
    margin: 1.5em 0 1em 0;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #d1c4e9;
}

.prompt-preview h3:first-child {
    margin-top: 0;
}

.prompt-preview p {
    color: #34495e;
    line-height: 1.6;
    font-style: italic;
    padding: 1em;
    background: rgba(126, 87, 194, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5em;
}

.prompt-preview p:last-child {
    margin-bottom: 0;
}

.submit-button {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    padding: 1em 2em;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}

.submit-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.submit-button i {
    font-size: 1.1em;
}

/* Pricing Page Styles */
.pricing-section {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-intro {
    font-size: 1.2em;
    color: #fff;
    margin: 1em 0 2em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.free-account-cta {
    text-align: center;
    padding: 3em 2em;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 2em auto;
    max-width: 800px;
}

.free-account-cta h2 {
    font-family: 'Orbitron', sans-serif;
    color: #2c3e50;
    margin-bottom: 0.5em;
}

.free-account-cta p {
    color: #34495e;
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

.free-account-cta .cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    text-decoration: none;
    padding: 0.8em 2em;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.free-account-cta .cta-button:hover {
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap;
    padding: 2em 0;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 48px rgba(126, 87, 194, 0.2);
}

.pricing-card.featured {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(144, 202, 249, 0.2));
    border: 2px solid #7e57c2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: 1em;
    right: 1em;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.9em;
    font-family: 'Orbitron', sans-serif;
}

.pricing-header {
    padding: 2em;
    background: linear-gradient(135deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    text-align: center;
}

.pricing-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    margin: 0 0 0.5em 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price {
    font-family: 'Montserrat', Arial, sans-serif;
}

.price .amount {
    font-size: 3em;
    font-weight: bold;
}

.price .period {
    font-size: 1.2em;
    opacity: 0.8;
}

.pricing-features {
    padding: 2em;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    margin: 1em 0;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding-right: 1em;
}

.pricing-features i {
    color: #7e57c2;
    min-width: 1.2em;
    text-align: center;
}

.pricing-button {
    display: block;
    margin: 1em 2em 2em;
    padding: 1em;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

@media (max-width: 768px) {
    .pricing-card {
        min-width: 100%;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Login Page Styles */
.login-section {
    padding: 2em;
    max-width: 500px;
    margin: 0 auto;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 3em;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.form-group label {
    font-family: 'Orbitron', sans-serif;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 0.5em;
}

.form-group label i {
    color: #7e57c2;
}

.form-group input {
    width: 100%;
    padding: 1em;
    border: 2px solid #d1c4e9;
    border-radius: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #7e57c2;
    box-shadow: 0 0 10px rgba(126, 87, 194, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #34495e;
}

.forgot-password {
    color: #7e57c2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #90caf9;
}

.login-button {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    padding: 1em;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.login-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.3);
}

.signup-prompt {
    text-align: center;
    color: #34495e;
}

.signup-prompt a {
    color: #7e57c2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.signup-prompt a:hover {
    color: #90caf9;
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2em;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2em;
}

.user-avatar-section {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding: 1em;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    z-index: 5;
}

.user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
    position: relative;
    z-index: 1;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-container:hover .user-avatar {
    filter: brightness(0.8);
}

.avatar-upload-label {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
}

.avatar-upload-label i {
    font-size: 1.5em;
}

.avatar-upload-label span {
    font-size: 0.8em;
    text-align: center;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.user-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    color: #2c3e50;
    font-weight: bold;
}

.user-email {
    color: #7e57c2;
    font-size: 0.9em;
}

.dashboard-section {
    padding: 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-container {
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr;
}

.submission-section,
.history-section,
.subscription-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2em;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.submission-section h2,
.history-section h2,
.subscription-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1em;
}

.submission-section h2 i,
.history-section h2 i,
.subscription-section h2 i {
    color: #7e57c2;
}

.dream-form {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.dreams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5em;
    margin-top: 1.5em;
}

.dream-card {
    background: linear-gradient(135deg, #d1c4e9 0%, #90caf9 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dream-card:hover {
    transform: translateY(-5px);
}

.dream-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.dream-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dream-card:hover .dream-image {
    transform: scale(1.05);
}

.dream-info {
    padding: 1.5em;
    background: rgba(255, 255, 255, 0.9);
}

.dream-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: #2c3e50;
    margin: 0 0 0.5em 0;
}

.dream-date {
    color: #7e57c2;
    font-size: 0.9em;
    margin-bottom: 1em;
}

.view-button {
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    border: none;
    padding: 0.7em 1.5em;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-button:hover {
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    transform: translateY(-2px);
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: start;
}

.plan-name, .dreams-remaining {
    font-size: 1.2em;
    color: #34495e;
}

.plan-highlight, .count-highlight {
    color: #7e57c2;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.upgrade-button {
    display: inline-block;
    background: linear-gradient(90deg, #7e57c2 0%, #90caf9 100%);
    color: white;
    text-decoration: none;
    padding: 0.8em 2em;
    border-radius: 25px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
    margin-top: 1em;
}

.upgrade-button:hover {
    background: linear-gradient(90deg, #90caf9 0%, #7e57c2 100%);
    transform: translateY(-2px);
}

.logout-btn {
    margin-left: auto;
}

@media (min-width: 768px) {
    .dashboard-container {
        grid-template-columns: 2fr 1fr;
    }
    
    .submission-section {
        grid-column: 1 / -1;
    }
    
    .history-section {
        grid-column: 1;
    }
    
    .subscription-section {
        grid-column: 2;
    }
}

footer {
    background: rgba(44, 62, 80, 0.85);
    color: #fff;
    text-align: center;
    padding: 1em 0;
    box-shadow: 0 -4px 24px 0 rgba(44, 62, 80, 0.2);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
}
