/* =====================================================================
   Chronos - tema noua, responsive (PC, tableta, telefon iOS / Android)
   Se incarca DUPA bootstrap.min.css. Inlocuieste style.css.
   ===================================================================== */

:root {
	--ch-bg: #140101;
	--ch-panel: rgba(42, 3, 3, .94);
	--ch-panel2: #360505;
	--ch-line: #7a4a1c;
	--ch-line-soft: rgba(122, 74, 28, .45);
	--ch-gold: #e6a13f;
	--ch-gold2: #f2c46d;
	--ch-text: #f1e8da;
	--ch-muted: #c9b59a;
	--ch-red: #b31212;
	--ch-serif: EasonPro, EasonProDisplayCaps, "Palatino Linotype", Georgia, "Times New Roman", serif;
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ch-bg); }
body {
	margin: 0;
	min-height: 100vh;
	background: radial-gradient(ellipse at 50% 0%, #5a0808 0%, #2a0202 45%, #140101 100%) fixed var(--ch-bg);
	color: var(--ch-text);
	font-family: var(--ch-serif);
	font-size: 17px;
	line-height: 1.5;
	overflow-x: hidden;
}
a { color: var(--ch-gold2); }
a:hover, a:focus { color: #ffd98f; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ch-serif); font-weight: 400; color: var(--ch-gold2); }
hr { border: 0; border-top: 1px solid var(--ch-line-soft); margin: 14px 0; }
center { display: block; text-align: center; }

.ch-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- bara de sus ---------- */
.ch-topbar {
	position: sticky; top: 0; z-index: 100;
	background: rgba(22, 1, 1, .94);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--ch-line);
	padding-top: env(safe-area-inset-top);
}
.ch-topbar-in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.ch-brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; white-space: nowrap; }
.ch-brand-name { font-size: 22px; color: var(--ch-gold2); letter-spacing: 1px; }
.ch-brand-by { font-size: 11px; color: var(--ch-muted); letter-spacing: 2px; text-transform: uppercase; }
.ch-brand:hover { text-decoration: none; }

.ch-nav { margin-left: auto; }
.ch-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ch-menu li { position: relative; }
.ch-menu > li > a {
	display: block; padding: 10px 14px; border-radius: 4px;
	color: var(--ch-text); text-decoration: none; font-size: 17px; white-space: nowrap;
}
.ch-menu > li > a:hover, .ch-menu > li > a.on { color: var(--ch-gold2); background: rgba(230, 161, 63, .1); }
.ch-has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; vertical-align: middle; border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.ch-sub {
	display: none; position: absolute; top: 100%; left: 0; min-width: 180px; z-index: 10;
	list-style: none; margin: 0; padding: 6px 0;
	background: #220202; border: 1px solid var(--ch-line); border-radius: 4px; box-shadow: 0 8px 20px rgba(0,0,0,.6);
}
.ch-lang .ch-sub { left: auto; right: 0; }
.ch-sub a { display: block; padding: 9px 16px; color: var(--ch-text); text-decoration: none; }
.ch-sub a:hover { color: var(--ch-gold2); background: rgba(230, 161, 63, .1); }
.ch-has-sub:hover > .ch-sub, .ch-has-sub:focus-within > .ch-sub { display: block; }

.ch-burger {
	display: none; margin-left: auto; width: 46px; height: 46px; padding: 0;
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	background: #2a0303; border: 1px solid var(--ch-line); border-radius: 6px; cursor: pointer;
}
.ch-burger span { display: block; width: 22px; height: 2px; background: var(--ch-gold2); border-radius: 2px; transition: transform .2s, opacity .2s; }
.ch-menu-open .ch-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ch-menu-open .ch-burger span:nth-child(2) { opacity: 0; }
.ch-menu-open .ch-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- header cu samanca ---------- */
.ch-hero { margin-top: 20px; }
.ch-hero-box {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
	height: 440px;
	background: #1a0202; border: 1px solid var(--ch-line); border-radius: 6px;
	box-shadow: 0 0 24px rgba(0,0,0,.6);
}
.ch-hero-bg {
	position: absolute; inset: -30px;
	background: url(../images/site/samanca.jpg) center 30% / cover no-repeat;
	filter: blur(22px) brightness(.55) saturate(1.2);
}
.ch-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,3,3,0) 30%, rgba(40,3,3,.55) 70%, rgba(25,2,2,.8)); }
.ch-hero-art {
	position: relative; display: block; width: 100%; height: 100%;
	object-fit: cover; object-position: center 20%;
	-webkit-mask-image: linear-gradient(90deg, #000 70%, transparent);
	mask-image: linear-gradient(90deg, #000 70%, transparent);
}
.ch-hero-text {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; padding: 32px 28px;
}
/* ---------- titlul "Chronos" in stil Metin2: auriu metalic, contur inchis, stralucire ---------- */
@font-face {
	font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap;
	src: url(fonts/cinzel-latin-700-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap;
	src: url(fonts/cinzel-latin-ext-700-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
.ch-hero-text h1 {
	position: relative;
	margin: 0; padding: 0 .08em;
	font-family: "Cinzel", EasonProDisplayCaps, "Trajan Pro", Georgia, serif; font-weight: 700;
	font-size: clamp(44px, 5.6vw, 76px); line-height: 1.05; letter-spacing: .06em;
	/* stratul de jos: conturul inchis si lumina de foc */
	color: #2a0b02;
	-webkit-text-stroke: .09em #1a0400;
	text-shadow: 0 .04em 0 #000, 0 0 .25em rgba(255,120,20,.55), 0 0 .6em rgba(200,40,0,.45);
	animation: ch-glow 3.2s ease-in-out infinite;
}
/* stratul de sus: literele aurii cu o raza de lumina care trece peste ele */
.ch-hero-text h1::after {
	content: attr(data-text);
	position: absolute; inset: 0; padding: 0 .08em;
	-webkit-text-stroke: 0; text-shadow: none;
	color: transparent;
	background:
		linear-gradient(105deg, transparent 42%, rgba(255,255,255,.95) 50%, transparent 58%) no-repeat,
		linear-gradient(180deg, #fffbe6 0%, #ffe39a 22%, #f2b84b 45%, #a8611a 52%, #e8a640 62%, #ffd77a 80%, #8a4a10 100%);
	background-size: 250% 100%, 100% 100%;
	background-position: 160% 0, 0 0;
	-webkit-background-clip: text; background-clip: text;
	animation: ch-shine 5s ease-in-out 1s infinite;
}
@keyframes ch-shine {
	0% { background-position: 160% 0, 0 0; }
	45%, 100% { background-position: -60% 0, 0 0; }
}
@keyframes ch-glow {
	0%, 100% { text-shadow: 0 .04em 0 #000, 0 0 .22em rgba(255,120,20,.45), 0 0 .55em rgba(200,40,0,.35); }
	50% { text-shadow: 0 .04em 0 #000, 0 0 .32em rgba(255,150,40,.75), 0 0 .8em rgba(220,60,0,.55); }
}
/* "by Metin2Privat" intre doua ornamente aurii */
.ch-hero-by { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ch-hero-by::after { transform: scaleX(-1); }
.ch-hero-by::before, .ch-hero-by::after {
	content: ""; width: 56px; height: 10px; flex: 0 0 auto;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 10'%3E%3Cpath d='M0 5H44' stroke='%23e6a13f' stroke-width='1'/%3E%3Cpath d='M50 0.5L54.5 5L50 9.5L45.5 5Z' fill='%23e6a13f'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
/* scantei care urca */
.ch-embers { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ch-embers i {
	position: absolute; bottom: -10px; width: 4px; height: 4px; border-radius: 50%;
	background: #ffcf6b; box-shadow: 0 0 6px 2px rgba(255,140,30,.8);
	opacity: 0; animation: ch-ember 7s linear infinite;
}
.ch-embers i:nth-child(1)  { left: 12%; animation-delay: 0s;   animation-duration: 7s; }
.ch-embers i:nth-child(2)  { left: 24%; animation-delay: 2.1s; animation-duration: 8.5s; width: 3px; height: 3px; }
.ch-embers i:nth-child(3)  { left: 37%; animation-delay: 4.3s; animation-duration: 6.5s; }
.ch-embers i:nth-child(4)  { left: 48%; animation-delay: 1.2s; animation-duration: 9s; width: 2px; height: 2px; }
.ch-embers i:nth-child(5)  { left: 59%; animation-delay: 3.4s; animation-duration: 7.5s; }
.ch-embers i:nth-child(6)  { left: 70%; animation-delay: 5.6s; animation-duration: 8s; width: 3px; height: 3px; }
.ch-embers i:nth-child(7)  { left: 81%; animation-delay: 0.7s; animation-duration: 6.8s; }
.ch-embers i:nth-child(8)  { left: 90%; animation-delay: 2.9s; animation-duration: 9.5s; width: 2px; height: 2px; }
.ch-embers i:nth-child(9)  { left: 31%; animation-delay: 6.2s; animation-duration: 8.2s; width: 2px; height: 2px; }
.ch-embers i:nth-child(10) { left: 64%; animation-delay: 4.8s; animation-duration: 7.2s; }
@keyframes ch-ember {
	0%   { transform: translate(0, 0); opacity: 0; }
	10%  { opacity: 1; }
	50%  { transform: translate(14px, -45%); }
	85%  { opacity: .7; }
	100% { transform: translate(-10px, -110%); opacity: 0; }
}
.ch-hero-text > *:not(.ch-embers) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
	.ch-hero-text h1, .ch-hero-text h1::after { animation: none; }
	.ch-embers { display: none; }
}
.ch-hero-by { margin: 8px 0 0; font-size: 18px; letter-spacing: 5px; text-transform: uppercase; color: #e9d3ad; }
.ch-hero-tag { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(201,138,46,.5); color: var(--ch-muted); font-size: 16px; }
.ch-offline { margin: 16px 0 0; color: #ff8a80; }
.ch-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }

/* pe celelalte pagini headerul e mai scund */
.ch-hero-small .ch-hero-box { height: 220px; }
.ch-hero-small .ch-hero-text { padding: 16px 24px; }
.ch-hero-small .ch-hero-art { object-position: center 18%; }
.ch-hero-small .ch-hero-text h1 { font-size: clamp(34px, 3.8vw, 52px); }
.ch-hero-small .ch-cta { margin-top: 14px; }

/* ---------- butoane ---------- */
.ch-btn, .btn-primary, .btn-success, .btn-danger, .btn-secondary, .btn-info, .btn-warning, .btn-default {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 44px; padding: 0 22px; border-radius: 6px;
	font-family: var(--ch-serif); font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer;
	color: #fff !important; border: 1px solid #d6a44a;
	background: linear-gradient(#b31212, #6e0505);
	box-shadow: 0 0 10px rgba(139,0,0,.5);
}
.ch-btn:hover, .btn-primary:hover, .btn-danger:hover { filter: brightness(1.15); text-decoration: none; }
.ch-btn-alt, .btn-secondary, .btn-default { background: linear-gradient(#3d0606, #240202); color: var(--ch-gold2) !important; }
.btn-success { background: linear-gradient(#36a046, #1f6b29); border-color: #5bc46a; }
.btn-info { background: linear-gradient(#2a6fb0, #17426b); border-color: #6aa6dc; }
.btn-warning { background: linear-gradient(#c98a1e, #7a520e); border-color: #f0c36a; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; }

/* ---------- asezarea paginii ---------- */
.ch-layout {
	display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start;
	margin-top: 24px; margin-bottom: 40px;
}
.ch-panel {
	background: var(--ch-panel); border: 1px solid var(--ch-line); border-radius: 6px;
	box-shadow: inset 0 0 20px rgba(0,0,0,.6);
}
.ch-content { min-width: 0; padding: 0 0 18px; }

/* containerele vechi din pagini nu mai au latime fixa */
.ch-content .container, .ch-content .container-fluid,
.ch-content .mt2cms2-c-l, .ch-content [class*="col-"] { width: auto; max-width: none; float: none; }
.ch-content .container { padding: 0 20px; }
.ch-content .mt2cms2-c-l { padding: 0 20px; }
.ch-content .row { margin-left: 0; margin-right: 0; }
.ch-content [class*="col-"][class*="offset"] { margin-left: 0; }

/* titlul fiecarei pagini */
.page-hd {
	background-image: none !important;
	margin: 0 -20px 16px; padding: 12px 20px;
	border-bottom: 1px solid var(--ch-line); border-radius: 6px 6px 0 0;
	background: linear-gradient(rgba(176,0,0,.35), transparent) !important;
}
.page-hd .bd-c { margin: 0; }
.page-hd h2, .page-hd .pre-social { margin: 0; font-size: 24px; line-height: 1.2; color: var(--ch-gold2); text-transform: none; }
.page-hd h6 { margin: 4px 0 0; color: var(--ch-muted); font-size: 14px; }
.ch-content .page-hd small { display: block; margin-top: 4px; }

/* noutati */
.blogroll { list-style: none; margin: 0; padding: 0; }
.blog-post { padding: 0 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--ch-line-soft); }
.blog-post:last-child { border-bottom: 0; margin-bottom: 0; }
.blog-title { margin: 0 0 4px; font-size: 22px; line-height: 1.25; }
.blog-title a { color: var(--ch-gold2); text-decoration: none; }
.blog-title a:hover { text-decoration: underline; }
.blog-title .fa { font-size: 18px; margin-left: 8px; }
.blog-attribution { margin: 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ch-muted) !important; }
.blog-post .text p, .blogroll .copy { margin: 8px 0 0; color: var(--ch-text); }
.blog-post .text img, .blogroll .copy img { display: block; margin: 10px auto; border: 1px solid var(--ch-line); border-radius: 4px; }
.blogroll .more { margin: 10px 0 0; }
.blogroll .more a { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.blogroll .copy { overflow-wrap: anywhere; }
.blogroll .copy iframe { max-width: 100%; }

/* paginare */
.wp-pagenavi { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 18px 0 0; padding: 0 20px; }
.wp-pagenavi a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px;
	border: 1px solid var(--ch-line); border-radius: 4px; text-decoration: none; color: var(--ch-text);
}
.wp-pagenavi a.current { color: var(--ch-gold2) !important; background: rgba(230,161,63,.15); }

/* tabele */
.table { width: 100%; margin: 0 0 14px; color: var(--ch-text); background: transparent; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 8px; vertical-align: middle; border-top: 1px solid var(--ch-line-soft); }
.table thead th, .thead-inverse th { color: var(--ch-muted) !important; background: rgba(0,0,0,.25) !important; font-weight: 400; font-size: 14px; border-bottom: 1px solid var(--ch-line); }
.table-hover tbody tr:hover { background: rgba(230,161,63,.07); }
.table td img, .table th img { vertical-align: middle; }
.ch-table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* formulare */
.form-control, .ch-content input[type=text], .ch-content input[type=password], .ch-content input[type=email], .ch-content select, .ch-content textarea {
	width: 100%; min-height: 44px; padding: 8px 12px;
	background: #160101 !important; color: var(--ch-text) !important;
	border: 1px solid var(--ch-line); border-radius: 4px;
	font-size: 16px; /* 16px = iPhone nu mai face zoom pe camp */
}
.form-control:focus { border-color: var(--ch-gold); box-shadow: 0 0 0 2px rgba(230,161,63,.25); outline: none; }
.form-control::placeholder { color: #8f7d68; }
.form-group { margin-bottom: 12px; }
label { color: var(--ch-muted); }

/* alerte, casete */
.alert { border-radius: 6px; padding: 12px 16px; margin: 0 0 14px; }
.alert-info { background: #13314a; border: 1px solid #2f6a96; color: #d6ecff !important; }
.alert-success { background: #123a1a; border: 1px solid #2f8a43; color: #d8f5df !important; }
.alert-warning { background: #3d2c08; border: 1px solid #a8741a; color: #ffe6b0 !important; }
.alert-danger { background: #3d0b0b; border: 1px solid #a83232; color: #ffd6d6 !important; }
.alert *, .text-danger { color: inherit; }
.text-danger { color: #ff8a80 !important; }
.jumbotron { background: rgba(0,0,0,.25); border: 1px solid var(--ch-line-soft); border-radius: 6px; padding: 14px 16px !important; margin-bottom: 14px; }
.tag, .badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; background: #5a0a0a; color: #fff; }
.tag-danger { background: #8a1c1c; }
.tag-info { background: #2a6fb0; }

/* taburi */
.nav-tabs { display: flex; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; border: 0; }
.nav-tabs .nav-item { flex: 1; margin: 0; }
.nav-tabs .nav-link {
	display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
	border: 1px solid var(--ch-line) !important; border-radius: 4px; background: transparent; color: var(--ch-muted); text-decoration: none;
}
.nav-tabs .nav-link.active { color: var(--ch-gold2) !important; background: rgba(230,161,63,.14) !important; }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

/* liste (meniul contului) */
.list-group { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; }
.list-group-item {
	display: block; padding: 11px 14px; border-radius: 4px !important;
	background: var(--ch-panel2) !important; border: 1px solid var(--ch-line-soft) !important;
	color: var(--ch-text) !important; text-decoration: none;
}
.list-group-item:hover { color: var(--ch-gold2) !important; border-color: var(--ch-line) !important; }
.list-group-item-danger { background: #4a0909 !important; color: #ffd6d6 !important; }
.list-group-item.disabled { opacity: .6; }
.float-xs-right { float: right; }

/* ---------- coloana din dreapta ---------- */
.ch-side { min-width: 0; }
.ch-side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.ch-side-list > li { margin: 0; }
.ch-side .widget, .ch-side .mod-main {
	background: var(--ch-panel) !important; border: 1px solid var(--ch-line); border-radius: 6px;
	box-shadow: inset 0 0 20px rgba(0,0,0,.6); padding: 0 !important; color: var(--ch-text);
}
.ch-side .bd { padding: 0 16px 16px; }
.ch-side .top-sidebar {
	margin: 0 -16px 14px; padding: 12px 16px; text-align: left;
	border-bottom: 1px solid var(--ch-line); background: linear-gradient(rgba(176,0,0,.35), transparent);
}
.ch-side .top-sidebar h4 { margin: 0; font-size: 21px; color: var(--ch-gold2); text-transform: none; }
.ch-side .top-sidebar + hr { display: none; }
.ch-side .row { margin: 0; }
.ch-side .col-md-1 { display: none; }
.ch-side .col-md-10 { width: 100%; max-width: none; flex: none; padding: 0; }
.ch-side .table { font-size: 16px; margin-bottom: 10px; }
.ch-side .table th, .ch-side .table td { padding: 8px 4px; }
.ch-side .table tr > td:first-child:empty, .ch-side .table tr > th:first-child:empty { display: none; }
.ch-side .table th[scope=row] { color: var(--ch-gold); font-weight: 400; }
.ch-side .table td:last-child { text-align: right; }
.ch-side .table td img { width: 22px; height: auto; border-radius: 2px; }
.ch-side .nav-tabs .nav-link img { width: 22px; height: auto; }
.ch-side center a { margin-top: 4px; }
.ch-side .g-recaptcha {
	transform: scale(.88) !important; -webkit-transform: scale(.88) !important;
	transform-origin: 0 0 !important; -webkit-transform-origin: 0 0 !important;
	margin-bottom: -8px;
}

/* ---------- footer ---------- */
.ch-footer { border-top: 1px solid var(--ch-line); background: rgba(16, 1, 1, .96); padding: 26px 0 calc(30px + env(safe-area-inset-bottom)); text-align: center; }
.ch-social { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0 0 16px; padding: 0; }
.ch-social a {
	display: block; width: 36px; height: 36px; border-radius: 5px;
	background: url(../images/site/social-icons.png) no-repeat 0 0;
}
.ch-social a.youtube { background-position: 0 0; }
.ch-social a.facebook { background-position: -36px 0; }
.ch-social a.twitter { background-position: -72px 0; }
.ch-social a.tumblr { background-position: -108px 0; }
.ch-social a.discord { background-position: -144px 0; }
.ch-social a.flickr { background-position: -180px 0; }
.ch-social a.rss { background-position: -216px 0; }
.ch-social a.twitchtv { background-position: -360px 0; }
.ch-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 16px; }
.ch-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ch-line); border-radius: 4px; color: var(--ch-text); text-decoration: none; font-size: 15px; }
.ch-legal a:hover { color: var(--ch-gold2); }
.ch-toplist { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; margin: 0 0 14px; }
.ch-toplist img { max-height: 60px; width: auto; }
.ch-copy { margin: 0; font-size: 13px; color: #999; }

/* ---------- discord ---------- */
.ch-discord-btn {
	position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
	border: 0; border-radius: 999px; background: #5865f2; color: #fff;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 15px; cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.ch-discord {
	position: fixed; left: 20px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 90;
	width: 300px; height: 400px; max-width: calc(100vw - 40px); max-height: calc(100vh - 160px);
	border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.6);
}
.ch-discord[hidden] { display: none; }
.ch-discord iframe { width: 100%; height: 100%; border: 0; }

/* ---------- cookie ---------- */
.ch-cookie {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px;
	padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
	background: #1a1a1a; color: #fff; text-align: center; box-shadow: 0 -2px 10px rgba(0,0,0,.5);
}
.ch-cookie p { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 14px; color: #fff; }
.ch-cookie button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 5px; background: #c0392b; color: #fff; cursor: pointer; }
.ch-cookie button:hover { background: #e74c3c; }

/* =====================================================================
   TABLETA
   ===================================================================== */
@media (max-width: 1000px) {
	.ch-layout { grid-template-columns: minmax(0, 1fr); }
	.ch-side-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
	.ch-side-list > li:last-child { grid-column: 1 / -1; }
}

/* meniul devine buton ☰ */
@media (max-width: 900px) {
	.ch-burger { display: inline-flex; }
	.ch-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: #1c0101; border-bottom: 1px solid var(--ch-line);
		box-shadow: 0 12px 24px rgba(0,0,0,.6);
		max-height: calc(100vh - 70px); overflow-y: auto;
	}
	.ch-menu-open .ch-nav { display: block; }
	.ch-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 14px 14px; }
	.ch-menu > li > a { padding: 13px 10px; font-size: 18px; border-bottom: 1px solid var(--ch-line-soft); border-radius: 0; }
	.ch-has-sub > a::after { display: none; }
	.ch-sub { display: block; position: static; min-width: 0; padding: 0 0 6px 16px; background: none; border: 0; box-shadow: none; }
	.ch-sub a { padding: 10px; color: var(--ch-muted); }
}

/* =====================================================================
   TELEFON
   ===================================================================== */
@media (max-width: 680px) {
	body { font-size: 16px; }
	.ch-wrap { padding: 0 14px; }
	.ch-topbar-in { min-height: 56px; }
	.ch-brand-name { font-size: 20px; }

	.ch-hero { margin-top: 12px; }
	.ch-hero-box { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; height: auto; }
	.ch-hero-bg { display: none; }
	.ch-hero-art {
		grid-area: 1 / 1; height: auto; aspect-ratio: 600 / 559;
		-webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%);
		mask-image: linear-gradient(180deg, #000 62%, transparent 98%);
	}
	.ch-hero-text { grid-area: 2 / 1; margin-top: -150px; padding: 110px 16px 20px; }
	.ch-hero-text h1 { font-size: 46px; }
	.ch-hero-by { font-size: 14px; }
	.ch-cta { width: 100%; }
	.ch-cta .ch-btn { flex: 1 1 0; padding: 0 10px; min-height: 48px; }

	/* pe celelalte pagini: o banda scunda, fara poza mare */
	.ch-hero-small .ch-hero-box { height: 150px; grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
	.ch-hero-small .ch-hero-art { grid-area: auto; aspect-ratio: auto; height: 100%; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
	.ch-hero-small .ch-hero-text { grid-area: auto; margin: 0; padding: 12px; }
	.ch-hero-small .ch-hero-text h1 { font-size: 30px; }
	.ch-hero-small .ch-hero-by { font-size: 11px; letter-spacing: 3px; gap: 6px; }
	.ch-hero-small .ch-hero-by::before, .ch-hero-small .ch-hero-by::after { width: 18px; }
	.ch-hero-small .ch-cta { display: none; }

	.ch-layout { margin-top: 16px; gap: 16px; }
	.ch-side-list { display: flex; }
	.ch-content .container, .ch-content .mt2cms2-c-l { padding: 0 14px; }
	.page-hd { margin: 0 -14px 14px; padding: 12px 14px; }
	.wp-pagenavi { padding: 0 14px; }

	/* formularele facute din tabele (inregistrare, cont) se aseaza pe verticala */
	.ch-content form .table, .ch-content form .table tbody, .ch-content form .table tr, .ch-content form .table td { display: block; width: 100%; }
	.ch-content form .table tr { padding: 8px 0; border-top: 1px solid var(--ch-line-soft); }
	.ch-content form .table td { padding: 4px 0; border: 0; }
	.ch-content form .table td:first-child { color: var(--ch-muted); font-size: 14px; }

	/* clasamentul complet: ascundem EXP ca sa incapa */
	.exp-table { display: none; }

	.ch-legal a { flex: 1 1 100%; justify-content: center; }

	.ch-discord-btn { left: auto; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 12px; }
	.ch-discord-btn span { display: none; }
	.ch-discord { left: auto; right: 14px; bottom: calc(74px + env(safe-area-inset-bottom)); }
}
