@charset "UTF-8";

/* =============================================
   FONT FACES
============================================= */
@font-face {
  font-family: 'Gotham-Book';
  src: url('/fonts/Gotham/Gotham-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham/Gotham-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham/Gotham-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gotham';
  src: url('/fonts/Gotham/Gotham-Light.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamCondensed';
  src: url('/fonts/Gotham Condensed/GothamCond-Book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamCondensed';
  src: url('/fonts/Gotham Condensed/GothamCond-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GothamCondensed';
  src: url('/fonts/Gotham Condensed/GothamCond-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SportyPro';
  src: url('/fonts/SportyPro-Bold/SportyPro-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Eric Meyer's Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, menu, nav, section, time {
  display: block;
}
body {
  line-height: 1;
  color: black;
  background: #0d1b2a;
}
a {
  color: inherit;
  text-decoration: none;
}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

textarea:focus, input:focus { outline: 0; }
input { border-width: 0; }
em { font-style: italic; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; margin-top: 0; margin-bottom: 0; }

.group:before, .group:after { content: " "; display: table; }
.group:after { clear: both; }

embed, img, object, video { max-width: 100%; }
sup { font-size: 58.3%; vertical-align: text-top; }
sub { font-size: 58.3%; vertical-align: text-bottom; }

.no-space-between-inline-blocks {
  letter-spacing: -0.31em;
  word-spacing: -0.43em;
}
.no-space-between-inline-blocks > * {
  letter-spacing: normal;
  word-spacing: normal;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: hidden;
}
*, *:after, *:before {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  color: #ffffff;
  font-family: Gotham-Book, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0;
  text-decoration: none;
  margin: 0;
  overflow-x: hidden;
}

/* =============================================
   GLOBAL CONTAINER
   Keep the 2824px artwork coordinates intact and
   scale the entire design to the current viewport.
============================================= */
.global_container_ {
  float: none;
  height: auto;
  left: 50%;
  margin-left: -1412px;
  position: relative;
  width: 2824px;
  background: url(/images/osro/hero_image.png) no-repeat 0 43px;
  background-size: 100% auto;
  zoom: 1;
}

/* =============================================
   HEADER
============================================= */
.header {
  height: 150px;
  margin: 0 auto;
  position: relative;
  width: 2824px;
}

.menu {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  left: 50%;
  min-height: 147px;
  padding: 24px 727px 59px 732px;
  position: absolute;
  top: 0;
  width: 2824px;
  background: url(/images/osro/bar.png) no-repeat;
  background-size: 100% 100%;
  margin-left: -1412px;
}

.logo {
  float: left;
}

/* ---- Navigation links ---- */
.menu-items {
  float: left;
  margin: 18px 0 0 70px;
  color: #9a9a9a;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 1.375em;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  color: #9a9a9a;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: #1e97d4; }
.nav-link.color1e97d4 { color: #1e97d4; }

/* --- Nav dropdown (works on all layouts) --- */
.nav-dropdown:hover .nav-dropdown-menu {
  display: block !important;
}
.nav-dropdown-inner {
  background: rgba(245, 237, 237, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(30, 151, 212, 0.28);
  border-radius: 12px;
  padding: 6px 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(30, 151, 212, 0.08);
}
.nav-dropdown-inner a {
  display: block;
  padding: 8px 20px;
  color: #3c6e8f;
  text-decoration: none;
  font-size: 13px;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 1px;
}
.nav-dropdown-inner a:hover {
  color: #1e97d4;
  background: rgba(30, 151, 212, 0.09);
}

.mobile-menu-toggle,
.mobile-menu-close,
.mobile-menu-backdrop,
.mobile-sidebar-extras {
  display: none;
}

.normal-link { float: left; flex: 0 0 auto; margin: 3px 0 0 30px; }
.normal-link img { display: block; }

.online-players {
  float: left;
  flex: 0 0 auto;
  margin: 1px 0 0 60px;
  min-height: 63px;
  padding: 0 0 7px;
  position: relative;
  width: 135px;
  background: url(/images/osro/group_1.png) no-repeat center bottom;
}
.text-2 {
  color: #2e93dc;
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 13.97px;
  font-weight: bold;
  letter-spacing: -0.015em;
  text-align: center;
}
.text-3 {
  margin: 14px 0 0;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 26.51px;
  font-weight: bold;
  text-align: center;
}

.server-time {
  float: left;
  flex: 0 0 auto;
  margin: 1px 0 0 28px;
  min-height: 63px;
  padding: 0 9px 7px;
  position: relative;
  width: 135px;
  background: url(/images/osro/group_1_2.png) no-repeat center bottom;
}
.text-4 {
  color: #2e93dc;
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 13.97px;
  font-weight: bold;
  letter-spacing: -0.015em;
  text-align: center;
}
.text-5 {
  margin: 14px 0 0;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 26.51px;
  font-weight: bold;
  text-align: center;
}

.normal {
  display: block;
}

/* ---- User Panel ---- */
.user-panel {
  left: 49%;
  min-height: 181px;
  padding: 67px 28px 29px;
  position: absolute;
  top: 80px;
  width: 363px;
  background: url(/images/osro/group_12.png) no-repeat;
  background-size: 100% 100%;
  margin-left: 358px;
  z-index: 100;
}
.user-panel.is-hidden {
  display: none;
}
.row-4 { position: relative; }
.auth-panel .row-4 { margin-top: 50px; }
.auth-panel .rectangle-10-holder { margin: -5px 0 0; }
.hue-saturation-3-copy { float: left; margin: 1px 10px 0 0; }
.text-6 {
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 0.908443em;
  font-weight: bold;
  text-shadow: 0 0 4px rgba(34,34,34,0.32);
}
.row-8 { margin: 8px 0 0; position: relative; }
.col-15 { float: left; margin: 0 6px 0 0; position: relative; width: 144px; }
.rectangle-9-holder {
  border: 1px solid rgba(255,255,255,0.69);
  border-radius: 6px;
  background: #f8f8f8;
  background-clip: padding-box;
}
.rectangle-9-copy-2-holder {
  margin: -1px -1px 0;
  min-height: 28px;
  padding: 0 13px;
  width: 144px;
  border: 1px solid rgba(255,255,255,0.69);
  border-radius: 6px;
  background: #f8f8f8;
  background-clip: padding-box;
  color: #a2a2a2;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.711686em;
  font-weight: 500;
  line-height: 28px;
}
.rectangle-9-copy-holder {
  margin: 7px auto 0;
  min-height: 26px;
  padding: 0 13px;
  width: 142px;
  border-radius: 5px;
  background: #f8f8f8;
  color: #a2a2a2;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.711686em;
  font-weight: 500;
  line-height: 26px;
}
.rectangle-10-holder {
  color: white;
  float: left;
  margin: 1px 0 0;
  min-height: 60px;
  width: 111px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffc705 -25%, #de4010 125%);
  box-shadow: inset 0 0 4px 0 #ffffff;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 1.657284em;
  font-weight: bold;
  line-height: 60px;
  text-align: center;
  text-shadow: 1.285575px 1.532089px 0 rgba(34, 34, 34, 0.21);
  cursor: pointer;
  border: white;
}

/* ---- Auth button (logged-in state) ---- */
.auth-btn-wrapper {
  float: left;
  flex: 0 0 auto;
  margin: 3px 0 0 30px;
  position: relative;
}

.auth-user-btn {
  width: 137px;
  height: 59px;
  background: url('/images/osro/buttonnormal.png') no-repeat center center;
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: opacity 0.15s;
}

.auth-user-btn:hover { opacity: 0.88; }

.auth-btn-welcome {
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  display: block;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.auth-btn-username {
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  display: block;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* ---- Auth dropdown panel ---- */
.auth-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 363px;
  min-height: 181px;
  padding: 20px 28px 20px;
  background: url(/images/osro/group_12.png) no-repeat;
  background-size: 100% 100%;
  z-index: 200;
}

.auth-panel.is-hidden { display: none; }

.auth-panel-links {
  float: left;
  margin: 0 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 144px;
}

.auth-panel-link {
  display: block;
  color: #ffffff;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.711686em;
  font-weight: 500;
  padding: 6px 10px;
  background: rgba(255,255,255,0.10);
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.18s;
  white-space: nowrap;
}

.auth-panel-link:hover { background: rgba(255,255,255,0.22); }

/* =============================================
   MAIN CONTENT WRAPPER
============================================= */
.main-content-wrapper {
  margin: 0px auto 0;
  position: relative;
  right: 54px;
  width: 1684px;
}

/* ---- Download / Register buttons ---- */
.big-buttons-final {
  margin: 0 375px 0 455px;
  position: relative;
}
.normal-2 { display: block; }
.normal-3 { display: block; }

.big-buttons-final a { float: left; display: block; }
.big-buttons-final a:first-child { margin: 16px 84px 0 0; }
.big-buttons-final a:hover { opacity: 0.9; }

/* ---- Server Info + Quick Links row ---- */
.row-7 {
  left: 51.5px;
  margin: 60px auto 0;
  position: relative;
  width: 1398px;
}

/* ---- Server Information panel ---- */
.server-information {
  float: left;
  margin: 0 16px 0 0;
  min-height: 570px;
  padding: 26px 27px;
  position: relative;
  width: 1002px;
  background: url(/images/osro/bg.png) no-repeat;
  background-size: 100% 100%;
}
.server-information-2 { display: block; margin: 0 auto; }

.row-1 { margin: 15px auto 0; position: relative; width: 918px; }
.row-1 > * { float: left; margin: 0 10px 0 0; }
.row-1 > *:last-child { margin-right: 0 !important; }

.auto-combat {
  min-height: 214px; padding: 134px 15px 17px; position: relative; width: 222px;
  background: url(/images/osro/layer_85.png) no-repeat;
}
.text-8 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-9 { margin: 3px auto 0; width: 182px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.auto-support {
  min-height: 214px; padding: 132px 15px 17px; position: relative; width: 222px;
  background: url(/images/osro/layer_85_2.png) no-repeat;
}
.text-10 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-11 { margin: 3px auto 0; width: 179px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.android-client {
  min-height: 214px; padding: 134px 15px 19px; position: relative; width: 222px;
  background: url(/images/osro/layer_85_3.png) no-repeat;
}
.text-12 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-13 { margin: 3px auto 0; width: 183px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.revo-classic {
  min-height: 214px; padding: 131px 15px 17px; position: relative; width: 222px;
  background: url(/images/osro/layer_85_4.png) no-repeat;
}
.text-14 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-15 { margin: 0 auto; width: 183px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.row-2 { margin: 21px auto 0; position: relative; width: 918px; }
.row-2 > * { float: left; margin: 0 10px 0 0; }
.row-2 > *:last-child { margin-right: 0 !important; }

.auto-combat-2 { padding: 96px 0 0; position: relative; width: 222px; background: url(/images/osro/1683726770990.png) no-repeat; }
.col { min-height: 118px; padding: 36px 15px 19px; position: relative; width: 222px; background: url(/images/osro/layer_85_5.png) no-repeat; background-size: 100% 100%; }
.text-16 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.2em; font-weight: 500; text-align: center; }
.text-17 { margin: 3px auto 0; width: 172px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.auto-support-2 { padding: 67px 0 0; position: relative; width: 222px; background: url(/images/osro/1687331738432.png) no-repeat; }
.col-2 { min-height: 147px; padding: 67px 15px 18px; position: relative; width: 222px; background: url(/images/osro/layer_85_5.png) no-repeat; background-size: 100% 100%; }
.text-18 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-19 { margin: 3px auto 0; width: 182px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.android-client-2 { padding: 67px 0 0; position: relative; width: 222px; background: url(/images/osro/1685162197968.png) no-repeat; }
.col-3 { min-height: 147px; padding: 66px 15px 17px; position: relative; width: 222px; background: url(/images/osro/layer_85_5.png) no-repeat; background-size: 100% 100%; }
.text-20 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.5em; font-weight: 500; text-align: center; }
.text-21 { margin: 3px auto 0; width: 180px; font-size: 0.5em; line-height: 1.2; text-align: center; }

.revo-classic-2 { padding: 48px 0 0; position: relative; width: 222px; background: url(/images/osro/1684635306758.png) no-repeat; }
.col-4 { min-height: 166px; padding: 56px 15px 19px; position: relative; width: 222px; background: url(/images/osro/layer_85_8.png) no-repeat; background-size: 100% 100%; }
.text-22 { font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.3em; font-weight: 500; line-height: 0.882099em; text-align: center; }
.text-23 { margin: 7px auto 0; width: 184px; font-size: 0.5em; line-height: 1.2; text-align: center; }

/* ---- Quick Links sidebar ---- */
.quick-links {
  float: left;
  margin: 9px 0 0;
  padding: 7px 0 8px;
  position: relative;
  width: 379px;
  border: 1px solid rgba(255,255,255,0.69);
  border-radius: 8px;
  background: rgba(250,238,238,0.32);
  background-clip: padding-box;
  box-shadow: 0 0 20px 0 rgba(0,0,0,0.28);
}
.discordcommunity {background: linear-gradient(180deg, #78c8f0 0%, #50b8e8 50%, #3ea8d8 100%) !important;}
.quicklinks { top: 5px; width: stretch; }
.col-5 {
  margin: 0 auto;
  min-height: 535px;
  padding: 3px 0 39px;
  position: relative;
  width: 362px;
  border-radius: 7px;
  background: rgba(250,238,238,0.92);
}
.roadmaph {
    width: 1360px;
    position: relative;
    top: 65px;
    left: -52px;
}
.header-2 { height: 48px; margin: 0 auto; position: relative; width: 338px; }
.col-6 {
  left: 50%; min-height: 35px; padding: 5px; position: absolute; top: 6px; width: 338px;
  background: linear-gradient(180deg, #cdd9e3 0%, #a8bece 50%, #96aebf 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  margin-left: -169px;
}
.layer-78-copy { display: block; position: relative; }
.text-24 {
  margin: -1px 0 0 131px;
  position: relative;
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 1.152167em;
  font-weight: bold;
  text-shadow: 0 0 4px rgba(34,34,34,0.32);
}
.poring { left: 82%; position: absolute; top: 0; margin-left: -108px; }

.menu-items-2 { margin: 37px auto 0; position: relative; width: 299px; }

/* Quick link rows — now <a> elements */
.ql-row {
  align-items: center;
  color: inherit;
  display: flex;
  min-height: 47px;
  /* padding: 0 0 0 25px; */
  position: relative;
  text-decoration: none;
  transition: opacity 0.2s;
  width: 299px;
}
.ql-row:hover { opacity: 0.75; }

.ql-row img {
  flex: 0 0 57px;
  max-height: 47px;
  object-fit: contain;
  object-position: center;
}

.ql-text {
  display: block;
  flex: 0 0 auto;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 27px;
  color: #3e87b1;
  line-height: 1;
  margin: 0 0 0 16px;
}

.row-12,
.row-13,
.row-14,
.row-15,
.row-16,
.row-17,
.row-18 { margin: 0; }

.layer-80,
.download-1,
.layer-81,
.layer-82,
.monsterdrops-0198cc062f2935f42d63c7abf3ade31c,
.layer-84,
.layer-86-copy { float: none; margin: 0; }

.layer-79,
.layer-79-copy,
.layer-79-copy-2,
.layer-79-copy-3,
.layer-79-copy-4,
.layer-79-copy-5 {
  display: block;
  margin: 4px auto;
  width: 290px;
}

/* =============================================
   DISCORD / REVIEW SECTION
============================================= */
.discord-review {
  margin: 19px 0 0;
  overflow: hidden;
  padding: 0 0 19px;
  position: relative;
  width: 1607px;
  background: url(/images/osro/fantasy-landscape-floatin.png) no-repeat 189px 0;
  
}
.discord-commnuity { margin: 0 auto; position: relative; right: 15.5px; width: 1576px; }
.character { float: left; position: relative; }
.col-16 { float: left; margin: 140px 0 0 -13px; position: relative; width: 381px; }
.text-30 {
  margin: 0 0 0 19px;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 47px;
  font-weight: bold;
  line-height: 0.914894em;
  text-shadow: 1.285575px 1.532089px 0 rgba(34,34,34,0.36);
}
.normal-4 { display: block; margin: 29px auto 0; }
.col-16 a:hover { opacity: 0.9; }

.col-12 { float: right; margin: 33px 0 0; position: relative; width: 710px; }
.layer-78-holder {
  min-height: 35px; padding: 0 16px; position: relative; width: 710px;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #78c8f0 0%, #50b8e8 50%, #3ea8d8 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.35);
}
.hue-saturation-3 { float: left; margin: 1px 12px 0 0; }
.text-31 { font-family: SportyPro, "Arial Black", Impact, sans-serif; font-size: 1.152167em; font-weight: bold; text-shadow: 0 0 4px rgba(34,34,34,0.32); }
.layer-86 { display: block; margin: 28px 0 0; }
.col-12 a:hover img { opacity: 0.9; }

/* =============================================
   BOTTOM WRAPPER (Roadmap + HoF + Guild)
============================================= */
.wrapper-6 {
  height: 1015px;
  left: 94.5px;
  margin: -20px auto 0;
  position: relative;
  width: 1495px;
}

/* ---- Hall of Fame ---- */
.hall-of-fame {
  left: 50%;
  min-height: 341px;
  padding: 26px 20px;
  position: absolute;
  top: 674px;
  width: 553px;
  background: url(/images/osro/door-stretching-into-fant.png) no-repeat;
  background-size: 100% 100%;
  margin-left: -747.5px;
}
.header-3 { display: block; margin: 0 auto; }
.text-32 {
  margin: 12px 10px 0;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 9px;
  font-weight: 100;
  text-align: right;
  white-space: nowrap;
}
.text-32 a { color: inherit; cursor: pointer; }
.text-32 a:hover { color: #ffd409; }
.text-32 a.hof-tab-active { color: #fff; font-weight: bold; }

.row-9 { left: 7.5px; margin: 13px auto 0; position: relative; width: 468px; }
.row-9 > * { float: left; margin: 0 24.3px 0 0; }
.row-9 > *:last-child { margin-right: 0 !important; }

.col-18 { position: relative; width: 148px; margin-top: 3px !important; }
.rectangle-11-copy-holder {
  min-height: 17px; padding: 0 6px; position: relative; width: 74px;
  border-radius: 8.5px;
  background: linear-gradient(180deg, #b4ece9 -25%, #93a5cf 125%);
  box-shadow: inset 0 0 4px 0 #ffffff;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.482901em;
  font-weight: bold;
  line-height: 17px;
  text-align: center;
  text-shadow: 0.642788px 0.766044px 0 rgba(44,120,175,0.36);
  text-transform: uppercase;
}
.text-34 { margin: 14px 0 0; color: #ffd409; font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 1.562499em; font-weight: 500; }
.row-11 { margin: 18px 0 0; position: relative; width: 148px; }
.text-35 { float: left; width: 74px; color: #ebebeb; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.593824em; font-weight: bold; line-height: 1.684211em; }
.text-36 { float: right; width: 74px; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.593824em; font-weight: 500; line-height: 1.684211em; text-align: center; }

.rms-char-gen { position: relative; width: 76px; z-index: 0; margin-top: 63px !important; }
.layer-88 { display: block; margin: 0 auto; position: relative; z-index: 51; width: 76px; height: 93px; object-fit: contain; object-position: bottom center; }
.layer-84-copy { display: block; margin: -24px auto 0; position: relative; z-index: 50; }

.rankings-2 {
  min-height: 208px; position: relative; width: 195px;
  background: url(/images/osro/rounded_rectangle_6_copy_.png) no-repeat 20px 0;
}
.text-37 { float: left; margin: 1px 0 0; width: 15px; color: #ffd409; font-family: SportyPro, "Arial Black", Impact, sans-serif; font-size: 0.515538em; font-weight: bold; line-height: 2.499577em; }
.text-38 { float: left; margin: 0 0 0 18px; width: 97px; color: #3e87b1; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.515538em; font-weight: 500; line-height: 2.499577em; }
.text-39 { float: left; margin: 0 0 0 21px; width: 44px; color: #aac1d5; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.515538em; font-weight: 500; line-height: 2.499577em; text-align: center; }

/* ---- Guild / War of Emperium ---- */
.guild {
  height: 361px;
  left: 50%;
  position: absolute;
  top: 654px;
  width: 845px;
  background: url(/images/osro/gotm.png) no-repeat center bottom;

  margin-left: -174.5px;
}
.gotm-badge-wrap {
  position: absolute;
  left: 40px;
  bottom: 20px;
  display: inline-block;
}
.gotm-badge {
  display: block;
  height: auto;
  pointer-events: none;
}
.gotm-guild-emblem {
  position: absolute;
  top: 30%;
  left: 47%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}
.gotm-badge-tip {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
  color: #000;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.55em;
  line-height: 1.5;
  text-align: center;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.gotm-badge-wrap:hover .gotm-badge-tip {
  display: none;
}
.castle-emblem-wrap {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.castle-emblem-tip {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.82);
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.55em;
  line-height: 1.5;
  text-align: center;
  z-index: 200;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.castle-emblem-wrap:hover .castle-emblem-tip {
  display: none;
}
.header-4 {
  left: 50%; min-height: 105px; padding: 5px 8px 0; position: absolute; top: 46px; width: 784px;
  background: url(/images/osro/layer_1_copy.png) no-repeat; background-size: 100% 100%;
  margin-left: -392.5px;
}
.col-8 {
  margin: 4px auto 0; min-height: 23px; padding: 0 33px; position: relative; width: 765px;
  background: url(/images/osro/layer_78_copy.png) no-repeat; background-size: 100% 100%;
  font-family: SportyPro, "Arial Black", Impact, sans-serif; font-size: 1.152167em; font-weight: bold; line-height: 23px;
  text-shadow: 0 0 4px rgba(34,34,34,0.32);
}
.row-5 { margin: 25px 159px 0 208px; position: relative; }
.castle-owners-header { float: left; margin: 7px 59px 0px 40px; }
.agit-lords-header { float: left; }

.castle-holders {
  left: 50%; min-height: 157px; padding: 18px 0 0; position: absolute; top: 162px; width: 221px;
  background: url(/images/osro/layer_22_copy_5.png) no-repeat;
  margin-left: -163.5px;
}
.row-6 { margin: 0 auto; position: relative; text-align: center; }
.row-6 > * { margin: 0 57px 0 0; }
.row-6 > *:last-child { margin-right: 0 !important; }
.layer-90 { margin-top: 1px !important; }
.layer-91 { margin-top: 3px !important; }
.row-6 > * { display: inline-block; vertical-align: top; }

.row { margin: 46px auto 0; min-height: 67px; padding: 19px 19px 24px 21px; position: relative; width: 141px; background: url(/images/osro/layer_89.png) no-repeat; }
.layer-93 { float: left; }
.maryo { float: right; }

.job1011-6301d0d4-copy { left: 50%; position: absolute; top: 0; margin-left: 219.5px; }

.agit-lords-active {
  left: 50%; min-height: 148px; padding: 10px 12px; position: absolute; top: 157px; width: 244px;
  background: url(/images/osro/rectangle_23_copy_2.png) no-repeat; background-size: 100% 100%;
  margin-left: 70.5px;
  display: flex; flex-direction: column;
}
.agit-row { display: flex; flex-direction: row; align-items: center; padding: 2px 5px !important; }
.agit-row-header { margin-bottom: 11px; }
.agit-row-odd { background: #a08771; padding: 2px 5px; }
.agit-cell-rank  { flex: 0 0 28px; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.593824em; font-weight: bold; padding: 2px 3px; }
.agit-cell-guild { flex: 1; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.593824em; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 4px; }
.agit-cell-points { flex: 0 0 38px; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.593824em; font-weight: 500; text-align: right; padding: 2px 3px; }

/* ---- Roadmap ---- */
.roadmap {
  left: 50%; padding: 0 0 20px; position: absolute; top: 0; width: 1495px;
  background: url(/images/osro/roadmapbg.png) no-repeat left bottom;
  margin-left: -747.5px;
}
.adventure-starts-here { height: 635px; left: 13px; margin: 0 auto; position: relative; width: 1469px; }
.roadmap-items {
  height: 513px; left: 50%; position: absolute; top: 122px; width: 1085px;
  background: url(/images/osro/vector_smart_object_3.jpg) no-repeat 0 45px;
  margin-left: -484.5px;
}
.roadmap-items a { display: block; }
.roadmap-items a:hover img { opacity: 0.88; }

.roadmap-1  { left: 50%; position: absolute; top: 155px; margin-left: -508.5px; }
.road-map-2 { left: 50%; position: absolute; top: 324px; margin-left: -424.5px; }
.roadmap-3  { left: 50%; position: absolute; top: 78px;  margin-left: -287.5px; }
.road-map-4 { left: 50%; position: absolute; top: 310px; margin-left: -142.5px; }
.roadmap-5  { left: 50%; position: absolute; top: 151px; margin-left: -12.5px; }
.road-map-6 { left: 50%; position: absolute; top: 0;     margin-left: 69.5px; }
.road-map-7 { left: 50%; position: absolute; top: 166px; margin-left: 307.5px; }
.road-map-8 { left: 50%; position: absolute; top: 335px; margin-left: 238.5px; }

.kafra        { left: 50%; position: absolute; top: 162px; margin-left: -734.5px; }
.group-22 {
    left: 48%;
    position: absolute;
    top: 139px;
    margin-left: -526.5px;
}
.cha02-64a6921c { left: 50%; position: absolute; top: 0; margin-left: 412.5px; }

/* =============================================
   FOOTER
============================================= */
.footer {
  height: 445px;
  margin: 13px 0 0;
  position: relative;
  width: 2824px;
  background: url(/images/osro/layer_102.jpg) no-repeat center bottom;
  
}
.line {
  height: 1px; left: 50%; position: absolute; top: 311px; width: 1250px;
  background-color: rgba(160,181,197,0.25);
  margin-left: -623px;
}
.social_media_analytics_mascot_229424b468-copy-holder {
  left: 50%; padding: 176px 23px 232px; position: absolute; top: 0; width: 438px;
  background: url(/images/osro/social_media_analytics_ma.png) no-repeat;
  margin-left: 419px;
}
.layer { display: block; margin: 0 auto; position: relative; right: 177.5px; }

.logo-copy     { left: 50%; position: absolute; top: 56px;  margin-left: -677px; }
.s1            { left: 50%; position: absolute; top: 126px; margin-left: -242px; }
.gravity       { left: 50%; position: absolute; top: 119px; margin-left: -439px; }
.rothemes-logo { left: 37.5%; position: absolute; top: 190px; margin-left: -90px; }

/* Wrapper divs — invisible to desktop absolute-layout, styled for mobile */
.footer-brand-row,
.footer-links-row,
.footer-social-row { display: contents; }

/* Mobile-only Discord icon — hidden on desktop */
.footer-discord-mobile { display: none; }

.text-44 {
  left: 50%; position: absolute; top: 338px;
  color: #a0b5c5; font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-size: 0.6875em; font-weight: 500; line-height: 12px;
  margin-left: -624px;
}

/* Footer Quick Links */
.quick-links-2 { left: 50%; position: absolute; top: 119px; width: 104px; margin-left: -2px; }
.text-45 { color: #a0b5c5; font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 23.27px; font-weight: bold; }
.row-2-2 { margin: 13px 0 0; position: relative; width: 104px; }
.arrows { float: left; margin: 8px 0 0; position: relative; width: 13px; }
.vector-smart-object       { display: block; }
.vector-smart-object-copy  { display: block; margin: 15px 0 0; }
.vector-smart-object-copy-2 { display: block; margin: 14px 0 0; }
.vector-smart-object-copy-3 { display: block; margin: 15px 0 0; }
.text-46 {
  float: right;
  width: 77px;
  color: #a0b5c5;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.6875em;
  font-weight: 500;
  line-height: 2.545455em;
}
.text-46 a { color: #a0b5c5;line-height: 2.545455em; transition: color 0.2s; }
.text-46 a:hover { color: #fff; }

/* Footer Support */
.support { left: 50%; position: absolute; top: 119px; width: 157px; margin-left: 193px; }
.support-2 { color: #a0b5c5; font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 23.27px; font-weight: bold; }
.row-3 { margin: 12px 0 0 1px; position: relative; }
.arrows-2 { float: left; margin: 7px 14px 0 0; position: relative; width: 13px; }
.vector-smart-object-2        { display: block; }
.vector-smart-object-copy-4   { display: block; margin: 15px 0 0; }
.vector-smart-object-copy-2-2 { display: block; margin: 14px 0 0; }
.vector-smart-object-copy-3-2 { display: block; margin: 15px 0 0; }
.text-47 {
  float: left;
  width: 129px;
  color: #a0b5c5;
  font-family: Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 0.6875em;
  font-weight: 500;
  line-height: 2.545455em;
}
.text-47 a { color: #a0b5c5;line-height: 2.545455em; transition: color 0.2s; }
.text-47 a:hover { color: #fff; }

/* Footer Community */
.text-48 {
  left: 50%; position: absolute; top: 121px;
  color: #a0b5c5; font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-size: 23.27px;
  font-weight: bold; line-height: 0.859476em;
  margin-left: 395px;
}
.layer-2 { left: 50%; position: absolute; top: 176px; margin-left: 397px; }

/* =============================================
   UTILITY / COLOUR CLASSES
============================================= */
.color1e97d4  { color: #1e97d4; }
.color3e87b1  { color: #3e87b1; }
.hof-row-active { color: #fff !important; }
.text-style   { color: #ffd409; font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif; font-style: italic; }
.text-style-2 { font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-weight: bold; }
.text-style-3 { font-family: Gotham, "Arial Narrow", Arial, sans-serif; font-weight: 100; }

@supports not (zoom: 1) {
  .global_container_ {
    transform: none;
    transform-origin: top center;
  }
}

@media (max-width: 768px) {
  .global_container_ {
    left: 0;
    margin-left: 0;
    zoom: calc(100vw / 2824px);
  }

  @supports not (zoom: 1) {
    .global_container_ {
      left: 50%;
      margin-left: -1412px;
      transform: scale(calc(100vw / 2824px));
    }
  }
}

@media (max-width: 768px) {
  body {
    background-color: #c9d3de;
    background-image:
      url('../images/osro/topbg.png'),
      url('../images/osro/lowbg.png');
    background-position: top center, bottom center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100% auto, 100% auto;
    overflow-x: hidden;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  .global_container_ {
    left: auto;
    margin-left: 0;
    overflow: hidden;
    transform: none;
    transform-origin: top center;
    width: 100%;
    background: transparent;
    background-size: auto;
    zoom: 1;
  }

  .header {
    height: auto;
    min-height: 0;
    padding: 0 14px 18px;
    width: 100%;
  }

  .menu {
    align-items: center;
    background:
      linear-gradient(180deg, rgba(245,237,237,0.97), rgba(235,225,225,0.97));
    border-bottom: 1px solid rgba(30, 151, 212, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    left: auto;
    margin-left: 0;
    min-height: 0;
    padding: 12px;
    position: relative;
    top: auto;
    width: 100%;
  }

  .logo {
    float: none;
    height: auto;
    margin-right: auto;
    width: 132px;
  }

  .mobile-menu-toggle {
    align-items: center;
    background: linear-gradient(180deg, #2e93dc, #176ca7);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 7px;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 42px;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    position: absolute;
    right: 12px;
    top: 22px;
    width: 46px;
    z-index: 1003;
  }

  .mobile-menu-toggle span {
    background: #ffffff;
    border-radius: 2px;
    display: block;
    height: 2px;
    width: 21px;
  }

  .mobile-menu-close {
    align-items: center;
    background: rgba(30, 151, 212, 0.12);
    border: 1px solid rgba(30, 151, 212, 0.28);
    border-radius: 7px;
    color: #1e6fa8;
    cursor: pointer;
    display: flex;
    font-family: Arial, sans-serif;
    font-size: 30px;
    height: 40px;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 18px 0;
    padding: 0 0 4px;
    width: 40px;
  }

  .mobile-menu-backdrop {
    background: rgba(3, 10, 18, 0.62);
    display: block;
    height: 100vh;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    transition: opacity 0.22s ease;
    width: 100vw;
    z-index: 1000;
  }

  .menu-items {
    align-items: stretch;
    background:
      linear-gradient(180deg, rgba(245,237,237,0.99), rgba(235,225,225,0.99));
    border-left: 1px solid rgba(30, 151, 212, 0.22);
    box-shadow: -10px 0 28px rgba(0, 0, 0, 0.14);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    float: none;
    font-size: 1.04em;
    gap: 8px;
    height: 100vh;
    justify-content: flex-start;
    line-height: 1.2;
    margin: 0;
    max-width: 320px;
    overflow-y: auto;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    width: min(82vw, 320px);
    z-index: 1002;
  }

  .nav-link {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(30, 151, 212, 0.18);
    border-radius: 6px;
    color: #1e6fa8;
    padding: 13px 14px;
    font-weight: 500;
  }

  .menu.is-open .menu-items {
    transform: translateX(0);
  }

  .menu.is-open .mobile-menu-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .online-players,
  .server-time {
    background: url(/images/osro/group_1.png) no-repeat center bottom;
    background-size: 100% 100%;
    border-radius: 8px;
    float: none;
    margin: 14px 4px 0;
    min-height: 62px;
    padding: 9px 8px;
    width: calc(50% - 12px);
  }

  .online-players {
    align-self: flex-start;
  }

  .server-time {
    align-self: flex-end;
    margin-top: -62px;
  }

  .text-2,
  .text-4 {
    font-size: 0.72em;
  }

  .text-3,
  .text-5 {
    font-size: 1.25em;
    margin-top: 9px;
  }

  .normal-link {
    float: none;
    margin: 16px 0 0;
  }

  .normal {
    height: auto;
    width: 128px;
  }

  .user-panel {
    background: url(/images/osro/group_12.png) no-repeat;
    background-size: 100% 100%;
    border: none;
    border-radius: 8px;
    left: auto;
    margin: 14px auto 0;
    min-height: 0;
    padding: 18px;
    position: relative;
    top: auto;
    width: min(100%, 363px);
  }

  .auth-panel {
    right: auto;
    left: 0;
    width: min(363px, 100vw - 20px);
    min-height: 0;
  }

  .main-content-wrapper {
    margin: 24px auto 0;
    right: auto;
    width: 100%;
  }

  .big-buttons-final {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    max-width: 392px;
    padding: 0 18px;
  }

  .big-buttons-final a,
  .big-buttons-final a:first-child {
    float: none;
    margin: 0;
    flex: 1;
  }

  .normal-2,
  .normal-3 {
    height: auto;
    width: 100%;
  }

  .row-7 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    left: auto;
    margin: 16px auto 0;
    padding: 0 14px;
    width: 100%;
  }

  .server-information {
    background: url(/images/osro/bg.png) no-repeat center center;
    background-size: 100% 100%;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    float: none;
    min-height: 0;
    padding: 20px 14px 30px;
    width: 100%;
  }

  .server-information-2,
  .header-3,
  .guild > img:first-child {
    height: auto;
    max-width: 100%;
    margin-top: 20px !important;
  }
  .server-information-2 {
    margin-bottom: 10px;
  }

  .osro-header-silver {
    margin: 10px auto;
  }

  .group::before,
  .group::after {
    content: none;
    display: none;
  }

  .row-1,
  .row-2 {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    margin: 10px 0 0;
    width: 100%;
  }

  .row-1 > *,
  .row-2 > * {
    float: none;
    margin: 0 !important;
  }

  .auto-combat,
  .auto-support,
  .android-client,
  .revo-classic {
    border-radius: 8px;
    min-height: 150px;
    padding: 70px 10px 10px;
    width: 100%;
  }
  .auto-combat-2,
  .auto-support-2,
  .android-client-2,
  .revo-classic-2 {
    border-radius: 8px;
    min-height: 0;
    padding: 0;
    width: 100%;
  }
  .col,
  .col-2,
  .col-3,
  .col-4 {
    border-radius: 8px;
    min-height: 150px;
    padding: 70px 10px 10px;
    width: 100%;
  }
  .auto-combat   { background: url(/images/osro/layer_85.png) no-repeat center top; background-size: 100% 100%; }
  .auto-support  { background: url(/images/osro/layer_85_2.png) no-repeat center top; background-size: 100% 100%; }
  .android-client { background: url(/images/osro/layer_85_3.png) no-repeat center top; background-size: 100% 100%; }
  .revo-classic  { background: url(/images/osro/layer_85_4.png) no-repeat center top; background-size: 100% 100%; }
  .auto-combat-2 { background: url(/images/osro/1683726770990.png) no-repeat center top; background-size: 100% 100%; }
  .col           { background: url(/images/osro/layer_85_5.png) no-repeat center top; background-size: 100% 100%; }
  .auto-support-2 { background: url(/images/osro/1687331738432.png) no-repeat center top; background-size: 100% 100%; }
  .col-2         { background: url(/images/osro/layer_85_5.png) no-repeat center top; background-size: 100% 100%; }
  .android-client-2 { background: url(/images/osro/1685162197968.png) no-repeat center top; background-size: 100% 100%; }
  .col-3         { background: url(/images/osro/layer_85_5.png) no-repeat center top; background-size: 100% 100%; }
  .revo-classic-2 { background: url(/images/osro/1684635306758.png) no-repeat center top; background-size: 100% 100%; }
  .col-4         { background: url(/images/osro/layer_85_8.png) no-repeat center top; background-size: 100% 100%; }

  .auto-combat-2,
  .auto-support-2,
  .android-client-2,
  .revo-classic-2 {
    padding: 0;
  }

  /* Dark gradient at bottom of feature cards for text readability */
  .auto-combat::before,
  .auto-support::before,
  .android-client::before,
  .revo-classic::before,
  .col::before, .col-2::before, .col-3::before, .col-4::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 0 0 8px 8px;
    z-index: 0;
  }
  .auto-combat > *, .auto-support > *, .android-client > *, .revo-classic > *,
  .col > *, .col-2 > *, .col-3 > *, .col-4 > * {
    position: relative;
    z-index: 1;
  }

  .text-8,
  .text-10,
  .text-12,
  .text-14,
  .text-16,
  .text-18,
  .text-20,
  .text-22 {
    font-size: 1.1em;
    line-height: 1.15;
  }

  .text-9,
  .text-11,
  .text-13,
  .text-15,
  .text-17,
  .text-19,
  .text-21,
  .text-23 {
    font-size: 0.68em;
    line-height: 1.35;
    margin-top: 4px;
    width: auto;
  }

  .text-21 {
    padding-bottom: 20px;
  }

  .quick-links {
    background: rgba(250,238,238,0.32);
    border: 1px solid rgba(255,255,255,0.69);
    border-radius: 8px;
    float: none;
    margin: 0;
    padding: 12px 10px;
    width: 100%;
  }

  .col-5 {
    width: 100%;
  }

  .header-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin: 0 auto 6px;
  }

  .col-6 {
    left: auto;
    margin-left: 0;
    width: auto;
  }

  .menu-items-2,
  .ql-row {
    width: 95%;
    margin: auto;
  }

  .layer-78-copy {
    display: none;
  }

  .layer-79,
  .layer-79-copy,
  .layer-79-copy-2,
  .layer-79-copy-3,
  .layer-79-copy-4,
  .layer-79-copy-5 {
    width: calc(100% - 18px);
  }

  .text-24 {
    margin-left: 0;
    font-size: 1.1em;
  }

  .discord-review {
    background: url(/images/osro/fantasy-landscape-floatin.png) no-repeat center top;
    background-size: cover;
    margin: 16px 0 0;
    padding: 16px 14px;
    width: 100%;
  }

  .discord-commnuity {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    right: auto;
    width: 100%;
  }

  .character {
    display: block;
    width: 40%;
    height: auto;
    flex-shrink: 0;
    position: relative;
    top: 60px;
  }

  .col-16 {
    float: none;
    margin: 0;
    max-width: none;
    width: 60%;
    flex: 1;
  }

  .text-30 {
    font-size: 1.4em;
    line-height: 1.15;
    margin: 22px 0 0px;
    text-align: left;
  }

  .col-16 a {
    display: block;
    /* margin-top: 10px; */
  }

  .normal-4 {
    height: auto;
    width: min(100%, 260px);
  }

  .col-12 {
    float: none;
    margin: 14px 0 0;
    width: 100%;
  }

  .layer-78-holder {
    background:
      linear-gradient(90deg, #a8c0d5, #bed3e4);
    border-radius: 7px;
    min-height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .hue-saturation-3 {
    width: 14px;
    height: auto;
  }

  .text-31 {
    font-size: 0.85em;
    margin-left: 8px;
  }

  .layer-2 {
    left: 0;
    position: relative;
    top: 0;
    width: 100%;
  }

  .layer-86 {
    height: auto;
    margin-top: 10px;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  .wrapper-6 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    left: auto;
    margin: 0;
    padding: 0 14px;
    width: 100%;
  }

  .roadmap,
  .hall-of-fame,
  .guild {
    left: auto;
    margin-left: 0;
    position: relative;
    top: auto;
    width: 100%;
  }

  .roadmaph {
    width: 95%;
    position: relative;
    top: 7px;
    left: 0;
    /* margin-top: 10px; */
  }

  .roadmap {
    background: none;
    /* background-size: cover; */
    border: 8px solid rgb(255 255 255 / 45%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 0 0 1px rgba(217, 220, 227, 0.6), 0 4px 24px rgba(217, 220, 227, 0.25);
    border-radius: 8px;
    order: 1;
    padding: 0;
  }

  .adventure-starts-here {
    height: auto;
    left: auto;
    width: 100%;
    background: url(/images/osro/roadmapmobile.jpg) no-repeat center center;
    background-size: cover;
  }

  .roadmap-items {
    background: none;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    left: auto;
    margin-left: 0;
    padding: 12px;
    position: relative;
    top: auto;
    width: 100%;
  }

  .roadmap-1,
  .road-map-2,
  .roadmap-3,
  .road-map-4,
  .roadmap-5,
  .road-map-6,
  .road-map-7,
  .road-map-8 {
    height: auto;
    left: auto;
    margin-left: 0;
    position: relative;
    top: auto;
    width: 100%;
  }

  .kafra,
  .group-22,
  .cha02-64a6921c {
    display: none;
  }

  .hall-of-fame {
    background: url(/images/osro/door-stretching-into-fant.png) no-repeat center center;
    background-size: 100% 100%;
    border-radius: 8px;
    min-height: 0;
    order: 2;
    padding: 14px 10px;
  }

  .row-9 {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    left: auto;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
  }

  .row-9 > * {
    float: none;
    margin: 0 !important;
  }

  .col-18 {
    width: 100%;
    padding-left: 10px;
  }

  .rankings-2 {
    width: 100%;
    grid-column: 1 / -1;
  }

  .rms-char-gen {
    justify-self: center;
  }

  .rankings-2 {
    background: #033d66;
    /* background-size: 100% auto; */
    border-radius: 8px;
    min-height: 180px;
    padding: 8px;
  }

  .text-38 {
    width: calc(100% - 98px);
  }

  .guild {
    background: url(/images/osro/gotm.png) no-repeat center bottom;
    background-size: cover;
    border-radius: 8px;
    height: auto;
    min-height: 0;
    order: 3;
    overflow: hidden;
    padding: 14px 10px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .guild .osro-header-bronze {
    order: 1;
    width: 100%;
    margin: 10px 0 10px !important;
  }

  .guild > img:first-child {
    margin-top: 0 !important;
  }

  .gotm-badge-wrap {
    order: 2;
    /* width: 100%; */
    transform: scale(0.7);
    transform-origin: top center;
    margin-bottom: -50px;
    position: relative;
    left: 0%;
    top: 20px;
  }

  .row-5 {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0 10px;
  }

  .castle-owners-header,
  .agit-lords-header {
    float: none;
    height: auto;
    margin: 0 4px;
    max-width: 42%;
    font-size: 0.7em;
  }

  .castle-holders {
    order: 4;
    /* width: 60%; */
    position: relative;
    left: auto;
    top: auto;
    margin-left: 0;
    transform: none;
    background: none;
    min-height: 0;
    padding: 6px 4px;
    background: url(/images/osro/layer_22_copy_5.png) no-repeat;
    /* width: 221px; */
    /* height: 67px; */
  }

  .row-6 {
    margin: 0 auto;
    position: relative;
    text-align: center;
    top: 12px;
  }

  .row {
    margin: 40px auto 0;
    min-height: 67px;
    padding: 19px 19px 24px 21px;
    position: relative;
    width: 141px;
    background: url(/images/osro/layer_89.png) no-repeat;
  }

  .job1011-6301d0d4-copy {
    /* display: none; */
    left: 0;
    top: 20px;
    z-index: 9;
  }

  .agit-lords-active {
    order: 5;
    width: 39%;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin-left: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    padding: 8px 0px;
    background: #bda28ff2;
    min-height: 0;
    border-radius: 10px;
    z-index: 99;
  }

  .agit-cell-rank,
  .agit-cell-guild,
  .agit-cell-points { font-size: 0.55em; }

  .footer {
    background: url(/images/osro/layer_102.jpg) no-repeat center bottom;
    background-size: cover;
    height: auto;
    margin-top: 16px;
    min-height: 0;
    padding: 20px 14px 24px;
    width: 100%;
  }

  /* Reset direct children */
  .footer > * {
    left: auto; top: auto; right: auto;
    margin-left: auto; margin-right: auto;
    position: relative;
  }

  /* Reset grandchildren inside wrappers (they still have desktop position:absolute) */
  .footer-brand-row > *,
  .footer-links-row > *,
  .footer-social-row > * {
    left: auto; top: auto; right: auto;
    margin-left: auto; margin-right: auto;
    position: relative;
  }

  /* Footer: simple centred column */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 1. Three logos inline */
  .footer-brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto 6px;
  }
  .footer-brand-row .logo-copy { width: 80px;  height: auto; margin: 0; }
  .footer-brand-row .s1        { width: 65px;  height: auto; margin: 0; }
  .footer-brand-row .gravity   { width: 75px;  height: auto; margin: 0; }

  /* 2. ROThemes logo */
  .rothemes-logo {
    display: block;
    width: 150px; height: auto;
    margin: 8px auto;
  }

  /* 3. Quick Links + Support side by side */
  .footer-links-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin: 10px auto 0;
    text-align: left;
  }
  .footer-links-row .quick-links-2,
  .footer-links-row .support {
    width: auto;
    margin: 0;
  }

  /* 4. Community text */
  .text-48 {
    text-align: center;
    margin: 14px auto 8px;
  }

  /* 5. Social icons inline */
  .footer-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0 auto 10px;
  }
  .footer-social-row .social_media_analytics_mascot_229424b468-copy-holder {
    display: none;
  }
  .footer-social-row .layer-2 {
    display: block;
    margin: 0;
  }
  .footer-discord-mobile { display: block; }

  /* 6. Divider */
  .line {
    display: block;
    width: 90%;
    margin: 6px auto 12px;
  }

  /* 7. Copyright */
  .text-44 {
    margin: 0 auto;
    max-width: 320px;
    text-align: center;
  }

  /* ---- Hero logo mobile sizing ---- */
  .osro-mainlogo {
    max-width: 240px;
    width: 100%;
  }
  .osro-logo-wrap {
    max-width: 240px;
    margin: 0 auto;
  }

  /* ---- Hero buttons ---- */
  .big-buttons-final {
    margin-top: 10px;
  }
  .normal-2 { max-width: 100%; width: 100%; }
  .normal-3 { max-width: 100%; width: 100%; }

  /* ---- Discord section without character ---- */
  .discord-commnuity {
    align-items: flex-start;
    gap: 4px;
  }
  .col-16 a {
    display: block;
    margin-top: 10px;
  }
  .normal-4 {
    display: block;
  }

  /* ---- Quick-link rows ---- */
  .ql-row {
    background: rgba(255,255,255,0.60);
    border: 1px solid rgba(30,151,212,0.18);
    border-radius: 8px;
    margin-bottom: 3px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
  }
  .ql-row img {
    width: 28px;
    height: auto;
    flex-shrink: 0;
  }
  .ql-text {
    color: #3c91d2;
    /* font-size: 0.85em; */
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-left: 10px;
  }
  .poring {
    left: 80%;
    position: absolute;
    top: 10px;
    margin-left: -108px;
  }
  /* hide the divider lines between ql-rows on mobile */
  .layer-79,
  .layer-79-copy,
  .layer-79-copy-2,
  .layer-79-copy-3,
  .layer-79-copy-4,
  .layer-79-copy-5 {
    display: none;
  }
  .discordcommunity{margin-bottom: 10px;}
  /* ---- Server info feature cards ---- */
  .auto-combat,
  .auto-support,
  .android-client,
  .revo-classic {
    border-left: 3px solid rgba(30,151,212,0.55);
  }
  /* Feature card text — light on dark image bg */
  .text-8, .text-10, .text-12, .text-14,
  .text-16, .text-18, .text-20, .text-22 {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .text-9, .text-11, .text-13, .text-15,
  .text-17, .text-19, .text-21, .text-23 {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }
  /* Footer text — light on dark image bg */
  .text-44, .text-48 { color: rgba(255,255,255,0.80); }

  /* ---- Ranking section ---- */
  .text-32 {
    font-size: 0.75em;
    margin-top: 6px;
  }
  .text-34 {
    font-size: 1.1em;
  }
  .text-35, .text-36 {
    font-size: 0.65em;
    line-height: 1.5;
  }
  .text-37, .text-38, .text-39 {
    font-size: 0.65em;
    line-height: 1.55;
  }
  .rectangle-11-copy-holder {
    font-size: 0.8em;
    padding: 4px 10px;
  }

  /* ---- Hide desktop-only header elements on mobile ---- */
  .mobile-hide {
    display: none !important;
  }

  /* ---- Nav-dropdown inside mobile sidebar: always open, styled like nav-links ---- */
  .menu-items .nav-dropdown {
    display: block !important;
    position: static !important;
    width: 100%;
  }
  .menu-items .nav-dropdown > .nav-link {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .menu-items .nav-dropdown-menu {
    display: block !important;
    position: static !important;
    transform: none !important;
    padding-top: 4px !important;
    min-width: 0 !important;
    z-index: auto !important;
    width: 100%;
  }
  .menu-items .nav-dropdown-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .menu-items .nav-dropdown-inner a {
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(30, 151, 212, 0.18) !important;
    border-radius: 6px !important;
    border-left: 3px solid rgba(30, 151, 212, 0.40) !important;
    color: #1e6fa8 !important;
    display: block;
    font-size: 1em;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 11px 14px 11px 22px !important;
    text-decoration: none;
  }
  .menu-items .nav-dropdown-inner a:hover {
    background: rgba(30, 151, 212, 0.12) !important;
  }

  /* ---- Mobile sidebar extras (stats + user info) ---- */
  .mobile-sidebar-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(30, 151, 212, 0.20);
  }
  .mobile-sidebar-stats {
    display: flex;
    gap: 10px;
  }
  .mobile-stat-item {
    flex: 1;
    min-height: 63px;
    padding: 0 4px 7px;
    position: relative;
    text-align: center;
  }
  .mobile-stat-online {
    background: url(/images/osro/group_1.png) no-repeat center bottom;
    background-size: 100% auto;
  }
  .mobile-stat-time {
    background: url(/images/osro/group_1_2.png) no-repeat center bottom;
    background-size: 100% auto;
  }
  .mobile-stat-item .text-2,
  .mobile-stat-item .text-4 {
    color: #2e93dc;
    font-size: 0.65em;
    margin: 0;
  }
  .mobile-stat-item .text-3,
  .mobile-stat-item .text-5 {
    color: #ffffff;
    font-size: 1.05em;
    margin-top: 18px;
  }
  .mobile-sidebar-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(30, 151, 212, 0.18);
    border-radius: 8px;
    padding: 12px 14px;
    text-align: center;
  }
  .mobile-sidebar-user-label {
    color: #9a9a9a;
    font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
    font-size: 0.78em;
    font-weight: 500;
  }
  .mobile-sidebar-username {
    color: #2e93dc;
    font-family: Gotham, "Arial Black", Impact, sans-serif;
    font-size: 0.95em;
    font-weight: bold;
    letter-spacing: -0.015em;
    text-decoration: none;
  }
  .mobile-sidebar-logout {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-family: SportyPro, "Arial Black", Impact, sans-serif;
    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: -0.015em;
    padding: 0;
  }
}

@media (max-width: 374px) {
  .row-1,
  .row-2 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auto-combat,
  .auto-support,
  .android-client,
  .revo-classic,
  .col, .col-2, .col-3, .col-4 {
    min-height: 130px;
    padding: 80px 14px 14px;
  }

  .text-8, .text-10, .text-12, .text-14,
  .text-16, .text-18, .text-20, .text-22 {
    font-size: 1.25em;
  }
  .text-9, .text-11, .text-13, .text-15,
  .text-17, .text-19, .text-21, .text-23 {
    font-size: 0.72em;
    line-height: 1.4;
  }

  .roadmap-items {
    grid-template-columns: 1fr;
  }

  .osro-mainlogo {
    max-width: 180px;
  }
  .osro-logo-wrap {
    max-width: 180px;
  }

  .text-30 {
    font-size: 1.2em;
  }

  .text-24 {
    font-size: 0.9em;
    margin-left: 0;
  }

  .ql-row {
    padding: 8px 12px;
  }

  .ql-text {
    font-size: 14px;
    margin-left: 8px;
  }

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

  .castle-holders {
    left: 50%;
    top: 110px;
    transform: translateX(-50%) scale(0.7);
    transform-origin: top center;
  }

  .agit-lords-active {
    margin: 150px auto 0;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
  }

  .guild {
    min-height: 440px;
  }

  .big-buttons-final {
    max-width: 280px;
    gap: 6px;
  }
}

/* ==============================================
   ANIMATIONS & EFFECTS
   Added for home-page sparkle / motion polish
============================================== */

/* ---- Core keyframes ---- */

@keyframes osro-fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes osro-fade-left {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes osro-fade-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Poring – bouncy weighted float */
@keyframes poring-float {
  0%,100% { transform: translateY(0)    rotate(-3deg) scale(1);    }
  35%      { transform: translateY(-18px) rotate(4deg)  scale(1.07); }
  65%      { transform: translateY(-7px)  rotate(-1deg) scale(1.02); }
}

/* cha02 – slide-in entrance */
@keyframes cha02-entrance {
  from { opacity: 0; transform: translateX(-56px) translateY(28px); }
  to   { opacity: 1; transform: translateX(0)     translateY(0); }
}
/* cha02 – idle hover after entrance */
@keyframes cha02-idle {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

/* Mascot – gentle float */
@keyframes mascot-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
/* Mascot – pulsing blue glow */
@keyframes mascot-glow {
  0%,100% { filter: brightness(1)    drop-shadow(0 0  0px rgba(30,151,212,0)); }
  50%      { filter: brightness(1.12) drop-shadow(0 0 16px rgba(30,151,212,0.5)); }
}

/* Roadmap card entrance */
@keyframes roadmap-in {
  0%   { opacity: 0; transform: translateY(52px) scale(0.84); }
  65%  {             transform: translateY(-6px)  scale(1.04); }
  100% { opacity: 1; transform: translateY(0)     scale(1);    }
}

/* Sparkle twinkle */
@keyframes sparkle-twinkle {
  0%,100% { opacity: 0; transform: scale(0) rotate(0deg);   }
  50%      { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Shine sweep (used on ql-row hover) – transform-based to avoid layout recalc */
@keyframes shine-sweep {
  0%   { transform: skewX(-18deg) translateX(-220%); }
  100% { transform: skewX(-18deg) translateX(320%); }
}
@keyframes shine-sweep-b {
  0%   { transform: skewX(-15deg) translateX(-220%); }
  100% { transform: skewX(-15deg) translateX(320%); }
}

/* ---- Poring ---- */
.poring {
  animation: poring-float 2.3s cubic-bezier(0.45,0.05,0.55,0.95) infinite;
  transform-origin: center bottom;
  cursor: pointer;
  display: inline-block;
  will-change: transform;
}
.poring:hover { animation-duration: 0.65s; }

/* ---- cha02 ---- */
.cha02-64a6921c {
  animation:
    cha02-entrance 1s   cubic-bezier(0.22,1,0.36,1) 0.3s  both,
    cha02-idle     3.6s ease-in-out                  1.35s infinite;
  will-change: transform;
}

/* ---- Social-media mascot (footer) ----
   Animation goes on ::before (background image) so the
   child .layer icons are not carried along by the transform. */
.social_media_analytics_mascot_229424b468-copy-holder {
  background: none; /* transferred to ::before */
}
.social_media_analytics_mascot_229424b468-copy-holder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(/images/osro/social_media_analytics_ma.png) no-repeat;
  pointer-events: none;
  z-index: 0;
  will-change: transform, filter;
  animation:
    mascot-float 4s ease-in-out infinite,
    mascot-glow  4s ease-in-out infinite;
}

/* ---- Roadmap: hidden until .anim is added by IntersectionObserver ---- */
.roadmap-1,
.road-map-2,
.roadmap-3,
.road-map-4,
.roadmap-5,
.road-map-6,
.road-map-7,
.road-map-8 {
  opacity: 0;
}
.roadmap.anim .roadmap-1  { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.00s both; }
.roadmap.anim .road-map-2 { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.18s both; }
.roadmap.anim .roadmap-3  { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.36s both; }
.roadmap.anim .road-map-4 { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.54s both; }
.roadmap.anim .roadmap-5  { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.72s both; }
.roadmap.anim .road-map-6 { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 0.90s both; }
.roadmap.anim .road-map-7 { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 1.08s both; }
.roadmap.anim .road-map-8 { animation: roadmap-in .58s cubic-bezier(0.22,1,0.36,1) 1.26s both; }

/* Roadmap hover – glow only on the img (no transform on the <a>
   to avoid stacking-context creation that blinks the animation fill) */
.roadmap-items a {
  display: inline-block;
}
.roadmap-items a img {
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.4));
  transition: filter 0.35s ease;
}
.roadmap-items a:hover img {
  filter:
    brightness(1.14)
    drop-shadow(0 0 14px rgba(30,151,212,0.65))
    drop-shadow(0 4px 22px rgba(30,151,212,0.35));
}

/* ---- Hero buttons: entrance + hover ---- */
.big-buttons-final a {
  animation: osro-fade-up .8s cubic-bezier(0.22,1,0.36,1) both;
  transition: transform 0.25s ease, opacity 0.2s !important;
}
.big-buttons-final a:nth-child(1) { animation-delay: 0.25s; }
.big-buttons-final a:nth-child(2) { animation-delay: 0.45s; }
.big-buttons-final a:hover {
  opacity: 0.92 !important;
  transform: translateY(-5px) scale(1.03);
}

/* ---- Quick-link hover shine ---- */
.ql-row {
  position: relative;
  overflow: hidden;
}
.ql-row::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.11), transparent);
  transform: skewX(-18deg) translateX(-220%);
  pointer-events: none;
  will-change: transform;
}
.ql-row:hover::after {
  animation: shine-sweep 0.48s ease forwards;
}

/* ---- Server feature-card hover ---- */
.auto-combat, .auto-support, .android-client, .revo-classic,
.auto-combat-2, .auto-support-2, .android-client-2, .revo-classic-2 {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.auto-combat:hover, .auto-support:hover, .android-client:hover, .revo-classic:hover,
.auto-combat-2:hover, .auto-support-2:hover, .android-client-2:hover, .revo-classic-2:hover {
  transform: translateY(-5px);
  filter: brightness(1.07);
}

/* ---- Falling particles ---- */

/* Variant A – sways right-left-right */
@keyframes osro-fall-a {
  0%   { transform: translateY(-12px) translateX(0)     rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.85; }
  25%  { transform: translateY(25vh)  translateX(22px)  rotate(90deg); }
  50%  { transform: translateY(50vh)  translateX(-12px) rotate(180deg); }
  75%  { transform: translateY(75vh)  translateX(28px)  rotate(270deg); }
  92%  { opacity: 0.4; }
  100% { transform: translateY(112vh) translateX(6px)   rotate(360deg); opacity: 0; }
}
/* Variant B – sways left-right-left */
@keyframes osro-fall-b {
  0%   { transform: translateY(-12px) translateX(0)      rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.75; }
  25%  { transform: translateY(25vh)  translateX(-26px)  rotate(120deg); }
  50%  { transform: translateY(50vh)  translateX(16px)   rotate(210deg); }
  75%  { transform: translateY(75vh)  translateX(-20px)  rotate(300deg); }
  92%  { opacity: 0.3; }
  100% { transform: translateY(112vh) translateX(0)      rotate(360deg); opacity: 0; }
}
/* Variant C – gentle drift */
@keyframes osro-fall-c {
  0%   { transform: translateY(-12px) translateX(0)     rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.9; }
  33%  { transform: translateY(33vh)  translateX(14px)  rotate(70deg); }
  66%  { transform: translateY(66vh)  translateX(-22px) rotate(240deg); }
  92%  { opacity: 0.35; }
  100% { transform: translateY(112vh) translateX(10px)  rotate(360deg); opacity: 0; }
}

/* ---- Scroll in/out animation system ---- */

/* Base: raise from bottom */
.osro-anim {
  transition: opacity 0.62s cubic-bezier(0.22,1,0.36,1),
              transform 0.62s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.osro-anim.below   { opacity: 0; transform: translateY(50px);  }
.osro-anim.in-view { opacity: 1; transform: translateY(0);     }
.osro-anim.above   { opacity: 0; transform: translateY(-28px); }

/* Enter from left */
.osro-anim-left {
  transition: opacity 0.62s cubic-bezier(0.22,1,0.36,1),
              transform 0.62s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.osro-anim-left.below   { opacity: 0; transform: translateX(-42px); }
.osro-anim-left.in-view { opacity: 1; transform: translateX(0);     }
.osro-anim-left.above   { opacity: 0; transform: translateY(-28px); }

/* Enter from right */
.osro-anim-right {
  transition: opacity 0.62s cubic-bezier(0.22,1,0.36,1),
              transform 0.62s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
.osro-anim-right.below   { opacity: 0; transform: translateX(42px);  }
.osro-anim-right.in-view { opacity: 1; transform: translateX(0);     }
.osro-anim-right.above   { opacity: 0; transform: translateY(-28px); }

/* Stagger delay utilities (applied inline via JS for precision) */
.osro-d1 { transition-delay: 0.07s !important; }
.osro-d2 { transition-delay: 0.14s !important; }
.osro-d3 { transition-delay: 0.21s !important; }
.osro-d4 { transition-delay: 0.28s !important; }
.osro-d5 { transition-delay: 0.35s !important; }
.osro-d6 { transition-delay: 0.42s !important; }
.osro-d7 { transition-delay: 0.49s !important; }
.osro-d8 { transition-delay: 0.56s !important; }

/* Legacy (keep for any other pages that reference them) */
.osro-reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.osro-reveal.visible { opacity: 1; transform: translateY(0); }
.osro-reveal-left   { opacity: 0; transform: translateX(-30px); transition: opacity 0.75s ease, transform 0.75s ease; }
.osro-reveal-left.visible { opacity: 1; transform: translateX(0); }
.osro-reveal-right  { opacity: 0; transform: translateX(30px); transition: opacity 0.75s ease, transform 0.75s ease; }
.osro-reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Sparkle particles ---- */
.osro-sparkle-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}
.osro-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  pointer-events: none;
}
.osro-sparkle::before,
.osro-sparkle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.osro-sparkle::before { width: 8px; height: 2px; top: 3px; left: 0; }
.osro-sparkle::after  { width: 2px; height: 8px; top: 0;   left: 3px; }

.osro-sparkle.c-white::before,
.osro-sparkle.c-white::after {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 4px 1px rgba(255,255,255,0.55);
}
.osro-sparkle.c-gold::before,
.osro-sparkle.c-gold::after {
  background: #ffd700;
  box-shadow: 0 0 6px 2px rgba(255,215,0,0.65);
}
.osro-sparkle.c-blue::before,
.osro-sparkle.c-blue::after {
  background: #1e97d4;
  box-shadow: 0 0 6px 2px rgba(30,151,212,0.65);
}

/* ==================================================
   MAIN LOGO  –  entrance · float · glow · shine
================================================== */
.osro-logo-wrap {
  position: relative;
  display: inline-block;
  will-change: transform;
  animation:
    logo-entrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
    logo-float    5.5s ease-in-out 1.1s infinite;
}

/* Shine overlay – masked by the logo's own alpha so it only shows on actual logo pixels */
.osro-logo-shine-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: url('/images/osro/mainlogo.png');
          mask-image: url('/images/osro/mainlogo.png');
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
}
.osro-logo-shine-layer::after {
  content: '';
  position: absolute;
  top: -20%; left: 0;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.26) 50%,
    transparent 80%
  );
  transform: skewX(-18deg) translateX(-220%);
  animation: logo-shine 7s ease-in-out 2.5s infinite;
}

/* The img: pulsing drop-shadow glow */
.osro-mainlogo {
  display: block;
  margin: 0 auto;
  will-change: filter;
  animation: logo-glow 3.5s ease-in-out 1.1s infinite;
  transition: transform 0.3s ease;
}

/* hover scale lives on the img so it doesn't conflict with float on the wrapper */
.osro-logo-wrap:hover .osro-mainlogo {
  transform: scale(1.04);
}

@keyframes logo-entrance {
  from {
    opacity: 0;
    transform: translateY(-22px) scale(0.93);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-9px); }
}

@keyframes logo-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0  8px rgba(30,151,212,0.40))
      drop-shadow(0 0 22px rgba(30,151,212,0.14));
  }
  50% {
    filter:
      drop-shadow(0 0 18px rgba(30,151,212,0.88))
      drop-shadow(0 0 42px rgba(30,151,212,0.44))
      drop-shadow(0 0 68px rgba(30,151,212,0.18))
      drop-shadow(0 2px 30px rgba(255,215,0,0.13));
  }
}

@keyframes logo-shine {
  0%        { transform: skewX(-18deg) translateX(-220%); opacity: 1; }
  38%       { transform: skewX(-18deg) translateX(320%);  opacity: 1; }
  39%, 100% { transform: skewX(-18deg) translateX(320%);  opacity: 0; }
}

/* ==================================================
   KAFRA  –  float + glow (only when in-view)
   Float lives on the img; scroll-anim (transform) is
   on the parent .kafra div — no property conflicts.
================================================== */
.kafra-img {
  display: block;
}
.kafra.in-view .kafra-img {
  will-change: transform, filter;
  animation:
    kafra-float 4.4s ease-in-out infinite,
    kafra-glow  3.8s ease-in-out 0.6s infinite;
}

@keyframes kafra-float {
  0%, 100% { transform: translateX(0px); }
  50%       { transform: translateX(8px); }
}

@keyframes kafra-glow {
  0%, 100% {
    filter:
      drop-shadow(0  8px 16px rgba(30,151,212,0.28))
      drop-shadow(-2px 4px 28px rgba(160,80,220,0.18));
  }
  50% {
    filter:
      drop-shadow(0 14px 30px rgba(30,151,212,0.60))
      drop-shadow(-4px 8px 50px rgba(160,80,220,0.38))
      drop-shadow(0  0  55px rgba(30,151,212,0.18));
  }
}

/* ==================================================
   CSS SECTION HEADERS — replaces all PNG header imgs
================================================== */
.osro-css-header {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 35px;
  border-radius: 8px;
  padding: 0 20px 0 14px;
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.osro-css-header::before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 16px;
  min-width: 17px;
  background-image: url('/images/osro/hue_saturation_3.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.osro-css-header::after {
  content: '';
  position: absolute;
  top: 1px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  pointer-events: none;
}

/* Silver/steel — Server Information */
.osro-header-silver {
  background: linear-gradient(180deg, #cdd9e3 0%, #a8bece 50%, #96aebf 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.35);
  margin: 0 auto;
}

/* Sky blue — Hall of Fame */
.osro-header-blue {
  background: linear-gradient(180deg, #7ed0fa 0%, #48b8f8 50%, #2ca8f0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin: 0 auto;
  width: 95%;
}
.osro-header-blue::before {
  background-image: none;
  content: '★';
  color: #ffd700;
  font-size: 16px;
  text-shadow: 0 0 8px rgba(255,215,0,0.7);
  width: auto; height: auto; min-width: auto;
  display: inline;
}

/* Bronze/tan — War of Emperium */
.osro-header-bronze {
  background: linear-gradient(180deg, #d8c8a8 0%, #c4b080 50%, #b49870 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.35);
}
.osro-header-bronze::before {
  background-image: none;
  content: '✦';
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  width: auto; height: auto; min-width: auto;
  display: inline;
}

/* Steel blue — Road Map */
.osro-css-header.osro-header-green {
    background: linear-gradient(180deg, #c8dce8 0%, #a4bece 50%, #8aaec4 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    color: #ffffff;
    margin: 0 auto;
    width: 92.5%;
    /* margin: 60px auto 0 !important; */
    top: 70px;
    left: -52px;
}
.roadmap-header-bar {
    /* margin: 60px auto 0 !important; */
    /* max-width: none !important; */
    position: relative;
    /* width: 95% !important; */
    /* z-index: 10; */
}
.osro-css-header.osro-header-green::before {
  background-image: none;
  content: '◆';
  color: #4caf50;
  font-size: 14px;
  width: auto; height: auto; min-width: auto;
  display: inline;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Small label — Castle Owners, Agit Lords */
.osro-css-header-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 35px;
  padding: 0 16px 0 8px;
  font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #7a5830;
  background: linear-gradient(180deg, #f8f0e0 0%, #bea37a 100%);
  border-radius: 4px 8px 8px 4px;
  border-bottom: 2px solid rgba(160, 120, 70, 0.30);
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin: 0px 60px;
  z-index: 99;
}
.castle-owners-header.osro-css-header-small::before {
  content: '';
  display: inline-block;
  width: 22px; height: 18px;
  background-image: url('/images/osro/poring.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.agit-lords-header.osro-css-header-small::before {
  content: '🍂';
  font-size: 16px;
}

/* "YOUR ADVENTURE STARTS HERE!" CSS text */
.osro-roadmap-header {
  display: block;
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 3px #1458a0;
  paint-order: stroke fill;
  text-shadow: 0 0 28px rgba(30,151,212,0.65), 2px 2px 0 #1458a0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-4deg);
  pointer-events: none;
  user-select: none;
}

/* group-22: no animation */
.group-22-img {
  display: block;
}

/* ==================================================
   INNER PAGE – body hero background
   Replicates the homepage feel on panel/inner pages
================================================== */
body.osro-inner {
  background-color: #c9d3de;
  background-image:
    url('/images/osro/topbg.png'),
    url('/images/osro/lowbg.png');
  background-repeat: no-repeat, no-repeat;
  background-position: top center, bottom center;
  background-size: 100% auto, 100% auto;
  background-attachment: scroll, scroll;
}

/* Gap between scaled nav and glass box — holds the logo */
.osro-inner-header {
  padding-top: calc((147 / 2824) * 100vw + 28px);
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
  pointer-events: none;
}

/* Re-enable clicks for actual content inside the header gap */
.osro-inner-header > * {
  pointer-events: auto;
}

/* Content wrapper: normal viewport coords, sits below header */
.osro-inner-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 56px;
}

/* ==================================================
   GLASS INNER CONTENT BOX
   Cream-glass: rgba(250,238,238,0.92) | 10px cream border
================================================== */
.osro-box-wrapper {
  margin-top: 0;
  border: 10px solid rgb(250 238 238 / 32%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.25),
    0 0 60px rgba(190, 211, 228, 0.10);
  border-radius: 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.osro-inner-box {
  background: rgb(250 238 238 / 80%);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-radius: 8px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  color: #1a1a1a;
}

/* subtle top shimmer on cream glass */
.osro-inner-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.70), transparent);
  pointer-events: none;
}

.osro-inner-box::after {
  display: none;
}

/* ==================================================
   FLOATING QUICK LINKS PANEL
   Fixed on the right, slides in/out on click
================================================== */
.ql-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% - 44px));
  z-index: 9998;
  display: flex;
  align-items: stretch;
  filter: drop-shadow(-6px 0 28px rgba(0,0,0,0.55));
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.ql-float.is-open {
  transform: translateY(-50%) translateX(0);
}

/* The visible tab/handle sticking out to the left */
.ql-float-tab {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(16,36,58,0.97) 0%, rgba(8,20,36,0.99) 100%);
  border: 1px solid rgba(30,151,212,0.40);
  border-right: none;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.ql-float-tab:hover {
  background: linear-gradient(180deg, rgba(22,50,78,0.97) 0%, rgba(12,28,50,0.99) 100%);
  border-color: rgba(30,151,212,0.65);
}

/* Chevron arrow */
.ql-float-tab svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #1e97d4;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  display: block;
}
.ql-float.is-open .ql-float-tab svg {
  transform: rotate(180deg);
}

/* Rotated "QUICK LINKS" label */
.ql-float-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: #1e97d4;
  white-space: nowrap;
}

/* Sliding panel body */
.ql-float-body {
  width: 272px;
  background: linear-gradient(155deg, rgba(245,237,237,0.96) 0%, rgba(235,224,224,0.92) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(245,237,237,0.60);
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 18px 14px;
  overflow-y: auto;
  max-height: 80vh;
}

/* Panel header row */
.ql-float-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin: -18px -14px 12px;
  background: linear-gradient(135deg, #a8c0d5 0%, #bed3e4 60%, #c9d8e8 100%);
  border-bottom: 1px solid rgba(30,151,212,0.20);
  border-radius: 0 12px 0 0;
  position: relative;
  overflow: hidden;
}
.ql-float-head::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  pointer-events: none;
}
.ql-float-head img {
  width: 44px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: poring-bounce 2s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes poring-bounce {
  0%, 100% { transform: translateY(0) scaleY(1);   }
  30%       { transform: translateY(-7px) scaleY(1.05); }
  55%       { transform: translateY(0) scaleY(0.92); }
  70%       { transform: translateY(-3px) scaleY(1.02); }
  85%       { transform: translateY(0) scaleY(1);   }
}
.ql-float-head-title {
  font-family: SportyPro, "Arial Black", Impact, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: #1a3a5c;
  text-shadow: 0 1px 0 rgba(255,255,255,0.50);
  position: relative;
  z-index: 1;
}
.ql-row:hover{background: rgba(30, 151, 212, 0.10);
  color: #1e97d4;}
/* Individual link row */
.ql-float-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-radius: 8px;
    color: #3c91d2;
    text-decoration: none;
    font-family: GothamCondensed, Gotham, "Arial Narrow", Arial, sans-serif;
    font-size: 18px;
    transition: background 0.18s, color 0.18s;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    font-size: 20px;
}
.ql-float-row:hover {
  background: rgba(30, 151, 212, 0.10);
  color: #1e97d4;
}
.mt-10 {display:;}
.ql-float-row img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}
/* hover shine */
.ql-float-row::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-15deg) translateX(-220%);
  pointer-events: none;
  will-change: transform;
}
.ql-float-row:hover::after {
  animation: shine-sweep-b 0.4s ease forwards;
}

/* Divider between rows */
.ql-float-sep {
  height: 1px;
  background: rgba(30,151,212,0.10);
  margin: 2px 0;
}

/* Mobile: hide the float panel since quick links are in the menu */
@media (max-width: 768px) {
  .ql-float {
    display: none;
  }
}

/* ==================================================
   INNER BOX: READABILITY ON CREAM #faeeee BACKGROUND
   Primary: #1a1a1a  |  Secondary: #9a9a9a  |  Accent: #1e97d4
================================================== */

/* --- Base text --- */
.osro-inner-box .text-gray-100,
.osro-inner-box .text-gray-200,
.osro-inner-box .text-gray-300,
.osro-inner-box .text-white {
  color: #1a1a1a !important;
}
.osro-inner-box .text-gray-400,
.osro-inner-box .text-gray-500,
.osro-inner-box .text-gray-600 {
  color: #9a9a9a !important;
}

/* --- Card / panel containers → frosted white glass (attribute selector for reliable Tailwind matching) --- */
.osro-inner-box [class~="bg-[#0a1929]"],
.osro-inner-box [class~="bg-[#0a1929]/80"] {
  background: rgba(255, 255, 255, 0.65) !important;
}
.osro-inner-box [class~="bg-[#07111d]"] {
  background: rgba(245, 238, 238, 0.85) !important;
}
.osro-inner-box [class~="bg-[#142d3b]"] {
  background: rgba(228, 212, 212, 0.55) !important;
}
.osro-inner-box [class~="bg-white/[0.03]"] {
  background: rgba(255, 255, 255, 0.50) !important;
}

/* --- Borders → soft blue-gray --- */
.osro-inner-box [class~="border-[#1a3a5c]"],
.osro-inner-box [class~="border-[#1a3a5c]/50"],
.osro-inner-box [class~="border-[#1a3a5c]/60"],
.osro-inner-box [class~="border-[#1a3a5c]/30"] {
  border-color: rgba(30, 151, 212, 0.22) !important;
}

/* --- Table: thead bg, header text → blue accent --- */
.osro-inner-box table thead,
.osro-inner-box table thead tr,
.osro-inner-box table thead th {
  background: rgba(201, 211, 222, 0.55) !important;
  color: #1e97d4 !important;
  border-bottom-color: rgba(30, 151, 212, 0.20) !important;
}

/* --- Table body rows --- */
.osro-inner-box table tbody tr {
  background: transparent;
  border-bottom-color: rgba(0, 0, 0, 0.07) !important;
}
.osro-inner-box table tbody tr:hover {
  background: rgba(30, 151, 212, 0.08) !important;
}
.osro-inner-box table [class~="border-b"],
.osro-inner-box table [class~="border-[#1a3a5c]"] {
  border-color: rgba(30, 151, 212, 0.15) !important;
}

/* --- Divide utilities (activity log rows, etc.) --- */
.osro-inner-box [class~="divide-y"] > * + *,
.osro-inner-box [class~="divide-[#1a3a5c]/50"] > * + * {
  border-color: rgba(0, 0, 0, 0.07) !important;
}
.osro-inner-box [class~="border-b"][class~="border-[#1a3a5c]/30"],
.osro-inner-box [class~="border-b"][class~="border-[#1a3a5c]/60"] {
  border-color: rgba(30, 151, 212, 0.15) !important;
}

/* --- Row / card hover states --- */
.osro-inner-box [class~="hover:bg-[#142d3b]"]:hover {
  background: rgba(30, 151, 212, 0.08) !important;
}
.osro-inner-box [class~="hover:bg-[#1a3a5c]"]:hover {
  background: rgba(30, 151, 212, 0.12) !important;
}

/* --- Active tab: keep blue, force white text --- */
.osro-inner-box [class~="bg-[#1e97d4]"] {
  background: #1e97d4 !important;
}
.osro-inner-box [class~="bg-[#1e97d4]"],
.osro-inner-box [class~="bg-[#1e97d4]"] * {
  color: #fff !important;
}

/* --- Form inputs / selects → clean white --- */
.osro-inner-box input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.osro-inner-box select,
.osro-inner-box textarea {
  background: rgba(255, 255, 255, 0.90) !important;
  border-color: rgba(30, 151, 212, 0.28) !important;
  color: #1a1a1a !important;
}
.osro-inner-box input::placeholder,
.osro-inner-box textarea::placeholder {
  color: #b0a0a0 !important;
}
.osro-inner-box input:focus,
.osro-inner-box select:focus,
.osro-inner-box textarea:focus {
  border-color: #1e97d4 !important;
  box-shadow: 0 0 0 2px rgba(30, 151, 212, 0.15) !important;
  outline: none !important;
}

/* --- Online badge → light green --- */
.osro-inner-box [class~="bg-green-900/30"] {
  background: rgba(209, 250, 229, 0.90) !important;
}
.osro-inner-box [class~="text-green-400"] { color: #16a34a !important; }
.osro-inner-box [class~="bg-green-400"]   { background-color: #16a34a !important; }

/* --- Offline badge dot --- */
.osro-inner-box [class~="bg-gray-600"] { background-color: #b0a0a0 !important; }

/* --- Type / category badges (all converted to light equivalents) --- */
.osro-inner-box [class~="bg-red-900/30"]    { background: rgba(254, 226, 226, 0.92) !important; }
.osro-inner-box [class~="text-red-400"]     { color: #dc2626 !important; }
.osro-inner-box [class~="bg-blue-900/30"]   { background: rgba(219, 234, 254, 0.92) !important; }
.osro-inner-box [class~="text-blue-400"]    { color: #2563eb !important; }
.osro-inner-box [class~="bg-purple-900/30"] { background: rgba(243, 232, 255, 0.92) !important; }
.osro-inner-box [class~="text-purple-400"]  { color: #7c3aed !important; }
.osro-inner-box [class~="bg-amber-900/20"]  { background: rgba(254, 243, 199, 0.92) !important; }
.osro-inner-box [class~="text-amber-400"]   { color: #d97706 !important; }
.osro-inner-box [class~="bg-pink-900/20"]   { background: rgba(252, 231, 243, 0.92) !important; }
.osro-inner-box [class~="text-pink-400"]    { color: #db2777 !important; }
.osro-inner-box [class~="bg-gray-800"]      { background: rgba(0, 0, 0, 0.07) !important; }

/* ==================================================
   INNER PAGE SECTION HEADERS
   Matches .osro-css-header + .osro-header-silver exactly
================================================== */
.osro-inner-box h1 {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    height: 35px;
    min-height: 35px;
    width: 100%;
    background: linear-gradient(180deg, #cdd9e3 0%, #a8bece 50%, #96aebf 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    border-radius: 8px;
    padding: 0 20px 0 14px;
    font-family: SportyPro, "Arial Black", Impact, sans-serif !important;
    font-size: 14px !important;
    font-weight: bold;
    letter-spacing: 0.08em;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 16px;
    line-height: 1;
    box-sizing: border-box;
}
.osro-inner-box h1::before {
  content: '';
  display: inline-block;
  width: 17px;
  height: 16px;
  min-width: 17px;
  background-image: url('/images/osro/hue_saturation_3.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  flex-shrink: 0;
}
.osro-inner-box h1::after {
  content: '';
  position: absolute;
  top: 1px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  pointer-events: none;
}
.osro-inner-box h1 + p {
  margin-top: -8px;
  margin-bottom: 16px;
}

/* =============================================
   AUTH FORM STYLES (login, register, etc.)
============================================= */
.osro-field { margin-bottom: 16px; }

.osro-section-head {
  display: flex; align-items: center; gap: 8px;
  margin: 18px 0 14px;
}
.osro-section-head-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(30,151,212,0.35), transparent);
}
.osro-section-head-text {
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(30,151,212,0.8); white-space: nowrap;
}

.osro-label {
  display: block; font-size: 0.69rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: rgba(0,0,0,0.48); margin-bottom: 6px;
}
.osro-input, .osro-select {
  display: block; width: 100%;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(30,151,212,0.28);
  border-radius: 9px; padding: 11px 14px;
  font-family: 'Gotham',sans-serif;
  font-size: 0.86rem; color: #1a1a1a; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none; -webkit-appearance: none;
}
.osro-input::placeholder { color: rgba(0,0,0,0.28); }
.osro-input:focus, .osro-select:focus {
  border-color: #1e97d4;
  box-shadow: 0 0 0 3px rgba(30,151,212,0.12), inset 0 1px 2px rgba(0,0,0,0.06);
}
.osro-input-error { border-color: rgba(220,50,50,0.5) !important; }
.osro-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none; opacity: 0.5; cursor: pointer;
}

.osro-select-wrap { position: relative; }
.osro-select-wrap::after {
  content: '\25BE'; position: absolute;
  right: 13px; top: 50%; transform: translateY(-50%);
  color: rgba(30,151,212,0.7); pointer-events: none; font-size: 0.78rem;
}
.osro-select option { background: #fff; color: #1a1a1a; }

.osro-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .osro-grid-2 { grid-template-columns: 1fr; } }

.osro-error { margin-top: 5px; font-size: 0.73rem; color: #c0392b; }
.osro-recaptcha { margin-bottom: 16px; transform-origin: left top; }

.osro-check-wrap  { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.osro-terms-wrap  { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.osro-checkbox    { width: 15px; height: 15px; accent-color: #1e97d4; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.osro-check-label { font-size: 0.77rem; color: rgba(0,0,0,0.48); cursor: pointer; }
.osro-terms-label { font-size: 0.75rem; color: rgba(0,0,0,0.48); line-height: 1.5; }
.osro-terms-label a { color: #1e97d4; text-decoration: none; }
.osro-terms-label a:hover { color: #1678aa; }

.osro-btn-primary {
  display: block; width: 100%; padding: 13px;
  background: linear-gradient(135deg, #1e97d4 0%, #1678aa 100%);
  border: none; border-radius: 9px;
  font-family: 'GothamCondensed','Gotham',sans-serif;
  font-size: 0.95rem; font-weight: bold;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(30,151,212,0.35); margin-bottom: 16px;
}
.osro-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(30,151,212,0.5); }
.osro-btn-primary:active { transform: translateY(0); }
.osro-btn-primary::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: skewX(-20deg); transition: left 0.5s;
}
.osro-btn-primary:hover::after { left: 160%; }

.osro-status {
  background: rgba(30,151,212,0.08);
  border: 1px solid rgba(30,151,212,0.3);
  border-radius: 9px; padding: 10px 14px;
  font-size: 0.77rem; color: #1678aa; margin-bottom: 16px;
}
.osro-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.osro-link  { font-size: 0.75rem; color: rgba(0,0,0,0.42); text-decoration: none; transition: color 0.15s; }
.osro-link:hover { color: #1e97d4; }
.osro-link-accent { font-size: 0.75rem; color: #1e97d4; text-decoration: none; font-weight: 500; transition: color 0.15s; }
.osro-link-accent:hover { color: #1678aa; }
.osro-already { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.75rem; color: rgba(0,0,0,0.4); }
.osro-already a { color: #1e97d4; text-decoration: none; font-weight: 500; }
.osro-already a:hover { color: #1678aa; }
