/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* COLORS */
:root {
    --pit-red: #e02121;
    --pit-red-dark: #b31818;
    --bg-dark: #0c0c0f;
    --bg-panel: #141418;
    --border-light: #2c2c34;
    --off-white: #f7f3ec;
    --text-main: #f5f5f5;
    --text-muted: #c5c5c5;
}

/* BASE */
html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #181821 0%, #050509 55%, #020204 100%);
    color: var(--text-main);
    line-height: 1.5;
}

/* WRAP */
.pit-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.pit-header {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.logo-wrap {
    flex: 0 0 auto;
    width: 130px;
    height: 130px;
    background: #f5f1ea;
    border-radius: 18px;
    border: 3px solid var(--pit-red);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 26px rgba(224, 33, 33, 0.45);
    transform: rotate(-3deg);
    overflow: hidden;
    padding: 0;
}

.pit-logo {
    width: 95%;
    height: 95%;
    object-fit: contain;
    transform: scale(1.50); /* makes the logo bigger */
}

.wordmark h1 {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.1;
}

.wordmark p {
    margin-top: 0.4rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* MAIN */
.pit-main {
    flex: 1 0 auto;
}

/* MARQUEE GRID */
.marquee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Tiles */
.marquee-tile {
    position: relative;
    padding: 1.5rem 1.25rem 1.6rem;
    border-radius: 10px;
    border: 3px solid var(--bg-dark);
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.6);
}

.marquee-tile h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
}

.marquee-tile p {
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* Small label */
.tile-label {
    position: absolute;
    top: 0.45rem;
    left: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    opacity: 0.7;
}

/* Tile color variants */
.tile-1 {
    background: var(--pit-red);
    color: #140606;
    border-color: var(--pit-red-dark);
}
.tile-1 .tile-label { color: #2b0000; }

.tile-2 {
    background: var(--off-white);
    color: #1c1010;
    border-color: #e1d4c0;
}
.tile-2 .tile-label { color: #8a5e5e; }

tile-3 {
    background: #202028;
    color: var(--off-white);
    border-color: #3a3a45;
}

.tile-3 .tile-label { color: #a0a0b5; }

.tile-4 {
    background: #141820;
    color: var(--off-white);
    border: 3px dashed var(--pit-red);
}
.tile-4 .tile-label { color: #ffb3b3; }

/* NEW TILE 5 — SUCK-IT-UP TEMPORARY */
.tile-5 {
    background: #2a0000;
    color: var(--off-white);
    border: 3px solid var(--pit-red-dark);
}
.tile-5 .tile-label { color: #ffb3b3; }

/* BILLBOARD BAR */
.billboard {
    margin-bottom: 1.7rem;
    background: var(--bg-panel);
    border-radius: 14px;
    border: 2px solid var(--border-light);
    padding: 1.75rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    box-shadow: 0 14px 0 rgba(0, 0, 0, 0.7);
}

.billboard-block h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
    color: var(--pit-red);
}

.billboard-block p {
    font-size: 1.05rem;
}

/* DBJ STRIP */
.dbj-strip {
    margin-bottom: 2.25rem;
    padding: 0.9rem 1.1rem;
    background: #1a0101;
    border-radius: 999px;
    border: 2px solid var(--pit-red-dark);
    text-align: center;
    box-shadow: 0 0 22px rgba(224, 33, 33, 0.5);
}

.dbj-strip p {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* FOOTER */
.pit-footer {
    border-top: 2px solid var(--border-light);
    padding-top: 1.1rem;
    padding-bottom: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.footer-top {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.footer-mid {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    opacity: 0.85;
    border-bottom: 1px dotted rgba(245, 245, 245, 0.4);
}

.footer-bottom a:hover {
    opacity: 1;
    border-bottom-style: solid;
}

/* RESPONSIVE */
@media (max-width: 720px) {
    .pit-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-wrap {
        width: 110px;
        height: 110px;
    }

    .pit-wrap {
        padding-inline: 1rem;
    }

    .dbj-strip {
        border-radius: 18px;
    }
}
