/* Global Reset and Settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* Base custom defaults */
.fade-up {
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rich Prose for Articles */
.prose { max-w-[80ch]; margin: 0 auto; color: #374151; line-height: 1.8; }
.prose h1 { font-size: 2.25rem; font-weight: 800; margin-top: 2rem; margin-bottom: 1rem; color: #111827; }
.prose h2 { font-size: 1.875rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; color: #111827; }
.prose h3 { font-size: 1.5rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; color: #111827; }
.prose p { margin-bottom: 1.25rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style-type: disc; }
.prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style-type: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: #059669; text-decoration: underline; font-weight: 600; }
.prose a:hover { color: #047857; }
.prose strong { font-weight: 700; color: #111827; }
.prose blockquote { border-left: 4px solid #059669; padding-left: 1rem; font-style: italic; background: #f3f4f6; padding: 1rem; border-radius: 0.5rem; }
.prose img { border-radius: 0.75rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); margin: 2rem 0; width: 100%; height: auto; }

/* Banner Animation Configuration */
@keyframes bgSlide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.rh-banner-wrap {
    background: linear-gradient(-45deg, #064e3b, #065f46, #059669, #10b981);
    background-size: 400% 400%;
    animation: bgSlide 10s ease infinite;
}

.rh-sweep {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), rgba(255,255,255,0.4), transparent);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel-dark {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Levitating Animation */
@keyframes levitate {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

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

/* Enhanced 3D Card Hover */
.card-hover-3d {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.card-hover-3d:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1);
}

/* Fancy Glowing Text */
.text-glow-emerald {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

/* Table overrides targeting Admin */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; }
.tbl th, .tbl td { padding: 16px 20px; border-bottom: 1px solid #f1f5f9; }
.tbl th { background: #f8fafc; font-weight: 700; color: #475569; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: #f8fafc; transition: background 0.2s ease; }

/* Ad Slots Helper Defaults */
.rh-logo { transition: transform 0.3s ease; }
.rh-banner-wrap:hover .rh-logo { transform: scale(1.05); }
