.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-width: 90%;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.notification.success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.notification.error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.notification.info {
    background-color: #cce5ff;
    border-color: #b8daff;
    color: #004085;
}

@keyframes golden-glow {
    0% {
        box-shadow: 0 0 5px 0px gold;
    }
    50% {
        box-shadow: 0 0 20px 10px gold;
    }
    100% {
        box-shadow: 0 0 5px 0px gold;
    }
}

#watch-ad-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    animation: golden-glow 3s infinite;
    border-radius: 50%;
}

#watch-ad-button img {
    width: 51px;
    height: 51px;
    transition: transform 0.3s ease;
}

#watch-ad-button:hover img {
    transform: scale(1.1);
}

/* New styles for the ad container */
.ad-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
}

.ad-content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.ad-content {
    width: 100%;
    height: 0;
    padding-bottom: 83.33%; /* Maintains a 6:5 aspect ratio */
    position: relative;
    overflow: hidden;
}

.ad-content > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 480px) {
    .ad-content-wrapper {
        padding: 15px;
    }

    .ad-content-wrapper h2 {
        font-size: 1.2em;
    }

    .ad-content-wrapper p {
        font-size: 0.9em;
    }
}

