* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #faf8f5;
    color: #1e1a17;
}

:root {
    --gold-dark: #BA801A;
    --gold-light: #DFAE47;
    --silver: #DCDADB;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    background: white;
    border-bottom: 2px solid var(--gold-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.7rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #2C2A2B;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold-dark);
}

/* Buttons */
.btn-gold {
    background: var(--gold-dark);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-gold:hover {
    background: #9e6e15;
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 1.5px solid var(--gold-dark);
    padding: 10px 24px;
    border-radius: 40px;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: var(--gold-dark);
    color: white;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero */
.hero {
    padding: 60px 0;
}

.hero-grid {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1.2;
}

.hero-book-image {
    flex: 0.9;
    text-align: center;
}

.badge {
    background: var(--gold-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0.5rem 0;
}

.price-gbp {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-dark);
}

.price-old {
    text-decoration: line-through;
    color: #948e88;
    margin-left: 10px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* Book Cover Placeholder */
.book-cover-placeholder, .cover-placeholder {
    background: var(--silver);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.book-cover-placeholder i, .cover-placeholder i {
    font-size: 100px;
    color: var(--gold-dark);
}

/* Features */
.features {
    padding: 60px 0;
    background: white;
}

.features-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: #faf8f5;
    border-radius: 24px;
    flex: 1;
    min-width: 200px;
}

.feature-card i {
    font-size: 40px;
    color: var(--gold-dark);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Checkout */
.checkout-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin: 50px 0;
}

.order-summary, .checkout-form {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-weight: 800;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--silver);
    font-family: inherit;
}

.paypal-placeholder {
    background: #ffc43920;
    border: 1px dashed #ffc439;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    margin: 20px 0;
}

.delivery-note {
    background: #FEF5E7;
    padding: 15px;
    border-radius: 16px;
    margin-top: 20px;
}

/* Book Details Page */
.book-details-grid {
    display: flex;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.book-cover-large {
    flex: 0.8;
}

.book-info-large {
    flex: 1.2;
}

.book-info-large h1 {
    font-size: 2.5rem;
}

.price-large {
    font-size: 2rem;
    color: var(--gold-dark);
    margin: 20px 0;
}

.synopsis {
    margin: 40px 0;
    line-height: 1.6;
}

.preview-blur {
    filter: blur(4px);
    background: #f0ede8;
    padding: 20px;
    border-radius: 20px;
    margin-top: 15px;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--gold-dark);
    padding-left: 20px;
    margin: 30px 0;
}

/* Library */
.library-empty {
    text-align: center;
    padding: 80px;
    background: white;
    border-radius: 28px;
}

.library-empty i {
    font-size: 60px;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #1e1b18;
    color: #ccc;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner, .nav-links {
        flex-direction: column;
        gap: 12px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}