html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;      /* 100% yerine 100vh kullan */
    background: #f5f7fb;
    color: #222;
}

/* içerik alanı */
.main-content {
    flex: 1;
}

/* genel reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.main-header {
    background: #2563eb;
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo{
    height: 66px;
    /*filter: brightness(0) saturate(100%) invert(12%) sepia(30%) saturate(3000%) hue-rotate(205deg) brightness(95%) contrast(95%);*/
}

.nav a {
    margin-left: 18px;
    font-weight: 500;
    opacity: 0.9;
}

.nav a:hover {
    opacity: 1;
}

.btn-primary {
    background: #ffb400;
    color: #222;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-logout {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.main-content {
    padding: 24px 0 40px 0;
}

.hero {
    display: grid;
    grid-template-columns:minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: center;
    margin-top: 12px;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.hero-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 16px;
}

.hero-actions a {
    margin-right: 10px;
}

.hero-books-card {
    background: #fff;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    max-width: 400px;
    margin-top: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-card label {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.form-card input, .form-card select {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 4px;
}

.alert {
    margin: 10px 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
}

.alert-danger {
    background: #ffe5e5;
    color: #a40000;
}

.alert-success {
    background: #e7ffec;
    color: #017b2b;
}

.alert-info {
    background: #e7f1ff;
    color: #164a9c;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 16px 0;
}

.card {
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    background: #eceff5;
    border-radius: 999px;
    overflow: hidden;
    height: 8px;
    margin-top: 6px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4c6fff, #7b5cff);
}

.books-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.book-card {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.book-card .cover-wrap {
    position: relative;      /* corner-badge bunun içinde konumlanacak */
    width: 240px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-card .cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ÇEYREK DAİRE ARKA PLAN */
.cover-wrap .corner-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 75px;       /* çeyrek daire boyutu */
    height: 75px;
    background: #ffffff;
    border-bottom-left-radius: 75px; /* Çeyrek daire efekti */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5px; /* İkon hafif aşağıda gözüksün */
}

/* Yıldız ikonu */
.cover-wrap .list-icon {
    font-size: 22px;
    color: #16a34a;  /* yeşil */
    font-weight: bold;
}

@media (max-width: 600px) {
    .book-card .cover-wrap {
        width: 180px;
        height: 225px;
    }
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.badge-success {
    background: #e7ffec;
    color: #017b2b;
}

.book-detail {
    display: grid;
    grid-template-columns:minmax(0, 1.1fr) minmax(0, 2fr);
    gap: 20px;
    margin-top: 16px;
}

.book-detail img {
    width: 100%;
    border-radius: 14px;
}

.book-info h2 {
    margin-bottom: 8px;
}

.book-info .author {
    color: #666;
    margin-bottom: 10px;
}

.quiz-form {
    margin-top: 16px;
}

.question-card {
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 12px;
}

.question-card h3 {
    margin-bottom: 6px;
}

.option {
    display: block;
    margin-top: 4px;
    font-size: 0.9rem;
}

.main-footer {
    background: #1f2330;
    color: #fff;
    padding: 16px 0;
    text-align: center;
}

.reading-section {
    padding: 32px 0 28px;
    background: #f7f9fc; /* çok hafif gri, screenshot'a yakın */
}

.reading-section .container {
    text-align: center;
}

.reading-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.reading-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 24px;
}

.reading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    text-align: left;
}

.reading-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.reading-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ikon arka plan renkleri */
.icon-blue {
    background: #eef2ff;
    color: #2563eb;
}
.icon-mint {
    background: #d1fae5;
    color: #047857;
}
.icon-green {
    background: #dcfce7;
    color: #16a34a;
}
.icon-peach {
    background: #ffedd5;
    color: #ea580c;
}

.reading-card-content {
    flex: 1;
}

.reading-card-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.reading-card-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.reading-card-caption {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* İlerleme barı sadece ilk kartta kullanılıyor */
.reading-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.reading-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Son Okunanlar ----------------------------------------------------------- */

.recent-section {
    padding: 28px 0 32px;
    background: #f7f9fc;
}

.recent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.recent-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.recent-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Grid */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}


.rating-block {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    margin-top: 20px;
    text-align: center;
}

.rating-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0px;
}

.star-btn {
    font-size: 32px;
    cursor: pointer;
    border: none;
    background: none;
    color: #d1d5db; /* pasif gri */
    transition: color 0.25s ease, transform 0.15s ease;
    padding: 4px;
}

.star-btn:hover {
    color: #facc15; /* hover sarı */
    transform: scale(1.15);
}

.book-rating-summary .stars-summary {
    font-size: 1.1rem;
}

.book-rating-summary .stars-summary {
    color: #facc15; /* ★ rengi */
}

.book-rating-summary .stars-summary {
    letter-spacing: 1px;
}

/* Boş yıldızlar için (☆) daha soluk görünmesi için */
.book-rating-summary .stars-summary {
    /* istersen advanced bir çözüm için ayrı span'ler kullanabiliriz,
       şimdilik tüm karakter tek yerde, ☆ zaten daha açık duruyor */
}

.star-btn.active {
    color: #fbbf24; /* aktif sarı */
}

.rating-info {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #333;
}

.rating-info-muted {
    color: #9ca3af;
}

.rating-summary {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #4b5563;
}

.page-header {
    margin-bottom: 20px;
}

.page-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap; /* dar ekranda alta geçsin */
}

.page-header-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-header-text p {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Eğer btn-secondary zaten yoksa / çok soluksa: */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f3f4ff;
    color: #1d4ed8;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-secondary:hover {
    background: #e0e7ff;
    border-color: #c4b5fd;
    transform: translateY(-1px);
}

.btn-header-link {
    white-space: nowrap; /* metin satır kırmasın */
}

/* Benzer Kitaplar Carousel -------------------------------------------- */

.similar-section {
    margin-top: 32px;
    padding: 24px 0 30px;
    background: #f6f7fb;
    border-radius: 24px 24px 0 0;
}

.similar-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.similar-header p {
    font-size: 0.9rem;
    color: #6b7280;
}

.similar-carousel-wrapper {
    position: relative;
    margin-top: 16px;
}

.similar-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px 4px 8px 4px;
    scroll-snap-type: x mandatory;
}

.similar-carousel::-webkit-scrollbar {
    height: 6px;
}
.similar-carousel::-webkit-scrollbar-track {
    background: transparent;
}
.similar-carousel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.similar-card {
    flex: 0 0 210px;
    background: #ffffff;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-cover {
    width: 100%;
    height: 255px;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.similar-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-cover-placeholder {
    font-size: 2.4rem;
    font-weight: 700;
    color: #9ca3af;
}

.similar-main {
    margin-top: 6px;
}

.similar-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.similar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.similar-author {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 6px;
}

.similar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Carousel ok butonları */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #4b5563;
    z-index: 5;
}

.carousel-btn.prev {
    left: -4px;
}

.carousel-btn.next {
    right: -4px;
}

.carousel-btn:hover {
    background: #e5e7eb;
}

@media (max-width: 640px) {
    .carousel-btn {
        display: none; /* mobilde parmakla kaydırma yeterli */
    }
}

/* Kart */
.recent-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.recent-card:hover {
    transform: translateY(-4px); /* hafif yukarı */
    box-shadow: 0 22px 40px rgba(30, 64, 175, 0.12); /* mavi tonlu shadow */
    border-bottom-color: #3b82f6; /* tailwind blue-500 */
}

/* Kapak */
.recent-cover {
    width: 70px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ORAN KORUR VE TAŞMA YAPMAZ */
    display: block;
}
@media (max-width: 640px) {
    .recent-cover {
        width: 58px;
        height: 80px;
        border-radius: 12px;
    }
}
/* İçerik */
.recent-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recent-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.recent-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    background: #ede9fe;
    color: #4c1d95;
    font-weight: 500;
}

.recent-book-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.recent-author {
    font-size: 0.85rem;
    color: #6b7280;
}

.recent-desc {
    font-size: 0.8rem;
    color: #6b7280;
    max-height: 3.2em;
    overflow: hidden;
}

/* Alt satır */
.recent-footer {
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.recent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Küçük secondary buton */
.btn-secondary-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}


/* Başarı Rozetleri -------------------------------------------------------- */

.badges-section {
    padding: 32px 0 40px;
    background: #f3f6fb;
}

.badges-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.badges-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 22px;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

/* Kartların temel hali */
.badge-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.badge-card-earned:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(22, 163, 74, 0.18);
}

/* Pasif kartlar (alt sıra) */
.badge-grid-muted .badge-card {
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.15);
    border: 1px dashed #e5e7eb;
}

/* Icon kutusu */
.badge-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.icon-blue {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}
.icon-orange {
    background: linear-gradient(135deg, #fb923c, #f97316);
}
.icon-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
.icon-teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}
.icon-muted {
    background: #e5e7eb;
    color: #6b7280;
}

/* Metinler */
.badge-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.badge-desc {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Kazanıldı etiketi */
.badge-status {
    margin-top: 4px;
    font-size: 0.8rem;
}

.badge-status-earned {
    color: #16a34a;
}

/* İlerleme çubuğu */
.badge-progress {
    width: 100%;
    margin-top: 8px;
}

.badge-progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 4px;
}

.badge-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.badge-progress-label {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 640px) {
    .badges-section {
        padding: 24px 0 30px;
    }
    .badge-card {
        padding: 16px 14px;
    }
}

/* Okuma Grafiği ----------------------------------------------------------- */

.chart-section {
    padding: 28px 0 32px;
    background: #f7f9fc;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.chart-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
}

.chart-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.chart-tabs {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    gap: 4px;
}

.chart-tab {
    border: none;
    background: transparent;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chart-tab.active {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.chart-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}


/* Ortak küçük yıldızlı rating görünümü ----------------------------------- */

.rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.85rem;
}

.star-icon {
    font-size: 1rem;
    line-height: 1;
}

.star-full {
    color: #facc15; /* sarı (amber-400) */
}

.star-half {
    color: #fbbf24; /* hafif daha açık sarı */
    /* istersen burada background-image ile gerçek half-star efekti de verebilirsin */
}

.star-empty {
    color: #e5e7eb; /* açık gri */
}

.rating-count {
    margin-left: 4px;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Books grid içi için küçük ayar */
.book-rating-row {
    margin: 4px 0;
}

.book-rating-empty {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* Son okunanlar için */
.recent-rating-row {
    margin-top: 2px;
}
.recent-rating-empty {
    font-size: 0.78rem;
    color: #9ca3af;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.78rem;
}

.book-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.book-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-form {
    margin: 0;
    padding: 0;
    display: inline-block;
}

/* Küçük buton boyutu */
.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* Plandan çıkar butonu */
.btn-remove-plan {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: #fee2e2;
    color: #b91c1c;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn-remove-plan:hover {
    background: #fecaca;
    border-color: #fca5a5;
    transform: translateY(-1px);
}


.comments-block {
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f9fafb;
}

.comments-block h3,
.comment-form-block h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-item {
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: #6b7280;
}

.comment-author {
    font-weight: 600;
    color: #374151;
}

.comment-text {
    font-size: 0.9rem;
    color: #111827;
}

.comment-form-block {
    margin-top: 16px;
}

.comment-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    resize: vertical;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37,99,235,0.2);
}

/* basit alert stilleri */
.alert {
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #b91c1c;
}

/* Sağ üst köşe ikon */
.book-cover-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 140%;     /* oran koruma */
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.book-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    color: #d1d5db;           /* listede değilken gri */
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    padding: 0;
}

/* Hover efekti */
.list-icon:hover {
    background: #ffffff;
}

/* Kart listemde ise (in-list sınıfı) ikon rengi değişsin */
.book-cover-wrapper.in-list .list-icon {
    background: #22c55e1a;
    color: #16a34a;
}

/* “Listemde” etiketi */
.tag-planned {
    padding: 4px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.78rem;
}


/* Book detail sol kolon ve kapak */
.book-detail-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
}

.book-cover-large {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
    background: #fff;
}

.book-cover-large img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-buy {
    width: 100%;
    margin-top: 6px;
    text-align: center;
}

/* Rating kartı içindeki sınav satırı */
.rating-quiz-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.rating-exam-text {
    font-size: 0.9rem;
    color: #4b5563;
}

/* Comment form kart görünümü (card zaten var ama biraz boşluk) */
.comment-form-block.card {
    margin-top: 18px;
    padding: 14px 16px;
}


/* SINAV BÖLÜMÜ */
.exam-section {
    margin-top: 16px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.exam-info p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #4b5563;
}

.exam-btn {
    display: inline-block;
    margin-top: 6px;
}

.exam-completed {
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f5132;
    background: #d1fae5;
    border-radius: 10px;
    text-align: center;
}
.exam-btn-right {
    float: right;
}

.book-detail {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 16px;
    display: flex;
    gap: 32px;
}

/* Sol kolon */
.book-detail-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-cover-large {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15,23,42,0.18);
    background: #fff;
}

.book-cover-large img {
    width: 100%;
    height: auto;
    display: block;
}

.book-detail-actions {
    background: #fff;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Sağ kolon */
.book-detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.book-detail-header h1 {
    margin: 0;
    font-size: 28px;
}

.book-detail-header .author {
    margin: 4px 0 8px;
    color: #6b7280;
}

.book-rating-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #4b5563;
}

.book-rating-summary .stars-summary {
    color: #facc15;
}

/* Kartlar */
.detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}

.detail-card h2 {
    margin: 0 0 10px;
    font-size: 18px;
}

/* Kitap bilgileri grid */
.book-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 24px;
}

.meta-label {
    font-size: 0.8rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Yorum kartı */
.comment-rating-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.rating-stars {
    display: inline-flex;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #d1d5db;
    padding: 0 2px;
}

.star-btn.active {
    color: #facc15;
}

/* Yorum textarea */
.comment-form textarea {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    resize: vertical;
    margin: 8px 0 10px;
}

/* Okuyucu yorumları */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-item {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
}

.landing {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px 40px;
}

/* HERO */
.landing-hero {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
}

.landing-hero-text {
    flex: 1;
}

.landing-hero-text h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111827;
}

.landing-hero-text p {
    font-size: 1rem;
    color: #4b5563;
    max-width: 540px;
}

.landing-hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.landing-hero-bullets {
    margin-top: 16px;
    padding-left: 0;
    list-style: none;
    font-size: 0.95rem;
    color: #4b5563;
}

.landing-hero-bullets li + li {
    margin-top: 4px;
}

/* HERO görsel mockup */
.landing-hero-visual {
    flex: 0 0 360px;
}

.mockup-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 18px 22px;
    box-shadow: 0 20px 45px rgba(15,23,42,0.15);
}

.mockup-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.mockup-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}

.mockup-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.mockup-card li:last-child {
    border-bottom: none;
}

.mockup-card .book-title {
    font-size: 0.95rem;
}

.tag {
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-done {
    background: #dcfce7;
    color: #166534;
}

.tag-progress {
    background: #e0f2fe;
    color: #075985;
}

.tag-new {
    background: #fef3c7;
    color: #92400e;
}

.mockup-foot {
    font-size: 0.9rem;
    color: #6b7280;
}

/* NASIL ÇALIŞIR */
.landing-steps {
    margin-bottom: 40px;
}

.landing-steps h2 {
    margin-bottom: 16px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

.step-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 700;
    margin-bottom: 6px;
}

/* KİM İÇİN */
.landing-forwho {
    margin-bottom: 40px;
}

.forwho-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.forwho-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
}

/* FAQ */
.landing-faq {
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

/* CTA */
.landing-cta {
    display: flex;
    justify-content: center;
}

.landing-cta-card {
    max-width: 760px;
    width: 100%;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 24px;
    padding: 22px 26px;
    color: #f9fafb;
    text-align: left;
    box-shadow: 0 20px 45px rgba(79,70,229,0.45);
}

.landing-cta-card h2 {
    margin-top: 0;
    margin-bottom: 6px;
}

.landing-cta-card p {
    margin-bottom: 16px;
}


/* Tüm okuma kartlarını yan yana diz */
.reading-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* Kartın kendisi */
.reading-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15,23,42,0.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

.reading-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}

/* İKON KUTUSU */
.reading-card-icon {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;             /* emoji / svg beyaz gözüksün */
    font-size: 22px;
    box-shadow: 0 12px 26px rgba(15,23,42,0.18);
    overflow: hidden;           /* parlamayı içeride tut */
}

/* Parlama / parlaklık efekti */
.reading-card-icon::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -12px;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    filter: blur(10px);
}

/* Renk temaları (tam senin attığın görsele yakın tonlar) */
.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.icon-mint {
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
}

.icon-green {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.icon-peach {
    background: linear-gradient(135deg, #fdba74 0%, #fb923c 100%);
}

/* Kart içi metinler */
.reading-card-content {
    flex: 1;
}

.reading-card-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.reading-card-label {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 6px;
}

/* İlerleme barı sadece ilk kartta kullanılıyor */
.reading-progress-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
    margin-bottom: 4px;
}

.reading-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: #3b82f6;
}

.reading-card-caption {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* ----- HERO GENEL ----- */
.hero {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 0;
    align-items: center;
}

/* SOL TARAF */
.hero-content {
    flex: 1;
}

/* Üstteki küçük etiket */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: .9rem;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 14px;
}
.hero-badge-icon { font-size: 1.1rem; }

/* Başlık */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-title .accent {
    color: #2563eb;
}

/* Alt açıklama */
.hero-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 500px;
    margin-bottom: 22px;
}

/* Butonlar */
.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
}
.hero-btn {
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}
.btn-secondary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
}

/*  ALT İSTATİSTİKLER  */
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 10px;
}
.hero-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}
.hero-stat-label {
    font-size: .9rem;
    color: #6b7280;
}
.hero-stat-value.green { color: #10b981; }
.hero-stat-value.teal { color: #14b8a6; }

/* ----- HERO GÖRSEL SAĞ TARAF ----- */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Yüzen küçük rozet kutusu */
.hero-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 40px;
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    font-size: .9rem;
    line-height: 1.2;
}
.floating-icon {
    background: #22c55e;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-stars {
    margin: 4px 0 6px;
}

.comment-stars .star {
    font-size: 16px;
    color: #d1d5db; /* pasif gri */
    margin-right: 2px;
}

.comment-stars .star.active {
    color: #fbbf24; /* sarı */
}

/* Landing genel */

.landing-wrapper {
    max-width: 1120px;
    margin: 32px auto 48px;
    padding: 0 20px 40px;
}

/* HERO */

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 13px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #111827;
}

.hero-title span {
    color: #2563eb;
}

.hero-subtitle {
    font-size: 15px;
    color: #4b5563;
    max-width: 520px;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.hero-btn {
    min-width: 170px;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg,#2563eb,#4f46e5);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37,99,235,0.35);
    cursor: pointer;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 14px;
    text-decoration: none;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 14px;
    color: #374151;
}

.hero-list li + li {
    margin-top: 4px;
}

/* Sağ taraf */

.landing-hero-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-image-card {
    background: linear-gradient(135deg,#eff6ff,#e0f2fe);
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(148,163,184,0.45);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-widget {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15,23,42,0.08);
    padding: 14px 16px;
    font-size: 13px;
}

.hero-widget h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.hero-widget ul {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
}

.hero-widget li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #eef2ff;
}

.hero-widget li:last-child {
    border-bottom: none;
}

.task-title {
    font-size: 13px;
    color: #111827;
}

.hero-widget-note {
    margin: 6px 0 0;
    font-size: 12px;
    color: #6b7280;
}

/* Badges */

.badge {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background: #ecfdf3;
    color: #166534;
}

.badge-info {
    background: #eff6ff;
    color: #1d4ed8;
}

.badge-wait {
    background: #fffbeb;
    color: #b45309;
}

/* Genel sectionlar */

.landing-section {
    margin-top: 32px;
}

.landing-section-alt {
    background: #f9fafb;
    border-radius: 24px;
    padding: 22px 20px;
    margin-top: 40px;
}

.section-title {
    font-size: 22px;
    margin: 0 0 6px;
    color: #111827;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px;
}

/* Nasıl çalışır kartları */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
    gap: 14px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 14px 30px rgba(15,23,42,0.06);
    font-size: 14px;
    color: #374151;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

/* Roller */

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 16px;
    margin-top: 12px;
}

.role-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 12px 26px rgba(15,23,42,0.05);
    font-size: 14px;
    color: #374151;
}

/* SSS */

.faq-list {
    margin-top: 12px;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15,23,42,0.05);
    background: #ffffff;
    overflow: hidden;
}

.faq-item + .faq-item {
    border-top: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 16px;
    color: #9ca3af;
    margin-left: 8px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    padding: 0 16px;
    background: #f9fafb;
    font-size: 13px;
    color: #4b5563;
}

.faq-answer p {
    margin: 8px 0 12px;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* küçük SSS metni için yeterli */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: 0.2s;
}

.btn-assign {
    background: #4f46e5;
    color: #fff;
}
.btn-assign:hover {
    background: #4338ca;
}

.btn-report {
    background: #14b8a6;
    color: #fff;
}
.btn-report:hover {
    background: #0d9488;
}

.btn-icon {
    font-size: 15px;
}
/* Veli paneli: öğretmen seç + buton satırı */
.teacher-request-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* Select kutusu biraz daha modern görünsün */
.teacher-request-form select {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    font-size: 13px;
    background: #ffffff;
    min-width: 150px;
    height: 34px;
}

/* Küçük butonu diğer butonlarla uyumlu yap */
.teacher-request-form .btn.btn-small {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
}

/* İstek gönderildi durumunda gri görünsün (istersen) */
.teacher-request-form .btn[disabled] {
    opacity: 0.7;
    cursor: default;
}
/* Mobil */

@media (max-width: 900px) {
    .landing-hero {
        grid-template-columns: 1fr;
    }
    .landing-hero-right {
        order: -1;
    }
}


/* Responsive */
@media (max-width: 900px) {
    .reading-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .reading-cards {
        grid-template-columns: 1fr;
    }
}

/* responsive */
@media (max-width: 900px) {
    .landing-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-hero-visual {
        width: 100%;
    }
}


/* Responsive */
@media (max-width: 640px) {
    .recent-section {
        padding: 22px 0 26px;
    }
    .recent-card {
        padding: 14px 14px;
    }
    .recent-cover {
        width: 60px;
        height: 84px;
    }
}


/* Responsive */
@media (max-width: 640px) {
    .reading-section {
        padding: 24px 0 20px;
    }
    .reading-title {
        font-size: 1.4rem;
    }
    .reading-card {
        padding: 14px 16px;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns:1fr;
    }

    .book-detail {
        grid-template-columns:1fr;
    }
}
