/* BOTS!! -- 2008 Acclaim portal look: black page, tight Verdana, dark boxes. */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #000;
    color: #ccc;
    font: 11px Verdana, Tahoma, Arial, sans-serif;
}
a { color: #ffcc33; text-decoration: none; }
a:hover { text-decoration: underline; }

#page { width: 980px; margin: 0 auto; background: #000; }

/* Acclaim top bar -- original logo_aklaim1.jpg + the white/red My Account pill */
#acclaimbar {
    height: 50px; padding: 6px 10px; position: relative;
    background: #000; border-bottom: 1px solid #1a1a1a;
}
.acclaimlogo { height: 38px; border: 0; }
.accountbtn { position: absolute; right: 10px; top: 12px; }
.accountbtn img { display: block; border: 0; }
.accountbtn a:hover img { filter: brightness(1.08); }

/* Nav strip on the original top_nav_bg2.jpg slice, with hover dropdowns
   like the original site (ABOUT BOTS -> INTRODUCTION / STORY / ...). */
#nav {
    background: #000 url('../img/top_nav_bg2.jpg') repeat-x;
    height: 28px; line-height: 28px; text-align: center;
}
.navitem { display: inline-block; position: relative; }
.navitem > a {
    display: inline-block; color: #fff; font-weight: bold; font-size: 11px;
    padding: 0 16px; letter-spacing: 1px;
}
.navitem > a.on, .navitem:hover > a { color: #3fd9a0; text-decoration: none; }
/* Dropdown panel like the original: translucent slate-blue, centered items */
.navitem .sub {
    display: none; position: absolute; left: 50%; transform: translateX(-50%);
    top: 28px; z-index: 50; min-width: 150px; text-align: center;
    background: rgba(52, 78, 96, 0.82);
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}
.navitem:hover .sub { display: block; }
.navitem .sub a {
    display: block; color: #fff; font-weight: bold; font-size: 10px;
    letter-spacing: 1px; padding: 7px 14px; line-height: 1;
}
.navitem .sub a:hover { color: #3fd9a0; background: rgba(30, 50, 64, 0.9); text-decoration: none; }

/* BOTS!! banner -- the ORIGINAL base.jpg (logo + green robot). Non-home pages
   show the top strip; the home page uses #hero for the full art. */
#banner {
    height: 120px;
    background: #101010 url('../img/base.jpg') no-repeat left top;
}
#hero {
    height: 352px; margin-bottom: 12px;
    background: #101010 url('../img/base.jpg') no-repeat left top;
}

/* Columns */
#cols { display: flex; gap: 12px; padding: 12px; align-items: flex-start; }
#side { width: 220px; flex: none; }
#main { flex: 1; min-width: 0; }

/* Boxes */
.box { background: #141414; border: 1px solid #333; margin-bottom: 12px; }
.boxhead {
    background: linear-gradient(#3a3a3a, #1c1c1c);
    color: #ffcc33; font-weight: bold; font-size: 11px; letter-spacing: 1px;
    padding: 5px 10px; border-bottom: 1px solid #333;
}
.boxbody { padding: 10px; }
.boxbody.center { text-align: center; }
.box.promo { border-color: #665020; }

label { display: block; color: #999; margin: 6px 0 2px; }
input[type=text], input[type=password], input[type=email], select {
    width: 100%; padding: 4px; background: #0a0a0a; color: #eee;
    border: 1px solid #444; font: 11px Verdana, sans-serif;
}
/* Invite link row: read-only URL field + copy button side by side */
.invrow { display: flex; gap: 6px; align-items: stretch; max-width: 460px; }
.invrow input { flex: 1; min-width: 0; background: #111; color: #ffe08a; }
.invrow .goldbtn { white-space: nowrap; }
.goldbtn {
    display: inline-block; padding: 4px 18px; border-radius: 12px; cursor: pointer;
    background: linear-gradient(#fff8d0, #f0c030 45%, #d09010);
    border: 1px solid #806000; color: #402800 !important; font: bold 11px Verdana, sans-serif;
}
.goldbtn:hover { text-decoration: none; filter: brightness(1.08); }

.small { color: #888; font-size: 10px; margin-top: 8px; }

/* REGISTER NOW button image: round the corners away (the JPG has white
   corners baked in that clash with the dark theme). */
.regbtn {
    display: block; width: 100%; border: 0;
    border-radius: 14px;
}
a:hover .regbtn { filter: brightness(1.08); }

/* Password + GO row (original login had the GO arrow next to the field) */
.pwrow { display: flex; gap: 4px; align-items: stretch; }
.pwrow input { flex: 1; min-width: 0; }
.gobtn {
    flex: none; cursor: pointer; padding: 2px 8px;
    background: linear-gradient(#4a4a4a, #1a1a1a); color: #ffcc33;
    border: 1px solid #666; font: bold 11px Verdana, sans-serif;
}
.gobtn:hover { filter: brightness(1.2); }
.welcome { margin-bottom: 8px; }
.gold { color: #ffcc33; }
.big { font-size: 13px; font-weight: bold; line-height: 1.5; }
.err { background: #2a0e0e; border: 1px solid #703030; color: #ff9c9c; padding: 8px 10px; margin-bottom: 10px; }
.ok  { background: #0e2a12; border: 1px solid #2f7040; color: #9cffb0; padding: 8px 10px; margin-bottom: 10px; }

/* News / FAQ style row lists */
.rows { width: 100%; border-collapse: collapse; }
.rows td, .rows th {
    padding: 5px 8px; border-bottom: 1px solid #262626; text-align: left;
}
.rows th { color: #ffcc33; background: #1d1d1d; font-size: 10px; letter-spacing: 1px; }
.rows tr:nth-child(even) td { background: #181818; }
.rows tr:hover td { background: #202018; }
.rows .num { text-align: right; }

/* 3D bot model preview on the profile */
.botmodel { text-align: center; margin-bottom: 10px; }
.botmodel #bot3d {
    width: 300px; height: 300px; margin: 0 auto; cursor: grab;
    background: #14161e; border: 1px solid #333; border-radius: 4px;
}
.botmodel #bot3d:active { cursor: grabbing; }
.botmodel #bot3d canvas { display: block; border-radius: 4px; }

/* Tabbed equipment panel (like the in-game My Info screen) */
.eqtabs { display: flex; gap: 3px; margin-bottom: 8px; }
.eqtab {
    background: #1b1d26; color: #999; border: 1px solid #333; border-bottom-color: #555;
    padding: 4px 16px; cursor: pointer; font: bold 11px Verdana, sans-serif;
    border-radius: 4px 4px 0 0;
}
.eqtab:hover { color: #ddd; }
.eqtab.active { background: #2a2438; color: #ffd24a; border-color: #555; }
.eqpanel { display: flex; gap: 8px; align-items: stretch; }
.eqcol { width: 148px; flex: 0 0 148px; }
.eqslots { display: none; flex-direction: column; gap: 6px; }
.eqslots.active { display: flex; }
.eqslot {
    background: #1b1d26; border: 1px solid #333; border-radius: 4px;
    min-height: 68px; padding: 4px; display: flex;
    align-items: center; justify-content: center; text-align: center;
}
.eqslot.empty .eqlabel { color: #4a4a55; font: bold 11px Verdana, sans-serif; }
.eqcenter { flex: 1; display: flex; align-items: center; justify-content: center; }

/* Character stat sheet */
.statgrid { display: flex; flex-wrap: wrap; gap: 0; }
.stat {
    width: 33.33%; padding: 6px 10px; border-bottom: 1px solid #242424;
}
.stat .k { color: #888; font-size: 10px; display: block; }
.stat .v { color: #fff; font-weight: bold; font-size: 13px; }
.xpbar { background: #0a0a0a; border: 1px solid #444; height: 12px; margin-top: 3px; }
.xpbar div { height: 100%; background: linear-gradient(#9be24b, #4c9b17); }

.charcard {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 10px; border-bottom: 1px solid #262626;
}
.charcard .nm { font-weight: bold; color: #7ec8ff; font-size: 13px; }
.charcard .lv { color: #ffcc33; }
.online  { color: #7ee27e; font-weight: bold; }
.offline { color: #777; }

/* Item catalog -- a shop-style grid of icon tiles with an in-game hover tooltip */
.itemgrid {
    display: grid; grid-template-columns: repeat(auto-fill, 84px);
    gap: 6px; justify-content: start;
}
.itwrap {
    position: relative; display: flex; flex-direction: column; align-items: center;
    width: 84px; padding: 5px 3px 4px; background: #181818; border: 1px solid #333;
    cursor: default;
}
.itwrap:hover { border-color: #ffcc33; background: #202018; z-index: 30; }

/* Icon square, tinted by BOT model (Patch/Surge/Ram); coin items get a gold ring */
.iticon {
    position: relative; width: 52px; height: 52px; line-height: 52px;
    text-align: center; font-size: 22px; font-weight: bold; color: #eaf4ff;
    border: 1px solid #40566a; border-radius: 4px;
    background: linear-gradient(#2b3d4d, #0e1922);
    text-shadow: 0 1px 2px #000;
}
.iticon.bot1 { background: linear-gradient(#3a5a2f, #16240f); border-color: #5a8a3a; } /* Patch - green */
.iticon.bot2 { background: linear-gradient(#2b4a6e, #0e1f30); border-color: #3f78b0; } /* Surge - blue */
.iticon.bot3 { background: linear-gradient(#6e4a2b, #30200e); border-color: #b0803f; } /* Ram - amber */
.iticon.coin { box-shadow: 0 0 0 1px #ffcc33 inset, 0 0 6px rgba(255,204,51,0.4); }
/* Real extracted game icon fills the tile face */
.iticon.img { padding: 0; overflow: visible; }
.iticon.img img { display: block; width: 52px; height: 52px; image-rendering: -webkit-optimize-contrast; }
.itbadge {
    position: absolute; right: -3px; top: -3px; min-width: 16px; height: 15px;
    line-height: 15px; padding: 0 3px; font-size: 10px; font-weight: bold;
    color: #201800; background: linear-gradient(#ffe680, #f0b000);
    border: 1px solid #7a5800; border-radius: 8px; text-shadow: none;
}
.itname {
    margin-top: 4px; width: 100%; text-align: center; color: #cfcfcf;
    font-size: 9px; line-height: 1.15; height: 22px; overflow: hidden;
}

/* The tooltip itself -- dark card matching the game's light-blue popup */
.ittip {
    display: none; position: absolute; left: 50%; transform: translateX(-50%);
    top: 100%; z-index: 60;
    width: 220px; margin-top: 4px; padding: 8px 10px;
    background: #0c1620; border: 1px solid #3a6ea5; box-shadow: 0 4px 14px #000;
    text-align: left; white-space: normal;
}
.itwrap:hover .ittip { display: block; }

/* ---- Screenshot gallery + lightbox carousel ------------------------------ */
.gallery { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.gallery .shot {
    display: block; width: 104px; height: 78px; padding: 0;
    border: 1px solid #444; background: #111; cursor: pointer; overflow: hidden;
}
.gallery .shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .shot:hover { border-color: #ffcc33; }

/* Full-screen overlay */
.lb { display: none; position: fixed; inset: 0; z-index: 200;
    background: rgba(0,0,0,0.9); }
.lb.open { display: flex; align-items: center; justify-content: center; }
.lb-stage { position: relative; max-width: 90vw; max-height: 86vh; text-align: center; }
.lb-stage img {
    max-width: 90vw; max-height: 80vh; border: 1px solid #665020;
    box-shadow: 0 6px 30px #000; background: #000;
}
.lb-cap { margin-top: 8px; color: #ffcc33; font-weight: bold; letter-spacing: 1px; }
.lb-close {
    position: absolute; top: -14px; right: -14px; width: 30px; height: 30px;
    line-height: 28px; text-align: center; font-size: 20px; font-weight: bold;
    color: #201800; background: linear-gradient(#ffe680, #f0b000);
    border: 1px solid #7a5800; border-radius: 16px; cursor: pointer; user-select: none;
}
.lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 70px; line-height: 66px; text-align: center;
    font-size: 34px; font-weight: bold; color: #fff; cursor: pointer;
    background: rgba(52,78,96,0.55); border: 1px solid #3a6ea5; user-select: none;
}
.lb-nav:hover { background: rgba(52,78,96,0.9); color: #3fd9a0; }
.lb-prev { left: -60px; }
.lb-next { right: -60px; }
@media (max-width: 720px) {
    .lb-prev { left: 4px; } .lb-next { right: 4px; }
    .lb-close { top: 4px; right: 4px; }
}
.ittip-name { color: #7ec8ff; font-weight: bold; font-size: 12px; margin-bottom: 2px; }
.ittip-id { color: #888; font-size: 10px; margin-bottom: 5px; }
.ittip-meta { color: #cfe0e8; font-size: 11px; line-height: 1.5; font-family: "Courier New", monospace; }
.ittip-desc { color: #9fb4c4; font-size: 10px; font-style: italic; margin-top: 5px; line-height: 1.35; }
.ittip-price { color: #ffcc33; font-size: 10px; margin-top: 5px; border-top: 1px solid #223; padding-top: 4px; }

/* Filter bar */
.filterbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.filterbar a {
    display: inline-block; padding: 3px 9px; font-size: 10px; font-weight: bold;
    background: #1d1d1d; border: 1px solid #333; color: #bbb;
}
.filterbar a.on, .filterbar a:hover { color: #ffcc33; border-color: #ffcc33; text-decoration: none; }
.filterbar input[type=text] { width: 150px; }

#footer {
    border-top: 1px solid #222; margin-top: 8px; padding: 14px;
    text-align: center; color: #666; font-size: 10px;
}
#footer .revival { color: #444; }
