/* TRXKing public pages: landing, login, register */
body.trx-pub {
	margin: 0;
	background: #0c0e13;
	color: #e9ebf1;
	font-family: "Ubuntu", system-ui, sans-serif;
	overflow-x: hidden;
}
body.trx-pub a { color: #ff6b6b; text-decoration: none; }
.pub-nav {
	position: sticky; top: 0; z-index: 100;
	background: rgba(12, 14, 19, .85); backdrop-filter: blur(10px);
	border-bottom: 1px solid #1d2130;
}
.pub-nav .inner { max-width: 1140px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 28px; }
.pub-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font-size: 22px; font-weight: 700; }
.pub-logo b { color: #eb0029; }
.pub-logo .mark { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(to right, #ff5b3a, #eb0029); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; }
.pub-links { display: flex; gap: 24px; }
.pub-links a { color: #c9ccd8 !important; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.pub-links a:hover { color: #fff !important; border-color: #eb0029; }
.pub-nav .right { margin-left: auto; }
.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 24px; padding: 9px 30px; font-weight: 700; font-size: 15px;
	border: 2px solid transparent; transition: transform .12s, box-shadow .12s;
}
.pill.solid { background: linear-gradient(to right, #ff5b3a, #eb0029); color: #fff !important; }
.pill.solid:hover { box-shadow: 0 8px 22px rgba(235, 0, 41, .4); transform: translateY(-1px); }
.pill.ghost { border-color: #eb0029; color: #ff6b6b !important; background: transparent; }
.pill.ghost:hover { background: rgba(235, 0, 41, .1); }
.pill.lg { padding: 12px 38px; font-size: 18px; }

/* hero */
.hero { position: relative; text-align: center; padding: 120px 20px 130px; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.hero .b1 { width: 220px; height: 220px; background: #eb0029; top: 40px; left: 12%; }
.hero .b2 { width: 260px; height: 260px; background: #ff5b3a; top: 10px; right: 8%; opacity: .22; }
.hero .b3 { width: 200px; height: 200px; background: #7a0016; bottom: 20px; left: 4%; }
.hero h1 { position: relative; font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin: 0 0 14px; letter-spacing: -.5px; }
.hero p.lead { position: relative; color: #b8bccb; font-size: 20px; margin: 0 0 28px; }
.coins { position: relative; display: flex; justify-content: center; gap: 18px; margin-bottom: 34px; }
.coins img { width: 42px; height: 42px; border-radius: 50%; background: #1d2130; }
.hero .cta { position: relative; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* sections */
.sec { max-width: 1140px; margin: 0 auto; padding: 80px 20px; }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 6px; font-weight: 700; }
.sec-head p { color: #9aa0b2; margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ico { flex-shrink: 0; width: 60px; height: 60px; border-radius: 14px; border: 2px solid #2a2f40; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #ff5b5b; }
.feature h3 { font-size: 20px; margin: 4px 0 4px; font-weight: 700; }
.feature p { color: #9aa0b2; margin: 0; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .ico { font-size: 40px; color: #ff5b5b; margin-bottom: 10px; }
.stat strong { display: block; font-size: 34px; font-weight: 700; }
.stat span { color: #9aa0b2; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #161922; border: 1px solid #272c3b; border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: #eb0029; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #b8bccb; margin: 0 0 18px; }
.pub-footer { border-top: 1px solid #1d2130; text-align: center; padding: 26px 20px; color: #8d93a6; font-size: 14px; }
.pub-footer a { color: #c9ccd8 !important; margin: 0 8px; }

/* auth */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #161922; border: 1px solid #272c3b; border-radius: 14px; padding: 28px 24px; }
.auth-card h1 { text-align: center; font-size: 26px; font-weight: 700; margin: 0 0 22px; }
.auth-card .pub-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.f-field { position: relative; margin-bottom: 14px; }
.f-field i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8d93a6; font-size: 14px; }
.f-field input {
	width: 100%; background: #1d2130; color: #e9ebf1;
	border: 2px solid #3a2030; border-radius: 24px; padding: 11px 16px 11px 42px; font-size: 15px; outline: none;
}
.f-field input:focus { border-color: #eb0029; box-shadow: 0 0 0 3px rgba(235, 0, 41, .18); }
.auth-card select, .auth-card .form-select, .auth-card .form-control { background: #1d2130; color: #e9ebf1; border: 1px solid #272c3b; border-radius: 8px; }
.auth-card .captcha-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0; }
.auth-card .btn-submit { width: 100%; border: 0; border-radius: 8px; padding: 11px; font-weight: 700; font-size: 16px; color: #fff; background: linear-gradient(to right, #ff5b3a, #eb0029); cursor: pointer; }
.auth-card .btn-submit:hover { box-shadow: 0 8px 22px rgba(235, 0, 41, .35); }
.auth-card .meta { text-align: center; color: #b8bccb; font-size: 14px; margin-top: 14px; }
.auth-card .meta a { font-weight: 700; color: #fff !important; }
.auth-card .alert { border-radius: 10px; font-size: 14px; }
.auth-card .alert-warning { background: rgba(245, 183, 10, .1); border-color: rgba(245, 183, 10, .35); color: #f8d26a; }
.auth-card .alert-danger { background: rgba(235, 0, 41, .1); border-color: rgba(235, 0, 41, .35); color: #ff9aa8; }
.auth-card .alert-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #86e3a8; }
.auth-card .btn-primary { background: linear-gradient(to right, #ff5b3a, #eb0029); border: 0; border-radius: 20px; }

@media (max-width: 860px) {
	.features { grid-template-columns: 1fr 1fr; }
	.pub-links { display: none; }
}
@media (max-width: 560px) {
	.features, .stats { grid-template-columns: 1fr; }
	.hero { padding: 80px 16px 90px; }
	.hero p.lead { font-size: 17px; }
	.pub-nav .right .pill { padding: 7px 18px; }
}
