/* ============================================================
   INFINITEAION FOREVER
   Hand-written stylesheet. Dark, red-accented, fixed-width.
   Visual identity: original infiniteaion.com (2011) artwork,
   recovered from the Wayback Machine — see orig/ and BUILD.md.
   ============================================================ */

* { margin: 0; padding: 0; }

body {
    background: #0b0b0b url('orig/bg_body2.jpg') no-repeat 50% 0;
    color: #d8d8d8;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}
/* gate page: the original JOIN NOW artwork as the body face */
body.gate {
    background: #0b0b0b url('orig/bg_body.jpg') no-repeat 50% 0;
}

a { color: #e8b34b; text-decoration: none; }
a:hover { color: #ffd97a; text-decoration: underline; }

img { border: 0; }

/* ---------- page frame ---------- */
#wrap {
    width: 1000px;
    margin: 0 auto;
    text-align: left;
    border-left: 1px solid #1f1f1f;
    border-right: 1px solid #1f1f1f;
}

/* ---------- header: original logo block + original menu ---------- */
#header {
    background: #000;
    border-bottom: 3px solid #b30000;
    overflow: hidden;
}
#logo-block {
    float: left;
    width: 244px;
}
#logo-block img { width: 244px; height: 91px; display: block; }

/* ---------- nav: original #menu look ---------- */
#nav {
    float: right;
    width: 716px;
    margin-top: 2px;
    text-align: left;
}
#menu { list-style: none; }
#menu li {
    display: inline-block;
    vertical-align: top;
    height: 79px;
    padding: 10px 13px 0 13px;
}
#menu li.current {
    background: url('orig/bg_menu_current.gif') repeat-x 0 0;
}
#menu .navlink {
    display: block;
    font-family: Calibri, Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: #999;
}
#menu .navlink:hover { color: #fff; text-decoration: none; }
#menu li.current .navlink { color: #fff; }
#menu .subs {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}
#menu .subs a { color: #666; }
#menu .subs a:hover { color: #fff; }

/* ---------- our logo: fixed side rail (content pages) ---------- */
#side-logo {
    position: fixed;
    right: 14px;
    top: 150px;
    width: 176px;
    background: #0b0b0b url('orig/bg_block_1px.png') repeat-x 0 0;
    border: 1px solid #1f1f1f;
    padding: 14px 10px 12px 10px;
    text-align: center;
    z-index: 60;
}
#side-logo img { width: 156px; height: auto; display: block; margin: 0 auto; }
#side-logo .side-cap {
    color: #f0d089;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 9px;
}
@media (max-width: 1480px) {
    #side-logo { display: none; }
}

/* ---------- hero (home): original JOIN NOW artwork banner ---------- */
#hero {
    background: #000;
    border-bottom: 1px solid #33333a;
}
.hero-art {
    height: 300px;
    background: url('orig/bg_body.jpg') no-repeat 50% 38%;
    border-bottom: 1px solid #26262c;
}
.hero-text {
    padding: 22px 30px 26px 30px;
    text-align: center;
    background: linear-gradient(to bottom, #2b0606 0%, #16090c 55%, #0d0d10 100%);
}
#hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 40px;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 2px 2px 6px #000;
}
#hero h1 .red { color: #e02b2b; }
#hero p {
    margin: 10px auto 18px auto;
    width: 640px;
    color: #c9c9cf;
    font-size: 13px;
}
.join-btn {
    display: inline-block;
    background: #b30000;
    background: linear-gradient(to bottom, #d21a1a 0%, #8f0000 100%);
    color: #fff !important;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 12px 42px;
    border: 1px solid #ff5a5a;
    outline: 1px solid #4d0000;
}
.join-btn:hover { background: #e02b2b; text-decoration: none !important; }

/* ---------- layout columns ---------- */
#content { padding: 18px; overflow: hidden; }
.col-left  { float: left;  width: 472px; }
.col-right { float: right; width: 472px; }
.col-full  { clear: both; }
.clear { clear: both; height: 0; overflow: hidden; }

/* ---------- boxes: original block gradient ---------- */
.box {
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
    margin-bottom: 18px;
}
.box h2 {
    background: #000;
    color: #fff;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-bottom: 2px solid #b30000;
}
.box h2 .accent { color: #e02b2b; }
.box .inner {
    padding: 12px 14px;
    background: url('orig/bg_block_1px.png') repeat-x 0 0;
}
.box ul { list-style: none; }
.box ul li {
    padding: 5px 0 5px 14px;
    border-bottom: 1px dotted #2c2c33;
    position: relative;
}
.box ul li:before {
    content: "\00BB";
    color: #e02b2b;
    position: absolute;
    left: 0;
    font-weight: bold;
}
.box ul li:last-child { border-bottom: none; }
.box p { margin-bottom: 9px; }
.box p:last-child { margin-bottom: 0; }

/* status table */
table.status { width: 100%; border-collapse: collapse; }
table.status td {
    padding: 5px 4px;
    border-bottom: 1px dotted #2c2c33;
}
table.status td.k { color: #9a9aa2; width: 45%; }
table.status td.v { color: #fff; font-weight: bold; }
.online { color: #58d158; font-weight: bold; }
.placeholder-note {
    font-size: 10px;
    color: #77777f;
    font-style: italic;
    margin-top: 8px;
}

/* ---------- news ---------- */
.news-item { overflow: hidden; padding: 12px 4px; border-bottom: 1px solid #26262c; }
.news-item:last-child { border-bottom: none; }
.news-date {
    float: left;
    width: 86px;
    text-align: center;
    margin-right: 14px;
    background: #101013;
    border: 1px solid #2e2e35;
    padding: 6px 0 8px 0;
}
.news-date .month {
    display: block;
    color: #e8b34b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.news-date .day {
    display: block;
    font-size: 38px;
    line-height: 1;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
}
.news-date .year { display: block; color: #77777f; font-size: 10px; }
.news-body { overflow: hidden; }
.news-body h3 { font-size: 14px; color: #fff; margin-bottom: 4px; }
.news-body h3 a { color: #fff; }
.news-body h3 a:hover { color: #e8b34b; }

/* ---------- vote: original image blocks ---------- */
#vote { text-align: center; }
#vote .inner { padding: 14px; }
#vote p { color: #9a9aa2; font-size: 11px; margin-bottom: 8px; }
.vote-blocks { overflow: hidden; text-align: center; }
.image_block {
    display: inline-block;
    vertical-align: top;
    width: 277px;
    background: #0b0b0b url('orig/bg_block_1px.png') repeat-x 0 0;
    border: 1px solid #1f1f1f;
    padding: 13px 11px 10px 11px;
    margin: 4px 3px;
    text-align: center;
}
.image_block img { display: block; width: 277px; height: 110px; }
.image_block .content { padding-top: 8px; }
.arrow-link {
    background: url('orig/pointer.gif') no-repeat 0 50%;
    padding-left: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* ---------- forms ---------- */
form.reg { width: 420px; margin: 0 auto; }
form.reg label {
    display: block;
    text-align: left;
    color: #c9c9cf;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 12px 0 4px 0;
}
form.reg input[type="text"],
form.reg input[type="password"],
form.reg input[type="email"] {
    width: 100%;
    padding: 8px;
    background: #0d0d10;
    border: 1px solid #3a3a42;
    color: #fff;
    font-size: 13px;
    box-sizing: border-box;
}
form.reg input:focus { border-color: #b30000; outline: none; }
form.reg .submit-row { text-align: center; margin-top: 18px; }
form.reg button {
    background: #b30000;
    background: linear-gradient(to bottom, #d21a1a 0%, #8f0000 100%);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 10px 34px;
    border: 1px solid #ff5a5a;
    cursor: pointer;
}
form.reg button:hover { background: #e02b2b; }

/* ---------- steps (connect page) ---------- */
.step {
    overflow: hidden;
    margin-bottom: 16px;
    background: #0b0b0b url('orig/bg_block_1px.png') repeat-x 0 0;
    border: 1px solid #1f1f1f;
    padding: 14px;
}
.step .num {
    float: left;
    width: 54px; height: 54px;
    line-height: 54px;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 28px;
    color: #fff;
    background: #b30000;
    margin-right: 14px;
}
.step h3 { color: #fff; font-size: 14px; margin-bottom: 4px; }
.step p { overflow: hidden; }

/* ---------- connect infobox: original banner + Elyos overlay ---------- */
.infobox {
    position: relative;
    height: 252px;
    overflow: hidden;
    background: #0d1b26 url('orig/bg_infobox_connect.png') no-repeat 50% 0;
    border: 1px solid #1f1f1f;
    margin-bottom: 18px;
    padding: 20px 22px;
}
.infobox h2 {
    position: relative;
    z-index: 2;
    font-size: 26px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.infobox h2 .accent { color: #e02b2b; }
.infobox p {
    position: relative;
    z-index: 2;
    width: 500px;
    color: #d8d8d8;
}
.infobox-overlay {
    position: absolute;
    right: -25px;
    top: -30px;
    height: 320px;
    width: auto;
    z-index: 1;
}
.infobox .warning {
    position: absolute;
    left: 22px;
    bottom: 18px;
    z-index: 2;
    background: #742E03;
    border: 1px solid #ffd800;
    width: 470px;
}
.infobox .warning p {
    background: url('orig/icon_warning.png') no-repeat 7px 50%;
    padding: 8px 10px 8px 40px;
    color: #e8ddc8;
    font-size: 11px;
    width: auto;
    margin: 0;
}

/* ---------- gate page ---------- */
#gate {
    width: 640px;
    margin: 300px auto 26px auto;
    background: #0b0b0b;
    border: 1px solid #1f1f1f;
    text-align: left;
}
#gate .inner {
    padding: 22px 26px;
    background: url('orig/bg_block_1px.png') repeat-x 0 0;
}
#gate h1 {
    font-family: Georgia, serif;
    font-size: 26px;
    letter-spacing: 3px;
    color: #f0d089;
    text-align: center;
}
#gate .sub {
    text-align: center;
    letter-spacing: 6px;
    color: #c02727;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 14px;
}
#gate ol { margin: 12px 0 12px 22px; }
#gate ol li { padding: 4px 0; }
#gate .accept-row { text-align: center; margin: 20px 0 6px 0; }
/* accept button: original EULA button sprite (green band) */
.eula-accept {
    display: block;
    width: 279px;
    height: 72px;
    margin: 0 auto;
    background: url('orig/eula_buttons.png') no-repeat 0 -184px;
    color: #fff !important;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-align: center;
    line-height: 72px;
    text-shadow: 1px 1px 3px #20300f;
}
.eula-accept:hover { text-decoration: none !important; color: #fff !important; }
.gate-votes {
    width: 936px;
    margin: 0 auto 30px auto;
    text-align: center;
}
.gate-votes p { color: #9a9aa2; font-size: 11px; margin-bottom: 6px; }

/* ---------- footer: original footer texture ---------- */
#footer {
    background: #000 url('orig/bg_footer.png') repeat-x 0 0;
    border-top: 3px solid #b30000;
    padding: 16px 18px 20px 18px;
    color: #8a8a92;
    font-size: 11px;
    overflow: hidden;
}
#footer .dir { float: left; width: 60%; }
#footer .dir a { color: #b9b9c0; margin-right: 10px; }
#footer .copy { float: right; width: 38%; text-align: right; }
#footer .disclaimer {
    clear: both;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #26262c;
    text-align: center;
    color: #66666e;
    font-size: 10px;
}

/* ===== Discord band ===== */
.discord-band { display:flex; align-items:center; gap:18px; background:#5865F2; border:1px solid #4752C4; padding:16px 22px; margin:18px 0; color:#fff; }
.discord-band .dc-logo { flex:0 0 auto; line-height:0; }
.discord-band .dc-text { flex:1 1 auto; }
.discord-band .dc-text h3 { margin:0 0 4px; font-size:20px; letter-spacing:1px; color:#fff; }
.discord-band .dc-text p { margin:0; color:#E3E6FF; font-size:14px; }
.discord-band .dc-btn { flex:0 0 auto; background:#fff; color:#5865F2; font-weight:bold; padding:11px 18px; text-decoration:none; border-radius:3px; letter-spacing:1px; white-space:nowrap; }
.discord-band .dc-btn:hover { background:#E3E6FF; }
