/* =========================================
   AJO89 INFORMATION HUB
   BLACK × METALLIC GOLD × DARK RED
========================================= */

.ajo89-feature-hub {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding: 18px;
    margin-top: 24px;

    border: 1px solid rgba(255, 211, 74, 0.82);
    border-radius: 20px;

    background:
        radial-gradient(
            circle at 15% 8%,
            rgba(0, 0, 0, 0.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 90%,
            rgba(0, 0, 0, 0.13),
            transparent 35%
        ),
        linear-gradient(
            160deg,
            #000000 0%,
            #000000 38%,
            #000000 72%,
            #000000 100%
        );

    box-shadow:
        0 0 18px rgba(0, 0, 0, 0.28),
        0 0 36px rgba(0, 0, 0, 0.22),
        0 0 52px rgba(0, 0, 0, 0.14),
        inset 0 0 24px rgba(255, 255, 255, 0.035);

    font-family: Arial, Helvetica, sans-serif;
}

.ajo89-feature-hub::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -55px;

    width: 190px;
    height: 190px;

    background:
        conic-gradient(
            from 40deg,
            transparent,
            rgba(0, 0, 0, 0.32),
            transparent 32%,
            rgba(0, 0, 0, 0.17),
            transparent 65%
        );

    filter: blur(6px);
    transform: rotate(18deg);
    pointer-events: none;
}

/* =========================================
   HEADER
========================================= */

.thunder-hub-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 12px;
    margin: -18px -18px 16px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #fed804 0%,
            #fed804 34%,
            #b77900 68%,
            #4e2c00 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);

    box-shadow:
        inset 0 2px 6px rgba(255, 255, 255, 0.42),
        inset 0 -7px 12px rgba(0, 0, 0, 0.38),
        0 0 20px rgba(255, 205, 38, 0.35);
}

.thunder-hub-header h2 {
    margin: 0;

    color: #180b00;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;

    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.52);
}

.thunder-hub-header p {
    margin: 4px 0 0;

    color: #2a1800;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.thunder-bolt {
    color: #180b00;
    font-size: 20px;

    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.74));
}

/* =========================================
   GRID
========================================= */

.thunder-hub-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

/* =========================================
   CARD
========================================= */

.thunder-hub-card {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 42px 1fr 18px;
    align-items: center;
    gap: 10px;

    min-height: 62px;
    padding: 10px 11px;

    border-radius: 13px;
    border: 1px solid rgba(255, 204, 61, 0.35);

    color: #ffffff;
    text-decoration: none;

    background:
        radial-gradient(
            circle at 10% 18%,
            rgba(0, 0, 0, 0.18),
            transparent 25%
        ),
        linear-gradient(
            100deg,
            rgba(0, 0, 0, 0.97),
            rgba(0, 0, 0, 0.98) 55%,
            rgba(0, 0, 0, 0.98)
        );

    box-shadow:
        inset 3px 0 0 #fed804,
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 13px rgba(0, 0, 0, 0.52);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.thunder-hub-card::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -85%;

    width: 48%;
    height: 190%;

    background:
        linear-gradient(
            115deg,
            transparent,
            rgba(174, 15, 27, 0.14),
            rgba(255, 255, 255, 0.65),
            rgba(255, 213, 57, 0.28),
            transparent
        );

    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.thunder-hub-card:hover {
    transform: translateY(-3px) scale(1.015);

    border-color: rgba(255, 214, 57, 0.92);
    filter: brightness(1.09);

    box-shadow:
        inset 4px 0 0 #ffd537,
        0 0 16px rgba(173, 13, 27, 0.42),
        0 0 27px rgba(110, 6, 15, 0.34),
        0 0 32px rgba(255, 211, 46, 0.18);
}

.thunder-hub-card:hover::before {
    left: 140%;
}

/* =========================================
   ICON
========================================= */

.thunder-icon {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;
    border: 1px solid rgba(255, 216, 74, 0.88);

    font-size: 18px;

    background:
        radial-gradient(
            circle at 35% 25%,
            #fff1a8 0%,
            #d89b19 43%,
            #6d3603 66%,
            #210a00 100%
        );

    box-shadow:
        inset 0 2px 5px rgba(255, 255, 255, 0.24),
        0 0 10px rgba(255, 196, 0, 0.40),
        0 0 18px rgba(159, 12, 24, 0.18);
}

/* =========================================
   CONTENT
========================================= */

.thunder-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.thunder-content strong {
    color: #fff8dd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.4px;
    text-transform: uppercase;

    text-shadow:
        0 0 7px rgba(255, 196, 0, 0.34);
}

.thunder-content small {
    color: #d8cdb7;
    font-size: 10px;
    line-height: 1.35;
}

/* =========================================
   ARROW
========================================= */

.thunder-arrow {
    position: relative;
    z-index: 2;

    color: #ffd537;
    font-size: 25px;
    font-weight: 700;

    text-shadow:
        0 0 8px rgba(255, 213, 55, 0.62);
}

/* =========================================
   FEATURED CARD
========================================= */

.thunder-ajo89-card {
    border-color: rgba(255, 209, 44, 0.58);

    background:
        radial-gradient(
            circle at 10% 18%,
            rgba(255, 203, 35, 0.13),
            transparent 25%
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(171, 12, 25, 0.15),
            transparent 30%
        ),
        linear-gradient(
            100deg,
            rgba(48, 7, 10, 0.97),
            rgba(8, 7, 7, 0.98) 55%,
            rgba(38, 24, 0, 0.97)
        );

    box-shadow:
        inset 3px 0 0 rgba(255, 205, 38, 0.90),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 13px rgba(0, 0, 0, 0.50);
}

/* =========================================
   FOOTER STATUS
========================================= */

.thunder-hub-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid rgba(255, 203, 52, 0.18);

    color: #d9cba7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.thunder-live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #ffd43f;

    box-shadow:
        0 0 6px rgba(255, 212, 63, 1),
        0 0 13px rgba(255, 212, 63, 0.72),
        0 0 20px #fed804;

    animation: thunderStatusPulse 1.25s ease-in-out infinite;
}

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

    50% {
        opacity: 0.5;
        transform: scale(0.75);
    }
}

/* =========================================
   CTA BUTTONS
========================================= */

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    margin-top: 20px;
}

.btn-premium {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    height: 58px;
    padding: 0 40px;

    border-radius: 14px;
    border: 1px solid #ffd84a;

    color: #fff4cf;
    background:
        linear-gradient(
            135deg,
            #fed804 0%,
            #fed804 50%,
            #fed804 100%
        );

    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.5px;

    box-shadow:
        inset 0 0 12px rgba(255, 220, 80, 0.28),
        0 10px 25px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(253, 208, 23, 0.26),
        0 0 15px rgba(153, 10, 22, 0.16);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

.btn-premium::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 30%,
            rgba(255, 255, 255, 0.62) 50%,
            transparent 70%
        );

    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.btn-premium:hover::before {
    transform: translateX(120%);
}

.btn-premium:hover {
    transform: translateY(-5px);
    filter: brightness(1.08);

    border-color: #fff0a0;
    color: #ffffff;

    box-shadow:
        inset 0 0 18px rgba(255, 230, 120, 0.42),
        0 18px 35px rgba(0, 0, 0, 0.80),
        0 0 42px rgba(253, 208, 23, 0.48),
        0 0 22px rgba(164, 12, 24, 0.32);
}

.btn-premium:active {
    transform: translateY(-1px);
}

/* =========================================
   TABLET
========================================= */

@media (min-width: 700px) {
    .thunder-hub-grid {
        grid-template-columns: 1fr 1fr;
    }

    .thunder-ajo89-card {
        grid-column: 1 / -1;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    .cta-buttons {
        gap: 12px;
    }

    .btn-premium {
        min-width: 150px;
        height: 52px;
        padding: 0 22px;

        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ajo89-feature-hub {
        padding: 14px;
        border-radius: 16px;
    }

    .thunder-hub-header {
        margin: -14px -14px 14px;
    }

    .thunder-hub-header h2 {
        font-size: 14px;
    }

    .thunder-hub-header p {
        font-size: 9px;
    }

    .thunder-bolt {
        font-size: 16px;
    }

    .thunder-hub-card {
        grid-template-columns: 38px 1fr 14px;
    }

    .thunder-icon {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }

    .thunder-content strong {
        font-size: 11px;
    }

    .thunder-content small {
        font-size: 9px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-premium {
        width: 100%;
        min-width: 0;
    }
}

/* Mengurangi animasi bagi pengguna yang memilih reduced motion */
@media (prefers-reduced-motion: reduce) {
    .thunder-live-dot {
        animation: none;
    }

    .thunder-hub-card,
    .thunder-hub-card::before,
    .btn-premium,
    .btn-premium::before {
        transition: none;
    }
}
