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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #D2B48C 0%, #F5DEB3 50%, #DDD5C7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(210, 180, 140, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(210, 180, 140, 0.2) 0%, transparent 50%),
        linear-gradient(90deg, transparent 0%, rgba(210, 180, 140, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

.container {
    max-width: 900px;
    width: 100%;
    background: #FFF8DC;
    border-radius: 0;
    box-shadow: 
        0 0 0 8px #C4A484,
        0 0 0 12px #B8A082,
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #E6D7C3;
    overflow: hidden;
    animation: openBook 1.2s ease-out;
    position: relative;
    transform-style: preserve-3d;
}

.container::before {
    display: none;
}

@keyframes openBook {
    0% {
        transform: perspective(1000px) rotateY(-30deg);
        opacity: 0;
    }
    50% {
        transform: perspective(1000px) rotateY(-15deg);
        opacity: 0.7;
    }
    100% {
        transform: perspective(1000px) rotateY(0deg);
        opacity: 1;
    }
}

.header {
    text-align: center;
    padding: 30px 40px 20px;
    background: 
        linear-gradient(45deg, transparent 0%, rgba(210, 180, 140, 0.1) 25%, transparent 50%, rgba(210, 180, 140, 0.1) 75%, transparent 100%),
        #FFF8DC;
    color: #8B7355;
    border-bottom: 3px double #D2B48C;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 24px,
            rgba(210, 180, 140, 0.08) 25px
        );
    pointer-events: none;
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.2);
    font-family: serif;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
    font-style: italic;
}

.main {
    display: flex;
    min-height: 500px;
    background: #FFF8DC;
    position: relative;
}

.main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 29px,
            rgba(210, 105, 30, 0.1) 30px
        );
    pointer-events: none;
    z-index: 1;
}

.book-card {
    display: flex;
    width: 100%;
    gap: 0;
    position: relative;
    z-index: 2;
}

.book-page-left,
.book-page-right {
    flex: 1;
    padding: 40px;
    background: #FFF8DC;
    position: relative;
}

.book-page-left {
    border-right: 1px solid rgba(210, 180, 140, 0.3);
}

.book-page-left::before,
.book-page-right::before {
    display: none;
}

.book-cover {
    width: 100%;
    max-width: 280px;
    height: 360px;
    margin: 0 auto 20px;
    position: relative;
    perspective: 1000px;
    transition: transform 0.4s ease;
}

.book-cover:hover {
    transform: scale(1.05) rotateY(-5deg);
}

.book-spine {
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 100%;
    background: linear-gradient(to right, #654321, #8B4513);
    transform: rotateY(-90deg);
    transform-origin: right;
    border-radius: 0 4px 4px 0;
}

.book-front {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #A0896C 0%, #C4A484 50%, #D4C4A8 100%);
    border: 3px solid #8B7355;
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.3),
        inset 0 0 0 2px #E6D7C3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
    color: #FFF8DC;
    position: relative;
    overflow: hidden;
}

.book-front::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 248, 220, 0.3);
}

.book-front::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 248, 220, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.8s;
}

.book-cover:hover .book-front::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.book-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    font-family: serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.book-author {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
}

.book-info {
    flex: 1;
}

.book-badge {
    display: inline-block;
    background: rgba(160, 137, 108, 0.15);
    color: #8B7355;
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: serif;
    border-radius: 0;
}

.book-title-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8B7355;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: serif;
}

.book-author-main {
    font-size: 1.1rem;
    color: #A0896C;
    margin-bottom: 15px;
    font-style: italic;
}

.book-genre {
    display: inline-block;
    background: rgba(210, 180, 140, 0.1);
    color: #8B7355;
    padding: 4px 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
    border-radius: 0;
}

.book-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #6B5B47;
    margin-bottom: 20px;
    text-align: left;
    text-indent: 1em;
}

/* Remove book-rating styles */
.book-rating {
    display: none;
}

.actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 30px 40px;
    background: #FFF8DC;
    border-top: 3px double #D2B48C;
}

.btn {
    padding: 12px 24px;
    border: 2px solid #8B7355;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: serif;
}

.btn-primary {
    background: linear-gradient(135deg, #A0896C 0%, #C4A484 100%);
    color: #FFF8DC;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #B8A082 0%, #D4C4A8 100%);
}

.btn-secondary {
    background: #FFF8DC;
    color: #8B7355;
    border: 2px solid #8B7355;
}

.btn-secondary:hover {
    background: #8B7355;
    color: #FFF8DC;
    transform: translateY(-2px);
}

.daily-info {
    text-align: center;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    padding: 20px 40px;
    background: #FFF8DC;
}

.date {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B7355;
    margin-bottom: 0;
    font-family: serif;
}

.reading-tip {
    font-size: 0.9rem;
    color: #A0896C;
    font-style: italic;
    line-height: 1.4;
    text-align: right;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        box-shadow: 
            0 0 0 4px #8B4513,
            0 0 0 8px #654321,
            0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .main {
        flex-direction: column;
        min-height: auto;
    }
    
    .book-card {
        flex-direction: column;
    }
    
    .book-page-left,
    .book-page-right {
        padding: 30px 20px;
    }
    
    .book-page-left {
        border-right: none;
        border-bottom: 1px solid rgba(210, 180, 140, 0.3);
    }
    
    .book-cover {
        width: 200px;
        height: 280px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .book-title-main {
        font-size: 1.5rem;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .date {
        position: static;
        margin-bottom: 10px;
        text-align: center;
    }
}