/* ==========================================================================
   DC++ Gaming Hub Widget - Full Exact Custom Styling (Fully Responsive)
   ========================================================================== */

/* Keyframe Animations */
@keyframes dchubSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dchubPulseBorder {
    0%, 100% { border-color: rgba(56, 189, 248, 0.6); box-shadow: 0 0 20px rgba(2, 132, 199, 0.3); }
    50% { border-color: rgba(251, 191, 36, 0.8); box-shadow: 0 0 25px rgba(245, 158, 11, 0.4); }
}

@keyframes dchubShimmer {
    0% { transform: translateX(-100%) rotate(30deg); }
    20% { transform: translateX(100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

@keyframes dchubStatusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Card Main Container - Mobile First Responsive */
.dchub-card {
    width: 100%;
    max-width: 100%; /* Seteaz? la 100% ca s? ocupe tot containerul site-ului t?u */
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.95) 0%, rgba(5, 12, 24, 0.98) 100%);
    border: 2px solid #0284c7;
    box-shadow: 0 0 25px rgba(2, 132, 199, 0.3), inset 0 0 15px rgba(2, 132, 199, 0.15);
    position: relative;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    user-select: none;
    box-sizing: border-box;
    margin: 0 auto;
    color: #e2e8f0;
}
.dchub-card *, .dchub-card *::before, .dchub-card *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.dchub-animated-border {
    animation: dchubPulseBorder 4s infinite ease-in-out;
}

/* Glow Elements */
.dchub-glow-top {
    position: absolute;
    top: -48px;
    left: -48px;
    width: 128px;
    height: 128px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
}

.dchub-glow-bottom {
    position: absolute;
    bottom: -48px;
    right: -48px;
    width: 128px;
    height: 128px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    filter: blur(24px);
    pointer-events: none;
}

/* Corners */
.dchub-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #fbbf24;
    pointer-events: none;
}

.dchub-corner-tl { top: 0; left: 0; border-top: 2px solid #fbbf24; border-left: 2px solid #fbbf24; border-top-left-radius: 10px; }
.dchub-corner-tr { top: 0; right: 0; border-top: 2px solid #fbbf24; border-right: 2px solid #fbbf24; border-top-right-radius: 10px; }
.dchub-corner-bl { bottom: 0; left: 0; border-bottom: 2px solid #fbbf24; border-left: 2px solid #fbbf24; border-bottom-left-radius: 10px; }
.dchub-corner-br { bottom: 0; right: 0; border-bottom: 2px solid #fbbf24; border-right: 2px solid #fbbf24; border-bottom-right-radius: 10px; }

/* Top Header */
.dchub-top-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #38bdf8;
    text-transform: uppercase;
    font-weight: 700;
}

.dchub-icon-shield {
    color: #fbbf24;
    font-size: 14px;
}

/* Logo Section */
.dchub-logo-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dchub-hex-spin {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: rgba(6, 182, 212, 0.3);
    animation: dchubSpin 20s linear infinite;
}

.dchub-shield-badge {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, #0c4a6e 0%, #020617 100%);
    border-radius: 50%;
    border: 2px solid #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

.dchub-gamepad-icon {
    font-size: 30px;
    filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.8));
}

.dchub-badge-247 {
    position: absolute;
    bottom: -4px;
    background: #f59e0b;
    color: #020617;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    z-index: 12;
}

/* Titles */
.dchub-title-block {
    margin: 12px 0;
}

.dchub-main-title {
    margin: 0;
    font-weight: 900;
    font-size: 24px;
    color: #67e8f9;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.25;
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.8), 0 0 20px rgba(6, 182, 212, 0.4);
}

.dchub-glow-gold-text {
    font-size: 30px;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8), 0 0 20px rgba(217, 119, 6, 0.5);
}
.dchub-gold-text {
    color: #fbbf24;
}

.dchub-pill-tag {
    display: inline-block;
    margin-top: 4px;
    background: rgba(8, 47, 73, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: 6px;
    padding: 2px 12px;
}

.dchub-pill-text {
    margin: 0;
    font-weight: 700;
    font-size: 12px;
    color: #67e8f9;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Inner Box Details */
.dchub-inner-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 14px;
    margin: 12px 0;
    text-align: left;
    font-size: 14px;
}

.dchub-subtitle-note {
    font-size: 12px;
    text-align: center;
    color: #cbd5e1;
    font-style: italic;
    margin: 0 0 8px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
    padding-bottom: 8px;
}

.dchub-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 4px;
    font-size: 12px;
    margin-bottom: 6px;
    gap: 8px;
}

.dchub-address-row {
    background: rgba(15, 23, 42, 0.9);
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #0c4a6e;
    margin-bottom: 8px;
}

.dchub-label {
    color: #38bdf8;
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.dchub-label-icon {
    margin-right: 6px;
}

.dchub-val-gold {
    font-family: monospace;
    font-weight: 700;
    color: #fde047;
}

.dchub-copy-btn {
    font-family: monospace;
    font-weight: 700;
    color: #fde047;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dchub-copy-btn:hover {
    background: rgba(245, 158, 11, 0.25);
    color: #fef08a;
}

.dchub-copy-icon {
    font-size: 10px;
}

.dchub-gold-link {
    color: #fbbf24;
    transition: all 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.dchub-gold-link:hover {
    color: #fef08a;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
}

.dchub-desc-block {
    padding-top: 8px;
    border-top: 1px solid rgba(51, 65, 85, 0.6);
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    word-break: break-word;
}

.dchub-desc-title {
    color: #fbbf24;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

/* CTA Button */
.dchub-cta-wrapper {
    margin-top: 16px;
}

.dchub-btn-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 12px;
    border-radius: 8px;
    font-weight: 900;
    color: #020617;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #fde047;
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.dchub-btn-gold:hover {
    background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 50%, #d97706 100%);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8), 0 0 35px rgba(251, 191, 36, 0.4);
    transform: translateY(-2px) scale(1.02);
    color: #020617;text-decoration: none;
}

.dchub-btn-gold:active {
    transform: translateY(1px) scale(0.99);
}

.dchub-btn-gold::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: rotate(30deg);
    animation: dchubShimmer 3.5s infinite;
}

/* Status Indicator */
.dchub-status-footer {
    margin-top: 12px;
    font-size: 10px;
    color: rgba(56, 189, 248, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.dchub-status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #34d399;
    border-radius: 50%;
    margin-right: 4px;
    animation: dchubStatusPulse 1.5s infinite ease-in-out;
}

/* Notification Toast */
.dchub-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #fbbf24;
    color: #020617;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    white-space: nowrap;
    max-width: 90vw;
    text-align: center;
}

.dchub-toast.dchub-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media screen and (min-width: 768px) {
    .dchub-card {
        max-width: 420px; /* Limiteaz? doar pe desktop mare, pe 700px r?māne fluid */
    }
}
/* ==========================================================================
   Media Queries for Ultra-Small Mobile Screens (< 380px)
   ========================================================================== */
@media screen and (max-width: 380px) {
    .dchub-card {
        padding: 14px 10px;
        border-radius: 8px;
    }

    .dchub-top-bar {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .dchub-main-title {
        font-size: 20px;
    }

    .dchub-glow-gold-text {
        font-size: 24px;
    }

    .dchub-logo-wrapper {
        width: 80px;
        height: 80px;
    }

    .dchub-shield-badge {
        width: 66px;
        height: 66px;
    }

    .dchub-gamepad-icon {
        font-size: 24px;
    }

    .dchub-inner-box {
        padding: 10px;
    }

    .dchub-info-row {
        font-size: 11px;
    }

    .dchub-btn-gold {
        font-size: 11px;
        padding: 10px 8px;
    }

    .dchub-address-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .dchub-copy-btn {
        width: 100%;
        justify-content: center;
    }
}