/* Neon Sign - A Free Design by Bryant Smith (bryantsmith.com)
   A glowing sign on a dark brick wall, drawn with nothing but text,
   borders and light. Every colour and glow lives here; look for the
   section headings below to find what you want to change. */


/* ---- WALL: the dark brick backdrop behind everything ---- */

body {
    background-color: #0a0810;
    background-image:
        repeating-linear-gradient(0deg, #171320 0 1px, transparent 1px 48px),
        repeating-linear-gradient(90deg, #171320 0 1px, transparent 1px 96px);
    color: #dedce8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    padding: 0 16px 48px 16px;
    text-align: center;
}

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

/* The coloured light the sign throws onto the wall, plus a soft vignette.
   It is fixed in place so the glow sits still while the page scrolls. */
body::before {
    background:
        radial-gradient(560px 300px at 50% 150px, rgba(255, 61, 139, 0.18), transparent 72%),
        radial-gradient(520px 360px at 15% 62%, rgba(51, 225, 255, 0.09), transparent 70%),
        radial-gradient(520px 360px at 88% 80%, rgba(255, 61, 139, 0.09), transparent 70%),
        radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}


/* ---- PAGE: the centred column of wall we build on ---- */

#page {
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
}


/* ---- MENU: the row of small neon links at the top ---- */

#menu {
    font-size: 12px;
    letter-spacing: 2px;
    margin: 40px auto 30px auto;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    color: #6fe9ff;
    display: inline-block;
    margin: 0 12px 8px 12px;
    padding-bottom: 4px;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(51, 225, 255, 0.9), 0 0 16px rgba(51, 225, 255, 0.6);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

#menu a:hover,
#menu a:focus {
    color: #ffffff;
    text-shadow: 0 0 8px #ffffff, 0 0 22px #33e1ff, 0 0 40px #33e1ff;
}


/* ---- SIGN: the glowing glass-tube frame itself ---- */

#sign {
    background: rgba(13, 10, 20, 0.7);
    border: 2px solid #ff3d8b;
    border-radius: 22px;
    box-shadow:
        0 0 8px rgba(255, 61, 139, 0.9),
        0 0 30px rgba(255, 61, 139, 0.45),
        0 0 90px rgba(255, 61, 139, 0.25),
        inset 0 0 22px rgba(255, 61, 139, 0.22);
    margin: 0 auto 56px auto;
    max-width: 620px;
    padding: 46px 32px 40px 32px;
    position: relative;
}

/* Two small cyan bolts, as if the sign were screwed to the wall */
#sign::before,
#sign::after {
    background: #33e1ff;
    border-radius: 50%;
    box-shadow: 0 0 6px #33e1ff, 0 0 14px #33e1ff;
    content: "";
    height: 10px;
    position: absolute;
    top: 18px;
    width: 10px;
}

#sign::before {
    left: 18px;
}

#sign::after {
    right: 18px;
}

.sign-small {
    color: #7fe9ff;
    font-size: 11px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(51, 225, 255, 0.8), 0 0 16px rgba(51, 225, 255, 0.5);
}


/* ---- TUBE WORDS: text that behaves like glowing glass ---- */

#sign h1 {
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 72px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 18px;
}

/* Layered text-shadow: a white-hot core with colour bleeding outward */
.tube-pink {
    color: #ffffff;
    text-shadow:
        0 0 4px #ffffff,
        0 0 11px #ffffff,
        0 0 24px #ff3d8b,
        0 0 46px #ff3d8b,
        0 0 80px #ff3d8b;
}

.tube-cyan {
    color: #ffffff;
    text-shadow:
        0 0 4px #ffffff,
        0 0 11px #ffffff,
        0 0 24px #33e1ff,
        0 0 46px #33e1ff,
        0 0 80px #33e1ff;
}

.tagline {
    color: #c9c6da;
    font-size: 16px;
    letter-spacing: 1px;
}

/* The short glowing line under the tagline, like a strip of tube */
.tube-rule {
    background: #33e1ff;
    border-radius: 3px;
    box-shadow: 0 0 6px #33e1ff, 0 0 18px rgba(51, 225, 255, 0.8), 0 0 36px rgba(51, 225, 255, 0.5);
    height: 3px;
    margin: 26px auto 0 auto;
    width: 120px;
}


/* ---- FLICKER: one word that stutters now and then ---- */

@keyframes flicker {
    0%, 17%, 21%, 24%, 52%, 56%, 100% { opacity: 1; }
    19% { opacity: 0.35; }
    23% { opacity: 0.15; }
    54% { opacity: 0.45; }
}

.flicker {
    animation: flicker 4.5s infinite;
}


/* ---- BOARD: the wall of tiles that holds the content ---- */

#board {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(6, 1fr);
    text-align: left;
}

.tile {
    background: rgba(15, 12, 23, 0.82);
    border: 1px solid #292440;
    border-radius: 14px;
    padding: 26px 24px 28px 24px;
}

/* The glowing top edge of each tile, alternating pink and blue */
.tile-about   { border-top: 2px solid #ff3d8b; box-shadow: 0 -3px 16px -3px rgba(255, 61, 139, 0.65); grid-column: span 4; }
.tile-hours   { border-top: 2px solid #33e1ff; box-shadow: 0 -3px 16px -3px rgba(51, 225, 255, 0.6); grid-column: span 2; }
.tile-tonight { border-top: 2px solid #ff3d8b; box-shadow: 0 -3px 16px -3px rgba(255, 61, 139, 0.65); grid-column: span 2; }
.tile-quote   { border-top: 2px solid #33e1ff; box-shadow: 0 -3px 16px -3px rgba(51, 225, 255, 0.6); display: flex; flex-direction: column; justify-content: center; grid-column: span 2; }
.tile-find    { border-top: 2px solid #ff3d8b; box-shadow: 0 -3px 16px -3px rgba(255, 61, 139, 0.65); grid-column: span 2; }
.tile-use     { border-top: 2px solid #33e1ff; box-shadow: 0 -3px 16px -3px rgba(51, 225, 255, 0.6); grid-column: span 6; }


/* ---- TILE TEXT: labels, headings and paragraphs ---- */

.label {
    color: #7fe9ff;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(51, 225, 255, 0.7);
}

.tile h2 {
    color: #ffffff;
    font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 22px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow:
        0 0 4px #ffffff,
        0 0 10px rgba(255, 61, 139, 0.9),
        0 0 22px rgba(255, 61, 139, 0.7),
        0 0 40px rgba(255, 61, 139, 0.45);
}

.tile p {
    color: #cfccdd;
    margin-bottom: 14px;
}

.tile p:last-child {
    margin-bottom: 0;
}

.lead {
    color: #eceaf5;
    font-size: 17px;
    line-height: 1.7;
}

.tile a,
.tile a:visited {
    border-bottom: 1px solid rgba(51, 225, 255, 0.5);
    color: #7fe9ff;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

.tile a:hover,
.tile a:focus {
    border-bottom-color: #ffffff;
    color: #ffffff;
    text-shadow: 0 0 8px #33e1ff;
}

.tile strong {
    color: #ffffff;
}

.tile em {
    color: #8fe9ff;
    font-style: normal;
}


/* ---- LISTS: hours, the marquee and contact details ---- */

.hours,
.marquee,
.info {
    list-style: none;
}

.hours li {
    border-bottom: 1px dashed #2e2946;
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
}

.hours li:last-child {
    border-bottom: none;
}

.hours span:first-child {
    color: #a7a3bb;
}

.hours span:last-child {
    color: #ffffff;
}

.marquee li {
    border-bottom: 1px solid #221e33;
    color: #cfccdd;
    padding: 7px 0 7px 20px;
    position: relative;
}

.marquee li:last-child {
    border-bottom: none;
}

/* A small glowing pink dot in front of each line */
.marquee li::before {
    background: #ff3d8b;
    border-radius: 50%;
    box-shadow: 0 0 6px #ff3d8b, 0 0 12px #ff3d8b;
    content: "";
    height: 6px;
    left: 2px;
    position: absolute;
    top: 15px;
    width: 6px;
}

.info li {
    border-bottom: 1px solid #221e33;
    color: #cfccdd;
    padding: 8px 0;
}

.info li:last-child {
    border-bottom: none;
}

.info .key {
    color: #8fe9ff;
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    width: 72px;
}


/* ---- QUOTE: the sign-shaped pull quote ---- */

blockquote {
    border-left: 3px solid #ff3d8b;
    box-shadow: -3px 0 14px -2px rgba(255, 61, 139, 0.8);
    color: #eceaf5;
    font-style: italic;
    padding-left: 16px;
}

blockquote p {
    margin: 0;
}


/* ---- STEPS: the numbered how-to list ---- */

.steps {
    padding-left: 22px;
}

.steps li {
    color: #cfccdd;
    margin-bottom: 12px;
}

.steps li:last-child {
    margin-bottom: 0;
}

.steps li::marker {
    color: #ff3d8b;
    font-weight: bold;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 1px solid #241f36;
    color: #7c7891;
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 56px;
    padding-top: 26px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    color: #9a95b2;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

#footer a:hover,
#footer a:focus {
    color: #ff3d8b;
    text-shadow: 0 0 8px rgba(255, 61, 139, 0.8);
}


/* ---- SMALL SCREENS: stack the wall on phones ---- */

@media (max-width: 640px) {
    body {
        padding: 0 12px 36px 12px;
    }

    #sign {
        border-radius: 18px;
        margin-bottom: 40px;
        padding: 34px 20px 30px 20px;
    }

    #sign h1 {
        font-size: 42px;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 14px;
    }

    #board {
        gap: 16px;
        grid-template-columns: 1fr;
    }

    .tile-about,
    .tile-hours,
    .tile-tonight,
    .tile-quote,
    .tile-find,
    .tile-use {
        grid-column: span 1;
    }

    .tile {
        padding: 22px 18px 24px 18px;
    }
}


/* ---- REDUCED MOTION: hold the glow steady if asked ---- */

@media (prefers-reduced-motion: reduce) {
    .flicker {
        animation: none;
    }

    a {
        transition: none;
    }
}


/* ---- PRINT: a dark sign does not belong on paper ---- */

@media print {
    body {
        background: #ffffff;
        color: #111111;
        padding: 0;
    }

    body::before {
        display: none;
    }

    #menu,
    #footer,
    .tube-rule,
    #sign::before,
    #sign::after {
        display: none;
    }

    #sign,
    .tile {
        background: #ffffff;
        border-color: #999999;
        box-shadow: none;
    }

    #sign h1,
    .tile h2,
    .label,
    .sign-small,
    .tube-pink,
    .tube-cyan {
        color: #111111;
        text-shadow: none;
    }

    .tile p,
    .tile a,
    .tile strong,
    .tile em,
    .hours li,
    .hours span,
    .info li,
    .marquee li,
    .steps li,
    blockquote {
        color: #111111;
    }

    #board {
        display: block;
    }

    .tile {
        margin-bottom: 16px;
    }
}
