:root{
    --bg:#000000;
    --panel:rgba(8,16,24,0.86);
    --blue:#00a0ff;
    --green:#6cff4d;
    --orange:#ff9d00;
    --text:#f0f8ff;
    --muted:#bfe8ff;
}

/* Base */

*{
    box-sizing:border-box;
}

html{
    min-height:100%;
}

body{
    margin:0;
    min-height:100%;
    color:var(--text);
    font-family:Segoe UI,Arial,sans-serif;

    background-image:
        linear-gradient(
            rgba(0,0,0,0.72),
            rgba(0,0,0,0.72)
        ),
        var(--site-background);

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    background-attachment:fixed;
}
/* Dark readability layer over fixed background */
.site-container{
    min-height:100vh;
}
/* Header / Nav */

.header{
    padding:22px 30px 10px;
    text-align:center;
}

.logo-area img{
    max-height:110px;
    width:auto;
    filter:drop-shadow(0 0 16px rgba(0,160,255,.55));
}

.main-nav{
    margin-top:16px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
}

.main-nav a{
    color:var(--text);
    text-decoration:none;
    font-size:.98rem;
    letter-spacing:.04em;
    transition:.25s ease;
}

.main-nav a:hover{
    color:var(--blue);
    text-shadow:0 0 10px var(--blue);
}

/* Hero */

.hero-split{
    min-height:520px;
    display:grid;
    grid-template-columns:60% 40%;
    align-items:center;
    gap:50px;
    max-width:1200px;
    margin:0 auto;
    padding:55px 30px 70px;
    text-align:left;
}

.hero-copy h1{
    font-size:clamp(3rem,7vw,6rem);
    margin:10px 0 20px;
    color:white;
    text-shadow:0 0 22px var(--blue);
}

.eyebrow{
    color:var(--green);
    text-transform:uppercase;
    letter-spacing:.22em;
    font-weight:700;
}

.intro{
    max-width:560px;
    font-size:1.25rem;
    line-height:1.6;
    color:var(--muted);
}

.search-form{
    margin-top:32px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.search-box{
    width:600px;
    max-width:100%;
    padding:16px;
    font-size:1.15rem;
    border-radius:12px;
    border:1px solid var(--blue);
    background:rgba(0,0,0,.82);
    color:white;
    outline:none;
    box-shadow:0 0 18px rgba(0,160,255,.18);
}

.search-box:focus{
    border-color:var(--green);
    box-shadow:0 0 22px rgba(108,255,77,.28);
}

button{
    padding:16px 26px;
    border:none;
    border-radius:12px;
    background:var(--blue);
    color:white;
    font-size:1rem;
    cursor:pointer;
    transition:.25s ease;
}

button:hover{
    background:var(--green);
    color:black;
    box-shadow:0 0 18px rgba(108,255,77,.35);
}

.hero-art{
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-art img,
.hero-art video{
    width:100%;
    max-width:430px;
    height:auto;
    display:block;
    filter:drop-shadow(0 0 28px rgba(0,160,255,.7));
}

/* Stats */

.stats{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    max-width:1100px;
    margin:0 auto;
    padding:10px 30px 50px;
}

.stat-card{
    background:var(--panel);
    padding:24px;
    width:210px;
    border-radius:16px;
    text-align:center;
    border:1px solid rgba(0,160,255,.22);
    box-shadow:0 0 16px rgba(0,160,255,.16);
    backdrop-filter:blur(4px);
}

.stat-card h2{
    color:var(--blue);
    font-size:2.2rem;
    margin:0 0 8px;
}

.stat-card p{
    margin:0;
    color:var(--muted);
}

/* Footer */

.footer{
    text-align:center;
    padding:24px;
    color:#8aa3b5;
    background:rgba(0,0,0,.86);
}

/* Mobile */

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

    .logo-area img{
        max-height:86px;
    }

    .hero-split{
        grid-template-columns:1fr;
        text-align:center;
        gap:28px;
        padding:35px 22px 50px;
    }

    .intro{
        margin-left:auto;
        margin-right:auto;
    }

    .search-form{
        justify-content:center;
    }

    button{
        width:100%;
        max-width:260px;
    }

    .hero-art img,
    .hero-art video{
        max-width:320px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

.nixie-stats .stat-card h2{
    font-family:'Share Tech Mono', monospace;
    color:var(--orange);
    text-shadow:
        0 0 6px rgba(255,157,0,.9),
        0 0 18px rgba(255,80,0,.65),
        0 0 32px rgba(255,30,0,.35);
    letter-spacing:.06em;
}
.page-counter{
    position:fixed;
    right:20px;
    bottom:20px;

    font-family:'Courier New',monospace;
    font-size:1.2rem;
    font-weight:bold;

    color:#ff9d00;

    text-shadow:
        0 0 5px rgba(255,157,0,.9),
        0 0 15px rgba(255,120,0,.7),
        0 0 30px rgba(255,80,0,.4);

    background:rgba(0,0,0,.5);
    border:1px solid rgba(255,157,0,.3);
    border-radius:8px;

    padding:8px 12px;
    z-index:9999;
}
.page-counter{
    position:fixed;
    right:20px;
    bottom:20px;
    font-family:'Courier New',monospace;
    font-size:1.2rem;
    font-weight:bold;
    color:#ff9d00;
    text-shadow:
        0 0 5px rgba(255,157,0,.9),
        0 0 15px rgba(255,120,0,.7),
        0 0 30px rgba(255,80,0,.4);
    background:rgba(0,0,0,.55);
    border:1px solid rgba(255,157,0,.3);
    border-radius:8px;
    padding:8px 12px;
    z-index:9999;
}
.nixie-stats .stat-card h2{
    font-family:'Courier New',monospace;
    color:var(--orange);
    text-shadow:
        0 0 5px rgba(255,157,0,.95),
        0 0 16px rgba(255,120,0,.7),
        0 0 34px rgba(255,60,0,.42);
    letter-spacing:.05em;
}
.content-page{
    max-width:1100px;
    margin:40px auto;
    padding:40px 30px;
    background:rgba(8,16,24,0.78);
    border:1px solid rgba(0,160,255,.2);
    border-radius:18px;
    box-shadow:0 0 24px rgba(0,160,255,.14);
}

.content-page h1{
    margin-top:0;
    color:white;
    text-shadow:0 0 18px var(--blue);
}

.content-page p{
    color:var(--muted);
    font-size:1.15rem;
}

/* Search results layout */
.search-results-panel,
.panel {
    max-width: 1180px;
    margin: 2rem auto;
    padding: 1.5rem 1.8rem;
    background: rgba(16, 32, 46, 0.86);
    border: 1px solid rgba(77, 214, 255, 0.28);
    border-radius: 18px;
    box-shadow:
        0 0 28px rgba(77, 214, 255, 0.16),
        inset 0 0 18px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(6px);
}

.hero,
.stats {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.results-table-wrap {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.results-table th,
.results-table td {
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    vertical-align: top;
}

.results-table th {
    color: #ffffff;
    text-align: left;
    font-weight: 700;
}

.results-table td {
    color: #e8f7ff;
}

.results-table tr:hover {
    background: rgba(77, 214, 255, 0.08);
}

.results-table .button,
.results-table a.button {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(77, 214, 255, 0.18);
    border: 1px solid rgba(77, 214, 255, 0.45);
    color: #9eeaff;
    text-decoration: none;
    font-weight: 700;
}

.results-table .button:hover,
.results-table a.button:hover {
    background: rgba(77, 214, 255, 0.32);
    color: #ffffff;
}

.alias-list {
    line-height: 2.2;
}

.alias-pill {
    display: inline-block;
    margin: 0.18rem 0.25rem 0.18rem 0;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 183, 77, 0.13);
    border: 1px solid rgba(255, 183, 77, 0.35);
    color: #ffe2aa;
}


/* Search image results */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.photo-card {
    margin: 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(77, 214, 255, 0.22);
    border-radius: 14px;
    text-align: center;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.025);
}

.photo-card img {
    max-width: 100%;
    height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto 0.6rem auto;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.photo-card figcaption {
    color: #e8f7ff;
    font-size: 0.9rem;
    line-height: 1.25;
}


/* Simple pagination */
.pager {
    margin-top: 1.5rem;
    text-align: center;
}

.pager .button {
    margin: 0 0.35rem;
}

.pager-current {
    display: inline-block;
    margin: 0 0.6rem;
    color: #dff7ff;
    opacity: 0.9;
}


/* Articles */
.article-list {
    display: grid;
    gap: 1.2rem;
    margin-top: 1rem;
}

.article-card {
    padding: 1.2rem 1.3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(77, 214, 255, 0.22);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.025);
}

.article-card h3 {
    margin-top: 0;
    color: #ffffff;
}

.article-card p {
    color: #e8f7ff;
}


/* Dark theme link colours */
a {
    color: #7ee8ff;
}

a:visited {
    color: #d9a8ff;
}

a:hover,
a:focus {
    color: #ffffff;
    text-decoration-color: #7ee8ff;
}

.results-table a,
.table-link {
    color: #9eeaff;
    font-weight: 700;
    text-decoration: none;
}

.results-table a:visited,
.table-link:visited {
    color: #cdb7ff;
}

.results-table a:hover,
.table-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.pager-summary {
    color: #dff7ff;
    opacity: 0.9;
}



/* Protected download message pages */
.download-message-panel {
    max-width: 1100px;
    margin: 3rem auto;
}

.download-message {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 2rem;
    align-items: center;
}

.download-message-art {
    text-align: center;
}

.download-message-image {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(77, 214, 255, 0.22);
}

.download-message-copy h1 {
    margin-top: 0.2rem;
    font-size: clamp(2rem, 4vw, 4rem);
    color: #ffffff;
    text-shadow: 0 0 18px var(--blue);
}

.download-message-copy p {
    color: #e8f7ff;
    font-size: 1.1rem;
    line-height: 1.6;
}

.download-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.button,
a.button {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(77, 214, 255, 0.18);
    border: 1px solid rgba(77, 214, 255, 0.45);
    color: #9eeaff;
    text-decoration: none;
    font-weight: 700;
}

.button:visited,
a.button:visited {
    color: #cdb7ff;
}

.button:hover,
a.button:hover {
    background: rgba(77, 214, 255, 0.32);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 800px) {
    .download-message {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-message-actions {
        justify-content: center;
    }
}

/* Popular page highlight — heater-glow gold star */
.pager a.popular-page,
.pager .button.popular-page {
    color: #fff4c2;
    background: rgba(255, 157, 0, 0.22);
    border-color: rgba(255, 183, 77, 0.75);
    box-shadow:
        0 0 14px rgba(255, 157, 0, 0.40),
        0 0 34px rgba(255, 80, 0, 0.18),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.pager a.popular-page::before,
.pager .button.popular-page::before {
    content: "★ ";
    color: #ffd166;
    text-shadow:
        0 0 6px rgba(255, 183, 77, 0.9),
        0 0 14px rgba(255, 90, 0, 0.45);
}

.pager a.popular-page:hover,
.pager .button.popular-page:hover {
    color: #ffffff;
    background: rgba(255, 157, 0, 0.34);
    box-shadow:
        0 0 18px rgba(255, 157, 0, 0.58),
        0 0 42px rgba(255, 80, 0, 0.24),
        inset 0 0 12px rgba(255, 255, 255, 0.10);
}

.popular-page-note {
    text-align: center;
    color: #ffe2aa;
    background: linear-gradient(90deg,
        rgba(255, 157, 0, 0.06),
        rgba(255, 157, 0, 0.20),
        rgba(255, 157, 0, 0.06)
    );
    border: 1px solid rgba(255, 183, 77, 0.38);
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    max-width: 720px;
    margin: 0.8rem auto 1.2rem;
    box-shadow: 0 0 18px rgba(255, 157, 0, 0.18);
}

.popular-page-note::before {
    content: "★ ";
    color: #ffd166;
    text-shadow:
        0 0 6px rgba(255, 183, 77, 0.9),
        0 0 14px rgba(255, 90, 0, 0.45);
}


/* Popular page top-three medals */
.pager a.popular-page,
.pager .button.popular-page,
.pager .pager-current-page.popular-page {
    color: #fff4c2;
    background: rgba(255, 157, 0, 0.22);
    border-color: rgba(255, 183, 77, 0.75);
    box-shadow:
        0 0 14px rgba(255, 157, 0, 0.40),
        0 0 34px rgba(255, 80, 0, 0.18),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.pager a.popular-page::before,
.pager .button.popular-page::before,
.pager .pager-current-page.popular-page::before {
    content: "★ ";
    text-shadow:
        0 0 6px currentColor,
        0 0 14px rgba(255, 90, 0, 0.45);
}

.pager a.popular-page-gold::before,
.pager .popular-page-gold::before {
    color: #ffd166;
}

.pager a.popular-page-silver,
.pager .popular-page-silver {
    color: #f2f6ff;
    background: rgba(190, 210, 230, 0.18);
    border-color: rgba(210, 225, 245, 0.68);
    box-shadow:
        0 0 14px rgba(200, 220, 240, 0.34),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.pager a.popular-page-silver::before,
.pager .popular-page-silver::before {
    color: #d8e4f2;
}

.pager a.popular-page-bronze,
.pager .popular-page-bronze {
    color: #ffe0bf;
    background: rgba(205, 127, 50, 0.20);
    border-color: rgba(205, 127, 50, 0.70);
    box-shadow:
        0 0 14px rgba(205, 127, 50, 0.38),
        inset 0 0 10px rgba(255, 255, 255, 0.07);
}

.pager a.popular-page-bronze::before,
.pager .popular-page-bronze::before {
    color: #cd7f32;
}

/* Popular page note with medal badges */
.popular-page-note-top3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.popular-rank {
    display: inline-block;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.popular-rank::before {
    content: "★ ";
}

.popular-rank-gold {
    color: #fff4c2;
    background: rgba(255, 157, 0, 0.22);
    border: 1px solid rgba(255, 183, 77, 0.62);
}

.popular-rank-silver {
    color: #f2f6ff;
    background: rgba(190, 210, 230, 0.16);
    border: 1px solid rgba(210, 225, 245, 0.58);
}

.popular-rank-bronze {
    color: #ffe0bf;
    background: rgba(205, 127, 50, 0.18);
    border: 1px solid rgba(205, 127, 50, 0.60);
}

.rank-label {
    opacity: 0.9;
}

.rank-downloads {
    opacity: 0.75;
}


/* Popular first-letter medals */
.letter-pill.popular-letter::before {
    content: "★ ";
    text-shadow:
        0 0 6px currentColor,
        0 0 14px rgba(255, 90, 0, 0.35);
}

.letter-pill.popular-letter-gold {
    color: #fff4c2;
    background: rgba(255, 157, 0, 0.22);
    border-color: rgba(255, 183, 77, 0.75);
    box-shadow:
        0 0 14px rgba(255, 157, 0, 0.36),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.letter-pill.popular-letter-gold::before {
    color: #ffd166;
}

.letter-pill.popular-letter-silver {
    color: #f2f6ff;
    background: rgba(190, 210, 230, 0.18);
    border-color: rgba(210, 225, 245, 0.68);
    box-shadow:
        0 0 14px rgba(200, 220, 240, 0.30),
        inset 0 0 10px rgba(255, 255, 255, 0.08);
}

.letter-pill.popular-letter-silver::before {
    color: #d8e4f2;
}

.letter-pill.popular-letter-bronze {
    color: #ffe0bf;
    background: rgba(205, 127, 50, 0.20);
    border-color: rgba(205, 127, 50, 0.70);
    box-shadow:
        0 0 14px rgba(205, 127, 50, 0.34),
        inset 0 0 10px rgba(255, 255, 255, 0.07);
}

.letter-pill.popular-letter-bronze::before {
    color: #cd7f32;
}

.popular-letter-note {
    max-width: 900px;
}


/* Inline download form buttons */
.inline-download-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.inline-download-form button.button {
    font: inherit;
    cursor: pointer;
}

