/* ==========================================
   CUTE MUSIC WEBSITE WITH CATS & DOGS
   ========================================== */

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

:root {
    --primary-pink: #ffb3d9;
    --primary-purple: #c9b3ff;
    --primary-blue: #b3d9ff;
    --accent-yellow: #fff4b3;
    --bg-cream: #fffbf5;
    --bg-white: #ffffff;
    --text-dark: #5a4a6a;
    --text-medium: #8a7a9a;
    --text-light: #b5a5c5;
    --shadow-soft: rgba(201, 179, 255, 0.2);
    --shadow-medium: rgba(201, 179, 255, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   CUTE FLOATING PETS (CATS & DOGS)
   ========================================== */

.floating-pet {
    position: fixed;
    font-size: 60px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.4;
    animation: float-pets 8s ease-in-out infinite;
}

.cat-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.dog-1 {
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.cat-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 4s;
}

.dog-2 {
    top: 70%;
    left: 8%;
    animation-delay: 6s;
}

@keyframes float-pets {
    0%, 100% { 
        transform: translateY(0px) rotate(-5deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(5deg); 
    }
}

/* Hide pets on mobile for cleaner experience */
@media (max-width: 768px) {
    .floating-pet {
        display: none;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 50%, #e7f0ff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 40px 20px;
}

.hero-sparkle {
    position: absolute;
    font-size: 100px;
    opacity: 0.3;
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-flower {
    position: absolute;
    font-size: 80px;
    opacity: 0.3;
    bottom: 15%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

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

.hero-content {
    z-index: 10;
    max-width: 700px;
}

.hero-name {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-intro {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
}

.start-button {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow-soft);
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-section {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff 0%, #fef7ff 100%);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    border: 3px solid var(--primary-purple);
}

.about-card h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--text-dark);
    margin-bottom: 25px;
    text-align: center;
}

.about-card p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.about-card strong {
    color: var(--text-dark);
}

/* ==========================================
   SONGS SECTION
   ========================================== */

.songs-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #fff4f9 100%);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 42px);
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 60px;
}

.songs-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.song-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    border: 3px solid var(--primary-pink);
    transition: all 0.3s ease;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.song-card:nth-child(2) {
    border-color: var(--primary-purple);
}

.song-card:nth-child(3) {
    border-color: var(--primary-blue);
}

.song-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.song-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.song-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 25px;
}

.audio-player {
    width: 100%;
    border-radius: 15px;
    outline: none;
}

/* Vote CTA */
.vote-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 8px 30px var(--shadow-soft);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vote-cta p {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.vote-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 25px var(--shadow-soft);
    transition: all 0.3s ease;
}

.vote-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}

/* ==========================================
   SIGNUP SECTION
   ========================================== */

.signup-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f0e7ff 0%, #e7f0ff 100%);
}

.signup-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    border: 3px solid var(--primary-purple);
}

.signup-card h2 {
    font-size: clamp(28px, 4vw, 36px);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 20px;
}

.signup-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cute-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    transition: all 0.3s ease;
}

.cute-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(255, 179, 217, 0.2);
    transform: translateY(-2px);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-pink);
}

.checkbox-container label {
    font-size: 15px;
    color: var(--text-medium);
    cursor: pointer;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px var(--shadow-soft);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}

.automation-info {
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    padding: 20px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-pink);
    margin-top: 30px;
}

.automation-info p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-medium);
}

/* ==========================================
   HOW IT WORKS
   ========================================== */

.how-it-works {
    padding: 100px 20px;
    background: white;
}

.how-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

@media (min-width: 768px) {
    .steps-container {
        flex-direction: row;
        justify-content: center;
    }
}

.step {
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    border-radius: 25px;
    padding: 35px 25px;
    text-align: center;
    flex: 1;
    max-width: 280px;
    box-shadow: 0 8px 30px var(--shadow-soft);
    border: 3px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    color: var(--text-medium);
}

.step-arrow {
    font-size: 36px;
    color: var(--primary-purple);
    display: none;
}

@media (min-width: 768px) {
    .step-arrow {
        display: block;
        margin: 0 10px;
    }
}

.trigger-explanation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-cream);
    padding: 25px;
    border-radius: 20px;
    border: 2px dashed var(--primary-purple);
}

.trigger-explanation p {
    font-size: 16px;
    color: var(--text-medium);
}

.trigger-explanation em {
    color: var(--text-dark);
    font-weight: 600;
    font-style: normal;
}

/* ==========================================
   TECH SECTION
   ========================================== */

.tech-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0e7ff 0%, #fff4f9 100%);
}

.tech-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 8px 30px var(--shadow-soft);
    border: 3px solid var(--primary-blue);
}

.tech-card h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.tech-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.tech-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.tech-list li {
    font-size: 16px;
    color: var(--text-medium);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.tech-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
}

.tech-list strong {
    color: var(--text-dark);
}

/* ==========================================
   VOTING PAGE STYLES
   ========================================== */

.vote-hero {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    text-align: center;
}

.back-link {
    display: inline-block;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-dark);
}

.vote-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.vote-intro {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.voting-section {
    padding: 80px 20px;
    background: white;
}

.vote-form {
    max-width: 900px;
    margin: 0 auto;
}

.vote-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .vote-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vote-option {
    cursor: pointer;
}

.vote-option input[type="radio"] {
    display: none;
}

.vote-card {
    background: linear-gradient(135deg, #fff 0%, #fef7ff 100%);
    border: 3px solid var(--primary-purple);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.vote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-soft);
}

.vote-option input[type="radio"]:checked + .vote-card {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    box-shadow: 0 15px 50px var(--shadow-medium);
    transform: translateY(-8px);
}

.vote-card.selected {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    box-shadow: 0 15px 50px var(--shadow-medium);
}

.vote-song-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.vote-song-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.vote-song-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

.vote-checkmark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: var(--primary-pink);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.vote-option input[type="radio"]:checked + .vote-card .vote-checkmark {
    display: flex;
}

.feedback-section {
    margin-bottom: 40px;
}

.feedback-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.feedback-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--primary-purple);
    border-radius: 15px;
    font-size: 16px;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(255, 179, 217, 0.2);
}

.voter-info {
    margin-bottom: 40px;
}

.vote-submit-button {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow-soft);
}

.vote-submit-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

/* Thank You Message */
.thank-you-message {
    padding: 80px 20px;
}

.thank-you-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 50px var(--shadow-medium);
    border: 3px solid var(--primary-pink);
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.thank-you-card h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.thank-you-card p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.back-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px var(--shadow-soft);
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-medium);
}

.back-link-simple {
    display: block;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 16px;
    margin-top: 15px;
}

/* Results Preview */
.results-preview {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0e7ff 0%, #fff4f9 100%);
}

.results-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    border: 3px solid var(--primary-blue);
}

.results-card h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.results-note {
    font-size: 16px;
    color: var(--text-medium);
    text-align: center;
    margin-bottom: 35px;
}

.results-bars {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 25px;
}

.result-bar {
    width: 100%;
}

.result-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

.result-song {
    color: var(--text-dark);
    font-weight: 600;
}

.result-percentage {
    color: var(--primary-purple);
    font-weight: 700;
}

.result-progress {
    width: 100%;
    height: 20px;
    background: var(--bg-cream);
    border-radius: 10px;
    overflow: hidden;
}

.result-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-purple) 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.results-footer {
    text-align: center;
    margin-top: 20px;
}

.results-footer small {
    color: var(--text-light);
    font-size: 13px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-pink) 100%);
    color: white;
    padding: 60px 20px 40px;
    text-align: center;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .hero, .vote-hero {
        min-height: 90vh;
        padding: 60px 20px;
    }

    .about-card,
    .signup-card,
    .tech-card,
    .results-card {
        padding: 35px 25px;
    }

    .song-card {
        padding: 30px 25px;
    }

    .vote-card {
        padding: 25px;
    }

    .thank-you-card {
        padding: 40px 25px;
    }

    .sections {
        padding: 60px 20px;
    }
}

@media (max-width: 480px) {
    .hero-name, .vote-title {
        font-size: 36px;
    }

    .start-button {
        padding: 16px 40px;
        font-size: 18px;
    }
}

/* ==========================================
   INTEGRATED VOTING SECTION
   ========================================== */

.voting-section-integrated {
    padding: 100px 20px;
    background: white;
}

.vote-intro-text {
    text-align: center;
    font-size: 17px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.vote-form-inline {
    max-width: 900px;
    margin: 0 auto 50px;
}

.vote-thank-you {
    max-width: 600px;
    margin: 0 auto 50px;
}

.thank-you-inline {
    background: linear-gradient(135deg, #fff4f9 0%, #f0e7ff 100%);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    border: 3px solid var(--primary-pink);
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.thank-you-inline .thank-you-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.thank-you-inline h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.thank-you-inline p {
    font-size: 17px;
    color: var(--text-medium);
}

.results-inline {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0e7ff 0%, #fff4f9 100%);
    padding: 40px;
    border-radius: 25px;
    border: 3px solid var(--primary-purple);
    box-shadow: 0 10px 40px var(--shadow-soft);
}

.results-inline h3 {
    font-size: 26px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
}

.results-note-small {
    text-align: center;
    margin-top: 20px;
}

.results-note-small small {
    color: var(--text-light);
    font-size: 13px;
}

@media (max-width: 768px) {
    .voting-section-integrated {
        padding: 60px 20px;
    }

    .thank-you-inline {
        padding: 30px 25px;
    }

    .results-inline {
        padding: 30px 25px;
    }
}
