/* ========================================
   ÇAL SÖYLE OYNA - V7 FLIPBOOK
   ======================================== */

:root {
    /* Baby Blue Palette */
    --baby-blue: #89CFF0;
    --baby-blue-light: #A8DAFF;
    --baby-blue-dark: #6BB8E0;
    --sky-blue: #87CEEB;
    --light-cyan: #E0FFFF;

    /* Accent Colors */
    --orange: #FF6B35;
    --yellow: #FFD93D;
    --teal: #2EC4B6;
    --coral: #FF7F7F;

    /* Neutrals */
    --cream: #FFFAF5;
    --cream-dark: #FFF5EB;
    --dark: #2D3436;
    --gray: #636E72;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #89CFF0 0%, #A8DAFF 50%, #E0FFFF 100%);
    --gradient-blue: linear-gradient(135deg, #89CFF0 0%, #6BB8E0 100%);

    --font-main: 'Quicksand', sans-serif;
    --font-alt: 'Poppins', sans-serif;

    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.15);
    --shadow-blue: 0 20px 60px rgba(137, 207, 240, 0.4);
    --radius: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-alt);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Floating Music Bar */
.floating-music {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1DB954;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(29, 185, 84, 0.4);
    animation: pulse-float 2s ease-in-out infinite;
}

@keyframes pulse-float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    }

    50% {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
    }
}

.music-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.music-wave span {
    width: 3px;
    background: var(--white);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.music-wave span:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.music-wave span:nth-child(2) {
    height: 16px;
    animation-delay: 0.1s;
}

.music-wave span:nth-child(3) {
    height: 12px;
    animation-delay: 0.2s;
}

.music-wave span:nth-child(4) {
    height: 18px;
    animation-delay: 0.3s;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.5);
    }
}

.music-text {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.music-play {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 12px;
    transition: transform 0.3s;
}

.music-play:hover {
    transform: scale(1.1);
}

/* Back Button */
.back-btn {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 999;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--baby-blue);
    color: var(--white);
    transform: scale(1.1);
}

/* Hero - Two Column Layout */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #89CFF0 0%, #A8DAFF 40%, #C5E8FF 70%, #E0FFFF 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    animation: float-bg 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: float-bg 15s ease-in-out infinite reverse;
}

@keyframes float-bg {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
}

.badge.author-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge.author-name i {
    font-size: 1rem;
    color: var(--teal);
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--dark);
    opacity: 0.8;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-book {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.book-glow {
    display: none;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.main-book {
    position: relative;
    max-width: 380px;
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease;
    animation: float-book 3s ease-in-out infinite;
}

@keyframes float-book {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.main-book:hover {
    transform: scale(1.05) translateY(-10px);
    animation-play-state: paused;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-family: var(--font-alt);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.author-badge i {
    color: var(--teal);
    font-size: 0.9rem;
}

.author-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    background: var(--coral);
}

.btn-ghost {
    color: var(--dark);
    border: 2px solid var(--dark);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-ghost:hover {
    background: var(--dark);
    color: var(--white);
    color: var(--white);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.light {
    color: var(--white);
}

.section-header.light .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.section-header.light h2 {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* Features */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, #E0FFFF 0%, var(--white) 30%);
}

.features-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-box {
    text-align: center;
    padding: 20px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--teal), var(--baby-blue-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.35);
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Creative Gallery - Stacked Cards */
/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--baby-blue) 0%, var(--light-cyan) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Animated Book Loader */
.book-loader {
    position: relative;
    width: 100px;
    height: 80px;
    perspective: 400px;
}

.book-page {
    position: absolute;
    width: 50px;
    height: 80px;
    right: 0;
    background: linear-gradient(90deg, #f8f8f8 0%, #fff 100%);
    border-radius: 0 8px 8px 0;
    transform-origin: left center;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
    animation: flip-page 1.5s ease-in-out infinite;
}

.book-page:nth-child(1) {
    animation-delay: 0s;
    z-index: 3;
}

.book-page:nth-child(2) {
    animation-delay: 0.2s;
    z-index: 2;
}

.book-page:nth-child(3) {
    animation-delay: 0.4s;
    z-index: 1;
}

.book-loader::before {
    content: '';
    position: absolute;
    left: 0;
    width: 50px;
    height: 80px;
    background: linear-gradient(90deg, #e8e8e8 0%, #f5f5f5 100%);
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.1);
}

.book-loader::after {
    content: '';
    position: absolute;
    left: 48px;
    top: 5px;
    width: 4px;
    height: 70px;
    background: linear-gradient(180deg, var(--baby-blue-dark) 0%, var(--teal) 100%);
    border-radius: 2px;
}

@keyframes flip-page {

    0%,
    100% {
        transform: rotateY(0deg);
        box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.15);
    }

    50% {
        transform: rotateY(-160deg);
        box-shadow: -2px 3px 8px rgba(0, 0, 0, 0.1);
    }
}

.loading-text {
    margin-top: 30px;
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-family: var(--font-alt);
    font-weight: 700;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    padding: 0 20px;
    max-width: 90%;
}

.loading-text span {
    display: inline-block;
    animation: bounce-letter 1.5s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Kelimeler arası boşluk için */
.loading-text span:nth-child(4),
.loading-text span:nth-child(10),
.loading-text span:nth-child(15),
.loading-text span:nth-child(26) {
    margin-right: 8px;
}

/* Her harf için farklı renkler */
.loading-text span:nth-child(1) {
    color: #FF6B6B;
    animation-delay: 0s;
}

.loading-text span:nth-child(2) {
    color: #FF8E53;
    animation-delay: 0.05s;
}

.loading-text span:nth-child(3) {
    color: #FFD93D;
    animation-delay: 0.1s;
}

.loading-text span:nth-child(4) {
    color: #6BCB77;
    animation-delay: 0.15s;
}

.loading-text span:nth-child(5) {
    color: #4D96FF;
    animation-delay: 0.2s;
}

.loading-text span:nth-child(6) {
    color: #9B59B6;
    animation-delay: 0.25s;
}

.loading-text span:nth-child(7) {
    color: #FF6B6B;
    animation-delay: 0.3s;
}

.loading-text span:nth-child(8) {
    color: #FF8E53;
    animation-delay: 0.35s;
}

.loading-text span:nth-child(9) {
    color: #FFD93D;
    animation-delay: 0.4s;
}

.loading-text span:nth-child(10) {
    color: #6BCB77;
    animation-delay: 0.45s;
}

.loading-text span:nth-child(11) {
    color: #4D96FF;
    animation-delay: 0.5s;
}

.loading-text span:nth-child(12) {
    color: #9B59B6;
    animation-delay: 0.55s;
}

.loading-text span:nth-child(13) {
    color: #FF6B6B;
    animation-delay: 0.6s;
}

.loading-text span:nth-child(14) {
    color: #FF8E53;
    animation-delay: 0.65s;
}

.loading-text span:nth-child(15) {
    color: #FFD93D;
    animation-delay: 0.7s;
}

.loading-text span:nth-child(16) {
    color: #6BCB77;
    animation-delay: 0.75s;
}

.loading-text span:nth-child(17) {
    color: #4D96FF;
    animation-delay: 0.8s;
}

.loading-text span:nth-child(18) {
    color: #9B59B6;
    animation-delay: 0.85s;
}

.loading-text span:nth-child(19) {
    color: #FF6B6B;
    animation-delay: 0.9s;
}

.loading-text span:nth-child(20) {
    color: #FF8E53;
    animation-delay: 0.95s;
}

.loading-text span:nth-child(21) {
    color: #FFD93D;
    animation-delay: 1s;
}

.loading-text span:nth-child(22) {
    color: #6BCB77;
    animation-delay: 1.05s;
}

.loading-text span:nth-child(23) {
    color: #4D96FF;
    animation-delay: 1.1s;
}

.loading-text span:nth-child(24) {
    color: #9B59B6;
    animation-delay: 1.15s;
}

.loading-text span:nth-child(25) {
    color: #FF6B6B;
    animation-delay: 1.2s;
}

.loading-text span:nth-child(26) {
    color: #FF8E53;
    animation-delay: 1.25s;
}

.loading-text span:nth-child(27) {
    color: #FFD93D;
    animation-delay: 1.3s;
}

@keyframes bounce-letter {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    25% {
        transform: translateY(-8px) scale(1.1);
    }

    50% {
        transform: translateY(0) scale(1);
    }
}

/* ===== FLIPBOOK ===== */
.flipbook-section {
    padding: 80px 0;
    background: var(--cream-dark);
}

.flipbook-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.flipbook {
    position: relative;
    width: 350px;
    height: 450px;
    perspective: 1500px;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page.active {
    transform: rotateY(0deg);
    z-index: 10;
}

.page.prev {
    transform: rotateY(-30deg) translateX(-50px) scale(0.9);
    z-index: 5;
    opacity: 0.5;
}

.page.next {
    transform: rotateY(30deg) translateX(50px) scale(0.9);
    z-index: 5;
    opacity: 0.5;
}

.flip-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--baby-blue);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.flip-btn:hover:not(:disabled) {
    background: var(--baby-blue-dark);
    transform: scale(1.1);
}

.flip-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.page-indicator {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
}

.page-indicator span:first-child {
    color: var(--baby-blue-dark);
    font-size: 1.5rem;
}

/* Music */
.music {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal) 0%, #1A9A8F 100%);
}

.music-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.spotify-embed {
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.platform-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.platform-card span {
    font-size: 1rem;
}

.platform-card:hover {
    transform: translateX(8px);
}

.platform-card.spotify {
    background: #1DB954;
}

.platform-card.apple {
    background: #000000;
    color: #ffffff;
}

.platform-card.youtube {
    background: #FF0000;
}

/* Purchase */
.purchase {
    padding: 80px 0;
    background: var(--cream);
}

.purchase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-lg);
}

.purchase-left .section-tag {
    background: var(--teal);
}

.purchase-left h2 {
    font-size: 2rem;
    margin: 12px 0;
}

.purchase-left p {
    color: var(--gray);
    margin-bottom: 20px;
}

.trigger-message {
    font-size: 1.2rem;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.price-old {
    font-size: 1.1rem;
    color: #B2BEC3;
    text-decoration: line-through;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    font-family: var(--font-alt);
}

.benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.benefits-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
}

.benefits-row i {
    color: var(--teal);
}

.buy-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--orange), var(--coral));
    color: var(--white);
    padding: 24px 48px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.35);
    transition: all 0.3s;
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 45px rgba(255, 107, 53, 0.45);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-family: var(--font-alt);
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--orange), var(--yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 13px;
    opacity: 0.5;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.page img {
    cursor: zoom-in;
}

/* Responsive */
@media (max-width: 992px) {

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-row {
        gap: 12px;
    }

    .feature-box {
        padding: 16px 12px;
        min-width: 100px;
        max-width: 140px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .feature-box h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .feature-box p {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .gallery-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .gallery-stack {
        height: 320px;
    }

    .stack-card {
        width: 200px;
        height: 200px;
    }

    .music-content {
        grid-template-columns: 1fr;
    }

    .platform-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .flipbook-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .flipbook {
        width: 280px;
        height: 360px;
    }

    .flip-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .main-book {
        max-width: 220px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .feature-box h3 {
        font-size: 1rem;
    }

    .feature-box p {
        font-size: 0.85rem;
    }

    .flipbook-section {
        padding: 50px 0;
    }

    .flipbook {
        width: 240px;
        height: 310px;
    }

    .flip-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .music {
        padding: 50px 0;
    }

    .purchase {
        padding: 40px 0;
    }

    .purchase-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
    }

    .purchase-left h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .trigger-message {
        font-size: 1rem;
        line-height: 1.6;
    }

    .benefits-row {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .benefits-row span {
        font-size: 12px;
    }

    .buy-button {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    .floating-music {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
    }

    .music-text {
        display: none;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .stack-card {
        width: 160px;
        height: 160px;
    }

    .back-btn {
        width: 40px;
        height: 40px;
        top: 16px;
        left: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .main-book {
        max-width: 180px;
    }

    .flipbook {
        width: 200px;
        height: 260px;
    }

    .flip-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .flipbook-wrapper {
        gap: 15px;
    }

    .page-indicator {
        font-size: 1rem;
    }
}

/* Added by Task: Implement Additional Requests */
.hero-logo {
    max-width: 100px;
    /* Reduced from 150px */
    margin-bottom: 24px;
    display: block;
}

.platform-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
    /* Ensure full width for centering */
}

/* Special YouTube Button */
.special-youtube-btn {
    background: linear-gradient(135deg, #FF0000 0%, #C4302B 100%);
    color: #fff !important;
    /* Force white text */
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    transition: all 0.3s ease;
    width: auto;
    /* Allow auto width */
    min-width: 200px;
    /* Minimum width for presence */
    justify-content: center;
}

.special-youtube-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
    background: linear-gradient(135deg, #FF1A1A 0%, #D93833 100%);
}

.special-youtube-btn i {
    font-size: 1.4rem;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero-logo {
        margin: 0 auto 24px auto;
        /* Center logo on mobile */
    }

    .platform-grid {
        margin-top: 20px;
    }
}

.lumbadore-logo {
    max-width: 80px;
    /* Reduced from 120px */
    height: auto;
    margin-bottom: 10px;
}

/* Playlist Sidebar */
.playlist-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 315px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.playlist-header {
    background: var(--dark);
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.playlist-header h3 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.song-count {
    font-size: 0.8rem;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.playlist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.playlist-items::-webkit-scrollbar {
    width: 6px;
}

.playlist-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.playlist-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f5f5f5;
}

.playlist-item:hover {
    background: #f9f9f9;
}

.playlist-item.active {
    background: #e6f7ff;
    border-left: 4px solid var(--baby-blue-dark);
}

.playlist-item .play-icon {
    font-size: 0.9rem;
    color: var(--gray);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eee;
    transition: all 0.2s;
}

.playlist-item.active .play-icon {
    background: var(--baby-blue-dark);
    color: #fff;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.item-duration {
    font-size: 0.75rem;
    color: var(--gray);
}

.playlist-footer-link {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f8f8f8;
    color: var(--baby-blue-dark);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid #eee;
    transition: background 0.2s;
}

.playlist-footer-link:hover {
    background: #eef;
}

@media (max-width: 768px) {
    .playlist-sidebar {
        height: auto;
        max-height: 315px;
    }
}

/* YouTube CTA Box */
.youtube-cta-box {
    background: #ffffff !important;
    /* Force white background */
    width: 100%;
    /* Ensure full width */
    padding: 24px;
    /* Reduced padding slightly for better fit */
    height: 315px;
    /* Match YouTube embed height */
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center content vertically */
    gap: 16px;
    transition: transform 0.3s ease;
}

.youtube-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.cta-icon {
    font-size: 3rem;
    color: #FF0000;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(255, 0, 0, 0.2));
}

.youtube-cta-box h3 {
    font-size: 1.5rem;
    color: var(--dark);
    line-height: 1.3;
}

.youtube-cta-box p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Adjust button inside box */
.youtube-cta-box .special-youtube-btn {
    width: 100%;
    max-width: 280px;
}

@media (max-width: 768px) {
    .youtube-cta-box {
        padding: 30px 20px;
    }
}