/**
 * DrFun1 & IRCBoombox 355k WebIRC & Broadcasting Client Stylesheet
 */

.drfun1-gateway-container {
    background: #090d16;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 20px 0;
    color: #e2e8f0;
}

.drfun1-gateway-header {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    flex-wrap: wrap;
    gap: 8px;
}

.drfun1-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.drfun1-live-badge {
    background: #14532d;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.drfun1-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #22c55e;
    animation: drfun1-pulse 1.5s infinite;
}

@keyframes drfun1-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.drfun1-channel-tag {
    font-family: "Fira Code", monospace;
    font-size: 13px;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.drfun1-hub-tag {
    font-size: 11px;
    font-family: monospace;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.drfun1-btn-popout {
    background: #4f46e5;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.drfun1-btn-popout:hover {
    background: #4338ca;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.drfun1-fantasy-command-strip {
    background: #0b0f19;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid #1e293b;
    scrollbar-width: thin;
}

.drfun1-strip-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 4px;
}

.drfun1-cmd-chip {
    background: #1e293b;
    border: 1px solid #334155;
    color: #c7d2fe;
    font-family: monospace;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.drfun1-cmd-chip:hover {
    background: #312e81;
    border-color: #6366f1;
    color: #ffffff;
}

.drfun1-iframe-wrapper {
    position: relative;
    width: 100%;
    background: #000000;
}

.drfun1-embed-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.drfun1-gateway-footer {
    background: #0a0f1d;
    padding: 8px 16px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 11px;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drfun1-legal-meta a {
    color: #38bdf8;
    text-decoration: none;
}

.drfun1-legal-meta a:hover {
    text-decoration: underline;
}

/* Radio Card */
.drfun1-radio-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 16px;
    margin: 15px 0;
}

.drfun1-radio-badge {
    background: #991b1b;
    color: #fca5a5;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

.drfun1-radio-title {
    margin: 0 0 4px 0;
    color: #ffffff;
    font-size: 16px;
}

.drfun1-radio-sub {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: #94a3b8;
}

.drfun1-audio-element {
    width: 100%;
    filter: invert(0.9);
}

/* Licensed Store Showcase */
.drfun1-licensed-store-showcase {
    background: #0b0f19;
    border: 1px solid #ca8a04;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.drfun1-store-hero h3 {
    color: #fde047;
    margin-top: 0;
}

.drfun1-store-hero p {
    color: #94a3b8;
    font-size: 13px;
}

.drfun1-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.drfun1-store-item {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
}

.drfun1-brand-tag {
    font-size: 10px;
    font-weight: bold;
    color: #f59e0b;
    text-transform: uppercase;
}

.drfun1-store-item h4 {
    margin: 6px 0;
    font-size: 14px;
    color: #ffffff;
    flex: 1;
}

.drfun1-price {
    font-size: 16px;
    font-weight: bold;
    color: #34d399;
    margin-bottom: 10px;
}

.drfun1-store-btn {
    background: #ca8a04;
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
}

.drfun1-store-btn:hover {
    background: #eab308;
}

/* Strimm Block */
.drfun1-strimm-block {
    background: #0f172a;
    border: 1px solid #6366f1;
    border-radius: 10px;
    padding: 16px;
    margin: 15px 0;
}

.drfun1-strimm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drfun1-strimm-badge {
    background: #312e81;
    color: #c7d2fe;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 6px;
}

.drfun1-strimm-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.drfun1-stat-pill {
    background: #1e293b;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

/* 355k Matrix */
.drfun1-matrix-block {
    background: #0b0f19;
    border: 1px solid #e11d48;
    border-radius: 10px;
    padding: 16px;
    margin: 15px 0;
}

.drfun1-matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.drfun1-matrix-cell {
    background: #1e293b;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
}

.drfun1-matrix-cell strong {
    display: block;
    font-size: 20px;
    color: #fb7185;
}

.drfun1-matrix-footer {
    font-size: 11px;
    color: #94a3b8;
    margin: 0;
}

/* Eggdrop Stats */
.drfun1-eggdrop-stats-widget {
    background: #0f172a;
    border: 1px solid #8b5cf6;
    border-radius: 10px;
    padding: 14px;
    margin: 15px 0;
}

.drfun1-stats-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.drfun1-pulse {
    width: 8px;
    height: 8px;
    background: #a855f7;
    border-radius: 50%;
    animation: drfun1-pulse 1.2s infinite;
}

.drfun1-hub-code {
    margin-left: auto;
    font-family: monospace;
    font-size: 11px;
    color: #c084fc;
}

.drfun1-bots-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
}

.drfun1-bots-list li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
