@import url(https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap);

/* ===== ELDERCS theme ===== */
html body {
  background: #0a0a0c url(https://eldercs.ro/eldercsbg.jpg) center top / cover fixed no-repeat;
  color: #e8e8ee;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
}
html body::before {
  content: ''; position: fixed; inset: 0; background: rgba(10,10,12,.82); z-index: -1;
}
html body #container { background: transparent; color: #e8e8ee; font-family: 'Rajdhani', sans-serif; }
html body .wrapper { max-width: 1240px; width: 94%; }
html body a:link,
html body a:visited { color: #ffffff; text-decoration: none; }
html body a:hover,
html body a:active { color: #e58d27; text-decoration: none; }

/* Header + logo */
html body #header { background: transparent; }
html body #header #logo { background: #0e0e11; border-bottom: 1px solid #23232b; padding: 18px 0; }
html body #logo .wrapper { display: flex; align-items: center; justify-content: space-between; }
html body #logo a img { display: none; }
html body #header ul.menu li a { color: #ffffff; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
html body #header ul.menu li a:hover { color: #e58d27; }
html body #panel .upper { background: #e58d27; border: 0; color: #0a0a0c; }
html body #panel .upper a:link,
html body #panel .upper a:visited,
html body #panel .upper a.logout { color: #0a0a0c; font-weight: 700; }
html body #panel .lower { background: #121216; border: 0; border-bottom: 1px solid #23232b; color: #b4b4bf; }
html body #panel .lower a:link,
html body #panel .lower a:visited { color: #e8e8ee; }
html body #search fieldset,
html body #panel input.textbox { background: #0e0e11; border: 1px solid #2a2a33; color: #fff; }
html body #panel input.button { background: #0a0a0c; color: #e58d27; border: 1px solid #0a0a0c; }

html body #content { background: transparent; padding-top: 24px; }
html body .navigation { color: #a5a5b0; }
html body .navigation .active { color: #e58d27; font-family: 'Orbitron', sans-serif; font-size: 15px; }

/* Tables */
html body .tborder { background: #121216; border: 1px solid #23232b; border-radius: 10px; overflow: hidden; }
html body .tborder td { border-color: #1e1e25; }
html body .thead {
  background: #17171d !important; border-bottom: 1px solid #23232b; color: #e58d27; padding: 14px 16px;
}
html body .thead strong,
html body .thead a:link,
html body .thead a:visited,
html body .thead strong a {
  color: #e58d27 !important; font-family: 'Orbitron', sans-serif; letter-spacing: 2px; text-transform: uppercase; font-size: 14px;
}
html body .thead .smalltext { color: #a5a5b0; font-family: 'Rajdhani', sans-serif; letter-spacing: 0; text-transform: none; }
html body .tcat { background: #0e0e11 !important; color: #8f8f9b; border-top: 1px solid #23232b; border-bottom: 1px solid #23232b; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
html body .tcat a:link,
html body .tcat a:visited { color: #b4b4bf; }
html body .trow1,
html body .trow2 { background: #121216; border-color: #1e1e25; color: #e8e8ee; }
html body .trow2 { background: #141419; }
html body .trow1:hover,
html body .trow2:hover { background: #18181e; }
html body .trow_selected,
html body tr.trow_selected td { background: #2a1f12; color: #fff; }
html body .tfoot { background: #0e0e11; border-top: 1px solid #23232b; color: #a5a5b0; }
html body .tfoot a:link,
html body .tfoot a:visited { color: #e8e8ee; }
html body .smalltext,
html body .smalltext a { color: #a5a5b0; }
html body .trow1 strong a,
html body .trow2 strong a { font-size: 17px; font-weight: 700; }
html body .forum_status { filter: sepia(1) saturate(4) hue-rotate(-10deg); }

/* Posts */
html body .post { background: #121216; border: 1px solid #23232b; border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
html body .post .post_author { background: #15151a; border-bottom: 1px solid #23232b; }
html body .post .post_head { border-bottom: 1px solid #1e1e25; }
html body .post .post_body { color: #e8e8ee; font-size: 16px; }
html body .post .post_controls { background: #0e0e11; border-top: 1px solid #23232b; }
html body .post_author .author_avatar img { border-radius: 8px; border: 1px solid #2a2a33; background: #23232b; }
html body blockquote { background: #0e0e11; border: 1px solid #2a2a33; border-radius: 6px; color: #cfcfd8; }
html body blockquote cite { border-bottom: 1px solid #2a2a33; color: #e58d27; }
html body .codeblock { background: #0e0e11; border: 1px solid #2a2a33; }

/* Buttons + inputs */
html body a.button:link,
html body a.button:visited,
html body a.button:hover,
html body a.button:active,
html body button,
html body input.button,
html body input[type=submit] {
  background: #e58d27; color: #0a0a0c; border: 1px solid #e58d27; border-radius: 6px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; box-shadow: none; padding: 6px 14px;
}
html body a.button:hover,
html body button:hover,
html body input.button:hover { background: #f5a03f; border-color: #f5a03f; color: #0a0a0c; }
html body a.button span,
html body a.button:link span { color: #0a0a0c; }
html body input.textbox,
html body textarea,
html body select {
  background: #0e0e11; color: #ffffff; border: 1px solid #2a2a33; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 15px;
}
html body input.textbox:focus,
html body textarea:focus,
html body select:focus { border-color: #e58d27; outline: none; }

/* Pagination */
html body .pagination a,
html body .pagination .pagination_current { background: #121216; border: 1px solid #2a2a33; color: #fff; border-radius: 4px; }
html body .pagination .pagination_current,
html body .pagination a:hover { background: #e58d27; color: #0a0a0c; border-color: #e58d27; }

/* Popups + misc */
html body .popup_menu { background: #121216; border: 1px solid #2a2a33; }
html body .popup_menu .popup_item { background: #121216; color: #e8e8ee; }
html body .popup_menu .popup_item:hover { background: #e58d27; color: #0a0a0c; }
html body .red_alert,
html body .pm_alert { background: #2a1212; border: 1px solid #8b0000; color: #ffb4b4; border-radius: 6px; }
html body .modal { background: #121216; color: #e8e8ee; border: 1px solid #2a2a33; }
html body fieldset { border: 1px solid #23232b; }
html body hr { border-color: #23232b; }

/* Footer */
html body #footer .upper { background: #121216; border-top: 1px solid #23232b; border-bottom: 1px solid #23232b; }
html body #footer .lower { background: transparent; color: #8f8f9b; }
html body #footer .lower a:link,
html body #footer .lower a:visited { color: #b4b4bf; }
html body #footer ul.menu li a { color: #e8e8ee; }


/* Banner (full-width strip, banner centered, blurred sides) */
html body .eldercs-banner { position: relative; width: 100%; margin: 0; border: 0; border-radius: 0; background: #0a0a0c; line-height: 0; overflow: hidden; border-bottom: 1px solid #23232b; isolation: isolate; }
html body .eldercs-banner::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 90% at 50% 60%, rgba(229,141,39,.28), rgba(229,141,39,0) 70%),
    linear-gradient(to right, rgba(10,10,12,.55), rgba(10,10,12,.88) 30%, rgba(10,10,12,.88) 70%, rgba(10,10,12,.55)),
    url(https://eldercs.ro/eldercsbg.jpg) center / cover no-repeat;
  filter: saturate(1.15); }
html body .eldercs-banner::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background-image:
    radial-gradient(2px 2px at 8% 80%, #ffb15c, transparent), radial-gradient(1.5px 1.5px at 14% 40%, #e58d27, transparent),
    radial-gradient(2px 2px at 20% 65%, #ff9a3c, transparent), radial-gradient(1.5px 1.5px at 4% 25%, #ffc27a, transparent),
    radial-gradient(2px 2px at 26% 90%, #e58d27, transparent), radial-gradient(1.5px 1.5px at 11% 10%, #ff9a3c, transparent),
    radial-gradient(2px 2px at 92% 75%, #ffb15c, transparent), radial-gradient(1.5px 1.5px at 86% 35%, #e58d27, transparent),
    radial-gradient(2px 2px at 80% 60%, #ff9a3c, transparent), radial-gradient(1.5px 1.5px at 96% 20%, #ffc27a, transparent),
    radial-gradient(2px 2px at 74% 92%, #e58d27, transparent), radial-gradient(1.5px 1.5px at 89% 8%, #ff9a3c, transparent);
  background-size: 100% 100%; background-repeat: repeat-y;
  animation: ebEmbers 9s linear infinite; }
@keyframes ebEmbers { from { background-position: 0 0; } to { background-position: 0 -440px; } }
html body .eldercs-banner video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 640; object-fit: cover; pointer-events: none; box-shadow: 0 0 60px rgba(229,141,39,.25); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); }
html body .eldercs-banner video::-webkit-media-controls,
html body .eldercs-banner video::-webkit-media-controls-enclosure { display: none !important; }
html body .eldercs-banner .eb-mobile { display: none; width: 100%; height: auto; }
html body .eldercs-banner.eb-is-mobile::before { display: none; }
html body .eldercs-banner.eb-is-mobile .eb-desktop { display: none; }
html body .eldercs-banner.eb-is-mobile .eb-mobile { display: block; }

html body .eldercs-banner .eb-frame { position: relative; width: min(100%, 1320px); margin: 0 auto; aspect-ratio: 1920 / 640; }
html body .eldercs-banner .eb-link { position: absolute; top: 88.5%; height: 8%; border-radius: 6px; z-index: 2; transition: background .2s, box-shadow .2s; }
html body .eldercs-banner .eb-link:hover { background: rgba(229,141,39,.18); box-shadow: 0 0 0 1px rgba(229,141,39,.7), 0 0 18px rgba(229,141,39,.45); }
html body .eldercs-banner .eb-link:focus-visible { outline: 2px solid #e58d27; outline-offset: 2px; }

html body .eldercs-banner .eb-frame video { position: absolute; left: 0; top: 0; width: 4px !important; height: 4px !important; opacity: 0; box-shadow: none; -webkit-mask-image: none; mask-image: none; }
html body .eldercs-banner .eb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; box-shadow: 0 0 60px rgba(229,141,39,.25); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 70px, #000 calc(100% - 70px), transparent 100%); }

/* ELDERCS footer */
html body .ec-footer { margin-top: 40px; }
html body .ec-foot-main { background: #0e0e11; border-top: 2px solid #e58d27; padding: 40px 0 32px; }
html body .ec-foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr; gap: 40px; }
html body .ec-foot-col h3 { margin: 0 0 16px; font-family: 'Orbitron', sans-serif; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: #e58d27; }
html body .ec-foot-logo { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 26px; letter-spacing: 1px; color: #fff !important; }
html body .ec-foot-logo span { color: #e58d27; }
html body .ec-foot-about p { margin: 12px 0 18px; color: #b4b4bf; font-size: 15px; line-height: 1.55; }
html body .ec-foot-about p strong { color: #fff; }
html body .ec-foot-social { display: flex; gap: 10px; }
html body .ec-foot-social a { width: 40px; height: 40px; border-radius: 8px; background: #17171d; border: 1px solid #2a2a33; display: flex; align-items: center; justify-content: center; color: #e8e8ee !important; transition: all .2s; }
html body .ec-foot-social a:hover { background: #e58d27; border-color: #e58d27; color: #0a0a0c !important; }
html body .ec-server { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #15151a; border: 1px solid #2a2a33; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
html body .ec-server strong { display: block; font-family: 'Orbitron', sans-serif; font-size: 13px; color: #fff; }
html body .ec-server span { display: block; color: #a5a5b0; font-size: 14px; margin-top: 2px; }
html body .ec-connect { padding: 8px 14px; border: 1px solid #e58d27; border-radius: 6px; color: #e58d27 !important; font-weight: 700; letter-spacing: 1px; font-size: 13px; white-space: nowrap; transition: all .2s; }
html body .ec-connect:hover { background: #e58d27; color: #0a0a0c !important; }
html body .ec-foot-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
html body .ec-foot-links a { color: #cfcfd8 !important; font-weight: 600; font-size: 15px; }
html body .ec-foot-links a:hover { color: #e58d27 !important; }
html body .ec-footer .lower { background: #0a0a0c; border-top: 1px solid #1e1e25; padding: 14px 0; }
html body .ec-foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8f8f9b; font-size: 14px; }
html body .ec-foot-bottom a { color: #b4b4bf !important; }
html body .ec-footer #copyright { float: none; }
@media (max-width: 860px) { html body .ec-foot-grid { grid-template-columns: 1fr; gap: 28px; } }

html body .ec-soon { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 3px 9px; border-radius: 4px; background: #e58d27; color: #0a0a0c !important; font-family: 'Orbitron', sans-serif; font-size: 11px; font-weight: 900; letter-spacing: 2px; line-height: 1.4; animation: ecSoon 2s ease-in-out infinite; }
html body .ec-soon-lg { margin-left: 0; padding: 8px 14px; font-size: 12px; }
@keyframes ecSoon { 0%,100% { box-shadow: 0 0 0 rgba(229,141,39,0); } 50% { box-shadow: 0 0 14px rgba(229,141,39,.7); } }

/* Top bar */
html body #logo .ec-brand { display: flex; align-items: center; gap: 12px; }
html body #logo .ec-brand img { display: block !important; height: 44px; width: auto; }
html body #logo .ec-brand span { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 26px; letter-spacing: 1px; color: #fff; }
html body #logo .ec-brand span b { color: #e58d27; }
html body #logo ul.ec-nav { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; float: none; }
html body #logo ul.ec-nav li { list-style: none; margin: 0; padding: 0; }
html body #logo ul.ec-nav li a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 6px; background: none !important; color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; transition: color .2s, background-color .2s; }
html body #logo ul.ec-nav li a:hover { color: #e58d27; background-color: rgba(229,141,39,.08) !important; }
html body #logo ul.ec-nav li a.ec-active { color: #e58d27; box-shadow: inset 0 -2px 0 #e58d27; border-radius: 0; }
html body #logo ul.ec-nav .ec-promo { padding: 1px 6px; border-radius: 4px; background: #e58d27; color: #0a0a0c; font-size: 11px; letter-spacing: 0; }
html body #logo ul.ec-nav .ec-search { padding: 10px 12px; margin-left: 6px; border: 1px solid #2a2a33; }
@media (max-width: 980px) { html body #logo .wrapper { flex-wrap: wrap; gap: 10px; } html body #logo ul.ec-nav { flex-wrap: wrap; } }

/* Social login */
html body .ec-social { max-width: 520px; margin: 10px auto 26px; padding: 26px 28px 18px; background: #121216; border: 1px solid #23232b; border-radius: 12px; text-align: center; }
html body .ec-social h2 { margin: 0 0 6px; font-family: 'Orbitron', sans-serif; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; color: #e58d27; }
html body .ec-social p { margin: 0 0 18px; color: #b4b4bf; font-size: 15px; }
html body .ec-social-btns { display: flex; flex-direction: column; gap: 10px; }
html body .ec-sbtn { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border-radius: 8px; font-weight: 700; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase; transition: transform .15s, box-shadow .2s, filter .2s; }
html body .ec-sbtn:hover { transform: translateY(-1px); filter: brightness(1.12); }
html body a.ec-steam { background: linear-gradient(135deg, #1b2838, #2a475e); color: #fff !important; border: 1px solid #3d6c8d; }
html body a.ec-steam:hover { box-shadow: 0 0 22px rgba(102,192,244,.35); color: #fff !important; }
html body a.ec-discord { background: #5865f2; color: #fff !important; }
html body a.ec-google { background: #fff; color: #1f1f1f !important; }
html body .ec-social-or { position: relative; margin: 20px 0 4px; color: #8f8f9b; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; }
html body .ec-social-or::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #23232b; }
html body .ec-social-or span { position: relative; padding: 0 12px; background: #121216; }
/* Flyover buttons inside the quick-login popup */
html body .flyover .login_box_buttons { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 6px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(135deg, #1b2838, #2a475e); color: #fff; border: 1px solid #3d6c8d; }

html body .flyover .login_box_buttons.discord { background: #5865f2; border-color: #5865f2; }
html body .flyover .login_box_buttons.google { background: #fff; color: #1f1f1f; border-color: #fff; }
html body td.flyover { padding: 12px 18px 18px !important; }
html body .flyover a { display: block !important; margin: 0 0 10px !important; width: 100% !important; float: none !important; }
html body .flyover a:last-child { margin-bottom: 0 !important; }
html body .flyover .login_box_buttons { display: flex !important; align-items: center; justify-content: center; gap: 10px; width: 100% !important; height: auto !important; min-height: 0 !important; box-sizing: border-box; padding: 12px 16px !important; margin: 0 !important; white-space: nowrap; font-size: 15px; line-height: 1.2; float: none !important; text-align: center; }

/* Quick social login in the orange bar */
html body #panel .upper .welcome { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }
html body .ec-quick { display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(10,10,12,.35); }
html body .ec-quick-label { color: #0a0a0c; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
html body #panel .upper a.ec-q { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 5px; font-weight: 700; font-size: 13px; letter-spacing: .5px; line-height: 1.2; background: none; transition: filter .15s, transform .15s; }
html body #panel .upper a.ec-q:hover { filter: brightness(1.15); transform: translateY(-1px); }
html body #panel .upper a.ec-q-steam { background: #1b2838; color: #fff !important; }
html body #panel .upper a.ec-q-discord { background: #5865f2; color: #fff !important; }
html body #panel .upper a.ec-q-google { background: #fff; color: #1f1f1f !important; }
html body #panel .upper a.ec-q svg { display: block; }
