/* Site Footer */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--image-src);
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.site-footer .container,
.site-footer .row {
    position: relative;
    z-index: 1;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links li {
    display: inline-block;
}

.footer-links li a {
    color: #888;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.footer-links li a:hover {
    color: #d4af37;
}

/* Copyright */
.copyright {
    text-align: right;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Footer Separator */
.footer-separator {
    border: none;
    border-top: 1px solid #333;
    margin: 30px 0;
}

/* Site Description */
.site-description {
    padding: 30px 0;
}

.site-description h1 {
    font-size: 18px;
    color: #888;
    margin-bottom: 20px;
    font-weight: normal;
    line-height: 1.6;
}

.site-description p {
    color: #666;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.site-description a {
    color: #888;
    text-decoration: none;
    font-weight: normal;
}

.site-description a:hover {
    color: #d4af37;
    text-decoration: none;
}

/* Footer Section Title */
.footer-section-title {
    font-size: 13px;
    font-weight: normal;
    color: #888;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

/* Site Info Container */
.footer-info-row {
    margin-bottom: 40px;
}

.site-info-container {
    margin-bottom: 0;
}

.site-info {
    background: transparent;
    border: none;
    padding: 0;
    height: 100%;
}

.site-info-title {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 0;
    border-bottom: none;
}

.site-info-title i[data-icon] {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.site-info-title i[data-icon="service"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
}

.site-info-title i[data-icon="product"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 11 8.76l1-1.36 1 1.36L15.38 12 17 10.83 14.92 8H20v6z"/></svg>');
}

.site-info-title i[data-icon="help-and-service"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4af37"><path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"/></svg>');
}

.site-info-title h3 {
    font-size: 14px;
    color: #888;
    margin: 0 0 5px 0;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-info-title p {
    font-size: 11px;
    color: #666;
    margin: 0;
}

.site-info-description {
    margin-bottom: 25px;
}

.site-info-description.with-seperator {
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 20px;
}

.site-info-description.with-seperator:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-info-description h4 {
    font-size: 13px;
    color: #fff;
    margin: 0 0 8px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-info-description p {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

.site-info-description .time-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 10px;
}

/* Progress Container */
.progress-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.progress-bar-wrapper {
    flex: 1;
}

.progress-bar {
    height: 6px;
    background: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #555, #888);
    border-radius: 10px;
    transition: width 1s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.progress-time {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    min-width: 80px;
    text-align: right;
    line-height: 1;
    font-family: Arial, sans-serif;
}

.progress-time .time-unit {
    font-size: 14px;
    font-weight: normal;
    color: #888;
    margin-left: 2px;
}

/* Contact List */
.contact-list {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 12px;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

.contact-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 0;
}

.contact-list li a:hover {
    color: #d4af37;
    background: transparent;
    transform: none;
}

.contact-list li a:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-icon.telegram-icon {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
}

.contact-icon.whatsapp-icon {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
}

.contact-icon.facebook-icon {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
}

.contact-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-text {
    flex: 1;
    word-break: break-all;
}

/* Social Media List */
.social-media-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-media-list li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    background: #1877F2;
}

.social-media-list li a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.5);
}

.social-media-list li a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover List */
.hover-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.hover-list li {
    position: relative;
    cursor: pointer;
}

.hover-list li picture {
    display: block;
}

.hover-list li .default-logo {
    display: block;
}

.hover-list li .active-logo {
    display: none;
}

.hover-list li:hover .default-logo {
    display: none;
}

.hover-list li:hover .active-logo {
    display: block;
}

.hover-list li img {
    display: block;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.hover-list li:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* Certifications Row */
.row:has(.col-md-5) {
    align-items: flex-start;
    display: flex;
}

/* Left Column - Bersertifikasi Dari */
.col-md-5 {
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-5 .footer-section-title {
    text-align: left;
    margin-bottom: 15px;
}

.col-md-5 .hover-list {
    justify-content: flex-start;
}

/* Center Column - Tanggung Jawab Bermain */
.col-md-3 {
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-3 .footer-section-title {
    text-align: center;
    margin-bottom: 15px;
}

.col-md-3 .hover-list {
    justify-content: center;
}

/* Right Column - Browser Yang Didukung */
.col-md-4.supported-browser-container {
    text-align: right;
    padding-left: 15px;
    padding-right: 15px;
}

.supported-browser-container .footer-section-title {
    text-align: right;
    margin-bottom: 15px;
}

.supported-browser-container .hover-list {
    justify-content: flex-end;
}

/* Provider Section */
.provider-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 0;
    margin-top: 30px;
}

.provider-container {
    margin-bottom: 30px;
}

.provider-container:last-child {
    margin-bottom: 0;
}

.provider-container h5 {
    font-size: 16px;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.provider-list {
    gap: 20px;
}

.provider-list li {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.provider-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Powered By Link */
.powered-by-link {
    display: block;
    text-decoration: none;
}

/* Responsive */
@media (min-width: 768px) {
    /* Ensure proper Bootstrap grid behavior on desktop */
    .site-footer .row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .site-footer .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .site-footer .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .site-footer .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    
    .site-footer .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .footer-links {
        justify-content: flex-start;
        text-align: left;
    }
    
    .copyright {
        justify-content: flex-end;
        text-align: right;
        margin-top: 0;
    }
    
    .site-info-container {
        margin-bottom: 30px;
    }
    
    .col-md-5,
    .col-md-3,
    .col-md-4.supported-browser-container {
        margin-bottom: 20px;
    }
    
    .col-md-5 .hover-list,
    .col-md-3 .hover-list,
    .supported-browser-container .hover-list {
        justify-content: center;
    }
    
    .col-md-5 .footer-section-title,
    .col-md-3 .footer-section-title,
    .supported-browser-container .footer-section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .site-description h1 {
        font-size: 16px;
    }
    
    .site-description p {
        font-size: 12px;
    }
    
    .site-info {
        padding: 0;
    }
    
    .site-info-title {
        flex-direction: row;
        text-align: left;
    }
    
    .provider-list {
        justify-content: center;
    }
    
    .hover-list {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-section-title {
        font-size: 12px;
        text-align: center;
    }
    
    .progress-time {
        font-size: 24px;
        min-width: 60px;
    }
    
    .provider-list li {
        padding: 8px 12px;
    }
    
    .provider-list li img {
        max-width: 100px;
        height: auto;
    }
}

/* Additional Spacing */
.site-footer .row {
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
}

.site-footer .row + .row {
    margin-top: 0;
}

.site-footer [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.footer-separator {
    margin: 30px 0;
}

/* Alignment fixes */
.site-footer > .container > .row:first-child {
    display: flex;
    align-items: center;
}

.col-md-8 {
    display: flex;
    align-items: center;
    order: 1;
}

.col-md-4.copyright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    order: 2;
}

/* Footer Info Row spacing */
.footer-info-row {
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.footer-info-row .col-md-4 {
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
}

/* Certifications row alignment */
.row:has(.col-md-5, .col-md-3, .supported-browser-container) {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0;
    margin-bottom: 0;
    margin-left: -15px;
    margin-right: -15px;
}

.col-md-5,
.col-md-3,
.col-md-4.supported-browser-container {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
}

/* Provider section spacing */
.provider-section {
    padding: 40px 0 30px;
}

.provider-container {
    margin-bottom: 25px;
}

.provider-container h5 {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
    font-weight: normal;
    text-transform: none;
}
