@charset "utf-8";
/* CSS Document */
/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0d0d0d;
    color: #e6e6e6;
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #111;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

nav a:hover {
    color: #fff;
}

/* Description Section */
.description {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.description h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.description p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: #d0d0d0;
}

/* Book Grid */
.book-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.book-grid h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.books {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.book {
    background: #151515;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222;
    transition: 0.3s;
}

.book:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.book img {
    width: 100%;
    max-width: 180px;
    margin: 0 auto 15px;
    display: block;
    border-radius: 5px;
}

.book h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.book p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #bbb;
}

.btn {
    display: inline-block;
    padding: 10px 18px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn:hover {
    background: #666;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 60px;
    background: #111;
    border-top: 1px solid #222;
    color: #888;
}

/* Book Hero Section */
.book-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: #0f0f0f;
    border-bottom: 1px solid #222;
}

.book-hero img {
    width: 280px;
    border-radius: 8px;
    margin-right: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-text h3 {
    font-size: 1.4rem;
    color: #bbb;
}

/* Book Description */
.book-description {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.book-description h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Buy Buttons */
.buy-buttons {
    text-align: center;
    margin: 40px 0;
}

.buy-buttons .btn {
    margin: 0 10px;
}

/* Metadata */
.book-meta {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.book-meta ul {
    list-style: none;
    margin-top: 20px;
}

.book-meta li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Preview Section */
.preview {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.preview h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.center {
    text-align: center;
    margin-top: 30px;
}

/* Books.html css */
/* Page Title */
.page-title {
    text-align: center;
    margin: 60px 0 20px;
    padding: 0 20px;
}

.page-title h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-title p {
    color: #bbb;
    font-size: 1.2rem;
}

/* Full Books Grid */
.full-grid .books {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Coming Soon Badge */
.coming-soon {
    position: relative;
    opacity: 0.85;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #b30000;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
}

.btn.disabled {
    background: #333;
    cursor: not-allowed;
    pointer-events: none;
}

/* World Page Sections */
.world-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.world-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.world-section p {
    margin-bottom: 20px;
    color: #d0d0d0;
    font-size: 1.15rem;
}

/* Realms Grid */
.realms-grid {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.realm {
    background: #151515;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: 0.3s;
}

.realm:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.realm h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.realm p {
    color: #bbb;
    font-size: 1rem;
}

/* Blockquote */
blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: #111;
    border-left: 4px solid #666;
    font-style: italic;
    color: #ccc;
}

/* Character Sections */
.character-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.character-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.character-section p {
    margin-bottom: 30px;
    color: #d0d0d0;
    font-size: 1.15rem;
}

/* Character Grid */
.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* Character Card */
.character-card {
    background: #151515;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #222;
    text-align: center;
    transition: 0.3s;
}

.character-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.character-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.character-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.character-card p {
    color: #bbb;
    font-size: 1rem;
}

/* Author Page */
.author-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.author-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.author-photo img {
    width: 260px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.author-photo {
    flex: 1 1 260px;
    text-align: center;
}

.author-bio h2 {
    text-align: center;
	font-size: 2rem;
	margin-top: 0px;
	margin-bottom: 20px;
}

.author-bio p {
    margin-bottom: 20px;
    color: #d0d0d0;
    font-size: 1.15rem;
}

/* Other Works */
.other-works {
    list-style: none;
    padding-left: 0;
}

.other-works li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Social Links */
.social-links {
    list-style: none;
    padding-left: 0;
}

.social-links li {
    margin-bottom: 10px;
}

.social-links a {
    color: #9ac7ff;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    color: #cfe4ff;
}

@media (max-width: 600px) {
    .author-photo img {
        width: 200px;
    }
}

