.main-content-wrapper {
    border: 2px solid #1a237e;
    border-radius: 5px;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(26, 35, 126, 0.5);
    background: rgba(26, 35, 126, 0.05);
    overflow: hidden;
}

@media (max-width: 768px) {
    .main-content-wrapper {
        margin: 10px;
    }
}

hr {
    border: 1px solid #1a237e;
    margin: 5px 0;
    opacity: 0.5;
}

/* Menyesuaikan container di dalam wrapper */
.main-content-wrapper .container {
    padding: 0;
}

.text-running-container {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to right, #1a237e, #0d47a1);
    padding: 8px 0;
    margin-bottom: 0;
}

.text-running {
    display: inline-block;
    white-space: nowrap;
    animation: running-text 35s linear infinite;
    color: #ffd700;
    font-weight: bold;
    width: max-content;
}

@keyframes running-text {
    0% {
        transform: translateX(55%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 10px;
    margin: 0 auto;
    max-width: 100%;
}

/* Base Button Styles */
.button, .button2, .button3, .button4 {
    position: relative;
    flex: 1;
    min-width: 120px;
    max-width: 180px;
    height: 45px;
    margin: 0;
    padding: 0;
    border: none;
    background: linear-gradient(45deg, #1a237e, #0d47a1);
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.button::before, .button2::before, .button3::before, .button4::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.button:hover::before, .button2:hover::before, .button3:hover::before, .button4:hover::before {
    left: 100%;
}

.button a, .button2 a, .button3 a, .button4 a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFD700;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.button:hover, .button2:hover, .button3:hover, .button4:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #0d47a1, #1a237e);
}

.button:active, .button2:active, .button3:active, .button4:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .text-running-container {
        padding: 5px 0;
    }

    hr {
        margin: 3px 0;
    }

    .button-container {
        padding: 5px;
        gap: 4px;
        justify-content: space-between;
    }

    .button, .button2, .button3, .button4 {
        flex: 1;
        min-width: 0;
        max-width: none;
        height: 40px;
    }

    .button a, .button2 a, .button3 a, .button4 a {
        font-size: 10px;
        padding: 0;
        flex-direction: column;
        gap: 1px;
        line-height: 1;
    }

    .button i, .button2 i, .button3 i, .button4 i {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .button span, .button2 span, .button3 span, .button4 span {
        font-size: 9px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
    }
}

/* Khusus untuk layar sangat kecil */
@media (max-width: 360px) {
    .button-container {
        gap: 3px;
        padding: 5px 3px;
    }

    .button, .button2, .button3, .button4 {
        height: 38px;
    }

    .button i, .button2 i, .button3 i, .button4 i {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .button span, .button2 span, .button3 span, .button4 span {
        font-size: 8px;
    }
}

/* promo */
.promo-container {
    cursor: pointer;
    background: #000000;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin: 0 auto 1px auto;
    border: 2px solid #1a237e;
}

.promo-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    filter: brightness(1);
    transition: filter 0.7s ease;
}

.promo-image.clicked {
    filter: brightness(0.5);
}

.promo-image.show-description {
    filter: brightness(1);
}

.promo-description {
    background: #000000;
    padding: 15px 25px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 0;
    animation: fadeIn 0.3s ease-in;
    font-family: monospace !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.promo-description.showing {
    opacity: 1;
    max-height: 2000px;
    padding: 15px 25px;
    transition: all 0.5s ease-out;
}

.promo-description.hiding {
    opacity: 0;
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
}

.promo-description h1 {
    text-align: left;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #004cff;
    font-family: monospace !important;
}

.promo-description h2 {
    text-align: left;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    font-family: monospace !important;
}

.promo-description p {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: left;
    font-family: monospace !important;
}

.promo-description ul {
    font-size: 13px;
    margin-bottom: 8px;
    text-align: left;
    font-family: monospace !important;
    list-style: none;
    /* Menghapus bullet points default */
    padding-left: 0;
    /* Menghapus padding default */
}

.promo-description blockquote {
    background-color: rgba(13, 71, 161, 0.1);
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0;
}

.promo-description li {
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .promo-description h1 {
        font-size: 18px;
    }

    .promo-description h2 {
        font-size: 14px;
    }

    .promo-description p {
        font-size: 12px;
    }

    .text-running {
        font-size: 14px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1a237e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d47a1;
}

/* Status Indicator Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

.status-indicator {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
    pointer-events: none;
    user-select: none;
    min-width: 80px;
    transition: all 0.3s ease;
}

.status-online {
    background-color: #4CAF50;
    animation: pulse 2s infinite;
}

.status-offline {
    background-color: #F44336;
    animation: pulseRed 2s infinite;
}

/* Background styles */
body {
    background: url('../images/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Payment Section Styles */
@media (max-width: 767px) {
    .status-indicator {
        font-size: 8px;
        padding: 3px 8px;
        min-width: 60px;
    }

    /* Logo container styles for mobile */
    [class*='col-'] .text-center .mb-2 div:first-child {
        height: 25px !important;
        margin-bottom: 4px !important;
    }

    /* Payment section title for mobile */
    .p-3.rounded.mb-4 h3 {
        font-size: 20px !important;
    }

    /* Adjust row spacing */
    .row.g-2 {
        gap: 0.5rem !important;
    }
}

@media (max-width: 576px) {
    .status-indicator {
        font-size: 7px;
        padding: 2px 6px;
        min-width: 50px;
        letter-spacing: 0.5px;
    }

    /* Even smaller logos for very small screens */
    [class*='col-'] .text-center .mb-2 div:first-child {
        height: 20px !important;
    }

    /* Smaller title for very small screens */
    .p-3.rounded.mb-4 h3 {
        font-size: 18px !important;
    }
}

/* Update existing media queries */
@media (max-width: 768px) {
    .main-content-wrapper {
        margin: 10px;
    }

    .text-running-container {
        padding: 5px 0;
    }

    hr {
        margin: 3px 0;
    }
}