/* =====================================================
   MODERN ENHANCEMENTS - 2025 VISUAL DESIGN
   Essentials Creative Portfolio
   ===================================================== */

/* =====================================================
   ENHANCED HERO SECTION
   ===================================================== */

/* Parallax Container */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    isolation: isolate;
}

/* Parallax Background Layer */
.hero-parallax-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

/* Mesh Gradient Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(44, 95, 45, 0.15), transparent),
        radial-gradient(ellipse 60% 50% at 50% 120%, rgba(197, 90, 63, 0.1), transparent),
        linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    animation: meshShift 20s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Animated Gradient Mesh Background (Alternative) */
.hero-mesh-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.1) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.1) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 0.1) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 0.1) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 0.1) 0px, transparent 50%);
    animation: gradientRotate 30s ease infinite;
}

@keyframes gradientRotate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(5deg) scale(1.05); }
    66% { transform: rotate(-5deg) scale(0.95); }
}

/* Enhanced Hero Content */
.hero-content-main {
    position: relative;
    z-index: 10;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Hero Card */
.hero-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: glassFloat 6s ease-in-out infinite;
}

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

/* =====================================================
   UNIFIED GALLERY LAYOUTS - FLEXBOX SYSTEM
   ===================================================== */

/* Gallery Section Full Width */
section[data-portfolio-filter] {
    max-width: 100% !important;
}

section[data-portfolio-filter] .container {
    max-width: 100% !important;
}

/* All Gallery Containers */
.bento-grid,
section[data-portfolio-filter] .portfolio-grid,
.exhibition-gallery,
.tapestries-grid,
.plants-grid,
.product-grid,
.themes-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.375rem !important;
    padding: 0.25rem 1rem;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* All Gallery Items - Ultra Compact Flexbox */
.bento-item,
section[data-portfolio-filter] .portfolio-item,
.exhibition-gallery-item,
.tapestry-item,
.plant-item,
.product-item,
.theme-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--color-neutral-100, #f5f5f4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 140px !important;
    height: 140px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* Remove any grid-specific properties from all items */
section[data-portfolio-filter] .portfolio-item,
.bento-item-large,
.bento-item-tall,
.bento-item-wide,
.bento-item,
.portfolio-item,
.exhibition-gallery-item,
.tapestry-item,
.plant-item,
.product-item,
.theme-card {
    grid-column: unset !important;
    grid-row: unset !important;
}

/* Refined Hover Effects - All Gallery Items */
.bento-item::before,
.portfolio-item::before,
.exhibition-gallery-item::before,
.tapestry-item::before,
.plant-item::before,
.product-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 95, 45, 0.92) 0%,
        rgba(28, 25, 23, 0.85) 100%
    );
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.bento-item:hover::before,
.portfolio-item:hover::before,
.exhibition-gallery-item:hover::before,
.tapestry-item:hover::before,
.plant-item:hover::before,
.product-item:hover::before {
    opacity: 1;
}

/* Enhanced Border Glow on Hover - All Gallery Items */
.bento-item::after,
.portfolio-item::after,
.exhibition-gallery-item::after,
.tapestry-item::after,
.plant-item::after,
.product-item::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        var(--color-primary, #2c5f2d),
        var(--color-accent, #d4a574)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.bento-item:hover::after,
.portfolio-item:hover::after,
.exhibition-gallery-item:hover::after,
.tapestry-item:hover::after,
.plant-item:hover::after,
.product-item:hover::after {
    opacity: 0.6;
}

/* Refined Hover Transform - All Gallery Items */
.bento-item:hover,
.portfolio-item:hover,
.exhibition-gallery-item:hover,
.tapestry-item:hover,
.plant-item:hover,
.product-item:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 5;
    position: relative;
}

/* Image Optimization - All Gallery Items */
.bento-item img,
.portfolio-item img,
.exhibition-gallery-item img,
.tapestry-item img,
.plant-item img,
.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.bento-item:hover img,
.portfolio-item:hover img,
.exhibition-gallery-item:hover img,
.tapestry-item:hover img,
.plant-item:hover img,
.product-item:hover img {
    transform: scale(1.05);
}

/* Enhanced Content Overlay */
.bento-content {
    position: absolute;
    inset: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-content,
.portfolio-item:hover .bento-content {
    opacity: 1;
    transform: translateY(0);
}

.bento-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.bento-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Category Badge */
.bento-item .category-badge,
.portfolio-item .category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary, #2c5f2d);
    z-index: 3;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .category-badge,
.portfolio-item:hover .category-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Item Accent */
.bento-item[data-featured="true"],
.portfolio-item[data-featured="true"] {
    position: relative;
}

.bento-item[data-featured="true"]::before,
.portfolio-item[data-featured="true"]::before {
    background: linear-gradient(
        135deg,
        rgba(212, 165, 116, 0.95) 0%,
        rgba(197, 90, 63, 0.9) 100%
    );
}

/* Stagger Animation for Initial Load */
.bento-item,
.portfolio-item {
    animation: bentoFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.bento-item:nth-child(1),
.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.bento-item:nth-child(2),
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.bento-item:nth-child(3),
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.bento-item:nth-child(4),
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.bento-item:nth-child(5),
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.bento-item:nth-child(6),
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.bento-item:nth-child(n+7),
.portfolio-item:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes bentoFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =====================================================
   ENHANCED GLASSMORPHISM CARDS
   ===================================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Dark Glass Variant */
.glass-card-dark {
    background: rgba(28, 25, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-card-dark:hover {
    background: rgba(28, 25, 23, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

/* =====================================================
   MICRO-INTERACTIONS & ANIMATIONS
   ===================================================== */

/* Ripple Effect for Buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Shimmer Loading Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        var(--color-neutral-200) 0px,
        var(--color-neutral-100) 40px,
        var(--color-neutral-200) 80px
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
}

/* Magnetic Button Effect */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scale Up on Hover */
.scale-up {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up:hover {
    transform: scale(1.05);
}

/* Lift Effect */
.lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* Glow Effect */
.glow {
    transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glow:hover {
    box-shadow:
        0 0 20px rgba(44, 95, 45, 0.3),
        0 0 40px rgba(44, 95, 45, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =====================================================
   FLUID TYPOGRAPHY ENHANCEMENTS
   ===================================================== */

/* Improved Fluid Headings */
.display-1 {
    font-size: clamp(3.5rem, 8vw + 1rem, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.display-2 {
    font-size: clamp(2.5rem, 6vw + 1rem, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.display-3 {
    font-size: clamp(2rem, 5vw + 0.5rem, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-warm {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text Shadow Effects */
.text-shadow-soft {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.text-shadow-strong {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   MODERN CARD DESIGNS
   ===================================================== */

.card-modern {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Floating Effect */
.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-modern:hover::before {
    opacity: 1;
}

.card-modern:hover {
    transform: translateY(-12px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Card with Border Gradient */
.card-border-gradient {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
}

.card-border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Animations */
.stagger-item {
    animation: staggerFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   ENHANCED BUTTONS
   ===================================================== */

.btn-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    isolation: isolate;
}

.btn-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.btn-primary-modern {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 95, 45, 0.4);
}

.btn-secondary-modern {
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary-modern:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-ghost-modern {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid rgba(44, 95, 45, 0.3);
}

.btn-ghost-modern:hover {
    background: rgba(44, 95, 45, 0.05);
    border-color: var(--color-primary);
}

/* =====================================================
   GRADIENT BACKGROUNDS & OVERLAYS
   ===================================================== */

.gradient-bg-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.gradient-bg-warm {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
}

.gradient-bg-mesh {
    background:
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.08) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.08) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 0.08) 0px, transparent 50%);
}

/* =====================================================
   LOADING STATES & SKELETONS
   ===================================================== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-neutral-200) 25%,
        var(--color-neutral-100) 50%,
        var(--color-neutral-200) 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-heading {
    height: 2rem;
    margin-bottom: 1rem;
    width: 60%;
}

.skeleton-image {
    aspect-ratio: 16/9;
    width: 100%;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet Breakpoint - All Galleries */
@media (max-width: 1024px) {
    .bento-item,
    section[data-portfolio-filter] .portfolio-item,
    .exhibition-gallery-item,
    .tapestry-item,
    .plant-item,
    .product-item,
    .theme-card {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Mobile Breakpoint - All Galleries */
@media (max-width: 768px) {
    .bento-grid,
    section[data-portfolio-filter] .portfolio-grid,
    .exhibition-gallery,
    .tapestries-grid,
    .plants-grid,
    .product-grid,
    .themes-grid {
        gap: 0.5rem !important;
    }

    .bento-item,
    section[data-portfolio-filter] .portfolio-item,
    .exhibition-gallery-item,
    .tapestry-item,
    .plant-item,
    .product-item,
    .theme-card {
        width: calc(33.333% - 0.35rem) !important;
        height: 120px !important;
        border-radius: 6px;
    }

    /* Reduce hover effects for better mobile performance */
    .bento-item:hover,
    section[data-portfolio-filter] .portfolio-item:hover,
    .exhibition-gallery-item:hover,
    .tapestry-item:hover,
    .plant-item:hover,
    .product-item:hover {
        transform: translateY(-2px) scale(1);
    }

    .bento-content,
    .portfolio-item .bento-content {
        padding: 1.25rem;
    }

    .bento-content h3 {
        font-size: 1.125rem;
    }

    .bento-content p {
        font-size: 0.875rem;
    }

    .glass-card,
    .card-modern {
        padding: 1.5rem;
        border-radius: 12px;
    }

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

    .display-1,
    .display-2,
    .display-3 {
        letter-spacing: -0.01em;
    }
}

/* Small Mobile - Two Column Flexbox - All Galleries */
@media (max-width: 480px) {
    .bento-item,
    section[data-portfolio-filter] .portfolio-item,
    section[data-portfolio-filter] .portfolio-item:nth-child(n),
    .exhibition-gallery-item,
    .tapestry-item,
    .plant-item,
    .product-item,
    .theme-card {
        width: calc(50% - 0.25rem) !important;
        height: 140px !important;
        border-radius: 6px;
    }

    .bento-content {
        padding: 1rem;
    }

    .bento-content h3 {
        font-size: 1rem;
    }

    .bento-content p {
        font-size: 0.8125rem;
    }
}

/* =====================================================
   ACCESSIBILITY & MOTION PREFERENCES
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .glass-card,
    .glass-card-dark {
        border-width: 2px;
    }

    .btn-modern {
        border: 2px solid currentColor;
    }
}
