/* ============================
   BRAWLHEIM SMP COLOR PALETTE
   ============================ */
/* Primary */
:root {
    --steel: #CFCFCF;
    --iron: #2D2E30;
    --fjord: #2F5840;

    /* Secondary */
    --clay: #A9764B;
    --wood: #6B4A2F;
    --slate: #5F6464;

    /* Accent */
    --grass: #4EA65C;
    --moss: #7DB883;
    --glacial: #9ECEDB;

    /* Neutral */
    --onyx: #1A1A1C;
    --fog: #9B9B9B;
    --white: #FFFFFF;
}

/* ---- GLOBAL ---- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--iron);
    color: var(--steel);
    line-height: 1.5;
}

/* ---- HEADER ---- */
header {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    color: var(--white);

    background: url('/assets/2towcwnbkrb51.webp') center/cover no-repeat;
    background-color: rgba(0, 0, 0, 0.45);
    background-blend-mode: darken;
    background-position-y: 24%;
}

header::before {
    content: none;
}

/* ---- BUTTON ---- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 30px;

    background: var(--fjord);
    color: var(--white);

    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.2s;
    border: 2px solid var(--clay);
}

.btn:hover {
    background: var(--moss);
}

/* ---- SECTION ---- */
section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

h2 {
    border-left: 5px solid var(--glacial);
    padding-left: 10px;
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--glacial);
}

/* ---- TABLE ---- */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--onyx);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--wood);
}

th, td {
    padding: 14px;
    border-bottom: 1px solid var(--slate);
}

th {
    background: var(--iron);
    text-align: left;
    color: var(--glacial);
}



/* Download link (legacy) */
a.download {
    color: var(--grass);
    text-decoration: none;
}

a.download:hover {
    color: var(--moss);
    text-decoration: underline;
}

/* ---- FOOTER ---- */
footer {
    text-align: center;
    color: var(--fog);
    margin: 60px 0 20px;
}

/* ---- DOWNLOAD BUTTON CELL ---- */
td.download-cell,
th.download-cell {
    text-align: right;
}

/* Download button styling */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: var(--fjord);
    color: var(--white);

    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease;
    font-size: 18px;
    border: 2px solid var(--clay);
}

.download-btn:hover {
    background: var(--moss);
    transform: scale(1.07);
}

/* Updated date text */
.updated-date {
    font-size: 0.85em;
    color: var(--fog);
}

h4 {
    color: var(--fog);
    opacity: 0.85;
    margin-top: 10px;
    margin-bottom: 6px;
}

h1 {   
    font-family: "Metal Mania", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 5rem;
    letter-spacing: 3px;
    color: var(--white);
    text-shadow: 0 0 20px rgba(0,0,0,0.7);
    margin: 0;
    padding: 0;
}
/* Flex layout for DL cells */
.dl-cell {
    display: flex;
    justify-content: flex-end;   /* move info close to button */
    align-items: center;
    gap: 8px;                    /* tighter spacing */
}

/* Info text block */
.dl-info {
    text-align: right;
    font-size: 0.85rem;
    color: var(--fog);
    line-height: 1.2;
}

/* Divider between Java & Bedrock columns */
/* Divider ONLY between Java and Bedrock cells */
th.java-cell + th.bedrock-cell,
td.java-cell + td.bedrock-cell {
    border-left: 2px solid var(--fog);
}

span.version-number{
    font-size: 1.1rem;
    color: var( --steel);
}