:root {
    --bg-color: #121212;
    --primary-color: #1DB954;
    --text-color: #E0E0E0;
    --text-color-dark: #B3B3B3;
    --container-bg: #181818;
    --container-highlight: #282828;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body::after {
    content: "\0040\0068\006F\006F\0074\0068\0069\006E";
    position: fixed;
    right: 18px;
    bottom: 16px;
    color: rgba(255, 255, 255, 0.02);
    font-size: 12px;
    letter-spacing: 0.4px;
    pointer-events: none;
    user-select: none;
    z-index: 900;
}

hr {
    border: none;
    border-top: 1px solid var(--container-highlight);
    margin: 15px 0;
}

.container a {
    text-decoration: none;
    display: block;
}

.container a .header {
    transition: all 0.3s ease;
    border-radius: 15px;
    position: relative;
}

.container a .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width 0.4s ease;
}

.container a .header:hover::before {
    width: 80%;
}

.container a .header:hover {
    background: rgba(29, 185, 84, 0.05);
    transform: translateY(-2px);
}

.container a .header:hover h1 {
    color: var(--primary-color);
}

.container a .header:hover p {
    color: var(--text-color);
}

.header {
    text-align: center;
    color: var(--text-color);
    padding: 40px 20px;
}

.header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.header p {
    font-size: 1em;
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

.book-container {
    background-color: var(--container-bg);
    border-radius: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0 20px;
    padding: 20px;
    border: 1px solid var(--container-highlight);
}

.book-header {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.book-header img {
    max-width: 80px;
    border-radius: 8px;
}

.book-title {
    color: var(--text-color);
    font-weight: bold;
}

.book-title p {
    font-size: 14px;
    color: var(--text-color-dark);
}

footer {
    padding: 20px;
    text-align: center;
    color: var(--text-color-dark);
    flex-shrink: 0;
}

footer > p, footer a {
    font-size: 14px;
    color: var(--text-color-dark);
    transition: color 0.3s ease;
}

footer a {
    position: relative;
    padding-bottom: 2px;
}

footer a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

footer a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    .book-container {
        margin: 0 10px;
        padding: 15px;
    }
}
