/* ================================================
   PASTE THIS AT THE TOP OF YOUR styles.css FILE
   ================================================ */

/* Import Beautiful Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Great+Vibes&family=Dancing+Script:wght@400;500;600;700&family=Allura&display=swap');

/* Updated Pastel Blue Variables with Better Spacing */
:root {
    /* Pastel Blue Colors */
    --pastel-blue-lightest: #F0F8FF;
    --pastel-blue-lighter: #E3F2FD;
    --pastel-blue-light: #BBDEFB;
    --pastel-blue: #90CAF9;
    --pastel-blue-medium: #64B5F6;
    --pastel-blue-primary: #42A5F5;

    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    --secondary-gradient: linear-gradient(135deg, #F0F8FF 0%, #E3F2FD 100%);

    /* Spacing System - Reduced for minimal look */
    --spacing-xs: 6px;
    --spacing-sm: 12px;
    --spacing-md: 18px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Soft Shadows */
    --shadow-soft: 0 2px 8px rgba(66, 165, 245, 0.08);
    --shadow-card: 0 3px 12px rgba(66, 165, 245, 0.1);
}

/* Base Typography - Clean Fonts */
body {
    font-family: 'Poppins', 'Quicksand', 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    background: var(--primary-gradient) !important;
    background-attachment: fixed !important;
}

/* Cursive Fonts for Bold/Heading Text */
h1, h2, h3, h4, h5, h6,
.recipient-name,
.selected-track-name,
.track-name,
.dedication-header h2,
.logo h1 {
    font-family: 'Dancing Script', 'Great Vibes', 'Allura', cursive !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Normal Text - Clean & Soft */
p, span, div, label, input, textarea, button {
    font-family: 'Poppins', 'Quicksand', 'Inter', sans-serif;
}

/* Site Title - Bold Black */
.site-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.8rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    padding: 0;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Site Author - Small Text Below Title */
.site-author {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #666666;
    margin: 8px 0 0 0;
    padding: 0;
    text-align: center;
}

/* Site Subtitle - Cursive Quote Style */
.site-subtitle {
    font-family: 'Allura', 'Great Vibes', cursive !important;
    font-size: 1.1rem;
    font-weight: 400;
    color: #000000;
    margin: 20px auto 0 auto;
    padding: 0;
    text-align: center;
    line-height: 1.9;
    max-width: 700px;
    font-style: normal;
    opacity: 1;
    letter-spacing: 0.4px;
}

/* Header - Minimal, No Box */
.header {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-sm) !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin-bottom: var(--spacing-md) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border: none !important;
}

/* Remove Boxes from All Sections - More Transparent */
section {
    background: rgba(255, 255, 255, 0.5) !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: blur(6px);
}

.dedication-card,
.feature,
.dedication-container,
.error-message {
    background: rgba(255, 255, 255, 0.65) !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(100, 181, 246, 0.06) !important;
}

.dedication-card {
    border-radius: 14px !important;
}

.dedication-image {
    height: 220px !important;
}

.song-section,
.share-section {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.45) 0%, rgba(187, 222, 251, 0.35) 100%) !important;
    border: none !important;
}

.all-dedications-section {
    background: rgba(240, 248, 255, 0.55) !important;
    border: none !important;
}

/* Search Section - More Transparent */
.search-section {
    background: rgba(255, 255, 255, 0.6) !important;
}

/* Create Section - More Transparent */
.create-section {
    background: rgba(255, 255, 255, 0.6) !important;
}

/* Better Container Spacing */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* Improved Section Spacing - Minimal */
section {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: none !important;
    border: none !important;
    border-radius: 16px !important;
}

/* Main Content Gap Reduced */
.main-content {
    gap: var(--spacing-sm) !important;
}

/* Clean Margins on Sides */
@media (min-width: 768px) {
    .container {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }
}

/* Remove decorative elements for minimal look */
.header::before,
.create-section::after {
    display: none !important;
}

/* Soft Button Styles - Smaller & Minimal */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, #64B5F6 0%, #42A5F5 100%);
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.btn-large {
    padding: 12px 32px !important;
    font-size: 1rem !important;
}

/* Refined Input Styles - Smaller & Minimal */
input[type="text"],
textarea {
    font-family: 'Poppins', sans-serif;
    padding: 10px 16px;
    border: 1px solid #E3F2FD;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    max-width: 500px;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #90CAF9;
    box-shadow: 0 0 0 3px rgba(144, 202, 249, 0.08);
    outline: none;
}

textarea {
    max-width: 600px;
    resize: vertical;
}

/* Cursive Recipient Name */
.recipient-name {
    font-size: 2rem;
    color: #42A5F5;
    font-weight: 700;
    font-family: 'Great Vibes', cursive !important;
}

/* Cursive Track Names */
.selected-track-name,
.track-name {
    font-family: 'Dancing Script', cursive !important;
    font-weight: 600;
    font-size: 1.3rem;
}

/* Logo with Cursive */
.logo h1 {
    font-family: 'Allura', 'Great Vibes', cursive !important;
    font-size: 3rem;
    font-weight: 400;
}

/* Clean Card Spacing - Minimal Borders */
.dedication-card,
.spotify-track,
.feature {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-md);
    border: none !important;
}

/* Dedication Card - Cleaner Look */
.dedication-card {
    box-shadow: var(--shadow-soft) !important;
}

/* Spotify Track - Minimal Border & Compact */
.spotify-track {
    border: 1px solid var(--pastel-blue-lighter) !important;
    padding: 10px !important;
    margin-bottom: 8px !important;
}

.track-image {
    width: 50px !important;
    height: 50px !important;
}

.track-info {
    font-size: 0.9rem;
}

.track-name {
    font-size: 1rem !important;
}

.track-artist {
    font-size: 0.85rem !important;
    opacity: 0.8;
}

.search-input-wrapper input {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
}

/* Search Form - Reduced Spacing & Smaller */
.search-form {
    margin-bottom: var(--spacing-md) !important;
    max-width: 600px;
}

.search-form input {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
    border: 1px solid #E3F2FD !important;
}

.btn-search {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
}

/* Form Groups - Tighter Spacing */
.form-group {
    margin-bottom: var(--spacing-md) !important;
}

/* Dedication Form - Compact Width */
.dedication-form {
    max-width: 650px !important;
}

/* Form Labels - Black Text */
.form-group label {
    color: #000000 !important;
    font-size: 0.95rem;
    font-weight: 600;
}

/* All Text Black for Readability */
p, span, div, .dedication-info, .track-name, .track-artist,
.artist, .date, .recipient, .char-count {
    color: #000000 !important;
}

/* File Upload - Minimal & Compact */
.file-upload-label {
    padding: 24px !important;
    border: 1px dashed #BBDEFB !important;
    background: rgba(227, 242, 253, 0.3) !important;
}

.file-upload-label i {
    font-size: 2rem !important;
    margin-bottom: 10px !important;
}

.file-upload-label span {
    font-size: 0.9rem !important;
}

.file-upload-label small {
    font-size: 0.8rem !important;
}

/* Dedication Info - Compact */
.dedication-info {
    padding: var(--spacing-sm) var(--spacing-md) !important;
}

.dedication-info h4 {
    font-size: 1.05rem !important;
    margin-bottom: 6px !important;
}

/* Dedications Grid - More Compact */
.dedications-grid {
    gap: 16px !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
}

/* Section Headers - Smaller with Black Text */
section h2 {
    font-size: 1.3rem !important;
    margin-bottom: var(--spacing-md) !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

section h2 i {
    color: #64B5F6 !important;
}

/* Dedication Container - Less Padding */
.dedication-container {
    padding: var(--spacing-lg) !important;
}

/* Song Section - Reduced Padding */
.song-section {
    padding: var(--spacing-md) !important;
    margin-bottom: var(--spacing-lg) !important;
}

/* Message Section - Compact */
.message-section {
    margin-bottom: var(--spacing-lg) !important;
}

/* Media Section - Compact */
.media-section {
    margin-bottom: var(--spacing-lg) !important;
}

/* Share Section - Reduced Padding */
.share-section {
    padding: var(--spacing-lg) !important;
    margin-bottom: var(--spacing-md) !important;
}

/* Features Section - Minimal */
.features-section {
    padding: var(--spacing-md) !important;
    background: rgba(255, 255, 255, 0.45) !important;
}

.features-section h3 {
    font-size: 1.2rem !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

.feature h4 {
    color: #000000 !important;
    font-size: 1rem !important;
}

.feature p {
    font-size: 0.85rem !important;
    opacity: 0.8;
}

/* Dedication Header - Compact */
.dedication-header {
    margin-bottom: var(--spacing-lg) !important;
    padding-bottom: var(--spacing-md) !important;
    border-bottom: 1px solid var(--pastel-blue-lighter) !important;
}

/* Message with Better Spacing */
.message-content {
    padding: var(--spacing-lg);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* ===============================================
   BLUE & WHITE CLOUDS, DOODLES & MOVING OBJECTS
   =============================================== */

/* Cloud 1 - Top Left */
.cloud-1 {
    position: fixed;
    top: 5%;
    left: 10%;
    width: 150px;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    box-shadow: 0 8px 20px rgba(66, 165, 245, 0.2);
    z-index: 0;
    animation: float-slow 20s ease-in-out infinite;
}

.cloud-1::before,
.cloud-1::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.cloud-1::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 20px;
}

.cloud-1::after {
    width: 80px;
    height: 80px;
    top: -40px;
    right: 20px;
}

/* Cloud 2 - Top Right */
.cloud-2 {
    position: fixed;
    top: 15%;
    right: 5%;
    width: 200px;
    height: 80px;
    background: rgba(144, 202, 249, 0.3);
    border-radius: 120px;
    box-shadow: 0 8px 20px rgba(66, 165, 245, 0.15);
    z-index: 0;
    animation: float-medium 25s ease-in-out infinite;
}

.cloud-2::before,
.cloud-2::after {
    content: '';
    position: absolute;
    background: rgba(144, 202, 249, 0.3);
    border-radius: 50%;
}

.cloud-2::before {
    width: 70px;
    height: 70px;
    top: -35px;
    left: 30px;
}

.cloud-2::after {
    width: 90px;
    height: 90px;
    top: -45px;
    right: 30px;
}

/* Cloud 3 - Middle Left */
.cloud-3 {
    position: fixed;
    top: 50%;
    left: 3%;
    width: 130px;
    height: 50px;
    background: rgba(187, 222, 251, 0.4);
    border-radius: 80px;
    box-shadow: 0 6px 16px rgba(66, 165, 245, 0.15);
    z-index: 0;
    animation: float-fast 18s ease-in-out infinite;
}

.cloud-3::before,
.cloud-3::after {
    content: '';
    position: absolute;
    background: rgba(187, 222, 251, 0.4);
    border-radius: 50%;
}

.cloud-3::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.cloud-3::after {
    width: 65px;
    height: 65px;
    top: -32px;
    right: 15px;
}

/* Cloud 4 - Bottom Right */
.cloud-4 {
    position: fixed;
    bottom: 20%;
    right: 8%;
    width: 180px;
    height: 70px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px;
    box-shadow: 0 8px 18px rgba(66, 165, 245, 0.2);
    z-index: 0;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.cloud-4::before,
.cloud-4::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.cloud-4::before {
    width: 65px;
    height: 65px;
    top: -32px;
    left: 25px;
}

.cloud-4::after {
    width: 85px;
    height: 85px;
    top: -42px;
    right: 25px;
}

/* Floating Doodles - Stars */
.doodle-star-1 {
    position: fixed;
    top: 25%;
    left: 20%;
    font-size: 2rem;
    color: rgba(100, 181, 246, 0.4);
    z-index: 0;
    animation: twinkle 3s ease-in-out infinite, float-doodle 15s ease-in-out infinite;
}

.doodle-star-2 {
    position: fixed;
    top: 60%;
    right: 15%;
    font-size: 1.5rem;
    color: rgba(66, 165, 245, 0.3);
    z-index: 0;
    animation: twinkle 2.5s ease-in-out infinite 0.5s, float-doodle 18s ease-in-out infinite;
}

.doodle-star-3 {
    position: fixed;
    bottom: 30%;
    left: 15%;
    font-size: 1.8rem;
    color: rgba(144, 202, 249, 0.35);
    z-index: 0;
    animation: twinkle 3.5s ease-in-out infinite 1s, float-doodle 20s ease-in-out infinite;
}

/* Floating Doodles - Hearts */
.doodle-heart-1 {
    position: fixed;
    top: 40%;
    right: 25%;
    font-size: 2.5rem;
    color: rgba(100, 181, 246, 0.25);
    z-index: 0;
    animation: pulse-heart 2s ease-in-out infinite, float-doodle 16s ease-in-out infinite;
}

.doodle-heart-2 {
    position: fixed;
    bottom: 40%;
    left: 25%;
    font-size: 2rem;
    color: rgba(187, 222, 251, 0.3);
    z-index: 0;
    animation: pulse-heart 2.3s ease-in-out infinite 0.7s, float-doodle 19s ease-in-out infinite;
}

/* Floating Doodles - Music Notes */
.doodle-note-1 {
    position: fixed;
    top: 35%;
    left: 8%;
    font-size: 2.2rem;
    color: rgba(66, 165, 245, 0.3);
    z-index: 0;
    animation: rotate-gentle 4s ease-in-out infinite, float-doodle 17s ease-in-out infinite;
}

.doodle-note-2 {
    position: fixed;
    top: 70%;
    right: 20%;
    font-size: 1.8rem;
    color: rgba(144, 202, 249, 0.3);
    z-index: 0;
    animation: rotate-gentle 3.5s ease-in-out infinite 0.5s, float-doodle 21s ease-in-out infinite;
}

/* Circular Doodle Patterns */
.doodle-circle-1 {
    position: fixed;
    top: 10%;
    right: 35%;
    width: 60px;
    height: 60px;
    border: 3px dashed rgba(100, 181, 246, 0.25);
    border-radius: 50%;
    z-index: 0;
    animation: rotate-slow 30s linear infinite, float-doodle 14s ease-in-out infinite;
}

.doodle-circle-2 {
    position: fixed;
    bottom: 25%;
    right: 5%;
    width: 80px;
    height: 80px;
    border: 3px dotted rgba(187, 222, 251, 0.3);
    border-radius: 50%;
    z-index: 0;
    animation: rotate-slow 25s linear infinite reverse, float-doodle 16s ease-in-out infinite;
}

/* Wave Pattern Doodles */
.doodle-wave-1 {
    position: fixed;
    top: 80%;
    left: 10%;
    width: 100px;
    height: 30px;
    border-top: 3px solid rgba(100, 181, 246, 0.2);
    border-radius: 50%;
    z-index: 0;
    animation: wave-move 5s ease-in-out infinite;
}

.doodle-wave-2 {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 120px;
    height: 35px;
    border-bottom: 3px solid rgba(144, 202, 249, 0.25);
    border-radius: 50%;
    z-index: 0;
    animation: wave-move 6s ease-in-out infinite 1s;
}

/* Animations */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(20px);
    }
    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

@keyframes float-medium {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-15px) translateX(-15px);
    }
    66% {
        transform: translateY(-25px) translateX(10px);
    }
}

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

@keyframes float-doodle {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-10px) translateX(8px) scale(1.05);
    }
    50% {
        transform: translateY(-5px) translateX(15px) scale(0.95);
    }
    75% {
        transform: translateY(-12px) translateX(5px) scale(1.02);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes pulse-heart {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

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

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wave-move {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.2;
    }
    50% {
        transform: scaleX(1.1);
        opacity: 0.4;
    }
}

/* Additional Floating Elements */
.doodle-sparkle-1,
.doodle-sparkle-2,
.doodle-sparkle-3 {
    position: fixed;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 0;
    animation: twinkle 2s ease-in-out infinite;
}

.doodle-sparkle-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.doodle-sparkle-2 {
    top: 55%;
    right: 8%;
    animation-delay: 0.7s;
}

.doodle-sparkle-3 {
    bottom: 35%;
    right: 30%;
    animation-delay: 1.4s;
}

/* Small floating dots */
.dot-1, .dot-2, .dot-3, .dot-4, .dot-5 {
    position: fixed;
    width: 8px;
    height: 8px;
    background: rgba(100, 181, 246, 0.4);
    border-radius: 50%;
    z-index: 0;
    animation: float-doodle 12s ease-in-out infinite;
}

.dot-1 {
    top: 30%;
    left: 5%;
}

.dot-2 {
    top: 50%;
    right: 12%;
    animation-delay: 2s;
}

.dot-3 {
    bottom: 45%;
    left: 18%;
    animation-delay: 4s;
}

.dot-4 {
    top: 65%;
    right: 28%;
    animation-delay: 1s;
    background: rgba(187, 222, 251, 0.5);
}

.dot-5 {
    bottom: 50%;
    left: 35%;
    animation-delay: 3s;
    background: rgba(144, 202, 249, 0.4);
}

/* Hide decorative elements on mobile to reduce clutter */
@media (max-width: 768px) {
    .cloud-3, .cloud-4,
    .doodle-circle-1, .doodle-circle-2,
    .doodle-wave-1, .doodle-wave-2,
    .dot-1, .dot-2, .dot-3, .dot-4, .dot-5,
    .doodle-sparkle-1, .doodle-sparkle-2, .doodle-sparkle-3 {
        display: none;
    }
}

/* All Dedications Section */
.all-dedications-section {
    background: var(--secondary-gradient);
    border-radius: 24px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
}

.all-dedications-section h2 {
    text-align: center;
    color: var(--pastel-blue-primary);
    margin-bottom: var(--spacing-md);
    font-size: 2.2rem;
}

.dedications-count {
    text-align: center;
    color: var(--pastel-blue-medium);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.dedication-card .recipient {
    color: var(--pastel-blue-primary);
    font-weight: 500;
    font-size: 0.95rem;
    margin-top: 8px;
    font-style: italic;
}

/* Responsive - Mobile Title */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem !important;
    }

    .site-author {
        font-size: 0.75rem !important;
    }

    section {
        padding: var(--spacing-md) !important;
    }

    .header {
        padding: var(--spacing-md) var(--spacing-sm) !important;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.6rem !important;
    }

    .site-author {
        font-size: 0.7rem !important;
    }

    .site-subtitle {
        font-size: 0.8rem !important;
        max-width: 90%;
    }
}

/* Label Hint - Soft Text Next to Label */
.label-hint {
    font-family: 'Allura', 'Great Vibes', cursive !important;
    font-size: 0.9rem;
    font-weight: 400;
    color: #000000;
    font-style: normal;
    margin-left: 8px;
    opacity: 0.7;
    letter-spacing: 0.4px;
}

/* Field Hint - Below Form Field */
.field-hint {
    font-family: 'Allura', 'Great Vibes', cursive !important;
    font-size: 0.95rem;
    font-weight: 400;
    color: #000000;
    font-style: normal;
    margin: 10px 0 0 0;
    padding: 0;
    opacity: 0.8;
    letter-spacing: 0.4px;
    line-height: 1.6;
}
