@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #09111f;
    --surface: #111d30;
    --surface2: #182840;
    --gold: #d5ae62;
    --gold-light: #f1d394;
    --white: #ffffff;
    --muted: #94a3b8;
    --border: rgba(255,255,255,0.08);
    --green: #54d69a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAVIGATION */

.navbar {
    height: 78px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background: rgba(9,17,31,.94);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 43px;
    height: 43px;
    background: var(--gold);
    color: var(--bg);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 23px;
    font-weight: 900;
}

.brand-logo img,
.app-icon-inner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    display: block;
}

.brand-logo:has(img) {
    background: transparent;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-text strong {
    font-size: 16px;
    letter-spacing: 2px;
}

.brand-text small {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.official-status {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    display: inline-block;
    border-radius: 50%;
    margin-right: 7px;
}

/* MAIN */

.main-container {
    width: 100%;
    max-width: 800px;
    padding: 65px 25px 80px;
    margin: auto;
}

/* HERO */

.hero {
    text-align: center;
    margin-bottom: 75px;
}

.hero-label,
.eyebrow {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.app-icon {
    width: 115px;
    height: 115px;
    border-radius: 30px;
    margin: 25px auto;
    padding: 4px;
    background: linear-gradient(145deg, var(--gold-light), #87652e);
    box-shadow: 0 15px 50px rgba(213,174,98,.15);
}

.app-icon-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #203653, #09111f);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.app-icon-inner span {
    font-weight: 900;
    font-size: 23px;
    letter-spacing: 1px;
    color: var(--gold);
}

.icon-line {
    height: 2px;
    width: 40px;
    background: var(--gold);
    margin: 5px;
}

.app-icon-inner small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
}

.hero h1 {
    font-size: clamp(29px, 6vw, 43px);
    line-height: 1.2;
    letter-spacing: -1.5px;
    font-weight: 900;
    margin-top: 20px;
}

.hero h1 span {
    display: block;
    color: var(--gold);
}

.hero-description {
    color: var(--muted);
    font-size: 13px;
    margin-top: 15px;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(84,214,154,.09);
    color: var(--green);
    padding: 8px 15px;
    border-radius: 30px;
    margin-top: 22px;
    font-size: 11px;
}

.version-badge strong {
    margin-left: 4px;
}

/* SECTION HEADINGS */

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 25px;
    margin-top: 8px;
}

.section-heading p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px;
}

/* PORTALS */

.portal-section {
    margin-bottom: 70px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.portal-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: .25s;
}

.portal-card:hover {
    border-color: rgba(213,174,98,.4);
    transform: translateY(-4px);
}

.portal-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(213,174,98,.12);
    color: var(--gold);
    font-weight: 800;
    font-size: 11px;
}

.portal-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.portal-card p {
    color: var(--muted);
    font-size: 11px;
}

/* DOWNLOAD */

.download-section {
    padding: 30px;
    background: var(--surface);
    border: 1px solid rgba(213,174,98,.2);
    border-radius: 22px;
    box-shadow: 0 20px 70px rgba(0,0,0,.2);
}

.download-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.download-header h2 {
    font-size: 22px;
    margin-top: 5px;
}

.download-header p {
    color: var(--muted);
    font-size: 11px;
}

.apk-label {
    padding: 12px;
    border-radius: 12px;
    background: rgba(213,174,98,.12);
    color: var(--gold);
    font-size: 14px;
    font-weight: 900;
}

.file-details {
    padding: 15px 18px;
    background: var(--surface2);
    border-radius: 13px;
    margin-bottom: 22px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span {
    color: var(--muted);
}

.detail-row strong {
    text-align: right;
    overflow-wrap: anywhere;
    font-weight: 600;
}

/* DOWNLOAD BUTTON */

.download-button {
    min-height: 65px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(110deg, var(--gold), var(--gold-light));
    color: #101827;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 900;
    transition: .25s;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(213,174,98,.2);
}

.download-button:active {
    transform: scale(.98);
}

.download-button.disabled {
    opacity: .5;
    pointer-events: none;
}

.download-icon {
    font-size: 28px;
}

.download-button small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-align: center;
    opacity: .7;
}

.button-arrow {
    font-size: 20px;
}

.download-message {
    color: var(--muted);
    text-align: center;
    font-size: 10px;
    margin-top: 15px;
}

/* INSTALLATION */

.installation-section {
    margin-top: 75px;
}

.installation-steps {
    display: grid;
    gap: 13px;
}

.installation-step {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    background: var(--surface);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    transition: .2s;
}

.installation-step:hover {
    border-color: rgba(213,174,98,.3);
}

.step-number {
    color: var(--gold);
    font-weight: 900;
    font-size: 17px;
}

.step-content h3 {
    font-size: 13px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 11px;
    color: var(--muted);
}

/* SECURITY */

.security-notice {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding: 22px;
    background: rgba(213,174,98,.06);
    border: 1px solid rgba(213,174,98,.2);
    border-radius: 14px;
}

.security-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.security-notice h3 {
    font-size: 13px;
    margin-bottom: 5px;
}

.security-notice p {
    color: var(--muted);
    font-size: 11px;
}

/* ABOUT */

.release-section {
    margin-top: 70px;
}

.release-section h2 {
    font-size: 24px;
    margin: 8px 0 12px;
}

.release-section > p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 25px;
}

.release-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
}

.release-info span {
    color: var(--muted);
}

.release-info strong {
    text-align: right;
}

/* FOOTER */

.footer {
    padding: 35px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 7px;
}

.footer-line {
    width: 45px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto;
}

.footer .copyright {
    font-size: 10px;
}

.footer-version {
    font-size: 9px;
    color: #63738a;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* MOBILE */

@media(max-width: 600px) {

    .navbar {
        height: 70px;
        padding: 0 18px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .official-status {
        font-size: 8px;
        letter-spacing: .5px;
    }

    .main-container {
        padding: 48px 18px 65px;
    }

    .hero {
        margin-bottom: 55px;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-card {
        padding: 17px;
    }

    .download-section {
        padding: 21px 17px;
    }

    .download-header h2 {
        font-size: 19px;
    }

    .detail-row {
        font-size: 10px;
    }

    .download-button {
        gap: 9px;
        padding: 12px;
    }

    .installation-section {
        margin-top: 60px;
    }

    .release-section {
        margin-top: 55px;
    }

}

@media(prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
