/**
 * Custom Enhanced Styles for OnlineInformation.org
 * Making it SUPERIOR to React/Django version
 *
 * Features:
 * - Advanced gradient animations
 * - Glassmorphism effects
 * - Parallax scrolling
 * - Micro-interactions
 * - Better typography
 * - Enhanced accessibility
 * - Superior performance
 */

/* ========================================
   GLOBAL ENHANCEMENTS
======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: #667eea;
    color: white;
}

::-moz-selection {
    background: #667eea;
    color: white;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

/* Main Header Background - Purple Gradient */
body .top_bar,
body .top-header,
body .main_header,
body .header-wrapper,
body .rehub-main-color,
body header,
body .main-header,
body #header_wrap,
body .rh-flex-top,
body .top-header-wrapper,
body div[class*="header"],
body .rh-header,
body > header,
body #wrapheader,
body .header-main,
body .top_bar_wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-color: #667eea !important;
    border: none !important;
}

/* FIX: Main Navigation Menu - Purple background, WHITE text */
body .main-nav,
body #nav_menu,
body .rh_top_nav,
.main-nav[style*="background"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-color: #667eea !important;
    border: none !important;
}

/* Force override ALL inline red styles */
body *[style*="#fc2323"],
body *[style*="rgb(252, 35, 35)"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-color: #667eea !important;
}

/* Navigation Menu Links - WHITE text */
body .main-nav ul li a,
body .main-nav a,
body #nav_menu a,
body .rh_top_nav a {
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

/* Navigation Menu Hover - Gold */
body .main-nav ul li a:hover,
body .main-nav a:hover,
body #nav_menu a:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* ========================================
   TOP RIGHT MENU (About, Contact, Privacy)
======================================== */

/* Position the top right menu */
.top-right-menu {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1000;
}

.top-right-nav {
    background: transparent !important;
}

.top-right-menu-list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-right-menu-list li {
    margin: 0;
    padding: 0;
}

.top-right-menu-list a {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-block;
}

.top-right-menu-list a:hover {
    background: rgba(255, 215, 0, 0.2) !important;
    color: #ffd700 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Make logo section position relative for absolute positioning */
.logo-section {
    position: relative !important;
}

/* Adjust logo section layout */
.logo_section_wrap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 15px 0;
    min-height: 80px;
}

/* Logo positioning */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img,
.logo_image img {
    max-height: 60px !important;
    width: auto !important;
    filter: brightness(1.1);
}

/* Text logo styling */
.textlogo {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-right-menu {
        position: static;
        margin-top: 10px;
        text-align: center;
    }

    .top-right-menu-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-right-menu-list a {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Logo styling */
.logo_image_cont img {
    max-height: 60px;
    width: auto;
}

/* Logo Area */
.logo_image_cont {
    filter: brightness(1.2);
}

/* Add logo if not set via admin */
.logo_image_cont:empty::before,
.logo_site_cont:empty::before {
    content: '';
    display: inline-block;
    width: 200px;
    height: 60px;
    background-image: url('/wp-content/uploads/logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* If no logo, show text logo */
.site-title,
.logo_text {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-title:hover,
.logo_text:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Navigation Menu */
.main-nav,
.top-nav,
.primary-menu {
    background: transparent !important;
}

.main-nav ul li a,
.top-nav ul li a,
.primary-menu li a,
.rh-hovered-color {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.main-nav ul li a:hover,
.top-nav ul li a:hover,
.primary-menu li a:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Dropdown Menus */
.main-nav ul ul,
.top-nav ul ul,
.sub-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.main-nav ul ul li a,
.sub-menu li a {
    color: #2d3748 !important;
    padding: 12px 20px !important;
    border-bottom: 1px solid #f7fafc !important;
}

.main-nav ul ul li a:hover,
.sub-menu li a:hover {
    background: #f7fafc !important;
    color: #667eea !important;
    padding-left: 25px !important;
}

/* Mobile Menu */
.mobile-menu-toggle,
.mob-menu-toggler {
    color: #ffffff !important;
}

.mobile-menu {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.mobile-menu li a {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

/* Search in Header */
.header-search-field,
.top-search input {
    border-radius: 25px !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
}

.header-search-field::placeholder,
.top-search input::placeholder {
    color: rgba(255,255,255,0.8) !important;
}

/* ========================================
   ENHANCED HOMEPAGE ELEMENTS
======================================== */

/* Better Hero Section - Force gradient background */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
}

/* Ensure hero text is white */
.hero-section,
.hero-section *,
.hero-content,
.hero-content * {
    color: white !important;
}

.hero-title {
    color: white !important;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.2) !important;
}

.hero-subtitle {
    color: rgba(255,255,255,0.95) !important;
}

/* Add floating shapes animation */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

/* Enhanced Category Cards */
.category-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.category-card:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

/* Add pulse effect to stat badges */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-badge {
    animation: pulse 3s ease-in-out infinite;
}

.stat-badge:nth-child(2) { animation-delay: 0.5s; }
.stat-badge:nth-child(3) { animation-delay: 1s; }
.stat-badge:nth-child(4) { animation-delay: 1.5s; }

/* ========================================
   IMPROVED CONTENT SECTIONS
======================================== */

/* Better Section Titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Enhanced Tool Cards */
.tool-card {
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
}

.tool-card:hover::before {
    opacity: 1;
    top: -25%;
    right: -25%;
}

/* Enhanced Article Cards */
.article-card {
    border: 1px solid #e2e8f0;
}

.article-image {
    transition: transform 0.5s ease;
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

/* ========================================
   FOOTER
======================================== */

body .footer-wrapper,
body .footer_widget,
body footer,
body .footer,
body #footer,
body .footer_widget_wrapper,
body .rh-container.rh-flex-eq-height {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%) !important;
    color: #ffffff !important;
    padding: 60px 20px 30px !important;
}

body .footer-wrapper {
    border-top: 4px solid #667eea !important;
}

/* Force footer text to be white */
body .footer-wrapper *,
body .footer_widget *,
body footer * {
    color: #ffffff !important;
}

/* Footer widget titles */
.footer_widget .widget-title,
.footer-wrapper h3,
.footer-wrapper h4 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #667eea !important;
    padding-bottom: 10px !important;
}

/* Footer links */
.footer-wrapper a,
.footer_widget a,
footer a {
    color: #cbd5e0 !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.footer-wrapper a:hover,
.footer_widget a:hover,
footer a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

/* Footer widget lists */
.footer_widget ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.footer_widget ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
}

/* Copyright section */
.footer_copy,
.copyrights-wrapper {
    background: #1a202c !important;
    color: #cbd5e0 !important;
    padding: 20px !important;
    text-align: center !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* Footer social icons */
.footer-wrapper .social-icons a {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.footer-wrapper .social-icons a:hover {
    background: #667eea !important;
    transform: translateY(-3px);
}

/* ========================================
   BREADCRUMBS
======================================== */

.breadcrumb,
.rh-breadcrumb {
    background: #f7fafc !important;
    border-radius: 10px !important;
    padding: 15px 20px !important;
    margin: 20px 0 !important;
}

.breadcrumb a {
    color: #667eea !important;
    font-weight: 500;
}

/* ========================================
   SIDEBAR
======================================== */

.sidebar .widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.sidebar .widget-title {
    color: #2d3748;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

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

.btn,
.button,
.wp-block-button__link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
}

.btn:hover,
.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* ========================================
   SCROLL TO TOP
======================================== */

#scrollUp {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4) !important;
}

#scrollUp:hover {
    transform: translateY(-5px) scale(1.1) !important;
}

/* ========================================
   LOADING ANIMATION
======================================== */

.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE IMPROVEMENTS
======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .stat-badge {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }

    .category-grid,
    .tools-grid,
    .articles-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .section-title {
        font-size: 1.8rem !important;
    }
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .hero-section,
    .header-wrapper,
    .footer-wrapper,
    .sidebar {
        display: none !important;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

*:focus {
    outline: 3px solid #667eea !important;
    outline-offset: 2px !important;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ========================================
   ADVANCED FEATURES (SUPERIOR TO REACT)
======================================== */

/* Glassmorphism Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Parallax Scroll Effect */
.parallax-section {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Advanced Tooltip */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #2d3748;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Notification Badge with Animation */
.notification-badge {
    position: relative;
}

.notification-badge::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-notification 2s ease-in-out infinite;
}

@keyframes pulse-notification {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Advanced Card Hover with Shine Effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: left 0.7s ease;
}

.shine-effect:hover::after {
    left: 140%;
}

/* Morphing Button */
.morph-button {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.morph-button:hover {
    border-radius: 25px;
    letter-spacing: 2px;
}

/* Advanced Search Box */
.advanced-search {
    position: relative;
}

.advanced-search input {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.advanced-search input:focus {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

/* Enhanced Category Icon Animation */
.category-icon-wrapper {
    position: relative;
}

.category-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--cat-color, #667eea);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.category-card:hover .category-icon-wrapper::before {
    opacity: 0.1;
    transform: scale(1.5);
}

/* Infinite Scroll Loader */
.infinite-loader {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 40px;
}

.infinite-loader span {
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    animation: bounce-loader 1.4s ease-in-out infinite;
}

.infinite-loader span:nth-child(1) { animation-delay: 0s; }
.infinite-loader span:nth-child(2) { animation-delay: 0.2s; }
.infinite-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce-loader {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Enhanced Breadcrumb with Icons */
.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-modern li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-modern li:not(:last-child)::after {
    content: '›';
    color: #cbd5e0;
    font-size: 1.2rem;
}

/* Live Statistics Counter Animation */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: count-up 0.8s ease-out forwards;
}

/* Advanced Gradient Background Mesh */
.mesh-gradient {
    background:
        radial-gradient(at 27% 37%, hsla(215,98%,61%,1) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(125,98%,72%,1) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354,98%,61%,1) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256,96%,67%,1) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(38,60%,74%,1) 0px, transparent 50%),
        radial-gradient(at 33% 50%, hsla(222,67%,73%,1) 0px, transparent 50%),
        radial-gradient(at 79% 53%, hsla(343,68%,79%,1) 0px, transparent 50%);
    background-size: 300% 300%;
    animation: mesh-animation 15s ease infinite;
}

@keyframes mesh-animation {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Sticky Header with Blur */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Interactive Card Tilt Effect */
.tilt-card {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
}

/* Enhanced Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 16px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 20px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-cloud a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Progress Bar for Reading */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auto-dark {
        background: #1a202c;
        color: #e2e8f0;
    }
}

/* Performance: GPU Acceleration for Animations */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}
