/* =========================
   VARIABLES
========================= */

:root {
    --bg: #0b0d12;
    --surface: #12151d;
    --surface-hover: #181c26;

    --text: #f4f5f7;
    --muted: #9298a7;

    --accent: #a3e635;
    --border: rgba(255, 255, 255, 0.09);

    --radius: 18px;
    --max-width: 1160px;
}

/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
}

/* =========================
   HEADER
========================= */

.header {
    max-width: var(--max-width);
    margin: auto;
    padding: 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--border);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color: #11150a;
    background: var(--accent);

    border-radius: 10px;
    font-weight: 900;
}

.logo-light {
    color: var(--muted);
    font-weight: 400;
}

.header nav {
    display: flex;
    gap: 30px;

    color: var(--muted);
    font-size: 14px;
}

.header nav a {
    transition: color 0.2s;
}

.header nav a:hover {
    color: var(--accent);
}

/* =========================
   HERO
========================= */


.eyebrow {
    display: inline-block;

    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}



.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    margin-top: 30px;
    padding: 14px 20px;

    border-radius: 10px;
    font-size: 14px;
    font-weight: 750;

    transition:
        transform 0.2s,
        background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #11150a;
}

.button-primary:hover {
    background: #b8f45a;
}

.status-dot {
    width: 8px;
    height: 8px;

    background: var(--accent);
    border-radius: 50%;
}

/* =========================
   APPLICATIONS
========================= */

.apps-section {
    padding: 35px;
}

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.section-heading p {
    margin-top: 0;
}

.app-count {
    color: var(--muted);
    font-size: 13px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* APPLICATION CARD */

.app-card {
    min-width: 0;

    padding: 22px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.25s,
        border-color 0.25s,
        background 0.25s;
}

.app-card:hover {
    transform: translateY(-5px);

    background: var(--surface-hover);
    border-color: rgba(163, 230, 53, 0.35);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 15px;
}

.app-icon {
    width: 60px;
    height: 60px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 15px;
    background: #242a34;
}

.app-icon-fallback {
    display: grid;
    place-items: center;

    color: var(--accent);
    font-size: 24px;
    font-weight: 800;
}

.app-title {
    min-width: 0;
}

.app-title h3 {
    overflow-wrap: anywhere;

    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
}

.app-category {
    display: inline-block;

    margin-top: 5px;

    color: var(--accent);
    font-size: 11px;
    font-weight: 650;
}

.app-description {
    min-height: 70px;
    margin-bottom: 18px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

/* SCREENSHOTS */

.screenshots {
    display: flex;
    gap: 10px;

    overflow-x: auto;

    padding: 3px 1px 12px;
    margin-bottom: 15px;

    scrollbar-width: thin;
    scrollbar-color: #454b58 transparent;
}

.screenshot {
    width: 100px;
    height: 178px;

    flex: 0 0 100px;

    object-fit: cover;
    object-position: top;

    background: #20242e;
    border: 1px solid var(--border);
    border-radius: 9px;

    cursor: zoom-in;

    transition: transform 0.2s;
}

.screenshot:hover {
    transform: scale(1.03);
}

/* PLAY STORE LINK */

.play-store-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    padding: 12px;

    border: 1px solid var(--border);
    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    transition: all 0.2s;
}

.play-store-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.play-store-link span {
    font-size: 16px;
}

.empty-message {
    padding: 40px;
    color: var(--muted);
    text-align: center;
}

/* =========================
   ABOUT
========================= */

.about-section {
    padding: 90px 24px;

    text-align: center;

    border-top: 1px solid var(--border);

    background:
        radial-gradient(
            ellipse at center top,
            rgba(163, 230, 53, 0.06),
            transparent 65%
        );
}

.about-section h2 {
    margin-bottom: 22px;
}

.about-section > p {
    max-width: 1000px;
    margin: 0 auto;

    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.text-link {
    display: inline-block;

    margin-top: 25px;

    color: var(--accent);
    font-size: 14px;
    font-weight: 650;
}

.text-link:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */

.footer {
    max-width: var(--max-width);
    margin: auto;
    padding: 25px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid var(--border);
}

.footer p,
.back-top {
    color: var(--muted);
    font-size: 12px;
}

.back-top:hover {
    color: var(--accent);
}

/* =========================
   RESPONSIVE
========================= */



@media (max-width: 600px) {
    .header {
        padding: 18px 20px;
    }

    .header nav {
        gap: 15px;
        font-size: 12px;
    }

 

    .floating-badge {
        right: 0;
        bottom: 10px;
    }

    .apps-section {
        padding: 55px 20px 70px;
    }

    .app-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .app-card {
        padding: 18px;
    }

    .screenshot {
        width: 95px;
        height: 169px;
        flex-basis: 95px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .about-section {
        padding: 65px 22px;
    }

    .footer {
        flex-wrap: wrap;
        padding: 25px 20px;
    }

    .footer p {
        order: 3;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================
   LANGUAGE SWITCH
========================= */

.header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 5px 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--surface);
}

.language-button {
    padding: 3px 2px;

    border: none;
    background: transparent;

    color: var(--muted);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
    transition: color 0.2s;
}

.language-button:hover,
.language-button.active {
    color: var(--accent);
}

.language-divider {
    color: #454b58;
    font-size: 12px;
}

/* Mobile */

@media (max-width: 600px) {
    .header {
        gap: 12px;
    }

    .header nav {
        gap: 12px;
    }

    .language-switch {
        gap: 5px;
        padding: 4px 7px;
    }

    .language-button {
        font-size: 11px;
    }
}


/* =========================
   APPLICATION LINKS
========================= */

.app-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-links .play-store-link {
    width: 100%;
}

.privacy-policy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: var(--muted);
    font-size: 12px;
    text-align: center;

    transition: color 0.2s;
}

.privacy-policy-link:hover {
    color: var(--accent);
}

.privacy-policy-link span {
    font-size: 13px;
}

