:root {
    --black: #0d0d0d;
    --dark: #161616;
    --dark2: #1f1f1f;
    --dark3: #2a2a2a;
    --red: #cc1111;
    --red-light: #e53030;
    --white: #ffffff;
    --gray: #888;
    --text: #ddd;
}

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

body {
    background: var(--black);
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

a { color: var(--red-light); text-decoration: none; }
a:hover { color: #ff5555; }

/* ─── HEADER ─── */
header {
    background: var(--dark);
    border-bottom: 3px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 24px rgba(204,17,17,.3);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.logo-wrap { display: flex; align-items: center; gap: 16px; }
.logo {
    height: 80px;
    width: auto;
    border-radius: 6px;
    display: block;
}
.site-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.site-name span { color: var(--red); }

nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
    display: block;
    color: var(--text);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background .18s, color .18s;
}
nav a:hover, nav a.active {
    background: var(--red);
    color: var(--white);
}

/* ─── HERO ─── */
.hero {
    background: linear-gradient(160deg, #1a0a0a 0%, #0d0d0d 55%);
    padding: 96px 24px 80px;
    text-align: center;
    border-bottom: 1px solid #2a1a1a;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(204,17,17,.1) 0%, transparent 65%);
    pointer-events: none;
}
.hero-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--red); }
.hero p {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 580px;
    margin: 0 auto 32px;
    opacity: .85;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── SECTIONS ─── */
.section { padding: 64px 24px; border-bottom: 1px solid #1e1e1e; }
.section-inner { max-width: 920px; margin: 0 auto; }
.section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.section h2 .accent { color: var(--red); }
.section .lead {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 740px;
    margin-bottom: 14px;
}
.divider {
    width: 48px; height: 3px;
    background: var(--red);
    margin-bottom: 24px;
    border-radius: 2px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 13px 28px;
    border-radius: 4px;
    transition: background .18s, transform .15s, box-shadow .18s;
    border: 2px solid var(--red);
}
.btn:hover { background: var(--red-light); border-color: var(--red-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(204,17,17,.4); color: var(--white); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: .8rem; }

/* ─── FEATURE GRID ─── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.feature-card {
    background: var(--dark2);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px;
    transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--red); transform: translateY(-3px); }
.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: block;
}
.feature-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.feature-card p { font-size: .9rem; color: var(--gray); line-height: 1.6; }

/* ─── BOOK CARDS ─── */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; margin-top: 32px; }
.book-card {
    background: var(--dark2);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.6); border-color: var(--red); }
.book-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: var(--dark3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: .8rem;
    text-align: center;
    padding: 16px;
    border-bottom: 1px solid #333;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-info { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.book-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.3;
}
.book-desc { font-size: .85rem; color: var(--gray); line-height: 1.5; flex: 1; }
.book-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.book-price { font-size: .95rem; color: var(--red); font-weight: 700; font-family: 'Oswald', sans-serif; }

/* ─── PAGE HEADER ─── */
.page-hero {
    background: linear-gradient(160deg, #1a0a0a 0%, #111 60%);
    padding: 60px 24px 48px;
    border-bottom: 1px solid #2a1a1a;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    bottom: -20px; right: -40px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(204,17,17,.08) 0%, transparent 70%);
}
.page-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-hero p { margin-top: 10px; color: var(--gray); font-size: 1rem; }

/* ─── ABOUT PROFILE ─── */
.profile-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; margin-top: 24px; }
.profile-img-wrap { position: relative; }
.profile-img-wrap img { width: 100%; border-radius: 8px; display: block; border: 2px solid var(--red); }
.profile-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--dark2);
    border: 2px dashed #444;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: .85rem;
    text-align: center;
    padding: 20px;
}
.profile-bio h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 20px;
    margin-bottom: 8px;
}
.profile-bio h3:first-child { margin-top: 0; }
.profile-bio p { font-size: 1rem; color: var(--text); margin-bottom: 12px; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 32px; }
.contact-block h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
    margin-top: 24px;
}
.contact-block h3:first-child { margin-top: 0; }
.contact-block address, .contact-block p {
    font-size: 1rem;
    color: var(--text);
    font-style: normal;
    line-height: 1.8;
}

/* ─── LINK LIST ─── */
.link-list { list-style: none; margin-top: 16px; }
.link-list li { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #1e1e1e; }
.link-list li:last-child { border-bottom: none; }
.link-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .15s;
}
.link-list a::before { content: '→'; color: var(--red); font-weight: 700; }
.link-list a:hover { color: var(--white); }

/* ─── FOOTER ─── */
footer {
    background: var(--dark);
    border-top: 3px solid var(--red);
    padding: 40px 24px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand .logo { height: 60px; margin-bottom: 10px; border-radius: 4px; }
.footer-brand p { font-size: .85rem; color: var(--gray); max-width: 240px; }
.footer-links h4 {
    font-family: 'Oswald', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--gray); font-size: .85rem; text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
    max-width: 1100px;
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid #222;
    font-size: .8rem;
    color: var(--gray);
    text-align: center;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .header-inner { padding: 12px 20px; }
    nav ul { gap: 2px; }
    nav a { padding: 7px 12px; font-size: .8rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 64px 20px 56px; }
    .contact-grid { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-placeholder { max-width: 240px; }
    .logo { height: 65px; }
    .site-name { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .section h2 { font-size: 1.5rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .footer-inner { flex-direction: column; }
}
