.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quiz Timer Animations */
.timer-bar-animation {
    background: linear-gradient(90deg, #3B82F6, #EF4444, #F59E0B);
    background-size: 200% 100%;
    animation: timer-gradient 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timer-bar-urgent {
    background: linear-gradient(90deg, #EF4444, #F59E0B, #EF4444);
    background-size: 200% 100%;
    animation: timer-urgent 0.8s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
}

@keyframes timer-gradient {
    0% { 
        background-position: 0% 50%; 
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }
    50% { 
        background-position: 100% 50%; 
        box-shadow: 0 2px 12px rgba(245, 158, 11, 0.3);
    }
    100% { 
        background-position: 0% 50%; 
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
    }
}

@keyframes timer-urgent {
    0% { 
        background-position: 0% 50%; 
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
    }
    50% { 
        background-position: 100% 50%; 
        box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
    }
    100% { 
        background-position: 0% 50%; 
        box-shadow: 0 2px 12px rgba(239, 68, 68, 0.3);
    }
}

.timer-pulse {
    animation: timer-pulse 1.2s ease-in-out infinite;
}

@keyframes timer-pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.02); 
        opacity: 0.9;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

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

.animate-bounce-slow {
    animation: bounce 2s infinite;
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.2s ease-in-out;
}

/* Focus states for accessibility */
button:focus,
input:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* Loading skeleton animation */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Video card skeleton specific styles */
.video-card-skeleton {
    animation: fadeInUp 0.6s ease-out;
}

.video-card-skeleton:nth-child(1) { animation-delay: 0.1s; }
.video-card-skeleton:nth-child(2) { animation-delay: 0.2s; }
.video-card-skeleton:nth-child(3) { animation-delay: 0.3s; }
.video-card-skeleton:nth-child(4) { animation-delay: 0.4s; }
.video-card-skeleton:nth-child(5) { animation-delay: 0.5s; }
.video-card-skeleton:nth-child(6) { animation-delay: 0.6s; }
.video-card-skeleton:nth-child(7) { animation-delay: 0.7s; }
.video-card-skeleton:nth-child(8) { animation-delay: 0.8s; }
.video-card-skeleton:nth-child(9) { animation-delay: 0.9s; }
.video-card-skeleton:nth-child(10) { animation-delay: 1.0s; }

/* Enhanced skeleton shimmer effect */
.skeleton-enhanced {
    background: linear-gradient(90deg, 
        rgba(240, 240, 240, 0.8) 25%, 
        rgba(220, 220, 220, 0.9) 50%, 
        rgba(240, 240, 240, 0.8) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

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

/* Progress bar animation */
@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

.animate-progress {
    animation: progress 2s ease-in-out infinite;
}

/* Hover effects for cards */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Tom & Jerry themed gradient text */
.gradient-text {
    background: linear-gradient(135deg, #60A5FA, #F87171, #FEF08A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Classic cartoon button styling */
.cartoon-button {
    background: linear-gradient(145deg, #FEF08A, #FED7AA);
    border: 3px solid #D97706;
    border-radius: 20px;
    box-shadow: 0 4px 0 #D97706, 0 6px 12px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: all 0.1s ease;
}

.cartoon-button:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #D97706, 0 5px 8px rgba(0,0,0,0.15);
}

.cartoon-button:active {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #D97706, 0 3px 6px rgba(0,0,0,0.15);
}

/* Tom & Jerry card styling */
.tom-jerry-card {
    background: linear-gradient(145deg, #FFFBEB, #F8FAFC);
    border: 3px solid #60A5FA;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(96, 165, 250, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tom-jerry-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 25px rgba(96, 165, 250, 0.2);
    border-color: #F87171;
}

/* Classic cartoon background pattern */
.cartoon-bg {
    background: 
        radial-gradient(circle at 20% 80%, rgba(254, 240, 138, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(248, 113, 113, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #FFFBEB 0%, #F8FAFC 100%);
}

/* Tom & Jerry themed header */
.tom-jerry-header {
    background: linear-gradient(135deg, #60A5FA 0%, #F87171 50%, #FEF08A 100%);
    border-bottom: 4px solid #D97706;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

/* Character animations */
.tom-character {
    animation: tomChase 3s ease-in-out infinite;
}

.jerry-character {
    animation: jerryDodge 2s ease-in-out infinite;
}

/* Vintage cartoon text shadow */
.cartoon-text {
    text-shadow: 0.5px 0.5px 0px #D97706, 1px 1px 0px rgba(0,0,0,0.05);
}

/* Playful border radius variations */
.cartoon-rounded {
    border-radius: 20px 5px 20px 5px;
}

.cartoon-rounded-alt {
    border-radius: 5px 20px 5px 20px;
}

/* Mobile-specific improvements */
@media (max-width: 640px) {
    .tom-jerry-card {
        padding: 0.75rem;
        border-radius: 15px;
    }
    
    .cartoon-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .cartoon-text {
        text-shadow: 0.25px 0.25px 0px #D97706, 0.5px 0.5px 0px rgba(0,0,0,0.05);
    }
    
    .video-container {
        border-radius: 0.75rem;
    }
    
    /* Mobile video player improvements */
    .video-container {
        padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
        border-radius: 0.5rem;
    }
    
    /* Mobile button improvements */
    button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile text improvements */
    .text-responsive {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    /* Mobile spacing improvements */
    .space-y-mobile > * + * {
        margin-top: 0.75rem;
    }
}

/* Mobile Layout Specific Styles */
.mobile-menu-dropdown {
    animation: slideDown 0.3s ease-out;
    border-radius: 0 0 12px 12px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile App Bar Styles */
#mobile-app-header {
    backdrop-filter: blur(12px);
}

#mobile-app-header .tom-character {
    animation: tomChase 3s ease-in-out infinite;
}

#mobile-app-header .jerry-character {
    animation: jerryDodge 2s ease-in-out infinite;
}

/* Mobile Footer Styles */
.tom-jerry-footer .mobile-stat-card .font-cartoon {
    color: #1e293b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tom-jerry-footer .mobile-stat-card .font-comic {
    color: #334155;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Tablet-specific improvements */
@media (min-width: 641px) and (max-width: 1024px) {
    .tom-jerry-card {
        padding: 1rem;
    }
    
    .cartoon-button {
        padding: 1rem 2rem;
    }
    
    /* Tablet video player improvements */
    .video-container {
        border-radius: 1rem;
    }
    
    /* Tablet layout improvements */
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablet Layout Specific Styles */
.tablet-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.tablet-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tablet-stat-card .font-cartoon {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: numberCount 2s ease-in-out infinite alternate;
}

.tablet-stat-card .font-comic {
    color: #334155;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: textShimmer 3s ease-in-out infinite;
}

/* Tablet App Bar Styles */
#tablet-app-header {
    backdrop-filter: blur(12px);
}

#tablet-app-header .tom-character {
    animation: tomChase 3s ease-in-out infinite;
}

#tablet-app-header .jerry-character {
    animation: jerryDodge 2s ease-in-out infinite;
}

/* Tablet Footer Styles */
.tom-jerry-footer .tablet-stat-card .font-cartoon {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tom-jerry-footer .tablet-stat-card .font-comic {
    color: #334155;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Large screen improvements */
@media (min-width: 1025px) {
    .grid-responsive {
        grid-template-columns: 3fr 1fr;
        gap: 1.5rem;
    }
}

/* Extra responsive video container */
@media (max-width: 480px) {
    .video-container {
        padding-bottom: 60%; /* Slightly taller for very small screens */
        border-radius: 0.5rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    button {
        min-height: 48px;
        min-width: 48px;
    }
    
    .cartoon-button:hover {
        transform: none; /* Disable hover effects on touch devices */
    }
    
    .tom-jerry-card:hover {
        transform: none; /* Disable hover effects on touch devices */
    }
}

/* Floating animation for special elements */
.float {
    animation: float 3s ease-in-out infinite;
}

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

/* Sticker animations */
.random-sticker {
    transition: all 0.3s ease;
    animation: stickerPulse 2s ease-in-out infinite;
}

.sticker-image {
    transition: all 0.3s ease;
    animation: stickerRotate 4s ease-in-out infinite;
}

.random-sticker:hover .sticker-image {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) saturate(1.3);
}

@keyframes stickerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes stickerRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}

.sticker-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: stickerFloat 3s ease-in-out infinite;
}

.sticker-item:nth-child(odd) {
    animation-delay: 0.2s;
}

.sticker-item:nth-child(even) {
    animation-delay: 0.4s;
}

.sticker-item:hover {
    transform: translateY(-8px) scale(1.1) rotate(5deg);
    z-index: 10;
    animation-play-state: paused;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.sticker-gallery {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes stickerFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(1deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-1deg);
    }
}

.sticker-item img {
    transition: all 0.3s ease;
}

.sticker-item:hover img {
    filter: brightness(1.1) saturate(1.2);
}

/* Enhanced hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Character hover effects */
.tom-character:hover, .jerry-character:hover {
    transform: scale(1.05);
}

/* Fun fact carousel animation */
@keyframes factSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.fact-carousel {
    animation: factSlide 3s ease-in-out infinite;
}

/* Enhanced button animations */
.cartoon-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Background element animations */
@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(90deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    75% { transform: translateY(-10px) rotate(270deg); }
}

.bg-element {
    animation: floatAround 8s ease-in-out infinite;
}

/* Stats card hover effects */
.tom-jerry-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(96, 165, 250, 0.3);
}

/* Gradient text animation */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-text {
    background: linear-gradient(-45deg, #60A5FA, #F87171, #FEF08A, #FBB6CE);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* Footer Styles */
.tom-jerry-footer {
    background: linear-gradient(135deg, #60A5FA 0%, #F87171 50%, #FEF08A 100%);
    border-top: 4px solid #D97706;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.tom-jerry-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(254, 240, 138, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(248, 113, 113, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.tom-jerry-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}

.tom-jerry-footer .tom-character,
.tom-jerry-footer .jerry-character {
    animation: characterBounce 2s ease-in-out infinite;
}

.tom-jerry-footer .tom-character {
    animation-delay: 0s;
}

.tom-jerry-footer .jerry-character {
    animation-delay: 1s;
}

@keyframes characterBounce {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    50% {
        transform: translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

.tom-jerry-footer button {
    color: #1e293b;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tom-jerry-footer button:hover {
    transform: scale(1.05) translateY(-2px);
    color: #0f172a !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: buttonPulse 0.6s ease-in-out;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1.05) translateY(-2px);
    }
    50% {
        transform: scale(1.08) translateY(-3px);
    }
    100% {
        transform: scale(1.05) translateY(-2px);
    }
}

.tom-jerry-footer .bg-white\/20 {
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.tom-jerry-footer .bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Footer text styling for gradient background */
.tom-jerry-footer h3 {
    color: #1e293b;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(30, 41, 59, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.tom-jerry-footer h4,
.tom-jerry-footer h5 {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: textFloat 4s ease-in-out infinite;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(30, 41, 59, 0.3), 0 0 30px rgba(30, 41, 59, 0.1);
    }
    100% {
        text-shadow: 0 0 30px rgba(30, 41, 59, 0.5), 0 0 40px rgba(30, 41, 59, 0.2);
    }
}

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

.tom-jerry-footer p,
.tom-jerry-footer span {
    color: inherit;
}

.tom-jerry-footer .text-white\/80 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    animation: descriptionWave 8s ease-in-out infinite;
}

@keyframes descriptionWave {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.9;
    }
    25% {
        transform: translateY(-1px);
        opacity: 1;
    }
    50% {
        transform: translateY(0px);
        opacity: 0.95;
    }
    75% {
        transform: translateY(1px);
        opacity: 1;
    }
}

.tom-jerry-footer .text-white\/80 {
    color: #1e293b;
}

.tom-jerry-footer .text-white\/70 {
    color: #334155;
}

.tom-jerry-footer .text-white\/60 {
    color: #475569;
}

.tom-jerry-footer .text-slate-600 {
    color: #475569;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
    animation: techGlow 5s ease-in-out infinite;
}

.tom-jerry-footer .text-slate-800 {
    color: #1e293b;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.6);
    animation: copyrightFloat 6s ease-in-out infinite;
}

.tom-jerry-footer .text-slate-900 {
    color: #0f172a;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.tom-jerry-footer .text-orange-200 {
    color: #dc2626;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes techGlow {
    0%, 100% {
        opacity: 0.8;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
    }
    50% {
        opacity: 1;
        text-shadow: 1px 1px 4px rgba(255,255,255,0.6);
    }
}

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

@keyframes highlightPulse {
    0%, 100% {
        text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    }
    50% {
        text-shadow: 0 4px 8px rgba(220, 38, 38, 0.5);
    }
}

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

.tom-jerry-footer .border-t {
    border-image: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.3), transparent) 1;
}

/* Modern Footer Components */
.modern-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-stat-card .font-cartoon {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: numberCount 2s ease-in-out infinite alternate;
}

.modern-stat-card .font-comic {
    color: #334155;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes numberCount {
    0% {
        transform: scale(1);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    100% {
        transform: scale(1.02);
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

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

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

.modern-stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.disclaimer-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.disclaimer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.5), transparent);
}

.disclaimer-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.disclaimer-card h5 {
    color: #1e293b;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: titleBounce 3s ease-in-out infinite;
}

.disclaimer-card p {
    color: #334155;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: textFade 4s ease-in-out infinite;
}

@keyframes titleBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    25% {
        transform: translateY(-1px);
    }
    75% {
        transform: translateY(1px);
    }
}

@keyframes textFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Enhanced Button Styles */
.tom-jerry-footer button {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tom-jerry-footer button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tom-jerry-footer button:hover::before {
    left: 100%;
}

.tom-jerry-footer button:active {
    transform: scale(0.98);
}

/* Modern Touch Targets */
@media (hover: none) and (pointer: coarse) {
    .tom-jerry-footer button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Glassmorphism Effects */
.tom-jerry-footer .bg-gradient-to-br {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Enhanced Character Animations */
.tom-jerry-footer .tom-character,
.tom-jerry-footer .jerry-character {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Skeleton Loading Animation */
.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

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

/* Modern Footer Responsive Design */
@media (max-width: 1280px) {
    .tom-jerry-footer .grid {
        gap: 1.5rem;
    }
    
    .modern-stat-card,
    .disclaimer-card {
        padding: 1rem;
    }
}

@media (max-width: 1024px) {
    .tom-jerry-footer {
        padding: 2rem 0;
    }
    
    .tom-jerry-footer .grid {
        gap: 2rem;
    }
    
    .modern-stat-card,
    .disclaimer-card {
        padding: 0.875rem;
    }
}

@media (max-width: 768px) {
    .tom-jerry-footer {
        padding: 1.5rem 0;
    }
    
    .tom-jerry-footer .grid {
        gap: 1.5rem;
    }
    
    .tom-jerry-footer h3 {
        font-size: 3rem;
    }
    
    .tom-jerry-footer h4 {
        font-size: 1.5rem;
    }
    
    .tom-jerry-footer h5 {
        font-size: 1.125rem;
    }
    
    .modern-stat-card,
    .disclaimer-card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .tom-jerry-footer button {
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
    
    .tom-jerry-footer .tom-character,
    .tom-jerry-footer .jerry-character {
        animation-duration: 3s;
    }
}

@media (max-width: 640px) {
    .tom-jerry-footer {
        padding: 1rem 0;
    }
    
    .tom-jerry-footer h3 {
        font-size: 2.5rem;
    }
    
    .tom-jerry-footer h4 {
        font-size: 1.25rem;
    }
    
    .modern-stat-card,
    .disclaimer-card {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .tom-jerry-footer button {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
    
    .tom-jerry-footer .flex.sm\\:flex-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .tom-jerry-footer .flex.sm\\:flex-row .space-x-6 {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .tom-jerry-footer {
        padding: 0.75rem 0;
    }
    
    .tom-jerry-footer h3 {
        font-size: 2rem;
    }
    
    .modern-stat-card,
    .disclaimer-card {
        padding: 0.75rem;
    }
    
    .tom-jerry-footer button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Snackbar Styles */
.snackbar-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.snackbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    min-width: 300px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    margin-bottom: 12px;
}

.snackbar.show {
    transform: translateX(0);
    opacity: 1;
}

.snackbar-content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
}

.snackbar-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.snackbar-message {
    flex: 1;
    min-width: 0;
}

.snackbar-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    font-family: 'Comic Sans MS', cursive;
}

.snackbar-text {
    font-size: 13px;
    line-height: 1.4;
    color: #6b7280;
    font-family: 'Comic Sans MS', cursive;
}

.snackbar-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snackbar-close:hover {
    color: #6b7280;
    background: rgba(0, 0, 0, 0.05);
}

/* Snackbar Type Variants */
.snackbar-info {
    border-left: 4px solid #3b82f6;
}

.snackbar-info .snackbar-icon {
    color: #3b82f6;
}

.snackbar-success {
    border-left: 4px solid #10b981;
}

.snackbar-success .snackbar-icon {
    color: #10b981;
}

.snackbar-warning {
    border-left: 4px solid #f59e0b;
}

.snackbar-warning .snackbar-icon {
    color: #f59e0b;
}

.snackbar-error {
    border-left: 4px solid #ef4444;
}

.snackbar-error .snackbar-icon {
    color: #ef4444;
}

/* Tom & Jerry themed snackbar */
.snackbar-tom-jerry {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.1) 0%, rgba(248, 113, 113, 0.1) 100%);
    border: 2px solid #60A5FA;
    box-shadow: 0 8px 32px rgba(96, 165, 250, 0.2);
}

.snackbar-tom-jerry .snackbar-title {
    color: #1e293b;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.snackbar-tom-jerry .snackbar-text {
    color: #334155;
    font-weight: 500;
}

.snackbar-tom-jerry .snackbar-icon {
    color: #60A5FA;
    filter: drop-shadow(0 2px 4px rgba(96, 165, 250, 0.3));
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .snackbar-container {
        top: 16px;
        right: 16px;
        left: 16px;
    }
    
    .snackbar {
        max-width: none;
        min-width: auto;
        margin-bottom: 8px;
    }
    
    .snackbar-content {
        padding: 14px;
        gap: 10px;
    }
    
    .snackbar-title {
        font-size: 13px;
    }
    
    .snackbar-text {
        font-size: 12px;
    }
}

/* Animation keyframes */
@keyframes snackbarSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes snackbarSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.snackbar.slide-in {
    animation: snackbarSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.snackbar.slide-out {
    animation: snackbarSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}