:root {
    --bg: #fffdf8;
    --text: #222;
    --card: white;
    --accent: #ff9f68;
}

.dark-mode {
    --bg: #1e1e1e;
    --text: #fff;
    --card: #2d2d2d;
}

body {
    margin: 0;
    font-family: Arial;
    background: var(--bg);
    color: var(--text);
}

.navbar,
.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: var(--card);
}

.book-preview {
    display: flex;
    gap: 20px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
}

.book-preview img {
    width: 180px;
}

.footer-left {
    width: 33%;
}

.footer-right {
    width: 67%;
}

.buy-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 40px;

    background: rgba(255, 253, 248, 0.95);

    backdrop-filter: blur(8px);

    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}


.logo {
    font-size: 1.5rem;
    font-weight: 700;

    color: var(--text);

    text-decoration: none;

    letter-spacing: 0.5px;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}


.nav-links {
    display: flex;
    gap: 28px;
}


.nav-links a {
    text-decoration: none;
    color: var(--text);

    font-weight: 500;

    transition: 0.25s;
}


.nav-links a:hover {
    color: var(--accent);
}


.theme-toggle {
    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    background: var(--accent);

    font-size: 1rem;

    transition: 0.25s;
}


.theme-toggle:hover {
    transform: scale(1.08);
}