/**
 * Gallery Page Styles
 * 画廊页面样式
 */

/* ============================================
   Page Layout
   ============================================ */
.page-gallery,
.page-gallery-detail,
.page-history,
.page-history-detail {
    min-height: 100vh;
    background-color: #002b36;
    position: relative;
}

/* Fixed background layer - stays viewport-sized regardless of content length */
.page-gallery::before,
.page-gallery-detail::before,
.page-history::before,
.page-history-detail::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url("https://www.yudiz.com/codepen/photography-banner/frame.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Ensure content sits above the fixed background */
.page-gallery .page-main,
.page-gallery-detail .page-main,
.page-history .page-main,
.page-history-detail .page-main {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 60px;
}

.page-gallery .page-container,
.page-gallery-detail .page-container,
.page-history .page-container,
.page-history-detail .page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Page Header
   ============================================ */
.page-gallery .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-gallery .page-title {
    font-family: "Lexend", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-gallery .page-subtitle {
    font-family: "Lexend", sans-serif;
    font-size: 1.1rem;
    color: #93a1a1;
}

/* ============================================
   Breadcrumb Navigation
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.breadcrumb-center {
    margin-bottom: 30px;
}

.breadcrumb-item {
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    color: #93a1a1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover:not(.breadcrumb-current) {
    color: #d33682;
}

.breadcrumb-separator {
    color: #586e75;
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #d33682;
    font-weight: 500;
}

.breadcrumb-dropdown {
    position: relative;
}

.breadcrumb-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.breadcrumb-btn:hover {
    background: rgba(211, 54, 130, 0.1);
}

.breadcrumb-btn svg {
    transition: transform 0.3s ease;
}

.breadcrumb-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 600px;
    background: rgba(7, 54, 66, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-top: 8px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.breadcrumb-menu.show {
    opacity: 1;
    visibility: visible;
}

.breadcrumb-menu-item {
    display: block;
    padding: 8px 12px;
    color: #93a1a1;
    text-decoration: none;
    font-family: "Lexend", sans-serif;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.2s ease;
    border-radius: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb-menu-item:hover {
    background: rgba(211, 54, 130, 0.2);
    color: #d33682;
}

.breadcrumb-menu-item.active {
    background: rgba(211, 54, 130, 0.3);
    color: #d33682;
}

/* 移动端下拉菜单样式 */
@media screen and (max-width: 767px) {
    .breadcrumb-menu {
        min-width: 200px;
        max-width: 90vw;
        max-height: 60vh;
        overflow-y: auto;
        grid-template-columns: 1fr;
        padding: 8px;
    }
    
    .breadcrumb-menu-item {
        padding: 12px 16px;
        font-size: 0.85rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
    }
    
    .breadcrumb-menu-item:last-child {
        border-bottom: none;
    }
}

/* ============================================
   Layout Toggle Button (右上角单个按钮)
   ============================================ */
.page-gallery .page-header {
    position: relative;
}

.layout-toggle-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #93a1a1;
    font-family: "Lexend", sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.layout-toggle-btn:hover {
    background: rgba(211, 54, 130, 0.1);
    border-color: rgba(211, 54, 130, 0.3);
    color: #d33682;
}

.layout-toggle-btn svg {
    flex-shrink: 0;
}

/* 移动端布局切换按钮位置调整 */
@media screen and (max-width: 767px) {
    .layout-toggle-btn {
        top: -60px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Legacy layout-toggle (保留兼容) */
.layout-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.layout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #93a1a1;
    font-family: "Lexend", sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layout-btn:hover {
    background: rgba(211, 54, 130, 0.1);
    border-color: rgba(211, 54, 130, 0.3);
    color: #d33682;
}

.layout-btn.active {
    background: linear-gradient(135deg, #d33682, #FF91B3);
    border-color: transparent;
    color: #fff;
}

.layout-btn svg {
    flex-shrink: 0;
}

/* ============================================
   Gallery Grid
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Masonry Mode - Multi-column independent containers */
.gallery-grid.masonry-mode {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.gallery-grid.masonry-mode .gallery-card {
    display: block;
}

.gallery-grid.masonry-mode .gallery-image {
    aspect-ratio: unset;
    height: auto;
}

.gallery-grid.masonry-mode .gallery-image img {
    height: auto;
    object-fit: contain;
}

.gallery-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(211, 54, 130, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(211, 54, 130, 0.2);
    border-color: rgba(211, 54, 130, 0.3);
}

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 43, 54, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    padding: 10px 24px;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-info {
    padding: 16px;
}

.gallery-info h3 {
    font-family: "Lexend", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #eee8d5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: #93a1a1;
}

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 40px 0;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(211, 54, 130, 0.1);
    border: 1px solid rgba(211, 54, 130, 0.3);
    border-radius: 25px;
    color: #d33682;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background: #d33682;
    color: #fff;
    border-color: #d33682;
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #93a1a1;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-num:hover:not(.current) {
    background: rgba(211, 54, 130, 0.1);
    border-color: rgba(211, 54, 130, 0.3);
    color: #d33682;
}

.pagination-num.current {
    background: linear-gradient(135deg, #d33682, #FF91B3);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

.pagination-ellipsis {
    color: #586e75;
    padding: 0 8px;
}

/* ============================================
   Gallery Stats
   ============================================ */
.gallery-stats {
    text-align: center;
    padding: 20px;
    color: #586e75;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
}

/* ============================================
   Loading Indicator
   ============================================ */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 16px;
    color: #93a1a1;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(211, 54, 130, 0.2);
    border-top-color: #d33682;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Hidden class */
.pagination.hidden {
    display: none;
}

/* ============================================
   Detail Page Layout
   ============================================ */
/* Detail Page Title - Centered with gradient */
.detail-page-title {
    font-family: "Lexend", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.detail-layout {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.detail-image-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(211, 54, 130, 0.1);
    height: fit-content;
}

.detail-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.detail-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.detail-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.thumbnail-btn {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color 0.3s ease;
}

.thumbnail-btn:hover {
    border-color: rgba(211, 54, 130, 0.5);
}

.thumbnail-btn.active {
    border-color: #d33682;
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Detail Info Section
   ============================================ */
.detail-info-section {
    padding: 20px 0;
}

.detail-title {
    font-family: "Lexend", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #eee8d5;
    margin-bottom: 20px;
    line-height: 1.3;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.detail-tags .tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(211, 54, 130, 0.1);
    border: 1px solid rgba(211, 54, 130, 0.2);
    border-radius: 20px;
    color: #d33682;
    font-family: "Lexend", sans-serif;
    font-size: 0.8rem;
}

.detail-meta {
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-label {
    color: #586e75;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    min-width: 80px;
}

.meta-value {
    color: #93a1a1;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
}

.detail-description {
    margin-bottom: 32px;
}

.detail-description p {
    color: #839496;
    font-family: "Lexend", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   Action Buttons
   ============================================ */
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 30px;
    font-family: "Lexend", sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, #d33682, #FF91B3);
    color: #fff;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 54, 130, 0.4);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(211, 54, 130, 0.3);
    color: #d33682;
}

.action-btn.secondary:hover {
    background: rgba(211, 54, 130, 0.1);
    border-color: #d33682;
}

.detail-back {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #586e75;
    font-family: "Lexend", sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d33682;
}

/* ============================================
   Related Section (灵感池样式)
   ============================================ */
.detail-inspiration {
    margin-top: 60px;
    padding: 60px 0;
    border-radius: 0;
}

.detail-inspiration .inspiration-title {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 40px;
    text-transform: none;
}

/* ============================================
   Not Found
   ============================================ */
.not-found {
    text-align: center;
    padding: 80px 24px;
}

.not-found h1 {
    font-family: "Lexend", sans-serif;
    font-size: 2.5rem;
    color: #eee8d5;
    margin-bottom: 16px;
}

.not-found p {
    font-family: "Lexend", sans-serif;
    font-size: 1.1rem;
    color: #586e75;
    margin-bottom: 32px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media screen and (max-width: 1199px) {
    .detail-layout {
        grid-template-columns: 6fr 4fr;
        gap: 32px;
    }
    
    .detail-page-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 991px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .detail-page-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }
    
    .detail-info-section {
        padding: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }
    
    .gallery-grid.masonry-mode {
        gap: 16px;
    }
    
    .masonry-column {
        gap: 16px;
    }
}

@media screen and (max-width: 767px) {
    .page-gallery .page-main,
    .page-gallery-detail .page-main,
    .page-history .page-main,
    .page-history-detail .page-main {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .page-gallery .page-container,
    .page-gallery-detail .page-container,
    .page-history .page-container,
    .page-history-detail .page-container {
        padding: 0 16px;
    }
    
    .page-gallery .page-title {
        font-size: 1.8rem;
    }
    
    .page-gallery .page-subtitle {
        font-size: 1rem;
    }
    
    .detail-page-title {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .gallery-grid.masonry-mode {
        gap: 12px;
    }
    
    .masonry-column {
        gap: 12px;
    }
    
    .layout-toggle {
        gap: 8px;
    }
    
    .layout-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .layout-btn span {
        display: none;
    }
    
    .gallery-info {
        padding: 12px;
    }
    
    .gallery-info h3 {
        font-size: 0.85rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .pagination-numbers {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .action-btn {
        justify-content: center;
        width: 100%;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .thumbnail-btn {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   History Page Styles
   ============================================ */
.page-history .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-history .page-title {
    font-family: "Lexend", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-history .page-subtitle {
    font-family: "Lexend", sans-serif;
    font-size: 1.1rem;
    color: #93a1a1;
}

/* History Grid */
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.history-card {
    display: block;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(211, 54, 130, 0.1);
    transition: all 0.3s ease;
}

.history-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(211, 54, 130, 0.15);
    border-color: rgba(211, 54, 130, 0.3);
}

.history-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.history-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.history-card:hover .history-image img {
    transform: scale(1.05);
}

.history-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: "Lexend", sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-badge.photo {
    background: rgba(135, 206, 235, 0.9);
    color: #002b36;
}

.history-badge.text {
    background: rgba(211, 54, 130, 0.9);
    color: #fff;
}

.history-info {
    padding: 16px;
}

.history-info h3 {
    font-family: "Lexend", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #eee8d5;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #586e75;
    font-family: "Lexend", sans-serif;
    font-size: 0.8rem;
}

.history-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Empty State */
.history-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
}

.history-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-empty-icon svg {
    width: 48px;
    height: 48px;
    color: #586e75;
}

.history-empty h3 {
    font-family: "Lexend", sans-serif;
    font-size: 1.3rem;
    color: #93a1a1;
    margin-bottom: 12px;
}

.history-empty p {
    font-family: "Lexend", sans-serif;
    font-size: 1rem;
    color: #586e75;
    margin-bottom: 24px;
}

.history-empty .action-btn {
    display: inline-flex;
}

/* History Detail Page */
.history-detail-layout {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 40px;
    align-items: center;
}

.comparison-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-image {
    width: 100%;
    display: block;
}

.comparison-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    cursor: ew-resize;
    left: 50%;
    transform: translateX(-50%);
}

.comparison-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d33682, #FF91B3);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 991px) {
    .history-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .history-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .page-history .page-title {
        font-size: 1.8rem;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
