/* =========================================================
   FAROELOTTO - LIVE DRAW RESULT
   ========================================================= */

.live-result-section {
    padding-top: var(--space-xl);
}


/* =========================================================
   MAIN CARD
   ========================================================= */

.live-result-card {
    position: relative;

    overflow: hidden;

    padding: 30px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(245, 196, 81, 0.08),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #081522,
            #040D18
        );

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow:
        var(--shadow-card),
        0 0 50px rgba(245, 196, 81, 0.04);
}


/* Decorative glow */

.live-result-card::before {
    content: "";

    position: absolute;

    top: -120px;
    left: 50%;

    width: 360px;
    height: 360px;

    transform: translateX(-50%);

    background:
        radial-gradient(
            circle,
            rgba(245, 196, 81, 0.07),
            transparent 65%
        );

    pointer-events: none;
}


/* =========================================================
   HEADER
   ========================================================= */

.live-result-header {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 1;
}


.live-result-title {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;
}


.live-result-title h1 {
    color: var(--color-white);

    font-size: var(--font-xl);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}


/* =========================================================
   RESULT NUMBERS
   ========================================================= */

.result-number-area {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-top: 34px;

    z-index: 1;
}


.result-ball {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 28%,
            #243344 0%,
            #101C29 38%,
            #050C15 75%,
            #02070D 100%
        );

    border: 2px solid var(--color-gold);

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.04),
        0 0 18px rgba(245, 196, 81, 0.18),
        0 0 45px rgba(245, 196, 81, 0.08);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal);
}


.result-ball::before {
    content: "";

    position: absolute;

    top: 9px;
    left: 18px;

    width: 28px;
    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);

    transform: rotate(-25deg);

    filter: blur(2px);
}


.result-ball:hover {
    transform: translateY(-4px);

    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.05),
        0 0 25px rgba(245, 196, 81, 0.35),
        0 0 60px rgba(245, 196, 81, 0.14);
}


.result-ball span {
    position: relative;

    color: var(--color-gold-light);

    font-size: 64px;

    font-weight: 800;

    line-height: 1;

    text-shadow:
        0 0 12px rgba(245, 196, 81, 0.30);

    z-index: 1;
}


/* =========================================================
   DRAW STATUS
   ========================================================= */

.result-status {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: fit-content;

    margin: 24px auto 0;

    padding: 8px 16px;

    border-radius: 999px;

    background: rgba(245, 196, 81, 0.07);

    border: 1px solid rgba(245, 196, 81, 0.20);

    color: var(--color-gold);

    font-size: var(--font-sm);

    font-weight: 800;

    letter-spacing: 0.4px;

    z-index: 1;
}


.result-status-icon {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: var(--color-gold);

    color: #101010;

    font-size: 12px;

    font-weight: 900;
}


/* =========================================================
   INFORMATION
   ========================================================= */

.result-information {
    position: relative;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    margin-top: 28px;

    z-index: 1;
}


.result-info-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 76px;

    padding: 12px;

    background: rgba(3, 10, 20, 0.55);

    border: 1px solid var(--color-border-soft);

    border-radius: var(--radius-md);

    text-align: center;
}


.result-info-label {
    color: var(--color-text-muted);

    font-size: var(--font-xs);

    font-weight: 700;

    letter-spacing: 0.8px;
}


.result-info-item strong {
    margin-top: 5px;

    color: var(--color-text);

    font-size: var(--font-sm);

    font-weight: 700;
}


.result-info-item .status-completed {
    color: var(--color-success);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .result-ball {
        width: 100px;
        height: 100px;
    }

    .result-ball span {
        font-size: 52px;
    }

    .result-number-area {
        gap: 14px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .live-result-card {
        padding: 22px 16px;
    }

    .live-result-title {
        flex-direction: column;

        gap: 8px;
    }

    .live-result-title h1 {
        font-size: 19px;

        text-align: center;
    }

    .result-number-area {
        gap: 8px;

        margin-top: 28px;
    }

    .result-ball {
        width: 68px;
        height: 68px;
    }

    .result-ball span {
        font-size: 36px;
    }

    .result-ball::before {
        top: 6px;
        left: 10px;

        width: 18px;
        height: 8px;
    }

    .result-information {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 22px;
    }
}


@media (max-width: 380px) {

    .result-ball {
        width: 60px;
        height: 60px;
    }

    .result-ball span {
        font-size: 31px;
    }

    .result-number-area {
        gap: 6px;
    }
}