/**
 * HARO Backlinks Widget - INSANE HOMEPAGE SHOWCASE
 * Ultra-premium, jaw-dropping design for client showcase
 */

/* Reset and Base Styles */
.prw-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%),
        radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(16, 24, 40, 0.12),
        0 8px 32px rgba(16, 24, 40, 0.08),
        0 4px 16px rgba(16, 24, 40, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
    overflow: hidden;
    position: relative;
    border: 2px solid;
    border-image: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3), rgba(102, 126, 234, 0.3)) 1;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    /* Reduce 3D effect for better accessibility */
    transform: perspective(1000px) rotateX(1deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    /* Add focus styles for accessibility */
    outline: none;
}

.prw-container:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.prw-container:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px);
    box-shadow: 
        0 40px 80px rgba(16, 24, 40, 0.15),
        0 16px 40px rgba(16, 24, 40, 0.1),
        0 8px 20px rgba(16, 24, 40, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Floating particles animation */
.prw-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(118, 75, 162, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.06) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 120px 120px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes floatingParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

/* Header Section - Absolutely Stunning */
.prw-header {
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    padding: 40px 40px 36px;
    border-bottom: none;
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

/* Animated gradient overlay */
.prw-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Floating geometric shapes */
.prw-header::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.prw-header-content {
    position: relative;
    z-index: 3;
}

.prw-header-title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF !important;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    text-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 2px 4px rgba(0, 0, 0, 0.2);
    /* Remove problematic gradient text that causes visibility issues */
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { 
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    100% { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
        text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.3);
    }
}

.prw-header-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.98) !important;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: subtitleFade 2s ease-in-out infinite alternate;
}

@keyframes subtitleFade {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* Ultra-Premium Live Indicator */
.prw-live-indicator {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.25);
    padding: 12px 20px;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: indicatorPulse 3s ease-in-out infinite;
}

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

.prw-live-dot {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #22C55E 0%, #16A34A 100%);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(34, 197, 94, 0.8),
        0 0 40px rgba(34, 197, 94, 0.4);
    position: relative;
}

.prw-live-dot::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: dotRipple 2s ease-in-out infinite;
}

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

@keyframes dotRipple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.prw-live-text {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Column Headers - Ultra Refined */
.prw-columns {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 24px 40px;
    background: 
        linear-gradient(to right, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8)),
        linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    border-bottom: 1px solid rgba(229, 231, 235, 0.4);
    position: relative;
}

.prw-columns::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(102, 126, 234, 0.4), transparent);
}

.prw-column-header {
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
}

.prw-column-header::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 1px;
}

/* Individual Row - Mind-Blowing Design */
.prw-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 24px 40px;
    border-bottom: 1px solid rgba(243, 244, 246, 0.6);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(248, 250, 252, 0.4));
    overflow: hidden;
}

/* Animated left border */
.prw-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover glow effect */
.prw-row::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.prw-row:last-child {
    border-bottom: none;
}

.prw-row:hover {
    background: 
        linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    transform: translateY(-4px) translateX(8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(102, 126, 234, 0.1);
}

.prw-row:hover::before {
    width: 6px;
}

.prw-row:hover::after {
    opacity: 1;
}

/* Website Column - Absolutely Stunning */
.prw-website {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.prw-website-info {
    min-width: 0;
    flex: 1;
}

.prw-website-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c !important;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    /* Remove problematic gradient text that causes invisibility */
}

.prw-website-link {
    color: #1a202c !important;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 12px 20px;
    border-radius: 12px;
    margin: -12px -20px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, transparent 0%, rgba(102, 126, 234, 0.02) 100%);
    outline: none;
}

.prw-website-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.prw-website-link:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Multiple animated overlays */
.prw-website-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.prw-website-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.prw-website-link:hover {
    color: #667eea !important;
    background: 
        linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 24px rgba(102, 126, 234, 0.15),
        0 4px 8px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

/* DR Badge - Absolutely Insane Design */
.prw-dr-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 0;
}

.prw-dr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 32px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    color: #FFFFFF !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Multiple animated layers */
.prw-dr-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.prw-dr-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.prw-row:hover .prw-dr-badge {
    transform: 
        scale(1.1) 
        translateY(-2px) 
        rotateY(5deg) 
        rotateX(5deg);
    filter: brightness(1.1) saturate(1.2);
}

.prw-row:hover .prw-dr-badge::before {
    left: 100%;
}

.prw-row:hover .prw-dr-badge::after {
    transform: scale(1);
}

/* DR Badge Colors - Ultra Premium */
.prw-dr-high {
    background: 
        linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.4),
        0 4px 16px rgba(102, 126, 234, 0.3),
        0 2px 8px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.prw-dr-medium {
    background: 
        linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #F59E0B 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    box-shadow: 
        0 8px 32px rgba(245, 158, 11, 0.4),
        0 4px 16px rgba(245, 158, 11, 0.3),
        0 2px 8px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.prw-dr-low {
    background: 
        linear-gradient(135deg, #EF4444 0%, #F87171 50%, #EF4444 100%),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    box-shadow: 
        0 8px 32px rgba(239, 68, 68, 0.4),
        0 4px 16px rgba(239, 68, 68, 0.3),
        0 2px 8px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Row Animation on Load */
.prw-row-enter {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: rowEnterInsane 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes rowEnterInsane {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Live Update Flash - Spectacular */
.prw-row-flash {
    animation: flashInsane 2s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes flashInsane {
    0% { 
        background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(248, 250, 252, 0.4));
        transform: scale(1);
    }
    25% { 
        background: 
            linear-gradient(to right, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.1)),
            radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
    }
    50% { 
        background: 
            linear-gradient(to right, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05)),
            radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
        transform: scale(1.01);
    }
    100% { 
        background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(248, 250, 252, 0.4));
        transform: scale(1);
    }
}

/* Tablet Design (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .prw-container {
        margin: 15px;
        border-radius: 18px;
        transform: perspective(1000px) rotateX(0.5deg);
    }
    
    .prw-header {
        padding: 28px 24px;
    }
    
    .prw-header-title {
        font-size: 26px;
    }
    
    .prw-header-subtitle {
        font-size: 17px;
    }
    
    .prw-row {
        padding: 18px 24px;
    }
    
    .prw-website-name {
        font-size: 17px;
    }
    
    .prw-dr-badge {
        min-width: 48px;
        height: 30px;
        font-size: 13px;
    }
}

/* Mobile Design (768px and below) */
@media (max-width: 768px) {
    .prw-container {
        margin: 12px;
        border-radius: 16px;
        transform: none;
        max-width: calc(100vw - 24px);
        /* Reduce 3D effects for better mobile performance */
        box-shadow: 
            0 16px 32px rgba(16, 24, 40, 0.08),
            0 4px 16px rgba(16, 24, 40, 0.04);
    }
    
    .prw-header {
        padding: 24px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        /* Reduce complex gradients for mobile */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .prw-header-content {
        width: 100%;
    }
    
    .prw-header-title {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .prw-header-subtitle {
        font-size: 15px;
        line-height: 1.4;
        opacity: 0.95;
    }
    
    .prw-live-indicator {
        position: static;
        margin-top: 0;
        align-self: flex-start;
    }
    
    .prw-live-text {
        font-size: 13px;
    }
    
    .prw-columns {
        padding: 0 20px;
        font-size: 15px;
        font-weight: 600;
    }
    
    .prw-column-header:first-child {
        flex: 2;
    }
    
    .prw-column-header:last-child {
        flex: 1;
        text-align: right;
    }
    
    .prw-row {
        padding: 18px 20px;
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: center;
        /* Simplify hover effects for mobile */
    }
    
    .prw-row:hover {
        transform: translateY(-1px);
        box-shadow: 
            0 8px 16px rgba(0, 0, 0, 0.06),
            0 2px 8px rgba(0, 0, 0, 0.03);
    }
    
    .prw-website {
        flex: 2;
        min-width: 0;
    }
    
    .prw-dr-container {
        flex: 1;
        justify-content: flex-end;
        display: flex;
        align-items: center;
    }
    
    .prw-website-name {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .prw-dr-badge {
        min-width: 42px;
        height: 28px;
        font-size: 13px;
        border-radius: 6px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .prw-website-link {
        padding: 8px 10px;
        margin: -8px -10px;
        border-radius: 8px;
    }
    
    .prw-website-link:hover {
        transform: translateY(-1px);
    }
}

/* Small Mobile Design (480px and below) */
@media (max-width: 480px) {
    .prw-container {
        margin: 8px;
        border-radius: 12px;
        max-width: calc(100vw - 16px);
        /* Further simplify for small screens */
        box-shadow: 0 8px 16px rgba(16, 24, 40, 0.06);
    }
    
    .prw-header {
        padding: 20px 16px;
        gap: 12px;
    }
    
    .prw-header-title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    
    .prw-header-subtitle {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .prw-live-indicator {
        margin-top: 0;
    }
    
    .prw-live-dot {
        width: 8px;
        height: 8px;
    }
    
    .prw-live-text {
        font-size: 12px;
    }
    
    .prw-columns {
        padding: 0 16px;
        font-size: 14px;
    }
    
    .prw-column-header:first-child {
        flex: 2;
    }
    
    .prw-column-header:last-child {
        flex: 1;
        text-align: right;
    }
    
    .prw-row {
        padding: 16px;
        gap: 12px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    
    .prw-website {
        flex: 2;
        min-width: 0;
    }
    
    .prw-dr-container {
        flex: 1;
        justify-content: flex-end;
        display: flex;
        align-items: center;
    }
    
    .prw-website-name {
        font-size: 15px;
        line-height: 1.2;
    }
    
    .prw-dr-badge {
        min-width: 36px;
        height: 24px;
        font-size: 11px;
        border-radius: 5px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .prw-website-link {
        padding: 6px 8px;
        margin: -6px -8px;
        border-radius: 6px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .prw-container {
        margin: 6px;
        border-radius: 10px;
        max-width: calc(100vw - 12px);
    }
    
    .prw-header {
        padding: 18px 14px;
        gap: 10px;
    }
    
    .prw-header-title {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .prw-header-subtitle {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .prw-columns {
        padding: 0 14px;
        font-size: 13px;
    }
    
    .prw-column-header:first-child {
        flex: 2;
    }
    
    .prw-column-header:last-child {
        flex: 1;
        text-align: right;
    }
    
    .prw-row {
        padding: 14px;
        /* Keep row layout even on small screens */
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .prw-website {
        flex: 2;
        min-width: 0;
    }
    
    .prw-dr-container {
        flex: 1;
        justify-content: flex-end;
        display: flex;
        align-items: center;
    }
    
    .prw-website-name {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .prw-dr-badge {
        min-width: 32px;
        height: 22px;
        font-size: 10px;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .prw-website-link {
        padding: 4px 6px;
        margin: -4px -6px;
        border-radius: 5px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .prw-container {
        border: 3px solid #000000;
        background: #ffffff;
        box-shadow: none;
    }
    
    .prw-header {
        background: #000000;
    }
    
    .prw-header-title,
    .prw-header-subtitle {
        color: #ffffff !important;
        text-shadow: none;
        animation: none;
    }
    
    .prw-website-link {
        color: #0066cc !important;
        text-decoration: underline;
        background: transparent;
    }
    
    .prw-website-link:hover {
        color: #004499 !important;
        background: #f0f0f0;
    }
    
    .prw-dr-badge {
        border: 2px solid #000000;
        background: #ffffff !important;
        color: #000000 !important;
        text-shadow: none;
    }
    
    .prw-row {
        border-bottom: 1px solid #cccccc;
    }
    
    .prw-row:hover {
        background: #f5f5f5;
        transform: none;
        box-shadow: none;
    }
}

/* Reduced motion support */
@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;
    }
    
    .prw-container {
        transform: none !important;
    }
    
    .prw-row:hover {
        transform: none !important;
    }
    
    .prw-website-link:hover {
        transform: none !important;
    }
    
    .prw-live-dot {
        animation: none !important;
    }
    
    .prw-dr-badge:hover {
        transform: none !important;
    }
}

/* Ultra-smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar for webkit browsers */
.prw-container::-webkit-scrollbar {
    width: 8px;
}

.prw-container::-webkit-scrollbar-track {
    background: rgba(248, 250, 252, 0.5);
    border-radius: 4px;
}

.prw-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

.prw-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}
