/* =========================================
   MONSTER WARLORD VPN GUIDE
   ========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


:root {
    --bg: #080a0f;
    --card: #11141b;
    --card-light: #171b23;

    --border: #252b36;

    --text: #f1f3f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --accent: #ffb800;
    --accent-light: #ffd45c;

    --green: #35d07f;

    --radius: 16px;
}


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            #1a1b1e 0%,
            var(--bg) 40%
        );

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;

    -webkit-tap-highlight-color: transparent;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


.guide-container {
    width: 100%;
    max-width: 600px;

    margin: 0 auto;

    padding: 18px 14px 40px;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    text-align: center;

    padding: 30px 10px 32px;
}


.hero-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 184, 0, 0.35);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #26200c,
            #12130f
        );

    color: var(--accent);

    font-size: 30px;

    box-shadow:
        0 0 30px rgba(255, 184, 0, 0.08);
}


.hero h1 {
    font-size: 25px;

    font-weight: 900;

    letter-spacing: 1.5px;

    line-height: 1.2;
}


.hero h2 {
    margin-top: 4px;

    color: var(--accent);

    font-size: 15px;

    letter-spacing: 3px;

    font-weight: 800;
}


.hero p {
    max-width: 400px;

    margin: 14px auto 0;

    color: var(--text-secondary);

    font-size: 13px;
}


/* =========================================
   STEP CARD
   ========================================= */

.step-card {
    position: relative;

    display: flex;

    gap: 14px;

    margin-bottom: 14px;

    padding: 20px 16px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.025),
            rgba(255,255,255,0.01)
        );

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}


.step-number {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 184, 0, 0.10);

    border: 1px solid rgba(255, 184, 0, 0.22);

    color: var(--accent);

    font-size: 13px;

    font-weight: 900;
}


.step-content {
    min-width: 0;
    width: 100%;
}


.step-label {
    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.step-content h3 {
    margin-top: 2px;

    font-size: 19px;

    line-height: 1.3;
}


.step-content > p {
    margin-top: 8px;

    color: var(--text-secondary);

    font-size: 13px;
}


.step-content strong {
    color: var(--text);
}


/* =========================================
   DOWNLOAD BUTTONS
   ========================================= */

.download-buttons {
    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-top: 18px;
}


.download-btn {
    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 58px;

    padding: 10px 14px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: var(--card-light);

    color: var(--text);

    text-decoration: none;

    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        background 0.15s ease;
}


.download-btn:active {
    transform: scale(0.98);
}


.download-btn:hover {
    border-color: #3a414e;
}


.download-btn .btn-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #20252d;

    font-size: 16px;
}


.download-btn span:last-child {
    display: flex;

    flex-direction: column;

    font-size: 14px;

    font-weight: 700;
}


.download-btn small {
    color: var(--text-muted);

    font-size: 8px;

    letter-spacing: 1px;

    line-height: 1.3;
}


.playstore .btn-icon {
    color: #65d4ff;
}


.github .btn-icon {
    color: #ffffff;
}


/* =========================================
   VLESS CONFIG
   ========================================= */

.config-box {
    margin-top: 16px;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #080a0e;
}


.config-box textarea {
    display: block;

    width: 100%;

    min-height: 110px;

    padding: 14px;

    resize: none;

    border: 0;
    outline: 0;

    background: transparent;

    color: #d5d9df;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 11px;

    line-height: 1.6;
}


.copy-btn {
    width: 100%;

    min-height: 52px;

    margin-top: 10px;

    border: 1px solid rgba(255, 184, 0, 0.35);

    border-radius: 11px;

    background: var(--accent);

    color: #111;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.7px;

    cursor: pointer;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}


.copy-btn:active {
    transform: scale(0.98);
}


.copy-btn.copied {
    background: var(--green);

    border-color: var(--green);
}


.copy-icon {
    margin-right: 5px;
}


.copy-status {
    min-height: 20px;

    margin-top: 7px;

    text-align: center;

    color: var(--green);

    font-size: 11px;
}


/* =========================================
   TUTORIAL SCREENSHOTS
   ========================================= */

.tutorial-item {
    margin-top: 22px;
}


.tutorial-title {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 10px;
}


.tutorial-title span {
    width: 29px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 8px;

    background: rgba(255, 184, 0, 0.10);

    border: 1px solid rgba(255, 184, 0, 0.2);

    color: var(--accent);

    font-size: 10px;

    font-weight: 900;
}


.tutorial-title strong {
    font-size: 13px;
}


.image-wrapper {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #080a0e;
}


.tutorial-image {
    display: block;

    width: 100%;

    height: auto;

    cursor: zoom-in;

    transition: opacity 0.2s ease;
}


.tutorial-image:active {
    opacity: 0.8;
}


/* =========================================
   INFO BOX
   ========================================= */

.info-box {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 16px;

    padding: 13px;

    border: 1px solid rgba(255, 184, 0, 0.18);

    border-radius: 11px;

    background: rgba(255, 184, 0, 0.05);
}


.info-icon {
    flex-shrink: 0;

    color: var(--accent);

    font-size: 16px;
}


.info-box p {
    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   SUCCESS
   ========================================= */

.success-box {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 18px;

    padding: 14px;

    border: 1px solid rgba(53, 208, 127, 0.25);

    border-radius: 11px;

    background: rgba(53, 208, 127, 0.06);

    color: var(--green);

    font-size: 12px;

    letter-spacing: 1px;
}


.success-box span {
    font-size: 18px;
}


/* =========================================
   IMAGE MODAL
   ========================================= */

.image-modal {
    position: fixed;

    inset: 0;

    z-index: 1000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 15px;

    background: rgba(0, 0, 0, 0.92);
}


.image-modal.active {
    display: flex;
}


.image-modal img {
    max-width: 100%;
    max-height: 90vh;

    width: auto;
    height: auto;

    border-radius: 10px;

    object-fit: contain;
}


.modal-close {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    border: 1px solid #333;

    border-radius: 50%;

    background: #17191e;

    color: #fff;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    padding: 25px 10px 5px;

    text-align: center;
}


.footer-line {
    width: 50px;
    height: 2px;

    margin: 0 auto 14px;

    background: var(--accent);

    opacity: 0.5;
}


.footer p {
    color: #7f8794;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.footer span {
    display: block;

    margin-top: 3px;

    color: #555d68;

    font-size: 9px;
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 360px) {

    .guide-container {
        padding-left: 10px;
        padding-right: 10px;
    }


    .step-card {
        padding: 17px 13px;

        gap: 10px;
    }


    .step-number {
        width: 36px;
        height: 36px;
    }


    .hero h1 {
        font-size: 22px;
    }

}

/* =========================================
   NEXT INSTRUCTION NOTE
   ========================================= */

.instruction-note {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 14px;

    padding: 13px;

    border: 1px solid rgba(255, 184, 0, 0.20);

    border-radius: 11px;

    background: rgba(255, 184, 0, 0.05);
}


.instruction-icon {
    flex-shrink: 0;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255, 184, 0, 0.12);

    color: var(--accent);

    font-size: 15px;

    font-weight: 900;
}


.instruction-content {
    min-width: 0;
}


.instruction-content strong {
    color: var(--accent);

    font-size: 12px;
}


.instruction-content p {
    margin-top: 3px;

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.55;
}


.instruction-content p strong {
    color: var(--text);
}


/* =========================================
   APK DOWNLOAD NOTE
   ========================================= */

.apk-link {
    color: var(--accent);

    text-decoration: none;

    font-weight: 800;
}


.apk-link:hover {
    text-decoration: underline;
}

/* =========================================
   WHATSAPP CONTACT
   ========================================= */

.whatsapp-btn {
    display: flex;

    align-items: center;

    gap: 11px;

    width: 100%;

    min-height: 56px;

    margin-top: 12px;

    padding: 10px 14px;

    border: 1px solid rgba(37, 211, 102, 0.3);

    border-radius: 11px;

    background: rgba(37, 211, 102, 0.08);

    color: var(--text);

    text-decoration: none;

    transition:
        transform 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}


.whatsapp-btn:active {
    transform: scale(0.98);
}


.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.13);

    border-color: rgba(37, 211, 102, 0.5);
}


.whatsapp-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: #25d366;

    color: #fff;

    font-size: 20px;

    font-weight: 900;
}


.whatsapp-text {
    display: flex;

    flex-direction: column;

    font-size: 13px;

    font-weight: 800;
}


.whatsapp-text small {
    color: #25d366;

    font-size: 8px;

    letter-spacing: 1px;

    line-height: 1.4;
}