/* Publications & Books Section Styles */
.publications-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    top: 10%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(52, 152, 219, 0.02) 100%);
    animation: float 20s infinite ease-in-out;
}

.floating-square {
    position: absolute;
    bottom: 15%;
    left: -10%;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.03) 0%, rgba(44, 62, 80, 0.01) 100%);
    animation: float 25s infinite ease-in-out reverse;
}

.floating-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(52, 152, 219, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(2%, 2%) rotate(5deg);
    }
    50% {
        transform: translate(-1%, 4%) rotate(-5deg);
    }
    75% {
        transform: translate(-3%, 1%) rotate(3deg);
    }
}

/* Section Intro */
.section-intro {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 80px;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-intro h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro p {
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Publication Metrics */
.publication-metrics {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.metric-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon i {
    font-size: 1.5rem;
    color: #3498db;
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.section-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2c3e50);
    margin: 0 auto;
    border-radius: 2px;
}

/* Publications Navigation */
.publications-nav {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.nav-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95));
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.03);
}

.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(52, 152, 219, 0.04);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item.active::before {
    background: rgba(52, 152, 219, 0.08);
    opacity: 1;
}

.item-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    color: #3498db;
    font-size: 18px;
    box-shadow: 
        0 4px 12px rgba(52, 152, 219, 0.08),
        0 0 0 1px rgba(52, 152, 219, 0.04);
    transition: all 0.2s ease;
}

.nav-item:hover .item-icon,
.nav-item.active .item-icon {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.item-text {
    flex: 1;
    text-align: left;
}

.item-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
}

.item-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #95a5a6;
}

.item-indicator {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    width: 24px;
    height: 2px;
    background: #3498db;
    border-radius: 1px;
    opacity: 0;
    transition: all 0.2s ease;
}

.nav-item.active .item-indicator {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@media (max-width: 992px) {
    .nav-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .nav-item {
        padding: 16px;
    }

    .item-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .nav-track {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .item-content {
        gap: 12px;
    }

    .item-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .item-text h3 {
        font-size: 15px;
    }

    .item-text p {
        font-size: 12px;
    }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    min-height: 500px;
}

.content-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Panel Header */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.header-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 5px;
}

.header-content p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 250px;
    padding: 12px 20px 12px 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-box input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: rgba(52, 152, 219, 0.3);
}

/* Publications Grid */
.publications-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.publication-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 20px 10px 20px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        0 1px 0 rgba(0, 0, 0, 0.02);
}

.publication-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    opacity: 0.9;
}

.publication-card:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 152, 219, 0.25);
    box-shadow: 
        0 12px 20px -5px rgba(0, 0, 0, 0.08),
        0 8px 16px -8px rgba(0, 0, 0, 0.06),
        0 -1px 0 rgba(0, 0, 0, 0.02);
}

.pub-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 12px;
    grid-column: 1 / -1;
    padding-left: 12px;
    position: relative;
}

.pub-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 12px;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #3498db, transparent);
}

.pub-authors {
    font-size: 0.9rem;
    color: #5d6d7e;
    line-height: 1.5;
    grid-column: 1 / 2;
    padding-left: 12px;
    position: relative;
}

.pub-authors::before {
    content: 'Authors';
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #95a5a6;
    margin-bottom: 6px;
    font-weight: 600;
}

.pub-actions {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    grid-column: 2 / 3;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.action-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    background: white;
    color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn i {
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Tooltip styles */
.action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #34495e;
    color: white;
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.action-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .publication-card {
        padding: 28px;
    }

    .pub-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .publication-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .pub-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 20px;
        background: transparent;
        padding: 0;
        padding-left: 16px;
    }

    .pub-title::after {
        width: 40px;
    }
}

@media (max-width: 576px) {
    .publication-card {
        padding: 20px;
    }

    .pub-title {
        font-size: 1.1rem;
    }

    .pub-authors {
        font-size: 0.9rem;
    }

    .action-btn {
        width: 36px;
        height: 36px;
    }
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.book-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.book-card.featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.7) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-card:hover .book-overlay {
    opacity: 1;
}

.book-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.book-meta span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.book-overlay h3 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.book-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.book-actions {
    display: flex;
    gap: 15px;
}

.preview-btn {
    padding: 12px 25px;
    background: #3498db;
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.preview-btn:hover {
    background: #2980b9;
}

.details-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Media Masonry */
.media-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.media-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.media-card.large {
    grid-column: span 2;
    grid-row: span 2;
}

.media-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.6) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media-card:hover .media-thumbnail img {
    transform: scale(1.1);
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(52, 152, 219, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.media-card:hover .play-button {
    transform: scale(1);
}

.play-button i {
    color: #ffffff;
    font-size: 2rem;
    transform: translateX(3px);
}

.media-info {
    text-align: center;
}

.media-type {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.media-info h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.media-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.media-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.media-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.8;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 15px;
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #3498db;
    color: #ffffff;
}

.load-more-btn i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .books-grid {
        grid-template-columns: 1fr;
    }

    .media-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .nav-container {
        padding: 5px;
    }

    .nav-item {
        padding: 15px;
    }

    .nav-icon {
        width: 45px;
        height: 45px;
    }

    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-actions {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .publications-section {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .media-masonry {
        grid-template-columns: 1fr;
    }

    .media-card.large {
        grid-column: auto;
        grid-row: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-content p {
        display: none;
    }

    .card-footer {
        flex-direction: column;
        gap: 15px;
    }

    .view-btn {
        width: 100%;
        justify-content: center;
    }

    .book-overlay {
        padding: 20px;
    }

    .book-overlay h3 {
        font-size: 1.3rem;
    }
}

/* Panel Toolbar */
.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.view-switcher {
    display: flex;
    gap: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.view-btn.active {
    background: #3498db;
    border-color: #3498db;
    color: #ffffff;
}

.sort-dropdown select {
    padding: 10px 35px 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2c3e50;
    background: #ffffff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-wrapper input {
    width: 300px;
    padding: 12px 20px 12px 45px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-wrapper i {
    position: absolute;
    left: 15px;
    color: #6c757d;
}

.search-wrapper input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.filter-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

/* Books Panel */
.books-showcase {
    padding: 40px 0;
}

.book-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.book-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(52, 152, 219, 0.1) 50%);
    border-radius: 0 0 0 100%;
}

.book-cover {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.book-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3498db;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.book-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.book-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 24px;
    position: relative;
}

.book-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #3498db, transparent);
}

.book-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.meta-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #95a5a6;
    font-weight: 600;
}

.meta-value {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.book-editors {
    padding: 24px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 16px;
}

.editors-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #95a5a6;
    margin-bottom: 16px;
    font-weight: 600;
}

.editor-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.editor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.editor-item:hover {
    background: rgba(52, 152, 219, 0.04);
    border-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.editor-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.editor-avatar::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 4px 8px;
    background: #2c3e50;
    color: #ffffff;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.editor-avatar:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.editor-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #ffffff;
}

.editor-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.editor-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.editor-institution {
    font-size: 12px;
    color: #94a3b8;
}

.book-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.book-actions .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-actions .action-btn.primary {
    background: #3498db;
    color: white;
    border: none;
}

.book-actions .action-btn.primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.book-actions .action-btn.secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid rgba(52, 152, 219, 0.2);
}

.book-actions .action-btn.secondary:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.book-actions .action-btn.icon {
    padding: 12px;
    background: transparent;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #6c757d;
}

.book-actions .action-btn.icon:hover {
    border-color: #3498db;
    color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .book-card {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }

    .book-cover {
        height: 400px;
    }

    .book-content {
        padding: 30px;
    }

    .book-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .book-card {
        grid-template-columns: 1fr;
    }

    .book-cover {
        height: 300px;
    }

    .book-content {
        padding: 24px;
    }

    .book-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .book-meta {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-actions {
        flex-direction: column;
    }

    .book-actions .action-btn {
        width: 100%;
        justify-content: center;
    }

    .book-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .book-cover {
        height: 250px;
    }

    .book-title {
        font-size: 1.4rem;
    }

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

    .editor-item {
        padding: 8px;
    }

    .editor-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .editor-name {
        font-size: 13px;
    }

    .editor-institution {
        font-size: 11px;
    }
}

/* Media Panel */
.media-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.media-hero {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: all 0.4s ease;
}

.media-hero:hover .hero-thumbnail img {
    transform: scale(1.05);
}

.media-hero:hover .thumbnail-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 2rem;
    color: #ffffff;
    margin-left: 5px;
}

.play-button:hover {
    background: #3498db;
    transform: scale(1.1);
}

.media-info {
    text-align: center;
    color: #ffffff;
}

.media-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.media-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.media-info p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.media-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.media-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.8;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 15px;
    color: #3498db;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #3498db;
    color: #ffffff;
}

.load-more-btn i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .books-showcase {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .publication-metrics {
        flex-wrap: wrap;
    }

    .metric-card {
        min-width: calc(50% - 15px);
    }

    .nav-track {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-wrapper input {
        width: 250px;
    }
}

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

    .media-grid {
        grid-template-columns: 1fr;
    }

    .media-hero {
        height: 400px;
    }

    .media-info h3 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .metric-card {
        min-width: 100%;
    }

    .nav-track {
        grid-template-columns: 1fr;
    }

    .panel-toolbar {
        flex-direction: column;
        gap: 20px;
    }

    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    .search-wrapper input {
        width: 100%;
    }
}

/* Books Section Styles */
.books-container {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.books-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
    padding: 0 24px;
}

.header-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    position: relative;
}

.header-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #3498db, #2980b9);
    border-radius: 2px;
}

.header-content p {
    font-size: 1.1rem;
    color: #95a5a6;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    color: #3498db;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
    transform: translateY(-2px);
}

/* Featured Book Styles */
.featured-book {
    margin-bottom: 60px;
    padding: 0 24px;
}

.book-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
}

.book-preview {
    position: relative;
    height: 600px;
}

.book-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.book-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.book-badge i {
    color: #f1c40f;
}

.book-badge span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
}

.book-details {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.book-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.book-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 24px;
}

.book-editors {
    padding: 24px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 16px;
}

.editors-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #95a5a6;
    margin-bottom: 20px;
    font-weight: 600;
}

.editor-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.editor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.editor-item:hover {
    background: rgba(52, 152, 219, 0.04);
    border-color: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.editor-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.editor-avatar::before {
    content: attr(data-tooltip);
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 4px 8px;
    background: #2c3e50;
    color: #ffffff;
    font-size: 11px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.editor-avatar:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.editor-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #ffffff;
}

.editor-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.editor-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.editor-institution {
    font-size: 12px;
    color: #94a3b8;
}

.book-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-item {
    /* display: flex; */
    /* align-items: center; */
    gap: 12px;
    color: #7f8c8d;
}

.meta-item i {
    font-size: 1.2rem;
    color: #3498db;
}

.book-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: #3498db;
    color: white;
    border: none;
}

.action-btn.primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.action-btn.secondary {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.action-btn.secondary:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
}

.action-btn.outline {
    background: transparent;
    color: #7f8c8d;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.action-btn.outline:hover {
    border-color: #3498db;
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .book-wrapper {
        grid-template-columns: 300px 1fr;
        gap: 32px;
    }

    .book-preview {
        height: 500px;
    }

    .book-details {
        padding: 32px;
    }

    .book-title {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .book-wrapper {
        grid-template-columns: 1fr;
    }

    .book-preview {
        height: 400px;
    }

    .books-header {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .header-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .book-meta {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .book-actions {
        flex-direction: column;
    }

    .book-actions .action-btn {
        width: 100%;
        justify-content: center;
    }

    .book-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .book-preview {
        height: 300px;
    }

    .book-details {
        padding: 24px;
    }

    .book-title {
        font-size: 1.6rem;
    }

    .editor-item {
        padding: 8px;
    }

    .editor-avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .editor-name {
        font-size: 13px;
    }

    .editor-institution {
        font-size: 11px;
    }
}

/* Minimal Books Section */
.books-minimal {
    padding: 80px 0;
    background: #ffffff;
}

.section-minimal {
    margin-bottom: 60px;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 16px;
}

.section-minimal h2 {
    font-size: 32px;
    font-weight: 300;
    color: #2c3e50;
    margin: 0;
}

/* Book Card */
.book-minimal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.book-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    padding: 48px;
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

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

.book-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.book-header {
    margin-bottom: 24px;
}

.book-type {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #3498db;
    margin-bottom: 16px;
}

.book-header h3 {
    font-size: 36px;
    font-weight: 300;
    color: #2c3e50;
    line-height: 1.3;
    margin: 0;
}

.book-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.detail-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #95a5a6;
}

.detail-value {
    font-size: 16px;
    color: #2c3e50;
}

.editors-section {
    padding: 16px 0;
    margin: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.editors-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.editors-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

.editors-label svg {
    color: #3498db;
}

.editors-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.editor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.editor-avatar {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
}

.editor-name {
    font-size: 13px;
    color: #2c3e50;
}

.editor-separator {
    color: #94a3b8;
    margin: 0 2px;
    font-size: 13px;
}

@media (max-width: 576px) {
    .editors-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .editors-list {
        padding-left: 24px;
    }
}

/* Creative Books Section */
.books-creative {
    padding: 32px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.book-showcase {
    position: relative;
}

.book-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Cover Section */
.cover-section {
    position: relative;
}

.cover-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.floating-tag {
    position: absolute;
    top: 12px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 11px;
    font-weight: 500;
    color: #2c3e50;
}

.tag-dot {
    width: 4px;
    height: 4px;
    background: #3498db;
    border-radius: 50%;
}

/* Content Section */
.content-section {
    padding: 0;
    position: relative;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Book Header */
.book-header {
    margin-bottom: 20px;
}

.title-group h3 {
    font-size: 22px;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

/* Details Grid */
.details-grid {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.detail-text .value {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

/* Editors Section */
.editors-section {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.editor-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.editor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.editor-item:hover {
    background: rgba(52, 152, 219, 0.04);
}

.editor-avatar {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
}

.editor-name {
    font-size: 13px;
    color: #475569;
}

/* Book Actions */
.book-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-btn.primary {
    background: #3498db;
    color: #ffffff;
}

.action-btn.primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.action-btn.secondary:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
}

.action-btn.outline {
    background: transparent;
    color: #7f8c8d;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.action-btn.outline:hover {
    border-color: #3498db;
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 992px) {
    .details-grid {
        gap: 24px;
        padding: 20px 0;
    }

    .editor-stack {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .details-grid {
        flex-direction: column;
        gap: 16px;
    }

    .editor-stack {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .book-actions {
        flex-direction: column;
    }

    .book-actions .action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .details-grid {
        padding: 16px 0;
    }

    .editor-item {
        padding: 10px;
    }

    .editor-avatar {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .editor-name {
        font-size: 12px;
    }
}

/* Publication Actions */
.pub-actions {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    align-items: center;
    justify-content: flex-start;
}

.pub-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Read button - Blue theme */
.pub-btn[aria-label="Read full paper"] {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.pub-btn[aria-label="Read full paper"]:hover {
    background: rgba(52, 152, 219, 0.15);
    transform: translateY(-1px);
}

/* Cite button - Purple theme */
.pub-btn[aria-label="Cite this paper"] {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.pub-btn[aria-label="Cite this paper"]:hover {
    background: rgba(155, 89, 182, 0.15);
    transform: translateY(-1px);
}

/* Share button - Green theme */
.pub-btn[aria-label="Share paper"] {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.pub-btn[aria-label="Share paper"]:hover {
    background: rgba(46, 204, 113, 0.15);
    transform: translateY(-1px);
}

.pub-btn:active {
    transform: translateY(0);
}

.pub-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.pub-btn:hover svg {
    transform: scale(1.05);
}

/* Enhanced Tooltip Styles */
.pub-btn::before,
.pub-btn::after {
    --tooltip-color: #1e293b;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.pub-btn::before {
    content: attr(data-tooltip);
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 10px;
    background: var(--tooltip-color);
    color: white;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pub-btn::after {
    content: '';
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 4px solid transparent;
    border-bottom-color: var(--tooltip-color);
}

.pub-btn:hover::before,
.pub-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .pub-actions {
        justify-content: flex-start;
    }

    .pub-btn {
        width: 36px;
        height: 36px;
    }

    .pub-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .pub-actions {
        gap: 6px;
    }

    .pub-btn {
        width: 32px;
        height: 32px;
    }

    .pub-btn svg {
        width: 14px;
        height: 14px;
    }

    .pub-btn::before,
    .pub-btn::after {
        display: none;
    }
}

.publications-list,
.books-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.publication-item,
.book-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.publication-item:hover,
.book-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.publication-item h3,
.book-item h3 {
    color: #2c3e50;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.publication-item p,
.book-item p {
    color: #64748b;
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

h2 {
    text-align: center;
    color: #2c3e50;
    margin: 2rem 0;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .publication-item,
    .book-item {
        padding: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Publication Card Styles */
.pub-publication-name {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    margin-left: 10px;
}


.pub-publication-name:hover {
    color: #2980b9;
}

@media (max-width: 768px) {
    .pub-publication-name {
        font-size: 0.9rem;
        margin: 6px 0;
    }
}

@media (max-width: 576px) {
    .pub-publication-name {
        font-size: 0.85rem;
        margin: 4px 0;
    }
}