/* ============================================
   LUXURIOUS GOLDEN-WHITE EBOOK STORE
   3D Premium Theme with Golden Accents
   ============================================ */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E4C1;
    --gold-dark: #B8941E;
    --white-pure: #FFFFFF;
    --white-soft: #FAFAFA;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --shadow-soft: rgba(212, 175, 55, 0.15);
    --shadow-medium: rgba(212, 175, 55, 0.25);
    --shadow-strong: rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #F4E4C1 50%, #FFFFFF 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   ANIMATED GOLDEN PARTICLES BACKGROUND
   ============================================ */

.golden-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(244, 228, 193, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

/* ============================================
   HERO SECTION - LANDING PAGE
   ============================================ */

.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.logo-container {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo-3d {
    display: inline-block;
    width: 120px;
    height: 120px;
    background: linear-gradient(145deg, var(--white-pure), var(--gold-light));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 60px var(--shadow-soft),
        0 10px 30px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: perspective(1000px) rotateX(10deg);
    transition: all 0.3s ease;
}

.logo-3d:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.05);
    box-shadow: 
        0 30px 80px var(--shadow-soft),
        0 15px 40px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.logo-icon {
    font-size: 60px;
    filter: drop-shadow(0 4px 6px rgba(212, 175, 55, 0.3));
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.title-line-1, .title-line-2, .title-line-3 {
    display: block;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px var(--shadow-soft);
    position: relative;
}

.subtitle {
    font-size: 24px;
    color: #666;
    margin-bottom: 50px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ============================================
   CTA BUTTON - 3D GOLDEN BUTTON
   ============================================ */

.cta-container {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button {
    display: inline-block;
    padding: 25px 60px;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px var(--shadow-medium),
        0 10px 30px var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: perspective(1000px) translateZ(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
    transform: perspective(1000px) translateZ(20px) scale(1.05);
    box-shadow: 
        0 30px 80px var(--shadow-medium),
        0 15px 40px var(--shadow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover .button-shine {
    left: 100%;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ============================================
   DECORATIVE SHAPES
   ============================================ */

.decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    bottom: -50px;
    left: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    top: 50%;
    left: 10%;
    animation: float 18s ease-in-out infinite;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    top: 20%;
    right: 15%;
    animation: float 22s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, -40px) rotate(-5deg); }
    75% { transform: translate(-40px, -20px) rotate(3deg); }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px var(--shadow-soft);
    z-index: 1000;
}

.nav-back {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-back:hover {
    color: var(--gold-primary);
    transform: translateX(-5px);
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   CATALOG PAGE
   ============================================ */

.catalog-container {
    min-height: 100vh;
    padding: 140px 40px 80px;
    position: relative;
    z-index: 1;
}

.catalog-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.8s ease-out;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 300;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out;
}

.book-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px var(--shadow-medium);
}

.book-card-inner {
    position: relative;
}

.book-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.book-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.book-card:hover .book-cover {
    transform: scale(1.08);
}

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.book-info {
    padding: 30px;
}

.book-title {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.book-tagline {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.book-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #888;
    padding: 6px 12px;
    background: var(--gray-light);
    border-radius: 12px;
}

.book-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.view-details-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Coming Soon Card */
.coming-soon {
    cursor: default;
}

.coming-soon:hover {
    transform: none;
}

.coming-soon-content {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.coming-soon-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
}

.coming-soon-content h3 {
    font-size: 24px;
    color: var(--gold-dark);
    margin-bottom: 15px;
}

.coming-soon-content p {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
}

/* ============================================
   BOOK DETAIL PAGE
   ============================================ */

.detail-container {
    min-height: 100vh;
    padding: 140px 40px 80px;
    position: relative;
    z-index: 1;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

.detail-left {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.book-showcase {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px var(--shadow-soft);
    text-align: center;
    position: relative;
}

.detail-cover {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.detail-cover:hover {
    transform: scale(1.05) rotate(2deg);
}

.showcase-badge {
    position: absolute;
    top: 60px;
    right: 60px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.detail-right {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px var(--shadow-soft);
}

.detail-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: #333;
    margin-bottom: 15px;
}

.detail-tagline {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
}

.current-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--gold-dark);
}

.price-label {
    font-size: 16px;
    color: #888;
}

.about-section,
.included-section,
.love-section,
.perfect-for-section {
    margin-bottom: 40px;
}

.detail-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.detail-content p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

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

.features-list li {
    font-size: 16px;
    color: #666;
    padding: 10px 0;
    line-height: 1.6;
}

.love-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.love-item {
    padding: 15px 20px;
    background: var(--gray-light);
    border-radius: 15px;
    font-size: 15px;
    color: #555;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
    color: var(--gold-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--shadow-soft);
}

.cta-section {
    margin-top: 50px;
    text-align: center;
}

.buy-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 25px 60px;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px var(--shadow-medium),
        0 10px 30px var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.buy-now-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 30px 80px var(--shadow-medium),
        0 15px 40px var(--shadow-soft);
}

.btn-icon {
    font-size: 24px;
}

.secure-notice {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */

.thankyou-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.thankyou-card {
    background: white;
    border-radius: 40px;
    padding: 60px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 30px 80px var(--shadow-medium);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.success-animation {
    margin-bottom: 40px;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px var(--shadow-medium);
    animation: scaleIn 0.6s ease-out;
}

.checkmark {
    font-size: 60px;
    color: white;
    font-weight: 700;
}

@keyframes scaleIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.thankyou-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: #333;
    margin-bottom: 15px;
}

.thankyou-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 50px;
}

.download-section {
    margin-bottom: 50px;
}

.book-preview {
    margin-bottom: 40px;
}

.preview-image {
    width: 200px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-soft);
    margin-bottom: 20px;
}

.book-preview h3 {
    font-size: 22px;
    color: #333;
}

.download-instructions {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 25px;
    margin-bottom: 30px;
}

.download-instructions h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
}

.download-instructions p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    background: linear-gradient(145deg, var(--gold-primary), var(--gold-dark));
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow-medium);
    transition: all 0.4s ease;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.download-tips {
    text-align: left;
    margin-top: 30px;
    padding: 25px;
    background: white;
    border-radius: 15px;
}

.download-tips h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.download-tips ul {
    list-style: none;
    padding: 0;
}

.download-tips li {
    font-size: 15px;
    color: #666;
    padding: 8px 0;
    line-height: 1.6;
}

.support-section {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.support-section h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.support-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.explore-more {
    margin-bottom: 40px;
}

.explore-more p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.explore-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--gold-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.social-share {
    padding-top: 30px;
    border-top: 2px solid var(--gray-light);
}

.share-text {
    font-size: 16px;
    color: #888;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 1200px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .detail-left {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 50px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .cta-button {
        padding: 20px 40px;
        font-size: 18px;
    }
    
    .features {
        gap: 20px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 40px;
    }
    
    .detail-content h1 {
        font-size: 32px;
    }
    
    .current-price {
        font-size: 36px;
    }
    
    .love-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-right {
        padding: 30px;
    }
    
    .thankyou-card {
        padding: 40px 30px;
    }
    
    .thankyou-title {
        font-size: 32px;
    }
    
    .navbar {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 36px;
    }
    
    .cta-button {
        padding: 18px 35px;
        font-size: 16px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .thankyou-title {
        font-size: 26px;
    }
    
    .download-instructions {
        padding: 25px;
    }
}
