* {
    box-sizing: border-box;
}

:root {
    --bg: #070707;
    --panel: rgba(18,18,18,0.94);
    --panel-2: rgba(25,25,25,0.96);
    --line: rgba(255,255,255,0.12);
    --muted: #b8b8b8;
    --text: #f5f5f5;
    --red: #d2322a;
    --red-2: #8d1712;
    --red-bright: #ff3f37;
    --shadow: 0 24px 60px rgba(0,0,0,0.45);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(166,31,24,0.16), transparent 34%),
        radial-gradient(circle at bottom left, rgba(166,31,24,0.12), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.site-header {
    background: rgba(4,4,4,0.95);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.header-inner {
    width: min(90%, 1360px);
    min-height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.brand img {
    width: 46px;
    height: 46px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-main {
    font-size: 42px;
    font-weight: 950;
    letter-spacing: 2px;
}

.brand-sub {
    color: var(--red-bright);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 800;
}

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

nav a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.8px;
    color: #f4f4f4;
}

nav a:hover,
nav a.active {
    color: var(--red-bright);
}

.hero {
    min-height: 650px;
    position: relative;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.84) 35%, rgba(0,0,0,0.38) 70%, rgba(0,0,0,0.5) 100%),
        url("images/banner.png");
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 160px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(90%, 1360px);
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    padding: 50px 0;
}

.kicker,
.eyebrow {
    text-transform: uppercase;
    color: #e7e7e7;
    letter-spacing: 2.5px;
    font-weight: 900;
    font-size: 15px;
}

.red-line {
    width: 78px;
    height: 3px;
    background: var(--red-bright);
    margin: 18px 0;
}

.hero h1,
.page-heading h1 {
    margin: 0;
    text-transform: uppercase;
    line-height: 0.86;
    letter-spacing: -1px;
}

.hero h1 {
    font-size: clamp(58px, 9vw, 132px);
    text-shadow: 0 5px 25px rgba(0,0,0,0.8);
}

.hero h1 span {
    display: block;
    color: var(--red);
    font-size: 0.42em;
    letter-spacing: 1px;
    margin-top: 18px;
}

.hero p {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 520px;
    font-size: 18px;
    color: #efefef;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.container {
    width: min(90%, 1360px);
    margin: 0 auto;
}

.page-top {
    padding-top: 48px;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    background: linear-gradient(180deg, #cf312a, #911713);
    color: white;
    border: 1px solid var(--red-bright);
    border-radius: 5px;
    padding: 12px 24px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 950;
    letter-spacing: 0.8px;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255,255,255,0.15), 0 12px 22px rgba(0,0,0,0.28);
}

.button:hover,
button:hover {
    filter: brightness(1.15);
}

.button.secondary {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.38);
}

.button.danger {
    background: linear-gradient(180deg, #7b1714, #4e0d0b);
}

.button.small {
    min-height: 38px;
    padding: 8px 18px;
    font-size: 13px;
}

.button.full {
    width: 100%;
}

.stats-strip {
    position: relative;
    z-index: 2;
    margin-top: -48px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, rgba(25,25,25,0.96), rgba(9,9,9,0.96));
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.stat {
    padding: 26px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-right: 1px solid var(--line);
}

.stat:last-child {
    border-right: none;
}

.stat-icon {
    color: var(--red);
    font-size: 34px;
}

.stat-number {
    display: block;
    font-size: 44px;
    font-weight: 950;
    line-height: 1;
}

.stat-label {
    display: block;
    color: #e1e1e1;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.8px;
    margin-top: 5px;
}

.home-grid,
.content-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 22px;
    align-items: start;
}

.card {
    background:
        linear-gradient(180deg, rgba(28,28,28,0.96), rgba(10,10,10,0.96));
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.card h2,
.card h3 {
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.section-icon {
    color: var(--red);
    font-size: 26px;
}

.event-row {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.event-thumb {
    min-height: 86px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background:
        linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
        url("images/banner.png");
    background-size: cover;
    background-position: center;
}

.event-row h3 {
    margin: 0 0 4px;
}

.event-meta {
    color: var(--red-bright);
    font-size: 14px;
    font-weight: 800;
}

.badge {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 12px;
    color: #ddd;
    margin-top: 4px;
}

.community-card p {
    font-family: Arial, Helvetica, sans-serif;
    color: #dedede;
}

.check-list,
.rules-list {
    list-style: none;
    padding: 0;
}

.check-list li,
.rules-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 13px;
    font-family: Arial, Helvetica, sans-serif;
}

.check-list li::before,
.rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red-bright);
    font-weight: 900;
}

.page-heading {
    margin-bottom: 28px;
}

.page-heading h1 {
    font-size: clamp(44px, 6vw, 84px);
}

.page-heading p {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--muted);
}

.event-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 25px;
    align-items: center;
}

.event-card p {
    font-family: Arial, Helvetica, sans-serif;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.detail-grid p {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 5px;
    margin: 0;
}

.event-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.alert-text {
    color: var(--red-bright);
    font-weight: 950;
    text-transform: uppercase;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px;
    margin: 7px 0 16px;
    background: #101010;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 5px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

textarea {
    min-height: 130px;
}

label {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.7px;
}

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

.player-row,
.admin-row,
.admin-signup {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 14px 0;
}

.player-row strong,
.player-row span,
.player-row small {
    display: block;
}

.player-row small {
    color: var(--muted);
}

.admin-top,
.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.login-card {
    max-width: 520px;
    margin: 70px auto;
}

footer {
    width: min(90%, 1360px);
    margin: 40px auto 0;
    padding: 28px 0;
    color: #9b9b9b;
    border-top: 1px solid var(--line);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

@media (max-width: 1000px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
    }

    nav {
        justify-content: center;
    }

    .hero,
    .hero-inner {
        min-height: 560px;
    }

    .stats-strip,
    .home-grid,
    .content-grid,
    .event-card,
    .detail-grid,
    .roster-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        margin-top: 24px;
    }

    .stat {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .event-row {
        grid-template-columns: 1fr;
    }

    .event-actions {
        min-width: 0;
    }
}

@media (max-width: 600px) {
    .brand-main {
        font-size: 34px;
    }

    .hero {
        background-position: 60% center;
    }

    .hero-content {
        padding: 34px 0;
    }

    .button,
    button {
        width: 100%;
    }

    nav {
        gap: 14px;
    }
}
