/* ========================================
   RADIO WIDGETS PAGE STYLES
   File: assets/css/widgets-page.css
   Package: AnowXRadio
   Since: 1.1.0
   Updated: 1.1.1 - Dark mode support added
   ======================================== */

/* Page Header */
.widgets-header {
    text-align: center;
    padding: 50px 20px;
    background: var(--gradient-section);
    border-radius: var(--radius-lg);
    color: #fff;
    margin-bottom: 30px;
}
.widgets-header .page-header-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    backdrop-filter: blur(10px);
}
.widgets-header h1 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.widgets-header p {
    margin: 0 0 20px;
    opacity: 0.9;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}
.header-stats {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.header-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    color: #fff;
}
.header-stats i {
    font-size: 16px;
}

/* Widgets Container */
.widgets-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Section Styles */
.player-section {
    margin-bottom: 50px;
}
.section-header {
    margin-bottom: 25px;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.section-title i {
    font-size: 24px;
    color: var(--accent-red);
}
.section-title h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}
.section-badge {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-pink, #FF1493));
    color: white;
    padding: 4px 14px;
    border-radius: 12px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
    padding-left: 36px;
}

/* Players Grid */
.players-grid {
    display: grid;
    gap: 20px;
}
.header-players-grid {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
.card-players-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.box-players-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Player Card */
.player-card {
    background: var(--bg-card, var(--bg-primary));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.player-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-red);
}
.player-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}
.player-card-info {
    display: flex;
    flex-direction: column;
}
.player-style-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}
.player-style-id {
    font-size: 11px;
    color: var(--text-secondary);
}
.select-player-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.select-player-btn:hover {
    background: var(--accent-dark-red);
    transform: scale(1.05);
}

/* ========================================
   PLAYER PREVIEW STYLES (35 Players)
   ======================================== */

/* Shared Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes blink {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.7); opacity: 0; }
}
@keyframes eq-bars {
    0%,100% { height: 4px; }
    50% { height: 16px; }
}

/* Header Player Base */
.hp {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}
.hp-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}
.hp-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.hp-info {
    flex-shrink: 0;
    z-index: 1;
    min-width: 0;
}
.hp-info h3 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}
.hp-info p {
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}
.hp-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: blink 1s infinite;
}
.hp-cv {
    flex: 1;
    height: 36px;
    min-width: 50px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 24px;
}
.hp-bars span {
    width: 3px;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.5;
}
.hp-bars span:nth-child(1) { height: 8px; }
.hp-bars span:nth-child(2) { height: 14px; }
.hp-bars span:nth-child(3) { height: 20px; }
.hp-bars span:nth-child(4) { height: 12px; }
.hp-bars span:nth-child(5) { height: 6px; }
.hp-tag {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 10px;
    flex-shrink: 0;
    z-index: 1;
    white-space: nowrap;
}
.hp-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hp-play:hover {
    transform: scale(1.12);
}

/* Header Player Styles (H1-H15) */
.h1 { background: linear-gradient(135deg, #dc2626, #991b1b); }
.h1 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.25); }
.h1 .hp-info h3 { color: #fff; }
.h1 .hp-info p { color: rgba(255,255,255,0.7); }
.h1 .hp-dot { background: #fbbf24; }
.h1 .hp-bars { color: rgba(255,255,255,0.6); }
.h1 .hp-play { background: #fff; color: #dc2626; }
.h1 .hp-tag { background: rgba(0,0,0,0.15); color: rgba(255,255,255,0.85); }

.h2 { background: linear-gradient(135deg, #1e3a5f, #0f172a); }
.h2 .hp-logo { background: rgba(56,189,248,0.12); color: #38bdf8; border: 2px solid rgba(56,189,248,0.25); }
.h2 .hp-info h3 { color: #fff; }
.h2 .hp-info p { color: rgba(255,255,255,0.55); }
.h2 .hp-dot { background: #38bdf8; }
.h2 .hp-bars { color: #38bdf8; }
.h2 .hp-play { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }
.h2 .hp-tag { background: rgba(56,189,248,0.12); color: #7dd3fc; }

.h3 { background: #fff; border: 2px solid #e5e7eb; }
.h3 .hp-logo { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.h3 .hp-info h3 { color: #1f2937; }
.h3 .hp-info p { color: #9ca3af; }
.h3 .hp-dot { background: #dc2626; }
.h3 .hp-bars { color: #dc2626; }
.h3 .hp-play { background: #dc2626; color: #fff; }
.h3 .hp-tag { background: #fee2e2; color: #dc2626; }

.h4 { background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.h4 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.h4 .hp-info h3 { color: #fff; }
.h4 .hp-info p { color: rgba(255,255,255,0.65); }
.h4 .hp-dot { background: #c4b5fd; }
.h4 .hp-bars { color: rgba(255,255,255,0.5); }
.h4 .hp-play { background: #fff; color: #7c3aed; }
.h4 .hp-tag { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }

.h5 { background: linear-gradient(135deg, #059669, #047857); }
.h5 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.h5 .hp-info h3 { color: #fff; }
.h5 .hp-info p { color: rgba(255,255,255,0.65); }
.h5 .hp-dot { background: #6ee7b7; }
.h5 .hp-bars { color: rgba(255,255,255,0.5); }
.h5 .hp-play { background: #fff; color: #059669; }
.h5 .hp-tag { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }

.h6 { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 2px solid #e2e8f0; }
.h6 .hp-logo { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.h6 .hp-info h3 { color: #1e293b; }
.h6 .hp-info p { color: #94a3b8; }
.h6 .hp-dot { background: #8b5cf6; }
.h6 .hp-bars { color: #8b5cf6; }
.h6 .hp-play { background: #7c3aed; color: #fff; }
.h6 .hp-tag { background: #ede9fe; color: #7c3aed; }

.h7 { background: #09090b; box-shadow: 0 0 0 1px rgba(34,197,94,0.3); }
.h7 .hp-logo { background: transparent; color: #22c55e; border: 2px solid #22c55e; }
.h7 .hp-info h3 { color: #22c55e; }
.h7 .hp-info p { color: rgba(34,197,94,0.5); }
.h7 .hp-dot { background: #22c55e; box-shadow: 0 0 4px #22c55e; }
.h7 .hp-bars { color: #22c55e; }
.h7 .hp-play { background: transparent; color: #22c55e; border: 2px solid #22c55e; }
.h7 .hp-tag { background: transparent; color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }

.h8 { background: linear-gradient(135deg, #ea580c, #c2410c); }
.h8 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.h8 .hp-info h3 { color: #fff; }
.h8 .hp-info p { color: rgba(255,255,255,0.65); }
.h8 .hp-dot { background: #fde68a; }
.h8 .hp-bars { color: rgba(255,255,255,0.5); }
.h8 .hp-play { background: #fff; color: #ea580c; }
.h8 .hp-tag { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }

.h9 { background: #fff; border: 2px solid #dbeafe; }
.h9 .hp-logo { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.h9 .hp-info h3 { color: #1e3a5f; }
.h9 .hp-info p { color: #93c5fd; }
.h9 .hp-dot { background: #3b82f6; }
.h9 .hp-bars { color: #3b82f6; }
.h9 .hp-play { background: #3b82f6; color: #fff; }
.h9 .hp-tag { background: #dbeafe; color: #2563eb; }

.h10 { background: linear-gradient(135deg, #be123c, #881337); }
.h10 .hp-logo { background: rgba(253,164,175,0.15); color: #fda4af; border: 2px solid rgba(253,164,175,0.25); }
.h10 .hp-info h3 { color: #fda4af; }
.h10 .hp-info p { color: rgba(253,164,175,0.55); }
.h10 .hp-dot { background: #fda4af; }
.h10 .hp-bars { color: #fda4af; }
.h10 .hp-play { background: rgba(253,164,175,0.15); color: #fda4af; border: 2px solid rgba(253,164,175,0.25); }
.h10 .hp-tag { background: rgba(253,164,175,0.12); color: #fda4af; }

.h11 { background: linear-gradient(135deg, #0891b2, #0e7490); }
.h11 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.h11 .hp-info h3 { color: #fff; }
.h11 .hp-info p { color: rgba(255,255,255,0.65); }
.h11 .hp-dot { background: #67e8f9; }
.h11 .hp-bars { color: rgba(255,255,255,0.5); }
.h11 .hp-play { background: #fff; color: #0891b2; }
.h11 .hp-tag { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }

.h12 { background: linear-gradient(145deg, #292524, #1c1917); border: 1px solid rgba(245,158,11,0.12); }
.h12 .hp-logo { background: rgba(245,158,11,0.12); color: #fbbf24; border: 2px solid rgba(245,158,11,0.2); }
.h12 .hp-info h3 { color: #fde68a; }
.h12 .hp-info p { color: rgba(253,230,138,0.45); }
.h12 .hp-dot { background: #fbbf24; }
.h12 .hp-bars { color: #fbbf24; }
.h12 .hp-play { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.h12 .hp-tag { background: rgba(245,158,11,0.1); color: #fbbf24; }

.h13 { background: #fff; border: 2px solid #d1fae5; }
.h13 .hp-logo { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.h13 .hp-info h3 { color: #064e3b; }
.h13 .hp-info p { color: #6ee7b7; }
.h13 .hp-dot { background: #10b981; }
.h13 .hp-bars { color: #10b981; }
.h13 .hp-play { background: #10b981; color: #fff; }
.h13 .hp-tag { background: #d1fae5; color: #059669; }

.h14 { background: linear-gradient(135deg, #4f46e5, #3730a3); }
.h14 .hp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.h14 .hp-info h3 { color: #fff; }
.h14 .hp-info p { color: rgba(255,255,255,0.65); }
.h14 .hp-dot { background: #a5b4fc; }
.h14 .hp-bars { color: rgba(255,255,255,0.5); }
.h14 .hp-play { background: #fff; color: #4f46e5; }
.h14 .hp-tag { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }

.h15 { background: #0a0a0a; box-shadow: 0 0 0 1px rgba(236,72,153,0.25); }
.h15 .hp-logo { background: transparent; color: #ec4899; border: 2px solid #ec4899; }
.h15 .hp-info h3 { color: #ec4899; }
.h15 .hp-info p { color: rgba(236,72,153,0.45); }
.h15 .hp-dot { background: #ec4899; box-shadow: 0 0 4px #ec4899; }
.h15 .hp-bars { color: #ec4899; }
.h15 .hp-play { background: transparent; color: #ec4899; border: 2px solid #ec4899; }
.h15 .hp-tag { background: transparent; color: #ec4899; border: 1px solid rgba(236,72,153,0.25); }

/* Card Player Base */
.cp {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    padding: 20px 16px;
}
.cp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}
.cp-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.cp-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.cp-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.cp-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}
.cp-live {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cp-play {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 5px;
}
.cp-play:hover {
    transform: scale(1.1);
}

/* Card Player Styles (C1-C10) */
.c1 { background: linear-gradient(145deg, #dc2626, #7f1d1d); }
.c1 .cp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 3px solid rgba(255,255,255,0.2); }
.c1 .cp-name { color: #fff; }
.c1 .cp-live { background: rgba(0,0,0,0.2); color: #fff; }
.c1 .cp-live .hp-dot { background: #fbbf24; }
.c1 .cp-play { background: #fff; color: #dc2626; }

.c2 { background: #fff; border: 2px solid rgba(220,38,38,0.1); }
.c2 .cp-logo { background: linear-gradient(135deg, #dc2626, #b91c1c); color: #fff; }
.c2 .cp-name { color: #1f2937; }
.c2 .cp-live { background: #fee2e2; color: #dc2626; }
.c2 .cp-live .hp-dot { background: #dc2626; }
.c2 .cp-play { background: #dc2626; color: #fff; }

.c3 { background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid rgba(249,115,22,0.12); }
.c3 .cp-logo { background: rgba(249,115,22,0.12); color: #fb923c; border: 2px solid rgba(249,115,22,0.2); }
.c3 .cp-name { color: #e2e8f0; }
.c3 .cp-live { background: rgba(249,115,22,0.1); color: #fb923c; }
.c3 .cp-live .hp-dot { background: #fb923c; }
.c3 .cp-play { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }

.c4 { background: linear-gradient(145deg, #2563eb, #1d4ed8); }
.c4 .cp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 3px solid rgba(255,255,255,0.2); }
.c4 .cp-name { color: #fff; }
.c4 .cp-live { background: rgba(255,255,255,0.12); color: #fff; }
.c4 .cp-live .hp-dot { background: #93c5fd; }
.c4 .cp-play { background: #fff; color: #2563eb; }

.c5 { background: linear-gradient(145deg, #faf5ff, #f3e8ff); border: 2px solid rgba(139,92,246,0.1); }
.c5 .cp-logo { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: #fff; }
.c5 .cp-name { color: #3b0764; }
.c5 .cp-live { background: #ede9fe; color: #7c3aed; }
.c5 .cp-live .hp-dot { background: #8b5cf6; }
.c5 .cp-play { background: #7c3aed; color: #fff; }

.c6 { background: linear-gradient(145deg, #065f46, #064e3b); }
.c6 .cp-logo { background: rgba(110,231,183,0.12); color: #6ee7b7; border: 2px solid rgba(110,231,183,0.2); }
.c6 .cp-name { color: #a7f3d0; }
.c6 .cp-live { background: rgba(110,231,183,0.1); color: #6ee7b7; }
.c6 .cp-live .hp-dot { background: #6ee7b7; }
.c6 .cp-play { background: rgba(110,231,183,0.12); color: #6ee7b7; border: 2px solid rgba(110,231,183,0.25); }

.c7 { background: #0a0a0a; box-shadow: 0 0 0 1px rgba(236,72,153,0.2); }
.c7 .cp-logo { background: transparent; color: #ec4899; border: 2px solid #ec4899; }
.c7 .cp-name { color: #ec4899; }
.c7 .cp-live { background: transparent; color: #ec4899; border: 1px solid rgba(236,72,153,0.25); }
.c7 .cp-live .hp-dot { background: #ec4899; }
.c7 .cp-play { background: transparent; color: #ec4899; border: 2px solid #ec4899; }

.c8 { background: linear-gradient(145deg, #fffbeb, #fef3c7); border: 2px solid rgba(245,158,11,0.1); }
.c8 .cp-logo { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.c8 .cp-name { color: #78350f; }
.c8 .cp-live { background: #fef3c7; color: #b45309; }
.c8 .cp-live .hp-dot { background: #f59e0b; }
.c8 .cp-play { background: #f59e0b; color: #fff; }

.c9 { background: linear-gradient(145deg, #be123c, #9333ea); }
.c9 .cp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 3px solid rgba(255,255,255,0.2); }
.c9 .cp-name { color: #fff; }
.c9 .cp-live { background: rgba(255,255,255,0.12); color: #fff; }
.c9 .cp-live .hp-dot { background: #fda4af; }
.c9 .cp-play { background: #fff; color: #9333ea; }

.c10 { background: linear-gradient(145deg, #18181b, #09090b); border: 1px solid rgba(220,38,38,0.08); }
.c10 .cp-logo { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; }
.c10 .cp-name { color: #f4f4f5; }
.c10 .cp-live { background: rgba(220,38,38,0.1); color: #f87171; }
.c10 .cp-live .hp-dot { background: #f87171; }
.c10 .cp-play { background: #fff; color: #18181b; }

/* Box Player Base */
.bp {
    border-radius: 16px;
    overflow: hidden;
    padding: 16px 12px;
}
.bp-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.bp-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.bp-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.bp-name {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}
.bp-live {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.bp-live .hp-dot {
    width: 4px;
    height: 4px;
}
.bp-play {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 3px;
}
.bp-play:hover {
    transform: scale(1.1);
}

/* Box Player Styles (B1-B10) */
.b1 { background: linear-gradient(145deg, #dc2626, #991b1b); }
.b1 .bp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.b1 .bp-name { color: #fff; }
.b1 .bp-live { background: rgba(0,0,0,0.15); color: #fff; }
.b1 .bp-live .hp-dot { background: #fbbf24; }
.b1 .bp-play { background: #fff; color: #dc2626; }

.b2 { background: #fff; border: 2px solid rgba(59,130,246,0.1); }
.b2 .bp-logo { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; }
.b2 .bp-name { color: #1e3a5f; }
.b2 .bp-live { background: #dbeafe; color: #2563eb; }
.b2 .bp-live .hp-dot { background: #3b82f6; }
.b2 .bp-play { background: #3b82f6; color: #fff; }

.b3 { background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid rgba(14,165,233,0.12); }
.b3 .bp-logo { background: rgba(14,165,233,0.12); color: #38bdf8; border: 2px solid rgba(14,165,233,0.2); }
.b3 .bp-name { color: #e2e8f0; }
.b3 .bp-live { background: rgba(14,165,233,0.1); color: #38bdf8; }
.b3 .bp-live .hp-dot { background: #38bdf8; }
.b3 .bp-play { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #fff; }

.b4 { background: linear-gradient(145deg, #7c3aed, #5b21b6); }
.b4 .bp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.b4 .bp-name { color: #fff; }
.b4 .bp-live { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }
.b4 .bp-live .hp-dot { background: #c4b5fd; }
.b4 .bp-play { background: #fff; color: #7c3aed; }

.b5 { background: #fff; border: 2px solid rgba(16,185,129,0.1); }
.b5 .bp-logo { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.b5 .bp-name { color: #064e3b; }
.b5 .bp-live { background: #d1fae5; color: #059669; }
.b5 .bp-live .hp-dot { background: #10b981; }
.b5 .bp-play { background: #10b981; color: #fff; }

.b6 { background: linear-gradient(145deg, #ea580c, #c2410c); }
.b6 .bp-logo { background: rgba(255,255,255,0.15); color: #fff; border: 2px solid rgba(255,255,255,0.2); }
.b6 .bp-name { color: #fff; }
.b6 .bp-live { background: rgba(0,0,0,0.12); color: rgba(255,255,255,0.8); }
.b6 .bp-live .hp-dot { background: #fde68a; }
.b6 .bp-play { background: #fff; color: #ea580c; }

.b7 { background: #0a0a0a; box-shadow: 0 0 0 1px rgba(34,197,94,0.2); }
.b7 .bp-logo { background: transparent; color: #22c55e; border: 2px solid #22c55e; }
.b7 .bp-name { color: #22c55e; }
.b7 .bp-live { background: transparent; color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.b7 .bp-live .hp-dot { background: #22c55e; }
.b7 .bp-play { background: transparent; color: #22c55e; border: 2px solid #22c55e; }

.b8 { background: linear-gradient(145deg, #be123c, #881337); }
.b8 .bp-logo { background: rgba(253,164,175,0.12); color: #fda4af; border: 2px solid rgba(253,164,175,0.2); }
.b8 .bp-name { color: #fda4af; }
.b8 .bp-live { background: rgba(253,164,175,0.1); color: #fda4af; }
.b8 .bp-live .hp-dot { background: #fda4af; }
.b8 .bp-play { background: rgba(253,164,175,0.12); color: #fda4af; border: 2px solid rgba(253,164,175,0.2); }

.b9 { background: linear-gradient(145deg, #fffbeb, #fef3c7); border: 2px solid rgba(245,158,11,0.1); }
.b9 .bp-logo { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.b9 .bp-name { color: #78350f; }
.b9 .bp-live { background: #fef3c7; color: #b45309; }
.b9 .bp-live .hp-dot { background: #f59e0b; }
.b9 .bp-play { background: #f59e0b; color: #fff; }

.b10 { background: linear-gradient(145deg, #18181b, #09090b); border: 1px solid rgba(220,38,38,0.08); }
.b10 .bp-logo { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; }
.b10 .bp-name { color: #f4f4f5; }
.b10 .bp-live { background: rgba(220,38,38,0.08); color: #f87171; }
.b10 .bp-live .hp-dot { background: #f87171; }
.b10 .bp-play { background: #fff; color: #18181b; }

/* ========================================
   MODAL STYLES
   ======================================== */
.widget-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.widget-modal.active {
    display: flex;
}
.widget-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}
.widget-modal-content {
    position: relative;
    background: var(--bg-card, var(--bg-primary));
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.widget-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-card, var(--bg-primary));
    position: sticky;
    top: 0;
    z-index: 10;
}
.widget-modal-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.widget-modal-header h2 i {
    color: var(--accent-red);
}
.widget-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-secondary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.widget-modal-close:hover {
    background: var(--accent-red);
    color: #fff;
}
.widget-modal-body {
    padding: 20px;
    overflow-y: auto;
}

/* Station Selection */
.station-select-section {
    margin-bottom: 25px;
}
.station-select-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.station-select-section h3 i {
    color: var(--accent-red);
}
.station-select-wrapper {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 15px;
    border: 1px solid var(--border-light);
}
.station-search-box {
    position: relative;
    margin-bottom: 12px;
}
.station-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 14px;
}
.station-search-box input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
}
.station-search-box input::placeholder {
    color: var(--text-secondary);
}
.station-list {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    background: var(--bg-primary);
    margin-bottom: 12px;
}
.station-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background 0.2s;
}
.station-item:last-child {
    border-bottom: none;
}
.station-item:hover {
    background: var(--bg-secondary);
}
.station-item.selected {
    background: rgba(220, 20, 60, 0.08);
    border-left: 3px solid var(--accent-red);
}
.station-item-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 10px;
    object-fit: cover;
}
.station-item-name {
    font-size: 13px;
    color: var(--text-primary);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.station-item-check {
    color: var(--accent-red);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}
.station-item.selected .station-item-check {
    opacity: 1;
}
.manual-entry-toggle button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
}
.manual-entry-toggle button:hover {
    color: var(--accent-red);
}
.no-stations-msg {
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Selected Station Card */
.selected-station-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--accent-red);
    border-radius: var(--radius);
}
.selected-station-logo {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    margin-right: 12px;
    object-fit: cover;
}
.selected-station-details {
    flex: 1;
    overflow: hidden;
}
.selected-station-details strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.selected-station-details span {
    display: block;
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.change-station-btn {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 10px;
    color: var(--text-primary);
    transition: all 0.2s;
}
.change-station-btn:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

/* Preview Section */
.preview-section {
    margin-bottom: 25px;
}
.preview-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.preview-section h3 i {
    color: var(--accent-red);
}
.live-preview-container {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border: 1px dashed var(--border-light);
}
.preview-placeholder {
    text-align: center;
    color: var(--text-secondary);
    opacity: 0.7;
}
.preview-placeholder i {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}
.preview-placeholder p {
    font-size: 12px;
    margin: 0;
}
.stream-status {
    margin-top: 8px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}
.stream-status-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.stream-status.working .stream-status-icon { background: #27ae60; }
.stream-status.failed .stream-status-icon { background: #e74c3c; }
.stream-status.checking .stream-status-icon { background: #f39c12; animation: blink 1s infinite; }

/* Form Styles */
.customize-section .form-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.customize-section .form-section:last-child {
    border-bottom: none;
}
.customize-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}
.customize-section h4 i {
    color: var(--accent-red);
}
.customize-section .form-group {
    margin-bottom: 12px;
}
.customize-section label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.customize-section label .required {
    color: var(--accent-red);
}
.customize-section input[type="text"],
.customize-section input[type="url"],
.customize-section select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-size: 13px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: border-color 0.2s;
}
.customize-section input[type="text"]:focus,
.customize-section input[type="url"]:focus,
.customize-section select:focus {
    border-color: var(--accent-red);
    outline: none;
}
.customize-section input::placeholder {
    color: var(--text-secondary);
}
.stream-input-wrap {
    display: flex;
    gap: 8px;
}
.stream-input-wrap input {
    flex: 1;
}
.test-stream-btn {
    padding: 0 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-primary);
    transition: all 0.2s;
    white-space: nowrap;
}
.test-stream-btn:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

/* Colors & Size Grid */
.color-grid, .size-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.size-grid {
    grid-template-columns: 1fr 1fr;
}
.color-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.color-input-wrap input[type="color"] {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: none;
    cursor: pointer;
}
.color-input-wrap .color-text {
    flex: 1;
    font-size: 11px;
    font-family: monospace;
    text-transform: uppercase;
}
.reset-colors-btn {
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}
.reset-colors-btn:hover {
    color: var(--accent-red);
}

/* Modal Footer */
.widget-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-card, var(--bg-primary));
    position: sticky;
    bottom: 0;
}
.generate-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}
.generate-btn:disabled {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
}
.generate-btn:hover:not(:disabled) {
    background: var(--accent-dark-red);
}

/* Embed Output */
.embed-output {
    margin-top: 15px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.embed-output h4 {
    font-size: 13px;
    margin: 0 0 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.embed-output h4 i {
    color: var(--accent-red);
}
.embed-code-wrap {
    display: flex;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.embed-code-wrap code {
    flex: 1;
    padding: 10px;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-secondary);
    overflow-x: auto;
    white-space: nowrap;
}
.copy-embed-btn {
    padding: 0 15px;
    background: var(--bg-secondary);
    border: none;
    border-left: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.copy-embed-btn:hover {
    background: var(--accent-red);
    color: #fff;
}
.embed-hint {
    font-size: 11px;
    color: var(--text-secondary);
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.embed-hint i {
    color: var(--accent-red);
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */
body.dark-mode .section-title h2,
.dark-mode .section-title h2 {
    color: #e2e8f0;
}
body.dark-mode .section-desc,
.dark-mode .section-desc {
    color: #94a3b8;
}
body.dark-mode .player-card,
.dark-mode .player-card {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .player-card:hover,
.dark-mode .player-card:hover {
    border-color: var(--accent-red);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
body.dark-mode .player-card-footer,
.dark-mode .player-card-footer {
    background: #161625;
    border-top-color: rgba(255,255,255,0.06);
}
body.dark-mode .player-style-name,
.dark-mode .player-style-name {
    color: #e2e8f0;
}
body.dark-mode .player-style-id,
.dark-mode .player-style-id {
    color: #64748b;
}

/* Dark Mode - Modal */
body.dark-mode .widget-modal-content,
.dark-mode .widget-modal-content {
    background: #1a1a2e;
}
body.dark-mode .widget-modal-header,
.dark-mode .widget-modal-header {
    background: #1a1a2e;
    border-bottom-color: rgba(255,255,255,0.06);
}
body.dark-mode .widget-modal-header h2,
.dark-mode .widget-modal-header h2 {
    color: #e2e8f0;
}
body.dark-mode .widget-modal-close,
.dark-mode .widget-modal-close {
    background: #2a2a3e;
    color: #94a3b8;
}
body.dark-mode .widget-modal-close:hover,
.dark-mode .widget-modal-close:hover {
    background: var(--accent-red);
    color: #fff;
}
body.dark-mode .widget-modal-footer,
.dark-mode .widget-modal-footer {
    background: #1a1a2e;
    border-top-color: rgba(255,255,255,0.06);
}

/* Dark Mode - Station Selection */
body.dark-mode .station-select-section h3,
.dark-mode .station-select-section h3 {
    color: #e2e8f0;
}
body.dark-mode .station-select-wrapper,
.dark-mode .station-select-wrapper {
    background: #161625;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .station-search-box input,
.dark-mode .station-search-box input {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
body.dark-mode .station-search-box input::placeholder,
.dark-mode .station-search-box input::placeholder {
    color: #64748b;
}
body.dark-mode .station-search-box i,
.dark-mode .station-search-box i {
    color: #64748b;
}
body.dark-mode .station-list,
.dark-mode .station-list {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .station-item,
.dark-mode .station-item {
    border-bottom-color: rgba(255,255,255,0.04);
}
body.dark-mode .station-item:hover,
.dark-mode .station-item:hover {
    background: #2a2a3e;
}
body.dark-mode .station-item.selected,
.dark-mode .station-item.selected {
    background: rgba(220, 20, 60, 0.12);
}
body.dark-mode .station-item-name,
.dark-mode .station-item-name {
    color: #e2e8f0;
}
body.dark-mode .manual-entry-toggle button,
.dark-mode .manual-entry-toggle button {
    color: #64748b;
}
body.dark-mode .no-stations-msg,
.dark-mode .no-stations-msg {
    color: #64748b;
}

/* Dark Mode - Selected Station */
body.dark-mode .selected-station-card,
.dark-mode .selected-station-card {
    background: #1e1e2e;
    border-color: var(--accent-red);
}
body.dark-mode .selected-station-details strong,
.dark-mode .selected-station-details strong {
    color: #e2e8f0;
}
body.dark-mode .selected-station-details span,
.dark-mode .selected-station-details span {
    color: #64748b;
}
body.dark-mode .change-station-btn,
.dark-mode .change-station-btn {
    background: #2a2a3e;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}

/* Dark Mode - Preview */
body.dark-mode .preview-section h3,
.dark-mode .preview-section h3 {
    color: #e2e8f0;
}
body.dark-mode .live-preview-container,
.dark-mode .live-preview-container {
    background: #161625;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .preview-placeholder,
.dark-mode .preview-placeholder {
    color: #64748b;
}
body.dark-mode .stream-status,
.dark-mode .stream-status {
    color: #94a3b8;
}

/* Dark Mode - Form */
body.dark-mode .customize-section h4,
.dark-mode .customize-section h4 {
    color: #e2e8f0;
}
body.dark-mode .customize-section label,
.dark-mode .customize-section label {
    color: #cbd5e1;
}
body.dark-mode .customize-section input[type="text"],
body.dark-mode .customize-section input[type="url"],
body.dark-mode .customize-section select,
.dark-mode .customize-section input[type="text"],
.dark-mode .customize-section input[type="url"],
.dark-mode .customize-section select {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
body.dark-mode .customize-section input::placeholder,
.dark-mode .customize-section input::placeholder {
    color: #475569;
}
body.dark-mode .customize-section .form-section,
.dark-mode .customize-section .form-section {
    border-bottom-color: rgba(255,255,255,0.06);
}
body.dark-mode .test-stream-btn,
.dark-mode .test-stream-btn {
    background: #2a2a3e;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
body.dark-mode .color-input-wrap input[type="color"],
.dark-mode .color-input-wrap input[type="color"] {
    border-color: rgba(255,255,255,0.08);
}
body.dark-mode .color-input-wrap .color-text,
.dark-mode .color-input-wrap .color-text {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.08);
    color: #e2e8f0;
}
body.dark-mode .reset-colors-btn,
.dark-mode .reset-colors-btn {
    color: #64748b;
}

/* Dark Mode - Generate Button */
body.dark-mode .generate-btn:disabled,
.dark-mode .generate-btn:disabled {
    background: #2a2a3e;
    color: #475569;
}

/* Dark Mode - Embed Output */
body.dark-mode .embed-output,
.dark-mode .embed-output {
    background: #161625;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .embed-output h4,
.dark-mode .embed-output h4 {
    color: #e2e8f0;
}
body.dark-mode .embed-code-wrap,
.dark-mode .embed-code-wrap {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.06);
}
body.dark-mode .embed-code-wrap code,
.dark-mode .embed-code-wrap code {
    color: #94a3b8;
}
body.dark-mode .copy-embed-btn,
.dark-mode .copy-embed-btn {
    background: #2a2a3e;
    border-left-color: rgba(255,255,255,0.06);
    color: #e2e8f0;
}
body.dark-mode .embed-hint,
.dark-mode .embed-hint {
    color: #64748b;
}

/* Dark Mode - Light Background Player Previews Fix */
body.dark-mode .h3,
.dark-mode .h3 {
    background: #1e1e2e;
    border-color: rgba(255,255,255,0.08);
}
body.dark-mode .h3 .hp-info h3,
.dark-mode .h3 .hp-info h3 {
    color: #e2e8f0;
}
body.dark-mode .h3 .hp-info p,
.dark-mode .h3 .hp-info p {
    color: #64748b;
}
body.dark-mode .h3 .hp-tag,
.dark-mode .h3 .hp-tag {
    background: rgba(220,38,38,0.15);
}

body.dark-mode .h6,
.dark-mode .h6 {
    background: linear-gradient(135deg, #1e1e2e, #161625);
    border-color: rgba(139,92,246,0.15);
}
body.dark-mode .h6 .hp-info h3,
.dark-mode .h6 .hp-info h3 {
    color: #e2e8f0;
}
body.dark-mode .h6 .hp-info p,
.dark-mode .h6 .hp-info p {
    color: #64748b;
}
body.dark-mode .h6 .hp-tag,
.dark-mode .h6 .hp-tag {
    background: rgba(139,92,246,0.15);
}

body.dark-mode .h9,
.dark-mode .h9 {
    background: #1e1e2e;
    border-color: rgba(59,130,246,0.15);
}
body.dark-mode .h9 .hp-info h3,
.dark-mode .h9 .hp-info h3 {
    color: #e2e8f0;
}
body.dark-mode .h9 .hp-info p,
.dark-mode .h9 .hp-info p {
    color: #64748b;
}
body.dark-mode .h9 .hp-tag,
.dark-mode .h9 .hp-tag {
    background: rgba(59,130,246,0.15);
}

body.dark-mode .h13,
.dark-mode .h13 {
    background: #1e1e2e;
    border-color: rgba(16,185,129,0.15);
}
body.dark-mode .h13 .hp-info h3,
.dark-mode .h13 .hp-info h3 {
    color: #e2e8f0;
}
body.dark-mode .h13 .hp-info p,
.dark-mode .h13 .hp-info p {
    color: #64748b;
}
body.dark-mode .h13 .hp-tag,
.dark-mode .h13 .hp-tag {
    background: rgba(16,185,129,0.15);
}

/* Dark Mode - Card Players Light BG Fix */
body.dark-mode .c2,
.dark-mode .c2 {
    background: #1e1e2e;
    border-color: rgba(220,38,38,0.12);
}
body.dark-mode .c2 .cp-name,
.dark-mode .c2 .cp-name {
    color: #e2e8f0;
}
body.dark-mode .c2 .cp-live,
.dark-mode .c2 .cp-live {
    background: rgba(220,38,38,0.15);
}

body.dark-mode .c5,
.dark-mode .c5 {
    background: linear-gradient(145deg, #1e1e2e, #161625);
    border-color: rgba(139,92,246,0.12);
}
body.dark-mode .c5 .cp-name,
.dark-mode .c5 .cp-name {
    color: #e2e8f0;
}
body.dark-mode .c5 .cp-live,
.dark-mode .c5 .cp-live {
    background: rgba(139,92,246,0.15);
}

body.dark-mode .c8,
.dark-mode .c8 {
    background: linear-gradient(145deg, #1e1e2e, #161625);
    border-color: rgba(245,158,11,0.12);
}
body.dark-mode .c8 .cp-name,
.dark-mode .c8 .cp-name {
    color: #e2e8f0;
}
body.dark-mode .c8 .cp-live,
.dark-mode .c8 .cp-live {
    background: rgba(245,158,11,0.15);
}

/* Dark Mode - Box Players Light BG Fix */
body.dark-mode .b2,
.dark-mode .b2 {
    background: #1e1e2e;
    border-color: rgba(59,130,246,0.12);
}
body.dark-mode .b2 .bp-name,
.dark-mode .b2 .bp-name {
    color: #e2e8f0;
}
body.dark-mode .b2 .bp-live,
.dark-mode .b2 .bp-live {
    background: rgba(59,130,246,0.15);
}

body.dark-mode .b5,
.dark-mode .b5 {
    background: #1e1e2e;
    border-color: rgba(16,185,129,0.12);
}
body.dark-mode .b5 .bp-name,
.dark-mode .b5 .bp-name {
    color: #e2e8f0;
}
body.dark-mode .b5 .bp-live,
.dark-mode .b5 .bp-live {
    background: rgba(16,185,129,0.15);
}

body.dark-mode .b9,
.dark-mode .b9 {
    background: linear-gradient(145deg, #1e1e2e, #161625);
    border-color: rgba(245,158,11,0.12);
}
body.dark-mode .b9 .bp-name,
.dark-mode .b9 .bp-name {
    color: #e2e8f0;
}
body.dark-mode .b9 .bp-live,
.dark-mode .b9 .bp-live {
    background: rgba(245,158,11,0.15);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .header-players-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
    .card-players-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .box-players-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 768px) {
    .widgets-header { padding: 30px 15px; }
    .widgets-header h1 { font-size: 24px; }
    .widgets-header p { font-size: 14px; }
    .section-title h2 { font-size: 20px; }
    .card-players-grid, .box-players-grid { grid-template-columns: repeat(2, 1fr); }
    .widget-modal-content { height: 100%; max-height: 100%; border-radius: 0; }
    .color-grid { grid-template-columns: 1fr; }
    .size-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .card-players-grid, .box-players-grid { grid-template-columns: 1fr; }
    .header-players-grid { grid-template-columns: 1fr; }
    .header-stats { gap: 10px; }
    .header-stats span { width: 100%; justify-content: center; }
    .section-title { flex-wrap: wrap; }
    .section-desc { padding-left: 0; }
}