:root {
    /* Primary Colors */
    --primary-purple: #8b5cf6;
    --primary-blue: #3b82f6;
    --primary-orange: #f59e0b;
    --primary-rgb: 139, 92, 246;

    /* Enhanced Backgrounds */
    --main-bg: #fafbff;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-glow: rgba(139, 92, 246, 0.2);
    --border-color: rgba(0, 0, 0, 0.06);
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Global Styles */
body {
    background-color: var(--main-bg);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08), transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.03), transparent 50%),
        var(--main-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 25%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundFloat 20s ease-in-out infinite;
}

@keyframes backgroundFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-20px, -20px) rotate(1deg);
    }

    66% {
        transform: translate(20px, -10px) rotate(-1deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-slide-up {
    animation: fadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.capitalize {
    text-transform: capitalize;
}

/* Component Styles */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.5s cubic-bezier(0.23, 1, 0.32, 1), background 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.05),
        0 4px 25px -5px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    will-change: transform;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Admin pages should not be constrained and should be minimalistic */
.admin-page .glass-card {
    max-width: none;
    margin: 0;
}

.admin-page .glass-card:hover,
.admin-page .btn-gradient:hover,
.admin-page .btn-outline:hover,
.admin-page .btn-gradient:active,
.admin-page .btn-outline:active {
    transform: none !important;
    box-shadow: none !important;
}

.admin-page .btn-gradient::after,
.admin-page .btn-outline::after,
.admin-page .btn-gradient::before,
.admin-page .btn-outline::before {
    display: none !important;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 80px -15px rgba(0, 0, 0, 0.12),
        0 15px 40px -10px rgba(139, 92, 246, 0.2),
        0 0 60px -20px rgba(59, 130, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
}

.no-card-hover:hover {
    transform: none !important;
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.05),
        0 4px 25px -5px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: white !important;
}

/* Disable all child interaction animations for specific areas */
.no-card-hover button,
.no-card-hover .btn-gradient,
.no-card-hover .btn-outline {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.no-card-hover button:hover,
.no-card-hover .btn-gradient:hover,
.no-card-hover .btn-outline:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.no-card-hover .btn-gradient::before,
.no-card-hover .btn-gradient::after {
    display: none !important;
}

.glass-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 1.2rem 3rem;
    border-radius: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 8px 30px -8px rgba(139, 92, 246, 0.4),
        0 4px 15px -4px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    will-change: transform;
    position: relative;
    overflow: hidden;
    font-size: 1.05rem;
    letter-spacing: 0.025em;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 20px 50px -10px rgba(139, 92, 246, 0.5),
        0 10px 25px -5px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #9333ea 0%, #8b5cf6 50%, #7c3aed 100%);
}

.btn-gradient:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(139, 92, 246, 0.2);
    padding: 1.1rem 3rem;
    border-radius: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.025em;
    box-shadow:
        0 4px 20px -5px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border-color: var(--primary-purple);
    color: var(--primary-purple) !important;
    transform: translateY(-6px) scale(1.05);
    box-shadow:
        0 15px 40px -10px rgba(139, 92, 246, 0.2),
        0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 100px;
    background: linear-gradient(to right, var(--primary-purple), var(--primary-blue));
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Tic Tac Toe Board Animation */
.ttt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    width: min(100%, 420px);
    aspect-ratio: 1;
    position: relative;
    padding: 20px;
}

.ttt-cell {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

.ttt-cell:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.2);
}

.ttt-cell svg {
    width: 3.5rem;
    height: 3.5rem;
    stroke-width: 10;
    stroke-linecap: round;
    fill: none;
}

.ttt-x {
    stroke: var(--primary-purple);
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.ttt-o {
    stroke: var(--primary-blue);
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.5));
}

.ttt-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

/* Post Content Styling */
#post-view .prose {
    line-height: 1.8;
}

#post-view .prose img {
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    margin: 3rem 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    height: auto;
}

#post-view .prose img:hover {
    transform: scale(1.015);
}

/* Table of Contents */
.toc-card {
    background: rgba(var(--primary-rgb), 0.03);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    margin: 3rem 0;
}

.toc-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.toc-link {
    display: block;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.toc-link:hover {
    color: var(--primary-purple);
    transform: translateX(8px);
}

/* Comments Section */
.comment-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.comment-input {
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.comment-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: none !important;
}

.comment-card:hover {
    transform: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
}

/* Disable Comment Area Hovers */
.comment-section .glass-card,
.comment-section .btn-gradient,
.comment-section .btn-outline,
.comment-section button,
.comment-section .comment-dropdown button {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.comment-section .glass-card:hover,
.comment-section .btn-gradient:hover,
.comment-section .btn-outline:hover,
.comment-section button:hover,
.comment-section .comment-dropdown button:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
}

.comment-section .btn-gradient::after,
.comment-section .btn-gradient::before,
.comment-section .btn-outline::after,
.comment-section .btn-outline::before {
    display: none !important;
}

.comment-section .btn-gradient:active,
.comment-section .btn-outline:active {
    transform: scale(0.98) !important;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

/* Comment Dropdown */
.comment-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    z-index: 100;
    min-width: 160px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transform-origin: top right;
    animation: dropdownPop 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.comment-dropdown.show {
    display: block;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced Navigation */
nav.fixed {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1) !important;
    box-shadow: 0 4px 30px -10px rgba(0, 0, 0, 0.05) !important;
}

/* Enhanced Search Bar */
#blog-search {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(139, 92, 246, 0.15) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

#blog-search:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85)) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1) !important;
    transform: scale(1.02) !important;
}

#search-trigger:hover {
    transform: scale(1.15) !important;
    color: #9333ea !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #7c3aed 50%, #5e27ab 75%, #4b0082 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animated Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3), transparent);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    bottom: -5%;
    left: -5%;
    animation-delay: 3s;
}

.hero-orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent);
    top: 50%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-30px) translateX(20px);
    }

    50% {
        transform: translateY(-60px) translateX(-20px);
    }

    75% {
        transform: translateY(-30px) translateX(30px);
    }
}

.hero-title {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25), 0 8px 60px rgba(139, 92, 246, 0.15);
    animation: slideUpFade 0.8s ease-out;
}

.hero-gradient-text {
    animation: gradientFlow 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    animation: slideUpFade 0.8s ease-out 0.1s backwards;
}

.hero-cta-primary {
    --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    animation: slideUpFade 0.8s ease-out 0.2s backwards;
}

.hero-cta-secondary {
    animation: slideUpFade 0.8s ease-out 0.3s backwards;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

/* Reduce expensive animations for better performance */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none !important;
    }

    .animate-float {
        animation: none !important;
    }
}

/* Enhanced Blog Cards */
.glass-card img {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.glass-card:hover img {
    transform: scale(1.08) !important;
}

/* Enhanced Button Interactions */
.btn-gradient,
.btn-outline {
    position: relative;
    overflow: hidden;
}

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

.btn-gradient:active::after,
.btn-outline:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(1deg);
    }

    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Enhanced Loading States */
.animate-pulse {
    background: linear-gradient(90deg,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(139, 92, 246, 0.2) 50%,
            rgba(139, 92, 246, 0.1) 100%) !important;
    background-size: 200% 100% !important;
    animation: shimmer 2s ease-in-out infinite !important;
}

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

    100% {
        background-position: 200% 0;
    }
}

/* TinyMCE Compatibility */
.tox-tinymce {
    border-radius: 1.5rem !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05) !important;
}

/* Mobile Menu Theme Matching */
#mobile-menu {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 2px solid var(--primary-purple) !important;
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.15) !important;
}

#mobile-menu .nav-link {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    padding: 0.75rem 0 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

#mobile-menu .nav-link:hover {
    color: var(--primary-purple) !important;
    background: rgba(139, 92, 246, 0.1) !important;
    transform: translateX(8px) !important;
}

#mobile-menu .nav-link::after {
    display: none !important;
}

#mobile-blog-search {
    background: rgba(139, 92, 246, 0.08) !important;
    border: 2px solid rgba(139, 92, 246, 0.2) !important;
    color: var(--text-primary) !important;
    font-weight: 500 !important;
}

#mobile-blog-search:focus {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--primary-purple) !important;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1) !important;
}

#mobile-search-trigger {
    color: var(--primary-purple) !important;
}

#mobile-search-trigger:hover {
    color: #7c3aed !important;
    transform: scale(1.15) !important;
}

/* Mobile menu border separator */
#mobile-menu .border-t {
    border-color: rgba(139, 92, 246, 0.15) !important;
}

/* Instagram Page Styles */
.insta-profile-glow {
    position: relative;
    padding: 3px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
}

.insta-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}

.insta-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.insta-grid-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.insta-grid-item:hover .insta-overlay {
    opacity: 1;
}

.insta-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .insta-overlay {
        gap: 1rem;
    }

    .insta-stat {
        font-size: 0.9rem;
    }
}