/* ==========================================
   Children's Book Review CMS (Merla)
   Premium CSS Design System
   ========================================== */

/* 1. Global Reset & Variables */
:root {
    --primary: #1e1b4b;
    --primary-hover: #0f172a;
    --primary-soft: #f0f2fe;
    --primary-soft-border: #c7d2fe;
    
    --success: #10b981;
    --success-soft: #ecfdf5;
    
    --warning: #eab308;
    --warning-soft: #fef9c3;
    
    --danger: #ef4444;
    --danger-soft: #fef2f2;
    
    --info: #06b6d4;
    --info-soft: #ecfeff;

    --bg-main: #faf9f6;
    --bg-card: #ffffff;
    
    --text-primary: #1e1b4b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border: #f1f5f9;
    --border-hover: #e2e8f0;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(30, 27, 75, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(30, 27, 75, 0.15);
    
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

html, body {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-hover);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-soft-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* 2. Navigation Header (Public) */
.navbar-custom {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.navbar-brand-custom {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}
.navbar-brand-custom span {
    color: var(--text-primary);
}

.nav-link-custom {
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.nav-link-custom:hover {
    color: var(--primary) !important;
    background-color: var(--primary-soft);
}
.nav-link-custom.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* 3. Hero Section (Public Homepage) */
.hero-section {
    padding: 5rem 1rem;
    background: radial-gradient(circle at 10% 20%, rgba(240, 242, 254, 0.9) 0%, rgba(255, 255, 255, 0) 90%);
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.cta-btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    box-shadow: 0 8px 20px -6px rgba(30, 27, 75, 0.4);
    transition: all 0.3s ease;
}
.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(30, 27, 75, 0.6);
}

/* 4. Form Custom Styling */
.form-input-custom {
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: var(--bg-card);
}
.form-input-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 27, 75, 0.15);
    outline: none;
}
.search-btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* Soft Alert Badges */
.bg-primary-soft { background-color: var(--primary-soft); color: var(--primary); }
.bg-success-soft { background-color: var(--success-soft); color: var(--success); }
.bg-warning-soft { background-color: var(--warning-soft); color: var(--warning); }
.bg-danger-soft { background-color: var(--danger-soft); color: var(--danger); }
.bg-info-soft { background-color: var(--info-soft); color: var(--info); }

/* 5. Book Card Premium Grid */
.book-card-premium {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.book-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft-border);
}
.book-card-image-wrapper {
    position: relative;
    padding-top: 135%; /* Dikey Kitap Oranı */
    background-color: var(--border);
    overflow: hidden;
}
.book-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.book-card-premium:hover .book-card-image {
    transform: scale(1.05);
}
.book-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-soft);
    font-size: 3rem;
}
.book-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}
.book-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.book-card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.book-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
.book-card-title a {
    color: var(--text-primary);
}
.book-card-title a:hover {
    color: var(--primary);
}
.book-card-summary {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.book-card-stars .star {
    color: var(--text-muted);
    font-size: 1rem;
}
.book-card-stars .star.filled {
    color: var(--warning);
}
.book-card-stars .rating-number {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.25rem;
}

/* 6. Auth Pages */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 180px);
    padding: 2rem 1rem;
}
.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.auth-btn {
    border-radius: 12px;
    padding: 0.8rem;
    font-weight: 600;
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.auth-link {
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Custom Input inside Auth */
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}.form-input {
    width: 100%;
    border: 1px solid var(--border-hover);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 27, 75, 0.15);
    outline: none;
}

/* 7. Admin CMS Layout & Styles */
.admin-body {
    background-color: #f8fafc;
    overflow-x: hidden;
}
.admin-wrapper {
    display: flex;
    /*min-height: 100vh;*/
}
.admin-sidebar {
    width: 260px;
    background-color: #0f172a;
    color: #f8fafc;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 10px rgba(0,0,0,0.05);
}
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #1e293b;
}
.sidebar-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}
.sidebar-logo span {
    color: var(--warning);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    background: rgba(234, 179, 8, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
    flex-grow: 1;
}
.nav-item-link {
    color: #94a3b8;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}
.nav-item-link .icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}
.nav-item-link:hover {
    color: #ffffff;
    background-color: #1e293b;
}
.nav-item-link.active {
    color: #ffffff;
    background-color: #1e293b;
    border-left-color: var(--warning);
    font-weight: 600;
}
.sidebar-divider {
    border-color: #1e293b;
    margin: 1rem 0;
}

.admin-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.admin-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.admin-page-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.user-avatar {
    width: 32px;
    height: 32px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stat Cards (Dashboard) */
.stat-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
}
.stat-details {
    display: flex;
    flex-direction: column;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}
.stat-value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

/* Admin Data Card */
.admin-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.card-header-custom {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}
.card-title-custom {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Table Style CMS */
.table {
    border-collapse: separate;
    border-spacing: 0;
}
.table th {
    font-weight: 600;
    color: var(--text-secondary);
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}
.table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

/* Thumbnails */
.book-thumbnail {
    width: 42px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}
.book-thumbnail-placeholder {
    width: 42px;
    height: 56px;
    background-color: var(--primary-soft);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.author-thumbnail-circle {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}
.author-thumbnail-placeholder-circle {
    width: 48px;
    height: 48px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.publisher-thumbnail {
    height: 36px;
    max-width: 80px;
    object-fit: contain;
}
.publisher-thumbnail-placeholder {
    width: 36px;
    height: 36px;
    background-color: #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* 8. Footer (Public) */
.footer-custom {
    background-color: #ffffff;
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: auto;
    color: var(--text-secondary);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .admin-wrapper {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
    }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem;
    }
    .nav-item-link {
        padding: 0.5rem 1rem;
        border-left: 0;
        border-bottom: 2px solid transparent;
    }
    .nav-item-link.active {
        border-bottom-color: var(--warning);
    }
}

/* ==========================================
   Figma Design Homepage Custom Styles
   ========================================== */

/* Hero Styles */
.hero-section-premium {
    padding: 8rem 0 6rem 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(30, 27, 75, 0.03) 0%, rgba(250, 249, 246, 1) 100%);
    overflow: hidden;
}
.badge-premium {
    background-color: #facc15;
    color: #1e1b4b;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.hero-title-premium {
     font-size: 4rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #1e1b4b;
}
.hero-title-premium span.highlight {
    background: #facc15;
    color: #1e1b4b;
    padding: 2px 10px;
    border-radius: 12px;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Floating Book Card */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.hero-image-container::before {
    content: '';
    position: absolute;
    top: -12%;
    right: -8%;
    width: 380px;
    height: 380px;
    background-color: #f1f5f9;
    border-radius: 50%;
    z-index: 0;
}
.hero-main-illustration {
    position: relative;
    border-radius: 36px;
    box-shadow: var(--shadow-lg);
    max-height: 480px;
    object-fit: cover;
    width: 90%;
    z-index: 1;
}
.floating-book-badge {
    position: absolute;
    top: 35%;
    left: -8%;
    background: #ffffff;
    border: 2.5px solid #facc15;
    border-radius: 20px;
    padding: 0.85rem 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float-animation 6s ease-in-out infinite;
    min-width: 200px;
    z-index: 2;
}
.floating-book-badge img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}
.floating-book-badge-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.floating-book-badge-content h5 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0 0 0.15rem 0;
    color: var(--text-primary);
}
.floating-book-badge-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Floating Featured Badge (Bottom Right) */
.floating-featured-badge {
    position: absolute;
    bottom: 8%;
    right: -5%;
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
    min-width: 180px;
}
.floating-featured-badge span.badge-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}
.floating-featured-badge h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}
.floating-featured-badge .btn-featured-link {
    background-color: #facc15;
    color: #1e1b4b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.2s ease;
}
.floating-featured-badge .btn-featured-link:hover {
    background-color: #eab308;
    transform: translateY(-1px);
}

@keyframes float-animation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Section Common Header */
.section-header-premium {
    margin-bottom: 3.5rem;
}
.section-subtitle-premium {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Age Groups Grid */
.age-group-grid-container {
    padding: 5rem 0;
}
.age-group-card-premium {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.age-group-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-soft-border);
}
.age-group-card-premium.highlighted {
    background: linear-gradient(135deg, #ffffff 0%, var(--warning-soft) 100%);
    border-color: var(--warning);
}
.age-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.5rem auto;
    background-color: var(--bg-main);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.age-group-card-premium.highlighted .age-icon-wrapper {
    background-color: #ffffff;
}
.age-group-card-premium h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.age-group-card-premium p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.age-group-card-premium .btn-age-explore {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.age-group-card-premium:hover .btn-age-explore {
    color: var(--primary-hover);
}

/* Thematic Lists Styles */
.thematic-section-container {
    padding: 5rem 0;
    background-color: #ffffff;
}
.thematic-badge-header {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.featured-list-card-large {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background-color: var(--bg-main);
    padding: 2.5rem;
    height: 100%;
}
.editor-tip-box {
    background-color: #fef3c7;
    border-left: 4px solid var(--warning);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}
.editor-tip-box h6 {
    color: #92400e;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.editor-tip-box p {
    color: #78350f;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* List Row Item */
.list-row-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    background-color: var(--bg-card);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.list-row-item:hover {
    transform: translateX(6px);
    border-color: var(--primary-soft-border);
    box-shadow: var(--shadow-sm);
}
.list-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-muted);
    width: 30px;
    text-align: center;
}
.list-rank.rank-top {
    color: var(--primary);
}
.list-row-image {
    width: 50px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.list-row-content {
    flex-grow: 1;
}
.list-row-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}
.list-row-content h4 a {
    color: var(--text-primary);
}
.list-row-content h4 a:hover {
    color: var(--primary);
}
.list-row-content span.author {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Guide Articles Styles */
.guide-articles-section {
    padding: 5rem 0;
}
.article-card-large {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.article-card-large-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.article-card-large-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.article-card-large-title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.article-card-large-title a {
    color: var(--text-primary);
}
.article-card-large-title a:hover {
    color: var(--primary);
}
.article-card-large-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.article-author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}
.article-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.article-author-details h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
}
.article-author-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Compact Article Row */
.article-row-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}
.article-row-item:hover {
    border-color: var(--primary-soft-border);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.article-row-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}
.article-row-content {
    flex-grow: 1;
}
.article-row-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}
.article-row-content h4 a {
    color: var(--text-primary);
}
.article-row-content h4 a:hover {
    color: var(--primary);
}
.article-row-content span.date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Newsletter Yellow Banner */
.newsletter-banner-yellow {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    color: #1e1b4b;
    box-shadow: var(--shadow-lg);
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
}
.newsletter-banner-yellow .newsletter-icon-large {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}
.newsletter-banner-yellow h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #1e1b4b;
    margin-bottom: 0.75rem;
}
.newsletter-banner-yellow p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    opacity: 0.9;
}
.newsletter-form-premium {
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    gap: 0.75rem;
}
.newsletter-form-premium input {
    flex-grow: 1;
    border: 1px solid rgba(30, 27, 75, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}
.newsletter-form-premium button {
    background-color: #1e1b4b;
    color: #ffffff;
    font-weight: 700;
    border: 0;
    border-radius: 12px;
    padding: 0 2rem;
    transition: all 0.2s ease;
}
.newsletter-form-premium button:hover {
    background-color: #0f172a;
    transform: translateY(-1px);
}
.newsletter-legal-text {
    font-size: 0.75rem;
    margin-top: 1.25rem;
    opacity: 0.75;
}

/* Premium Footer */
.footer-premium {
    background-color: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    margin-top: auto;
}
.footer-premium h5.small-heading {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff !important;
}
.footer-links {
    padding-left: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
    list-style: none;
}
.footer-links li a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-links li a:hover {
    color: #ffffff;
}
.social-links .social-icon {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
    text-decoration: none;
}
.social-links .social-icon:hover {
    transform: scale(1.15);
}

/* Premium Yellow Button */
.btn-warning-premium {
    background-color: #eab308;
    color: #1e1b4b !important;
    border: 1px solid #eab308;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-warning-premium:hover {
    background-color: #ca8a04;
    border-color: #ca8a04;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

/* Background Utility */
.bg-light-soft {
    background-color: #f8fafc;
}

/* Card Floating Badges & Interaction Buttons */
.badge-premium-card {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--warning);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.favorite-heart-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}
.favorite-heart-btn:hover {
    transform: scale(1.1);
    color: #ef4444;
    background-color: #ffffff;
}

/* About Us Section Styles */
.about-section-premium {
    padding: 6rem 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border);
}
.about-card-premium {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}
.about-badge {
    background-color: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}
.about-title-premium {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}
.about-text-premium {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.pillar-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--warning-soft);
    color: var(--warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.pillar-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.pillar-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ==========================================
   Figma Redesign & Component Styles
   ========================================== */

/* Typography Overrides */
body, html {
    font-family: var(--font-body) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700;
}

/* Highlight-Sketch Effect */
.highlight-sketch {
    background: #f5c800;
    border-radius: 6px;
    padding: 0 6px 2px;
    display: inline;
}
.highlight-sketch::after {
    content: "";
    position: absolute;
    left: -4px;
    right: -4px;
    bottom: 2px;
    height: 14px;
    background-color: rgba(254, 240, 138, 0.8);
    z-index: -1;
    border-radius: 4px;
    transform: rotate(-1.5deg);
}

/* Glassmorphism Header */
.navbar-custom-figma {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

/* Hero Section (Figma layout) */
.hero-section-premium {
    padding: 6rem 0 4rem 0;
    background: radial-gradient(circle at 90% 10%, rgba(254, 249, 195, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
    position: relative;
}
.badge-premium-editorial {
    display: inline-flex;
    align-items: center;
    background-color: var(--warning-soft);
    color: #854d0e;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero-title-figma {
    font-family: 'Lora', serif !important;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.hero-subtitle-figma {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}
.hero-stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-hover);
    padding-top: 2rem;
}
.hero-stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.1rem;
}
.hero-stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}
.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}
.hero-bg-blob {
    position: absolute;
    top: -5%;
    right: -5%;
    width: 90%;
    height: 90%;
    background-color: #f1f3f9;
    border-radius: 50%;
    z-index: 1;
}
.hero-img-main {
    width: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    border: 8px solid #fff;
    aspect-ratio: 1;
    object-fit: cover;
}
.hero-floating-card-1 {
    position: absolute;
    top: 10%;
    left: -15%;
    z-index: 3;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    animation: floatAnimation 4s ease-in-out infinite;
}
.hero-floating-card-1 img {
    width: 36px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
}
.hero-floating-card-1-content h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}
.hero-floating-card-1-content span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}
.hero-floating-card-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    z-index: 3;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 0.6rem 0.8rem;
    box-shadow: var(--shadow-md);
    max-width: 160px;
    animation: floatAnimation 4s ease-in-out infinite 2s;
}
.hero-floating-card-2 span.badge-new {
    font-size: 0.6rem;
    background-color: var(--warning-soft);
    color: #854d0e;
    padding: 0.15rem 0.4rem;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.3rem;
}
.hero-floating-card-2 h6 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--primary);
}
.hero-floating-card-2 .btn-go {
    font-size: 0.65rem;
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    font-weight: 600;
    width: 100%;
}
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Find Books by Age (6-Column Grid Layout) */
.age-group-grid-container {
    padding: 4rem 0;
    background-color: #fff;
}
.age-group-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.age-group-card-figma {
    flex: 1 1 calc(16.66% - 1rem);
    min-width: 160px;
    max-width: 200px;
    background-color: #faf9f6;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.age-group-card-figma img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.age-group-card-figma h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.age-group-card-figma p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}
.age-group-card-figma .btn-age-explore {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
    transition: transform 0.2s ease;
}
.age-group-card-figma .btn-age-explore:hover {
    transform: translateX(3px);
}
/* Highlighted card styling (Figma) */
.age-group-card-figma.highlighted {
    border: 2px solid var(--warning);
    background-color: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
}
.age-group-card-figma.highlighted::before {
    content: "Popüler";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Thematic Section & Book Lists */
.thematic-section-container {
    padding: 5rem 0;
    background-color: #fff;
}
.thematic-badge-header {
    background-color: var(--warning-soft);
    color: #854d0e;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1rem;
}
.featured-list-card-large {
    background-color: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}
.editor-tip-box-figma {
    background-color: var(--warning-soft);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1.5rem;
}
.editor-tip-box-figma h6 {
    font-size: 0.85rem;
    font-weight: 800;
    color: #854d0e;
    margin-bottom: 0.4rem;
}
.editor-tip-box-figma p {
    font-size: 0.8rem;
    color: #854d0e;
    margin: 0;
    line-height: 1.5;
}

/* Ranked Right Column List */
.list-row-item-figma {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #faf9f6;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}
.list-row-item-figma:hover {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
}
.list-rank-figma {
    width: 32px;
    height: 32px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.list-rank-figma.rank-top {
    background-color: var(--primary);
    color: #fff;
}
.list-row-image-figma {
    width: 50px;
    height: 65px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}
.list-row-content-figma {
    flex-grow: 1;
}
.list-row-content-figma h4 {
    font-size: 0.95rem;
    margin: 0 0 0.15rem 0;
}
.list-row-content-figma span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}
.list-row-stars-figma {
    color: var(--warning);
    font-size: 0.75rem;
}

/* Guide Articles */
.guide-articles-section {
    padding: 5rem 0;
    background-color: #faf9f6;
}
.article-card-large-figma {
    background-color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.article-card-large-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.article-card-large-content {
    padding: 2rem;
}
.article-row-item-figma {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.article-row-item-figma:last-child {
    border-bottom: none;
}
.article-row-image-figma {
    width: 90px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}
.article-row-content-figma {
    flex-grow: 1;
}
.article-row-content-figma h4 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
}
.article-row-content-figma span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.highlight-book-box {
    background-color: #fefcf0;
    border: 1px solid #fef08a;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.highlight-book-img {
    width: 45px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Son İncelenen Kitaplar */
.recent-reviews-section {
    padding: 5rem 0;
    background-color: #fff;
}
.book-card-figma-premium {
    background-color: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.book-card-figma-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.book-card-figma-image-wrapper {
    position: relative;
    padding-top: 130%; /* Fixed aspect ratio for book covers */
    background-color: #f8fafc;
}
.book-card-figma-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.book-card-figma-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background-color: #fff;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}
.book-card-figma-heart {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background-color: #fff;
    color: var(--text-secondary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}
.book-card-figma-heart:hover {
    color: var(--danger);
    transform: scale(1.1);
}
.book-card-figma-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.book-card-figma-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}
.book-card-figma-body .author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.book-card-figma-body .summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.book-card-figma-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}
.book-card-figma-footer span.publisher {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.book-card-figma-footer .btn-go {
    background-color: var(--primary);
    color: #fff !important;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    transition: all 0.2s ease;
}
.book-card-figma-footer .btn-go:hover {
    background-color: var(--primary-hover);
}

/* Newsletter Yellow Section */
.newsletter-banner-figma-yellow {
    background-color: var(--warning);
    color: #1e1b4b; /* dark navy */
    /*border-radius: var(--radius-lg);*/
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-banner-figma-yellow h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e1b4b;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}
.newsletter-banner-figma-yellow p {
    font-size: 1.05rem;
    color: rgba(30, 27, 75, 0.8);
    max-width: 650px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}
.newsletter-icon-box-figma {
    width: 56px;
    height: 56px;
    background-color: #0f172a;
    color: var(--warning);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}
.newsletter-form-container-figma {
    display: flex;
    gap: 0.75rem;
    max-width: 540px;
    margin: 0 auto 2rem auto;
    justify-content: center;
    align-items: center;
}
.newsletter-input-figma {
    background-color: #fef9c3; /* pale cream yellow */
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    color: #1e1b4b;
    outline: none;
    flex-grow: 1;
    max-width: 340px;
}
.newsletter-input-figma::placeholder {
    color: rgba(30, 27, 75, 0.4);
}
.newsletter-btn-figma {
    background-color: #0f172a;
    color: var(--warning) !important;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.newsletter-btn-figma:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
}
.newsletter-features-figma {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e1b4b;
}
.newsletter-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.newsletter-feature-item i {
    font-size: 1.1rem;
    color: #1e1b4b;
}
@media (max-width: 576px) {
    .newsletter-form-container-figma {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    .newsletter-input-figma {
        max-width: 100%;
        width: 100%;
    }
    .newsletter-btn-figma {
        width: 100%;
    }
    .newsletter-features-figma {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Footer Section */
.footer-figma {
    background-color: #111111;
    font-family: 'Nunito', sans-serif;
    color: #666660;
    font-size: 0.85rem;
}
.footer-figma a {
    color: #94a3b8;
    transition: color 0.2s ease;
}
.footer-figma a:hover {
    color: #fff;
}
.footer-figma h5 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.footer-social-icon:hover {
    background-color: var(--warning);
    color: #000;
}

.ck .ck-powered-by{
    display: none !important;
}

/* ==========================================
   UNIFIED PUBLIC FRONT-END DESIGN SYSTEM
   ========================================== */

/* 1. Universal Public Buttons */
.btn-merla,
.btn-primary,
.btn-outline-primary,
.btn-outline-secondary,
.btn-go,
.auth-btn,
.search-btn-modern,
.newsletter-btn-figma,
.btn-warning-premium {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
    border-radius: 50px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none !important;
}

/* Primary Button (Dark Indigo SaaS Style) */
.btn-primary,
.btn-merla-primary,
.auth-btn,
.search-btn-modern {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(30, 27, 75, 0.2) !important;
    padding: 0.65rem 1.6rem;
}
.btn-primary:hover,
.btn-merla-primary:hover,
.auth-btn:hover,
.search-btn-modern:hover {
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 27, 75, 0.35) !important;
}
.btn-primary:active,
.btn-merla-primary:active {
    transform: translateY(0);
}

/* Outline Primary Button */
.btn-outline-primary,
.btn-merla-outline,
.btn-view {
    background-color: transparent !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary) !important;
    padding: 0.55rem 1.4rem;
}
.btn-outline-primary:hover,
.btn-merla-outline:hover,
.btn-view:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 27, 75, 0.2) !important;
}

/* Outline Secondary / Light Button */
.btn-outline-secondary,
.btn-merla-secondary,
.clear-btn-modern {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0.55rem 1.4rem;
}
.btn-outline-secondary:hover,
.btn-merla-secondary:hover,
.clear-btn-modern:hover {
    background-color: var(--primary-soft) !important;
    color: var(--primary) !important;
    border-color: var(--primary-soft-border) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Affiliate / Amazon Button */
.btn-amazon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
    padding: 0.7rem 1.75rem;
}
.btn-amazon:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45) !important;
}

/* Link Button */
.btn-link,
.btn-merla-link {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: none !important;
    padding: 0.5rem 1rem;
    box-shadow: none !important;
}
.btn-link:hover,
.btn-merla-link:hover {
    color: var(--primary) !important;
    background-color: var(--primary-soft) !important;
    transform: none;
}

/* Front-End Action Buttons (Go / Explore) */
.btn-go {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    padding: 0.45rem 1.25rem !important;
    border-radius: 50px !important;
}
.btn-go:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(30, 27, 75, 0.3) !important;
    color: #ffffff !important;
}

.btn-age-explore {
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--primary) !important;
    background-color: var(--primary-soft) !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 50px !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}
.btn-age-explore:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* 2. Unified Badges & Pills */
.badge-age,
.badge-category,
.badge-editorial,
.badge-new,
.badge-primary-soft {
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    padding: 0.4rem 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    transition: all 0.2s ease !important;
}
.badge-category {
    background-color: #ffffff !important;
    color: var(--text-secondary) !important;
    border: 1.5px solid var(--border-hover) !important;
}
.badge-category:hover {
    background-color: var(--primary-soft) !important;
    color: var(--primary) !important;
    border-color: var(--primary-soft-border) !important;
    transform: translateY(-1px) !important;
}
.badge-age {
    background-color: var(--primary-soft) !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary-soft-border) !important;
}

/* 3. Unified Form Controls (Public Site) */
.form-input-custom-modern,
.form-input,
.search-widget-modern .form-control,
.search-widget-modern .form-select {
    border-radius: 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    background-color: #ffffff !important;
}
.form-input-custom-modern:focus,
.form-input:focus,
.search-widget-modern .form-control:focus,
.search-widget-modern .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3.5px rgba(30, 27, 75, 0.12) !important;
    outline: none !important;
}

/* 4. Unified Card Borders & Shadows */
.book-card-compact,
.book-card-figma-premium,
.book-card-premium {
    border: 1.5px solid #f1f5f9 !important;
    border-radius: var(--radius-md) !important;
    background-color: #ffffff !important;
    box-shadow: var(--shadow-sm) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.book-card-compact:hover,
.book-card-figma-premium:hover,
.book-card-premium:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-md) !important;
    border-color: var(--primary-soft-border) !important;
}