/*
Theme Name: BritVisionTV
Theme URI: https://BritVisionTVuk.com
Author: Antigravity
Author URI: https://antigravity.dev
Description: A premium, high-performance WordPress theme for BritVisionTV UK streaming service. Features Aurora Dark design with glassmorphism effects, animated elements, and responsive layouts.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: BritVisionTV
Tags: dark, streaming, iptv, premium, glassmorphism, responsive
*/

/* ==========================================================================
   CSS Variables & Root Styles
   ========================================================================== */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-purple: #a855f7;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --gradient-aurora: linear-gradient(135deg, #a855f7, #06b6d4, #ec4899);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
    --glow-purple: 0 0 60px rgba(168, 85, 247, 0.4);
    --glow-cyan: 0 0 60px rgba(6, 182, 212, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.font-mono,
code,
pre {
    font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   Header Critical Styles (Migrated)
   ========================================================================== */
.nav-glass {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.aurora-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

/* Accessbility - Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #8b5cf6;
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
    font-weight: 600;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

/* Focus visible states */
:focus-visible {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   Aurora Background Animation
   ========================================================================== */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.aurora-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.aurora-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.aurora-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

/* ==========================================================================
   Glassmorphism Components
   ========================================================================== */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

.glass-strong {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-aurora);
    background-size: 200% 200%;
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    animation: gradient-shift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-purple);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn-pulse {
    animation: pulse 2s ease-in-out infinite, gradient-shift 4s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(168, 85, 247, 0);
    }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Stats Ticker
   ========================================================================== */
.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

@media (max-width: 768px) {
    .animate-marquee {
        animation: marquee 25s linear infinite;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */
.pricing-card {
    position: relative;
    padding: 32px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: var(--bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    background: rgba(251, 191, 36, 0.05);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 26px;
    background: var(--gradient-gold);
    animation: border-glow 3s ease-in-out infinite;
}

@keyframes border-glow {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

/* ==========================================================================
   3D TV Effect
   ========================================================================== */
.tv-3d {
    perspective: 1000px;
}

.tv-screen {
    transform: rotateY(-5deg) rotateX(2deg);
    transform-style: preserve-3d;
    animation: tv-float 6s ease-in-out infinite;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(168, 85, 247, 0.2),
        0 0 120px rgba(6, 182, 212, 0.1);
}

@keyframes tv-float {

    0%,
    100% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(0);
    }

    50% {
        transform: rotateY(-3deg) rotateX(0deg) translateY(-20px);
    }
}

/* ==========================================================================
   WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    animation: whatsapp-bounce 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 90px;
        /* Above mobile nav and CTAs */
        right: 15px;
        padding: 16px;
        border-radius: 50%;
        transform: scale(0.9);
    }

    .whatsapp-float span {
        display: none !important;
    }
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column !important;
        gap: 16px !important;
        border-bottom: 1px solid var(--border-glass);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 48px 0 24px;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer a:hover {
    color: var(--accent-cyan);
}

/* ==========================================================================
   Mobile Features
   ========================================================================== */

/* 1. Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-glass);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    /* Add padding to body so content isn't hidden behind nav */
    body {
        padding-bottom: 80px;
    }
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 10px;
    gap: 4px;
    height: 100%;
}

.bottom-nav-item.active {
    color: var(--accent-cyan);
}

.bottom-nav-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

/* 2. Swipeable Pricing */
.snap-x-mandatory {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* Hide scrollbar for clean look */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 3. WhatsApp Bottom Sheet */
.bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
    border-top: 1px solid var(--border-glass);
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet.active {
    transform: translateY(0);
}

/* 4. Sticky Header (Mini) */
.header-mini {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.header-mini.visible {
    transform: translateY(0);
}

/* 5. PWA Banner */
.pwa-banner {
    position: fixed;
    bottom: 80px;
    /* Above nav bar */
    left: 16px;
    right: 16px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    z-index: 9998;
    transform: translateY(150%);
    transition: transform 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.pwa-banner.visible {
    transform: translateY(0);
}

/* 6. Footer Accordion */
@media (max-width: 768px) {
    .footer-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px 0;
    }

    .footer-col h4::after {
        content: '+';
        font-weight: 300;
        font-size: 20px;
        transition: transform 0.3s;
    }

    .footer-col.active h4::after {
        transform: rotate(45deg);
    }

    .footer-col ul,
    .footer-col form,
    .footer-col p {
        display: none;
    }

    .footer-col.active ul,
    .footer-col.active form,
    .footer-col.active p {
        display: block;
        animation: slideDown 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 7. Channel Categories Pills */
.category-pills-container {
    overflow-x: auto;
    padding-bottom: 20px;
    /* Space for scrollbar or shadow */
    -webkit-overflow-scrolling: touch;
}

.category-pill {
    white-space: nowrap;
    transition: all 0.3s ease;
}

.category-pill:hover,
.category-pill.active {
    background: var(--gradient-aurora);
    border-color: transparent;
    transform: scale(1.05);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 48px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Spotlight Effect
   ========================================================================== */
.spotlight-card {
    position: relative;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   Social Proof Notifications (Content Marketer)
   ========================================================================== */
.social-proof-notification {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-proof-notification.visible {
    transform: translateX(0);
    opacity: 1;
}

/* ==========================================================================
   Scroll-Triggered Animations (UI/UX Designer)
   ========================================================================== */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-animate:nth-child(5) {
    transition-delay: 0.5s;
}

.scroll-animate:nth-child(6) {
    transition-delay: 0.6s;
}

/* ==========================================================================
   Magnetic Button Effect (UI/UX Designer)
   ========================================================================== */
.btn-magnetic {
    transition: transform 0.2s ease-out;
}

/* ==========================================================================
   Noise Texture Background (UI/UX Designer)
   ========================================================================== */
.noise-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=");
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   3D Card Tilt on Hover (UI/UX Designer)
   ========================================================================== */
.tilt-card {
    transition: transform 0.3s ease-out;
    transform-style: preserve-3d;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateZ(10px);
}

/* ==========================================================================
   Line-through animation for pricing
   ========================================================================== */
.line-through {
    text-decoration: line-through;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient-shift 3s linear infinite;
}

/* ==========================================================================
   Blog Post Content Styles
   ========================================================================== */
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.prose h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    background: linear-gradient(135deg, #ffffff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prose h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #06b6d4;
}

.prose h4 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ec4899;
}

.prose p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
}

.prose strong {
    color: #ffffff;
    font-weight: 700;
}

.prose a {
    color: #06b6d4;
    text-decoration: none;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
    transition: all 0.3s ease;
}

.prose a:hover {
    color: #a855f7;
    border-bottom-color: #a855f7;
}

/* Lists */
.prose ul {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
}

.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #06b6d4);
}

.prose ol {
    list-style: none;
    padding-left: 0;
    margin: 1.25rem 0;
    counter-reset: item;
}

.prose ol li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
    counter-increment: item;
}

.prose ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #06b6d4);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose thead {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(6, 182, 212, 0.2));
}

.prose th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.prose td {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prose tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.prose tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Images */
.prose img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Blockquotes */
.prose blockquote {
    border-left: 4px solid #a855f7;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(168, 85, 247, 0.05);
    border-radius: 0 12px 12px 0;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

/* Inline Code */
.prose code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #06b6d4;
}

/* Horizontal Rules */
.prose hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), rgba(6, 182, 212, 0.3), transparent);
    margin: 2rem 0;
}

/* First paragraph emphasis */
.prose>p:first-child {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.85;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .prose h2 {
        font-size: 1.4rem;
    }

    .prose h3 {
        font-size: 1.15rem;
    }

    .prose p,
    .prose ul li,
    .prose ol li {
        font-size: 1rem;
    }

    .prose table {
        font-size: 0.85rem;
    }

    .prose th,
    .prose td {
        padding: 8px 10px;
    }
}