:root {
    --bg-color: #05090F;
    --text-color: #E0E8F0;
    --text-muted: #7FA1BB;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(25, 38, 56, 0.82);
    --accent-lime: #C8D400;
    --accent-teal-bright: #0ba5b5;
    --accent-teal-glow: rgba(11, 74, 82, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    font-size: 17px;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-teal-glow) 0%, rgba(5, 9, 15, 0) 70%);
    top: -200px;
    left: -200px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

.bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 212, 0, 0.12) 0%, rgba(5, 9, 15, 0) 70%);
    bottom: 10%;
    right: -120px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
}

header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(5, 9, 15, 0.85);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(to right, var(--text-color), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

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

main {
    flex: 1;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 3.5rem 5% 5rem;
}

.breadcrumb {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-lime);
}

.article-hero {
    margin-bottom: 0.5rem;
}

.article-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.15rem;
    background: linear-gradient(135deg, #fff 45%, var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 18ch;
}

.article-hero .lede {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    line-height: 1.65;
}

.article-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.5rem 2.25rem;
    backdrop-filter: blur(16px);
    margin-bottom: 1.75rem;
}

.article-card h2 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.article-card h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.6rem;
    font-weight: 700;
    color: #fff;
}

.article-card p,
.article-card li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.article-card p:last-child,
.article-card li:last-child {
    margin-bottom: 0;
}

.article-card ul,
.article-card ol {
    padding-left: 1.35rem;
    margin-bottom: 1rem;
}

.article-card li {
    margin-bottom: 0.65rem;
}

.article-card a {
    color: var(--accent-lime);
    text-decoration: none;
}

.article-card a:hover {
    text-decoration: underline;
}

.cta-box {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.75rem 2rem;
    margin: 2.75rem 0;
}

.cta-box h2 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.store-btn img {
    height: 56px;
    width: auto;
    max-width: 190px;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.store-btn:hover img {
    transform: translateY(-3px) scale(1.04);
    filter: drop-shadow(0 8px 18px rgba(200, 212, 0, 0.28));
}

.related {
    margin-top: 1rem;
    width: 100%;
}

.related h2 {
    font-size: 1.35rem;
    margin-bottom: 1.15rem;
}

.related ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
}

.related li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.related a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1.35rem 1.4rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.related a:hover {
    border-color: var(--accent-lime);
    background: rgba(35, 52, 75, 0.88);
    transform: translateY(-2px);
}

.related a span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
    font-weight: 400;
    line-height: 1.45;
}

footer {
    text-align: center;
    padding: 2.75rem 5%;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-lime);
}

footer .footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Large desktop */
@media (min-width: 1100px) {
    main {
        max-width: 980px;
        padding: 4rem 2rem 5.5rem;
    }

    .article-hero h1 {
        max-width: none;
    }

    .store-btn img {
        height: 60px;
        max-width: 200px;
    }
}

/* Tablet / small laptop */
@media (max-width: 800px) {
    body {
        font-size: 16px;
    }

    main {
        max-width: 720px;
        padding: 2.75rem 5% 4rem;
    }

    .article-card {
        padding: 2rem 1.5rem;
    }

    .related ul {
        grid-template-columns: 1fr;
    }

    .article-hero h1 {
        max-width: none;
    }
}

/* Phones */
@media (max-width: 600px) {
    header {
        padding: 1.1rem 4%;
    }

    .logo {
        font-size: 1.25rem;
    }

    header nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    header nav a.nav-hide-sm {
        display: none;
    }

    main {
        padding: 2rem 4% 3.5rem;
    }

    .article-hero h1 {
        font-size: 2rem;
    }

    .article-hero .lede {
        font-size: 1.1rem;
        margin-bottom: 1.75rem;
    }

    .article-card {
        padding: 1.5rem 1.25rem;
        border-radius: 1rem;
        margin-bottom: 1.25rem;
    }

    .article-card h2 {
        font-size: 1.35rem;
    }

    .article-card p,
    .article-card li {
        font-size: 1rem;
    }

    .cta-box {
        padding: 2rem 1.25rem;
    }

    .cta-box h2 {
        font-size: 1.35rem;
    }

    .store-btn img {
        height: 48px;
        max-width: 160px;
    }
}
