.rewarded-ad-screen {
    position: absolute;
    inset: 0;
    z-index: 9999;

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

    background: linear-gradient(
        145deg,
        #061827,
        #0a2a43 55%,
        #062f35
    );

    font-family: "myOtherOtherFont", sans-serif;
    color: white;
}

.rewarded-ad-content {
    width: min(88%, 500px);
    padding: 35px 25px;

    text-align: center;

    border: 2px solid #00e5ff;
    border-radius: 16px;

    background: linear-gradient(
        160deg,
        #0b263d,
        #092f38
    );

    box-shadow:
        0 0 18px rgba(0, 229, 255, 0.35),
        inset 0 0 25px rgba(0, 229, 255, 0.08);
}

.rewarded-ad-content h2 {
    margin: 0 0 15px;

    font-family: "myFont", sans-serif;
    font-size: clamp(26px, 5vw, 40px);

    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.rewarded-ad-content p {
    margin: 0 auto 30px;

    max-width: 400px;

    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.4;

    color: #d9faff;
}

.rewarded-ad-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rewarded-ad-buttons button {
    min-width: 140px;
    min-height: 50px;
    padding: 10px 20px;

    border: 2px solid #00e5ff;
    border-radius: 8px;

    background: #073b4c;
    color: white;

    font-family: "myFont", sans-serif;
    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.rewarded-ad-buttons button:hover {
    background: #07566b;

    box-shadow:
        0 0 12px rgba(0, 229, 255, 0.5);

    transform: translateY(-2px);
}

.rewarded-ad-buttons button:active {
    transform: translateY(0);
}

.rewarded-ad-buttons button:last-child {
    border-color: #78909c;
    background: #26343a;
    color: #cfd8dc;
}

.rewarded-ad-buttons button:last-child:hover {
    background: #37474f;
    box-shadow: none;
}

#adLoadingOverlay {
    position: absolute;
    inset: 0;

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

    background: rgba(3, 15, 24, 0.96);

    z-index: 10;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;

    text-align: center;
}

.loading-content p {
    margin: 0;

    font-family: "myOtherOtherFont", sans-serif;
    font-size: clamp(18px, 4vw, 26px);

    color: #00e5ff;
}

.spinner {
    width: 55px;
    height: 55px;

    border: 5px solid rgba(0, 229, 255, 0.2);
    border-top-color: #00e5ff;
    border-radius: 50%;

    animation: rewardedAdSpin 0.9s linear infinite;
}

@keyframes rewardedAdSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (orientation: portrait) {
    .rewarded-ad-content {
        width: min(82%, 500px);
        padding: 30px 20px;
    }

    .rewarded-ad-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rewarded-ad-buttons button {
        width: min(80%, 280px);
    }
}