/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 15px;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

/* MAIN BOX */
.box {
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 14px;
    margin-top: 25px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.10);
}

/* LOGO */
#logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin: 0 auto 10px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* TEXT */
h2 {
    text-align: center;
    margin: 10px 0 25px;
    font-size: 26px;
}

/* SELECT + BUTTON */
select,
button {
    width: 100%;
    padding: 15px;
    margin-top: 12px;
    font-size: 18px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

button {
    background: #0066ff;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

#devBtn {
    background: #444;
}

#installBtn {
    background: #16a34a;
}

/* MESSAGE BOX */
#msg {
    margin-top: 15px;
    background: #eef5ff;
    padding: 15px;
    border-left: 4px solid #0066ff;
    font-size: 16px;
    display: block;
    transition: opacity .3s ease;
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
    z-index: 9999;
}

.modal.active {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 520px;
    height: 92vh;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: popup .35s ease;
}

@keyframes popup {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-top {
    padding: 14px;
    background: #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
}

.modal-top .btn-group {
    display: flex;
    gap: 10px;
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 0;
    border: 0;
}

@media (max-width:768px) {
    .modal-box {
        width: 100%;
        max-width: 100%;
        height: 96vh;
        border-radius: 16px;
    }
    .modal-top {
        flex-shrink: 0;
    }
    iframe {
        width: 100%;
        height: 100%;
    }
}

/* CLOSE + DOWNLOAD BUTTONS */
.close-btn {
    background: #ff3333;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#downloadPDFBtn {
    background: #0066ff;
}

/* DESKTOP */
@media (min-width:900px) {
    body {
        padding: 30px;
    }
    .box {
        padding: 35px;
    }
    h2 {
        font-size: 30px;
    }
}

/* ----------------------------------------
   FINAL LINK COLOR CONTROL CSS 
--------------------------------------- */
/* Correct LVHA Order */

/* Default: Blue */
a:link {
    color: #0066ff;
}

/* Visited = Blue (No purple) */
a:visited {
    color: #0066ff;
}

/* Hover: Red */
a:hover {
    color: #FF0000;
}

/* Click press: Red */
a:active {
    color: #FF0000;
}

/* PROFESSIONAL DEVELOPER MODAL */
.developer-modal {
    width: 100%;
    max-width: 430px;
    max-height: 90vh;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.dev-header {
    position: relative;
    text-align: center;
    padding: 32px 22px 28px;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    color: #fff;
}

.dev-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.dev-close::before,
.dev-close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 4px;
    border-radius: 4px;
    background: #fff;
    left: 50%;
    top: 50%;
    transform-origin: center;
}

.dev-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.dev-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dev-photo-wrap {
    width: 145px;
    height: 145px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 6px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.dev-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.dev-header h2 {
    margin: 8px 0 5px;
    font-size: 28px;
    font-weight: 800;
}

.dev-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    opacity: .95;
}

.dev-body {
    padding: 22px;
    text-align: left;
    overflow-y: auto;
}

.dev-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.dev-card b {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
    font-size: 15px;
}

.dev-card a,
.dev-card span {
    font-size: 15px;
    color: #0066ff;
    word-break: break-word;
    text-decoration: none;
}

.youtube-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 18px 0;
    padding: 15px 20px;
    background: #ff0000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(255, 0, 0, .28);
}

.dev-about {
    font-size: 15.5px;
    line-height: 1.7;
    color: #334155;
    text-align: center;
    background: #f1f5f9;
    padding: 15px;
    border-radius: 14px;
}

@media(max-width:480px) {
    .developer-modal {
        max-width: 94vw;
        border-radius: 20px;
    }
    .dev-header {
        padding: 28px 18px 24px;
    }
    .dev-photo-wrap {
        width: 130px;
        height: 130px;
    }
    .dev-header h2 {
        font-size: 26px;
    }
    .dev-body {
        padding: 18px;
        max-height: 58vh;
    }
}

/* Footer Animation */
@keyframes footerFadeUp {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#myFooter {
    animation: footerFadeUp 1.3s ease-out forwards;
    width: 100%;
    text-align: center;
    padding: 30px 10px;
    font-size: 8px;
    margin-top: 10px;
    opacity: 0;
}