@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:wght@300;400;600&family=Bebas+Neue&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background: #1a1421;
    color: #ffffff;
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 60px;
    background: linear-gradient(180deg, rgba(26,20,33,0.95) 0%, rgba(26,20,33,0.8) 50%, transparent 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    padding: 20px 60px;
    background: rgba(26,20,33,0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    color: #b8b3c4;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #ee227d;
    text-shadow: 0 0 20px rgba(238,34,125,0.5);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ee227d, #30c0b7);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.hex-code {
    display: none; /* Hide hex codes by default */
    font-size: 14px;
    opacity: 0.7;
    font-family: monospace;
}

/* Optional: Show hex codes on hover for a subtle effect */
.nav-container:hover .hex-code {
    /* display: inline; */ /* Uncomment if you want them to appear on hover */
}

.cta-button {
    background: linear-gradient(135deg, #30c0b7, #ee227d);
    padding: 10px 25px;
    border-radius: 25px;
    color: #1a1421;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48,192,183,0.3);
    font-family: 'Bebas Neue', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(48,192,183,0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b0855 0%, #1a1421 50%, #4a1f3d 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.atmosphere-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(238,34,125,0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(48,192,183,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b8b3c4;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ee227d;
    opacity: 1;
    box-shadow: 0 0 10px rgba(238,34,125,0.8);
}

/* Email Signup Section */
.email-signup {
    background: linear-gradient(135deg, #2a1f3d 0%, #1a1421 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.email-signup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238,34,125,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.signup-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.signup-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ee227d, #30c0b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.signup-subtitle {
    font-size: 20px;
    color: #b8b3c4;
    margin-bottom: 40px;
    line-height: 1.8;
}

.signup-form {
    display: flex;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 15px 25px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(238,34,125,0.3);
    border-radius: 30px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.email-input:focus {
    outline: none;
    border-color: #ee227d;
    box-shadow: 0 0 20px rgba(238,34,125,0.3);
}

.submit-button {
    padding: 15px 40px;
    background: linear-gradient(135deg, #ee227d, #ff4494);
    border: none;
    border-radius: 30px;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238,34,125,0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(238,34,125,0.6);
}

.signup-note {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

/* Books Section */
.books-section {
    padding: 100px 60px;
    background: #1a1421;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #ee227d, #30c0b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.book-card {
    background: linear-gradient(135deg, rgba(59,8,85,0.2), rgba(26,20,33,0.4));
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(238,34,125,0.2);
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(238,34,125,0.3);
    border-color: rgba(238,34,125,0.5);
}

.book-cover {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

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

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(26,20,33,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.book-status {
    background: #ee227d;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
}

.placeholder-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b0855, #1a1421);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-cover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238,34,125,0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
}

.coming-soon-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.cs-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: #ee227d;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.cs-date {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    color: #30c0b7;
    letter-spacing: 2px;
}

.book-info {
    padding: 30px;
}

.book-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: #ffffff;
}

.book-tagline {
    font-style: italic;
    color: #ee227d;
    margin-bottom: 20px;
    font-size: 18px;
}

.book-description {
    color: #b8b3c4;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.book-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.genre-tag {
    background: rgba(48,192,183,0.2);
    border: 1px solid rgba(48,192,183,0.4);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    color: #30c0b7;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.book-links {
    display: flex;
    gap: 15px;
}

.book-button {
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.book-button.preview {
    background: transparent;
    border: 2px solid #ee227d;
    color: #ee227d;
}

.book-button.preview:hover {
    background: #ee227d;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(238,34,125,0.4);
}

.book-button.buy {
    background: linear-gradient(135deg, #ee227d, #ff4494);
    color: #ffffff;
    border: none;
}

.book-button.buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(238,34,125,0.5);
}

.book-button.notify {
    background: rgba(48,192,183,0.2);
    border: 2px solid #30c0b7;
    color: #30c0b7;
}

.book-button.notify:hover {
    background: #30c0b7;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(48,192,183,0.4);
}

/* Blog Section */
.blog-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, #1a1421 0%, #2a1f3d 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(59,8,85,0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(238,34,125,0.2);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(238,34,125,0.3);
}

.blog-card.featured {
    grid-column: span 2;
}

.blog-image {
    height: 250px;
    background: linear-gradient(135deg, #3b0855, #ee227d);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(26,20,33,0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 14px;
    color: #30c0b7;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.3;
}

.blog-date {
    color: #ee227d;
    font-size: 14px;
    margin-bottom: 15px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.blog-excerpt {
    color: #b8b3c4;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: #30c0b7;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: #ee227d;
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
}

.view-all-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #ee227d;
    color: #ee227d;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: #ee227d;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(238,34,125,0.4);
}

/* About Section */
.about-section {
    padding: 100px 60px;
    background: #1a1421;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.author-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(238,34,125,0.3);
    border: 2px solid rgba(238,34,125,0.3);
    max-width: 400px;
    margin: 0 auto;
}

.author-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.author-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(238,34,125,0.1) 0%, 
        transparent 50%,
        rgba(48,192,183,0.1) 100%);
    pointer-events: none;
}

.author-image-mobile {
    display: none;
    margin: 30px 0;
    text-align: center;
}

.author-image-mobile img {
    max-width: 250px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(238,34,125,0.3);
    border: 2px solid rgba(238,34,125,0.3);
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: #b8b3c4;
    margin-bottom: 30px;
}

.about-links {
    margin-top: 40px;
}

.xhaos-button {
    display: inline-block;
    background: linear-gradient(135deg, #ee227d, #ff4494);
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238,34,125,0.3);
}

.xhaos-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(238,34,125,0.5);
}

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

.aesthetic-item {
    background: linear-gradient(135deg, rgba(59,8,85,0.3), rgba(48,192,183,0.1));
    border: 1px solid rgba(238,34,125,0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    color: #30c0b7;
    position: relative;
    transition: all 0.3s ease;
}

.aesthetic-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(238,34,125,0.3);
    border-color: #ee227d;
}

.aesthetic-item::before {
    content: attr(data-label);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1421;
    padding: 0 10px;
    font-size: 12px;
    color: #ee227d;
}

/* Contact Section */
.contact-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, #2a1f3d 0%, #1a1421 100%);
    text-align: center;
}

.contact-text {
    font-size: 24px;
    color: #b8b3c4;
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.social-link.instagram {
    border-color: #ee227d;
    color: #ee227d;
}

.social-link.instagram:hover {
    background: #ee227d;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(238,34,125,0.4);
}

.social-link.tiktok {
    border-color: #30c0b7;
    color: #30c0b7;
}

.social-link.tiktok:hover {
    background: #30c0b7;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(48,192,183,0.4);
}

.social-link.goodreads {
    border-color: #8b3f99;
    color: #8b3f99;
}

.social-link.goodreads:hover {
    background: #8b3f99;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(139,63,153,0.4);
}

.social-link.email {
    border-color: #ff4494;
    color: #ff4494;
}

.social-link.email:hover {
    background: #ff4494;
    color: #1a1421;
    box-shadow: 0 5px 20px rgba(255,68,148,0.4);
}

/* Footer */
.footer {
    background: #0f0c14;
    padding: 40px 60px;
    text-align: center;
    border-top: 1px solid rgba(238,34,125,0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: #b8b3c4;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-hex {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-hex span {
    color: rgba(255,255,255,0.3);
    font-family: monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-hex span:hover {
    color: #ee227d;
    text-shadow: 0 0 10px rgba(238,34,125,0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        grid-column: span 1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .author-image {
        display: none;
    }
    
    .author-image-mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 20px;
    }
    
    .nav-left, .nav-right {
        gap: 15px;
    }
    
    .hex-code {
        display: none;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .books-section,
    .blog-section,
    .about-section,
    .contact-section {
        padding: 60px 20px;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .aesthetic-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
    }
}