/* Premium Ad Slot Styles */
.premium-ad-slot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Base Gradient + White Transparent Stripes Overlay */
    background-color: #6a11cb;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 0px,
            rgba(255, 255, 255, 0.15) 10px,
            transparent 10px,
            transparent 20px),
        linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sizes */
.ad-300x250 {
    width: 300px;
    height: 250px;
    max-width: 100%;
}

.ad-300x600 {
    width: 300px;
    height: 600px;
    max-width: 100%;
}

.ad-728x90 {
    width: 728px;
    height: 90px;
    max-width: 100%;
    height: auto;
    min-height: 90px;
    padding: 10px 20px;
    flex-direction: row;
    /* Horizontal layout for banner */
    justify-content: space-between;
}

.ad-responsive {
    width: 100%;
    min-height: 150px;
    padding: 20px;
}

/* Top Badge "Ad" */
.ad-badge-top {
    position: absolute;
    top: 15px;
    background: white;
    color: #6a11cb;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* For horizontal banner, move badge to left */
.ad-728x90 .ad-badge-top {
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    position: absolute;
}

/* Content Wrapper */
.ad-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.ad-728x90 .ad-content-wrapper {
    flex-direction: row;
    justify-content: space-between;
    padding-left: 40px;
    /* Space for badge */
}

/* Typography */
.ad-title-indo {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.ad-728x90 .ad-title-indo {
    font-size: 16px;
    margin-bottom: 0;
    text-align: left;
}

.ad-subtitle-eng {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 600;
}

.ad-728x90 .ad-subtitle-eng {
    display: none;
    /* Hide subtitle on small banner to save space */
}

/* Size Box */
.ad-size-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.ad-728x90 .ad-size-box {
    margin-bottom: 0;
    margin-right: 15px;
}

/* Status Text */
.ad-status {
    font-size: 11px;
    margin-bottom: 15px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ad-728x90 .ad-status {
    display: none;
}

/* Button */
.ad-btn-contact {
    background: white;
    color: #2575fc;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ad-btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #6a11cb;
}

/* Animation */
.premium-ad-slot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
    z-index: 1;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-728x90 {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .ad-728x90 .ad-badge-top {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .ad-728x90 .ad-content-wrapper {
        flex-direction: column;
        padding-left: 0;
        margin-top: 20px;
    }

    .ad-728x90 .ad-title-indo {
        text-align: center;
        margin-bottom: 10px;
    }

    .ad-728x90 .ad-size-box {
        margin-right: 0;
        margin-bottom: 10px;
    }
}