/* Download APK Section - Sesuai Referensi */
.download-apk-container {
    background: #000;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* Efek cahaya kuning di background */
.download-apk-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.1) 30%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
}

.download-apk {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

/* Left Side - Phone Image */
.download-apk-left {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
}

.download-apk-left picture {
    display: block;
    position: relative;
}

.download-apk-left img {
    max-width: 566px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Right Side - Content */
.download-apk-right {
    flex: 1;
    padding-left: 80px;
    position: relative;
    z-index: 2;
}

.download-apk .h2 {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-apk .h2 strong {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.download-apk .h3 {
    font-size: 18px;
    font-weight: 400;
    color: #ccc;
    margin: 0 0 30px 0;
}

/* Download Info */
.download-apk-info {
    margin-top: 30px;
}

.download-apk-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.download-apk-qr-code {
    flex: 0 0 auto;
}

.download-apk-qr-code a {
    display: block;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-apk-qr-code a:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.download-apk-qr-code img {
    display: block;
    width: 94px;
    height: 94px;
}

.download-apk-detail {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-apk-detail .apk-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.download-apk-detail .btn-panduan {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #000;
    font-weight: bold;
    font-size: 13px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    align-self: flex-start;
    text-decoration: none;
}

.download-apk-detail .btn-panduan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

.qr-instruction {
    display: block;
    font-size: 13px;
    color: #999;
    margin-top: 15px;
}

.qr-instruction i {
    font-style: italic;
    color: #d4af37;
}

/* Modal - Improved Design */
.download-popup-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.download-popup-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.download-popup-modal .modal-dialog {
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
    animation: slideDown 0.3s ease;
}

.download-popup-modal .modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid #d4af37;
    border-radius: 20px;
    color: #fff;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

/* Decorative gradient overlay */
.download-popup-modal .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    z-index: 1;
}

.download-popup-modal .modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 25px 30px;
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
    position: relative;
}

.download-popup-modal .modal-title {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.download-popup-modal .close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0.7;
    font-size: 36px;
    font-weight: 300;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-popup-modal .close:hover {
    opacity: 1;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

.download-popup-modal .modal-body {
    padding: 35px 30px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

.download-popup-modal .modal-body > span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.download-popup-modal .modal-body > span img {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.5));
}

.download-popup-modal ol {
    padding-left: 25px;
    margin: 25px 0;
    counter-reset: step-counter;
    list-style: none;
}

.download-popup-modal ol li {
    font-size: 15px;
    color: #e0e0e0;
    margin-bottom: 16px;
    line-height: 1.7;
    position: relative;
    padding-left: 15px;
    counter-increment: step-counter;
}

.download-popup-modal ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: -25px;
    top: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.download-popup-modal ol li:hover {
    color: #fff;
}

.download-32-bit-cntr {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.download-32-bit-cntr::before {
    content: '⚠';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    color: rgba(212, 175, 55, 0.15);
}

.download-32-bit-cntr > div:first-child {
    font-size: 17px;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-32-bit-cntr > div:first-child::before {
    content: '💡';
    font-size: 20px;
}

.download-32-bit-cntr > div:last-child {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.download-32-bit-cntr a {
    color: #f4d03f;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.download-32-bit-cntr a:hover {
    color: #fff;
    border-bottom-color: #f4d03f;
}

/* Responsive */
@media (max-width: 1200px) {
    .download-apk {
        padding: 50px 30px;
    }
    
    .download-apk-right {
        padding-left: 60px;
    }
    
    .download-apk-left img {
        max-width: 450px;
    }
    
    .download-apk .h2 {
        font-size: 28px;
    }
    
    .download-apk .h2 strong {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .download-apk {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }
    
    .download-apk-right {
        padding-left: 0;
        padding-top: 30px;
    }
    
    .download-apk-left img {
        max-width: 380px;
    }
    
    .download-apk .h2 {
        font-size: 26px;
    }
    
    .download-apk .h2 strong {
        font-size: 32px;
    }
    
    .download-apk .h3 {
        font-size: 16px;
    }
    
    .download-apk-section {
        justify-content: center;
    }
    
    .qr-instruction {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .download-apk {
        padding: 30px 20px;
    }
    
    .download-apk-left img {
        max-width: 300px;
    }
    
    .download-apk .h2 {
        font-size: 22px;
    }
    
    .download-apk .h2 strong {
        font-size: 28px;
    }
    
    .download-apk .h3 {
        font-size: 15px;
    }
    
    .download-apk-qr-code img {
        width: 80px;
        height: 80px;
    }
    
    .download-apk-detail .apk-name {
        font-size: 15px;
    }
    
    .download-apk-detail .btn-panduan {
        padding: 9px 22px;
        font-size: 12px;
    }
    
    .qr-instruction {
        font-size: 12px;
    }
    
    /* Modal Responsive */
    .download-popup-modal .modal-dialog {
        width: 95%;
        margin: 15px auto;
    }
    
    .download-popup-modal .modal-header {
        padding: 20px 20px;
    }
    
    .download-popup-modal .modal-title {
        font-size: 22px;
        padding-right: 40px;
    }
    
    .download-popup-modal .close {
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 32px;
    }
    
    .download-popup-modal .modal-body {
        padding: 25px 20px;
    }
    
    .download-popup-modal .modal-body > span {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .download-popup-modal ol {
        padding-left: 20px;
    }
    
    .download-popup-modal ol li {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .download-32-bit-cntr {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .download-apk {
        padding: 25px 15px;
    }
    
    .download-apk-left img {
        max-width: 240px;
    }
    
    .download-apk .h2 {
        font-size: 18px;
    }
    
    .download-apk .h2 strong {
        font-size: 24px;
    }
    
    .download-apk .h3 {
        font-size: 13px;
    }
    
    .download-apk-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-apk-qr-code img {
        width: 70px;
        height: 70px;
    }
    
    .download-apk-detail {
        align-items: center;
    }
    
    .download-apk-detail .apk-name {
        font-size: 14px;
    }
    
    .download-apk-detail .btn-panduan {
        padding: 8px 20px;
        font-size: 11px;
        align-self: center;
    }
    
    .qr-instruction {
        font-size: 11px;
    }
    
    /* Modal Mobile */
    .download-popup-modal .modal-dialog {
        width: 96%;
        margin: 10px auto;
    }
    
    .download-popup-modal .modal-header {
        padding: 18px 15px;
    }
    
    .download-popup-modal .modal-title {
        font-size: 18px;
        padding-right: 35px;
    }
    
    .download-popup-modal .close {
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 28px;
    }
    
    .download-popup-modal .modal-body {
        padding: 20px 15px;
    }
    
    .download-popup-modal .modal-body > span {
        font-size: 16px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .download-popup-modal .modal-body > span img {
        width: 20px;
        height: 20px;
    }
    
    .download-popup-modal ol {
        padding-left: 18px;
        margin: 20px 0;
    }
    
    .download-popup-modal ol li {
        font-size: 13px;
        margin-bottom: 12px;
        padding-left: 12px;
    }
    
    .download-popup-modal ol li::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: -22px;
    }
    
    .download-32-bit-cntr {
        padding: 18px;
        margin-top: 25px;
    }
    
    .download-32-bit-cntr::before {
        font-size: 30px;
        top: 8px;
        right: 12px;
    }
    
    .download-32-bit-cntr > div:first-child {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .download-32-bit-cntr > div:last-child {
        font-size: 13px;
    }
}
