/* LithiumMO: stile del sito (blu notte + oro, sfondo dal logo). Sostituisce style.css del vecchio modello. */
:root {
	--bg: #070b16; --panel: rgba(10, 18, 36, .86); --panel2: rgba(16, 28, 54, .9); --line: rgba(232, 180, 80, .35);
	--gold: #e8b450; --gold-hi: #fff1c4; --gold-lo: #a8661a; --text: #e9e4d6; --dim: #a8b0c2; --blue: #5aa0ff; --discord: #5865f2;
}
* { box-sizing: border-box; }
html, body { background: var(--bg); }
body {
	margin: 0; color: var(--text); font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	background: var(--bg) url(../style/img/lm_bg.jpg) center top / cover fixed no-repeat;
}
a { color: var(--gold); } a:hover { color: var(--gold-hi); text-decoration: none; }
h1, h2, h3, .lm-h, .pre-social, .blog-title { font-family: Cinzel, Georgia, serif; letter-spacing: .04em; }
.lm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* barra in alto */
.lm-top { position: sticky; top: 0; z-index: 50; background: rgba(5, 9, 20, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.lm-top-in { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.lm-brand { display: flex; align-items: center; gap: 10px; font: 800 20px Cinzel, serif; color: var(--gold-hi) !important; letter-spacing: .08em; }
.lm-brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-lo); }
.lm-nav { display: flex; align-items: center; gap: 4px; }
.lm-nav a { color: var(--text); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.lm-nav a:hover, .lm-nav a.on { color: var(--gold-hi); background: rgba(232, 180, 80, .12); }
.lm-nav .lm-nav-discord { background: var(--discord); color: #fff; margin-left: 6px; }
.lm-nav .lm-nav-discord:hover { background: #6d78ff; color: #fff; }
.lm-lang { display: flex; margin-left: 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lm-lang a { padding: 6px 9px; border-radius: 0; font-size: 13px; color: var(--dim); }
.lm-lang a.on { background: var(--gold); color: #2a1804; }
.lm-burger { display: none; font-size: 22px; color: var(--gold-hi); cursor: pointer; margin: 0; padding: 8px; }

/* testata */
.lm-hero { padding: 48px 0 28px; }
.lm-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; }
.lm-hero h1 { font-size: 64px; font-weight: 800; margin: 8px 0 0; line-height: 1.05;
	background: linear-gradient(180deg, #fff8dc 0%, #f4d27a 40%, #b57a1e 60%, #f8dd8a 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7)); }
.lm-tag { color: var(--gold); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; margin: 6px 0 14px; }
.lm-lead { font-size: 18px; color: var(--text); max-width: 560px; text-shadow: 0 2px 8px #000; }
.lm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.lm-hero-logo { text-align: center; }
.lm-hero-logo img { width: 100%; max-width: 480px; height: auto;
	-webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(closest-side, #000 80%, transparent 100%); }
.lm-hero-small { padding: 26px 0 8px; }
.lm-hero-small h1 { font-size: 40px; }
.lm-hero-small .lm-hero-logo img { max-width: 220px; }
.lm-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.lm-status i { width: 9px; height: 9px; border-radius: 50%; }
.lm-status.on i { background: #3ddc84; box-shadow: 0 0 8px #3ddc84; } .lm-status.off i { background: #ff5b4f; box-shadow: 0 0 8px #ff5b4f; }

/* pulsanti */
.lm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700;
	color: var(--gold-hi); border: 1px solid var(--gold); background: rgba(8, 14, 30, .75); transition: transform .1s, filter .1s; }
.lm-btn:hover { color: #fff; filter: brightness(1.15); transform: translateY(-1px); }
.lm-btn.gold { color: #3a2006; border-color: #6a3c08; background: linear-gradient(180deg, #fff0b8, #e8b450 55%, #a8661a); box-shadow: 0 6px 20px rgba(232, 180, 80, .25); }
.lm-btn.gold:hover { color: #241200; }
.lm-btn.discord { background: var(--discord); border-color: #4752c4; color: #fff; }
.lm-btn.block { display: flex; width: 100%; }

/* come iniziare */
.lm-h { text-align: center; color: var(--gold-hi); font-size: 28px; margin: 18px 0; }
.lm-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lm-step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px 18px; }
.lm-step b { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(180deg, #fff0b8, #e8b450 55%, #a8661a); color: #3a2006; font: 800 15px Cinzel, serif; }
.lm-step h3 { font-size: 18px; color: var(--gold-hi); margin: 4px 0 8px; }
.lm-step p { color: var(--dim); font-size: 15px; margin: 0 0 10px; }

/* contenuto + colonna laterale */
.lm-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 28px; margin-bottom: 40px; }
.lm-content { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.lm-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.lm-card h3 { font-size: 17px; color: var(--gold-hi); margin: 0 0 12px; }
.lm-card p { color: var(--dim); font-size: 15px; }
.lm-discord { background: linear-gradient(160deg, rgba(88, 101, 242, .35), var(--panel) 60%); }
.lm-rank { width: 100%; font-size: 14px; border-collapse: collapse; }
.lm-rank td { padding: 7px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lm-rank .n { width: 28px; font-weight: 800; color: var(--dim); text-align: center; }
.lm-rank .n1 { color: #ffd54a; } .lm-rank .n2 { color: #d8dde6; } .lm-rank .n3 { color: #e09a5a; }
.lm-rank .lv { color: var(--dim); white-space: nowrap; }
.emp { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.emp.e1 { background: rgba(220, 60, 40, .25); color: #ff8a70; } .emp.e2 { background: rgba(232, 180, 80, .22); color: #ffd36a; } .emp.e3 { background: rgba(70, 140, 255, .25); color: #8fbcff; }
.lm-more { display: block; text-align: right; margin-top: 10px; font-weight: 700; font-size: 14px; }

/* pagine del vecchio CMS (registrazione, classifiche, novita') */
.lm-content .container { max-width: none; padding: 0; }
.page-hd { background: none !important; padding: 0 0 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-hd .bd-c { padding: 0; }
.pre-social { color: var(--gold-hi); font-size: 26px; margin: 0; }
.bd-c { padding: 0; }
.table { color: var(--text); background: transparent; }
.table td, .table th { border-color: rgba(255, 255, 255, .08); vertical-align: middle; }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255, 255, 255, .03); }
.thead-inverse th, .table thead th { background: rgba(232, 180, 80, .14); color: var(--gold-hi); border-color: var(--line); }
.form-control { background: rgba(3, 7, 16, .8); border: 1px solid var(--line); color: var(--text); border-radius: 8px; }
.form-control:focus { background: rgba(3, 7, 16, .9); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 180, 80, .2); }
.form-control::placeholder { color: #6f7890; }
.btn-danger, .btn-primary { border: 1px solid #6a3c08; color: #3a2006; font-weight: 700; background: linear-gradient(180deg, #fff0b8, #e8b450 55%, #a8661a); }
.btn-danger:hover, .btn-primary:hover { color: #241200; filter: brightness(1.1); border-color: #6a3c08; }
.alert { border-radius: 10px; border: 1px solid var(--line); }
.alert-info { background: rgba(70, 140, 255, .14); color: #cfe1ff; } .alert-success { background: rgba(61, 220, 132, .14); color: #c9f5dc; } .alert-danger { background: rgba(255, 91, 79, .15); color: #ffd0cc; }
.close { color: #fff; text-shadow: none; }
.nav-tabs { border-color: var(--line); } .nav-tabs .nav-link { color: var(--dim); } .nav-tabs .nav-link.active { background: rgba(232, 180, 80, .14); color: var(--gold-hi); border-color: var(--line); }
.pagination .page-link { background: rgba(3, 7, 16, .8); border-color: var(--line); color: var(--gold); }
.blogroll { list-style: none; padding: 0; margin: 0; }
.blog-title, .blogroll h2 { color: var(--gold-hi); font-size: 22px; }
.blog-attribution { color: var(--dim); font-size: 13px; }
.copy img { max-width: 100%; height: auto; border-radius: 10px; }
.jumbotron { background: rgba(255, 255, 255, .04); }

/* pagina download */
.lm-dl { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lm-dl-box { background: var(--panel2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.lm-dl-box h3 { color: var(--gold-hi); font-size: 20px; margin: 0 0 6px; }
.lm-dl-box ol { padding-left: 20px; color: var(--text); } .lm-dl-box li { margin: 6px 0; }
.lm-note { color: var(--dim); font-size: 14px; }

/* piede */
.lm-foot { background: rgba(4, 7, 15, .92); border-top: 1px solid var(--line); padding: 26px 0 10px; }
.lm-foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lm-foot p { color: var(--dim); font-size: 14px; margin: 8px 0 0; }
.lm-foot nav { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.lm-foot nav a { color: var(--text); font-size: 14px; } .lm-foot nav a:hover { color: var(--gold-hi); }
.lm-copy { color: #6f7890; font-size: 13px; padding-top: 14px; }

/* telefono e tablet */
@media (max-width: 980px) {
	.lm-burger { display: block; }
	.lm-nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; background: rgba(5, 9, 20, .97); border-bottom: 1px solid var(--line); }
	#lm-menu:checked ~ .lm-nav { display: flex; }
	.lm-nav a { padding: 12px; }
	.lm-nav .lm-nav-discord { margin: 6px 0 0; text-align: center; }
	.lm-lang { margin: 10px 0 0; align-self: flex-start; }
	.lm-hero-in { grid-template-columns: 1fr; text-align: center; }
	.lm-hero-logo { order: -1; }
	.lm-hero-logo img { max-width: 300px; }
	.lm-hero-small .lm-hero-logo { display: none; }
	.lm-lead { margin: 0 auto; }
	.lm-cta { justify-content: center; }
	.lm-main { grid-template-columns: 1fr; }
	.lm-steps-grid { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
	.lm-hero h1 { font-size: 42px; } .lm-hero-small h1 { font-size: 32px; }
	.lm-btn { width: 100%; }
	.lm-content { padding: 16px; }
	.table td { display: block; border: 0; padding: 4px 0; }
	.table tr { display: block; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

/* niente scorrimento orizzontale sul telefono */
html, body { overflow-x: hidden; }
.lm-main > *, .lm-content { min-width: 0; overflow-wrap: anywhere; }
.lm-content img { max-width: 100%; height: auto; }
.lm-tag { overflow-wrap: anywhere; }
.pagination { flex-wrap: wrap; }
.lm-content .pagination:only-child, .lm-content ul.pagination li:only-child { display: none; }
@media (max-width: 640px) {
	.media { display: block; }
	.media > img { max-width: 100% !important; margin: 0 0 12px !important; }
	.lm-top-in { min-height: 56px; }
	.lm-nav { top: 56px; }
}
