/* =============================================
   FONTS
   ============================================= */
@font-face {
	font-family: 'MetaPro-Normal';
	src: url('../fonts/metapronormal.woff') format('woff');
	font-weight: normal; font-style: normal;
}
@font-face {
	font-family: 'MetaPro-Medium';
	src: url('../fonts/metapromedium.woff') format('woff');
	font-weight: normal; font-style: normal;
}
@font-face {
	font-family: 'MetaPro-Bold';
	src: url('../fonts/metaprobold.woff') format('woff');
	font-weight: normal; font-style: normal;
}
@font-face {
	font-family: 'alegreya_scregular';
	src: url('../fonts/alegreyasc-regular-webfont.woff') format('woff');
	font-weight: normal; font-style: normal;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; height: auto; }

body {
	background-color: #0d0503;
	margin: 0; padding: 0;
	font-family: 'MetaPro-Normal', Verdana, sans-serif;
	font-size: 13px;
	line-height: 16px;
	color: #e8e0d0;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a { text-decoration: none; color: inherit; }
a:visited { color: inherit; }
ul, li, input, button { border: 0; padding: 0; margin: 0; list-style: none; }
img { border: 0; display: block; }

/* =============================================
   UTILITY
   ============================================= */
.clearfix::after { content: ''; display: block; clear: both; }

/* =============================================
   TOP BAR
   ============================================= */
.topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	background: linear-gradient(to bottom, #1c0c05 0%, #120703 100%);
	z-index: 100;
	border-bottom: 1px solid rgba(144,26,29,.4);
	box-shadow: 0 1px 12px rgba(0,0,0,.6);
}

.topbar-logo {
	height: 50px;
	width: auto;
	display: block;
}

.topbar-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 16px 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
}

.topbar-brand {
	font-family: 'alegreya_scregular';
	font-size: 16px;
	color: #c8a96e;
	letter-spacing: 1px;
}

.topbar-nav {
	display: flex;
	align-items: center;
	gap: 6px;
}

.topbar-btn {
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding: 0 14px;
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #c8a96e;
	border: 1px solid rgba(156,100,35,.4);
	background: rgba(0,0,0,.3);
	cursor: pointer;
	letter-spacing: .5px;
	transition: background .15s, border-color .15s, color .15s;
}

.topbar-btn:hover,
.topbar-btn.active {
	background: rgba(144,26,29,.5);
	border-color: #901A1D;
	color: #fff;
}

.topbar-user {
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #a0906a;
	margin-right: 6px;
}

/* =============================================
   MAIN WRAPPER
   ============================================= */
.main-wrapper {
	flex: 1;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	padding: 90px 20px 40px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* =============================================
   PANEL (card container)
   ============================================= */
.panel {
	background: rgba(12, 7, 3, 0.88);
	border: 1px solid rgba(156, 100, 35, 0.25);
	border-top: 2px solid #901A1D;
	padding: 32px 36px;
	margin-bottom: 24px;
	position: relative;
}

.panel::before {
	content: '';
	position: absolute;
	top: -1px; left: 40px;
	width: 60px; height: 2px;
	background: #9C6423;
}

.panel-title {
	font-family: 'alegreya_scregular';
	font-size: 22px;
	color: #c8a96e;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(156,100,35,.2);
	letter-spacing: 1px;
}

/* Two-column layout */
.panel-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}

/* =============================================
   PRICING TABLE
   ============================================= */
.pricing-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
}

.pricing-table thead tr {
	background: rgba(144,26,29,.2);
	border-bottom: 1px solid rgba(144,26,29,.4);
}

.pricing-table thead th {
	padding: 10px 16px;
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #9C6423;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.pt-th-select { width: 42px; }

/* Linha seleccionável */
.pricing-table tbody tr.pt-row {
	border-bottom: 1px solid rgba(255,255,255,.05);
	cursor: pointer;
	transition: background .12s;
	user-select: none;
}

.pricing-table tbody tr.pt-row:hover {
	background: rgba(244,162,41,.06);
}

.pricing-table tbody tr.pt-row:has(input:checked) {
	background: rgba(244,162,41,.1);
	border-bottom-color: rgba(244,162,41,.3);
	outline: 1px solid rgba(244,162,41,.4);
	outline-offset: -1px;
}

.pricing-table tbody tr.pt-featured {
	background: rgba(144,26,29,.1);
	border-bottom: 1px solid rgba(144,26,29,.25);
}

.pricing-table tbody tr.pt-featured:hover {
	background: rgba(244,162,41,.06);
}

.pricing-table tbody tr.pt-featured:has(input:checked) {
	background: rgba(244,162,41,.1);
	border-bottom-color: rgba(244,162,41,.3);
}

.pt-select {
	padding: 12px 8px 12px 16px;
	width: 42px;
}

.pt-select input[type="radio"] {
	accent-color: #f4a229;
	width: 15px; height: 15px;
	cursor: pointer;
	display: block;
	margin: 0;
}

.pt-coins {
	padding: 12px 16px;
	font-family: 'alegreya_scregular';
	font-size: 16px;
	color: #c8a96e;
}

.pt-price {
	padding: 12px 16px;
	font-family: 'MetaPro-Bold';
	font-size: 15px;
	color: #e8e0d0;
}

.pt-bonus {
	padding: 12px 16px;
	font-family: 'MetaPro-Medium';
	font-size: 13px;
	color: #4a9e4a;
}

.pt-no-bonus {
	color: #3a2a18;
}

.pt-badge {
	display: inline-block;
	background: #901A1D;
	font-family: 'MetaPro-Bold';
	font-size: 9px;
	color: #fff;
	padding: 2px 6px;
	letter-spacing: 1px;
	vertical-align: middle;
	margin-left: 8px;
	text-transform: uppercase;
}

/* =============================================
   PAYMENT BUTTONS
   ============================================= */
.pay-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pay-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	padding: 0 20px;
	font-family: 'MetaPro-Medium';
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .15s, border-color .15s, transform .1s;
	letter-spacing: .5px;
}

.pay-btn:active { transform: scale(.98); }

.pay-btn-mbway {
	background: linear-gradient(135deg, #c41842 0%, #8b0f2d 100%);
	border-color: rgba(196,24,66,.5);
}

.pay-btn-mbway:hover {
	background: linear-gradient(135deg, #d91f4a 0%, #a01235 100%);
	border-color: #c41842;
}

.pay-btn-arrow {
	font-size: 16px;
	opacity: .7;
}

.pay-btn-stripe {
	background: linear-gradient(135deg, #5469d4 0%, #3b4faf 100%);
	border-color: rgba(84,105,212,.5);
	width: 100%;
	font-family: 'MetaPro-Medium';
	font-size: 14px;
	letter-spacing: .5px;
	height: 56px;
}

.pay-btn-stripe:hover {
	background: linear-gradient(135deg, #6577e8 0%, #4a5fcf 100%);
	border-color: #5469d4;
}

.pay-btn-label {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
}

.pay-btn-name {
	font-family: 'MetaPro-Medium';
	font-size: 14px;
	color: #fff;
	letter-spacing: .5px;
}

.pay-btn-methods {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: rgba(255,255,255,.55);
	letter-spacing: 0;
}

.pay-btn-disabled {
	background: rgba(30, 16, 6, 0.5);
	border: 1px solid rgba(156,100,35,.15);
	color: #4a3a28;
	cursor: not-allowed;
	pointer-events: none;
}

.pay-btn-disabled .pay-btn-arrow { display: none; }

.pay-btn-soon {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #4a3a28;
	background: rgba(156,100,35,.08);
	border: 1px solid rgba(156,100,35,.12);
	padding: 2px 8px;
}

/* =============================================
   SIDEBAR INFO
   ============================================= */
.info-card {
	background: rgba(8, 4, 2, 0.7);
	border: 1px solid rgba(156,100,35,.2);
	padding: 18px 20px;
	margin-bottom: 16px;
}

.info-card-title {
	font-family: 'alegreya_scregular';
	font-size: 16px;
	color: #9C6423;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(156,100,35,.15);
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255,255,255,.04);
	font-size: 13px;
}

.info-row:last-child { border-bottom: none; }

.info-key {
	color: #6a5a42;
	font-family: 'MetaPro-Normal';
}

.info-val {
	font-family: 'MetaPro-Bold';
	color: #c8a96e;
}

.info-val.coins { color: #c8a96e; font-size: 14px; }
.info-val.status-ok    { color: #4a9e4a; }
.info-val.status-block { color: #b40000; }

.info-note {
	font-size: 11px;
	color: #4a3a28;
	margin-top: 10px;
	line-height: 15px;
}

/* =============================================
   ALERT MESSAGES
   ============================================= */
.alert {
	padding: 12px 16px;
	margin-bottom: 20px;
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	border-left: 3px solid;
	line-height: 18px;
}

.alert-success {
	background: rgba(74,158,74,.1);
	border-color: #4a9e4a;
	color: #7ec87e;
}

.alert-error {
	background: rgba(176,0,0,.1);
	border-color: #b40000;
	color: #e07070;
}

.alert-error div { margin-bottom: 2px; }

.alert-info {
	background: rgba(156,100,35,.08);
	border-color: #9C6423;
	color: #a08050;
}

/* =============================================
   LOGOUT LINK
   ============================================= */
.logout-link {
	display: block;
	text-align: center;
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #4a3a28;
	padding: 8px;
	border: 1px solid rgba(156,100,35,.1);
	transition: color .15s, border-color .15s;
}

.logout-link:hover {
	color: #b40000;
	border-color: rgba(180,0,0,.3);
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-container {
	max-width: 420px;
	margin: 40px auto 0;
	padding-bottom: 60px;
}

.login-panel {
	background: rgba(10, 6, 3, 0.92);
	border: 1px solid rgba(156,100,35,.3);
	border-top: 3px solid #901A1D;
	padding: 36px 40px;
}

.login-title {
	font-family: 'alegreya_scregular';
	font-size: 26px;
	color: #c8a96e;
	margin-bottom: 6px;
	letter-spacing: 1px;
}

.login-subtitle {
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #5a4a32;
	margin-bottom: 24px;
	line-height: 16px;
}

.form-field {
	margin-bottom: 12px;
}

.form-label {
	display: block;
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #6a5a42;
	margin-bottom: 5px;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.form-input {
	width: 100%;
	height: 38px;
	background: rgba(20, 10, 4, 0.8);
	border: 1px solid rgba(156,100,35,.25);
	border-bottom: 2px solid rgba(156,100,35,.4);
	color: #e8e0d0;
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	padding: 0 12px;
	transition: border-color .15s, background .15s;
	outline: none;
}

.form-input::placeholder { color: #3a2a18; }

.form-input:focus {
	background: rgba(30, 15, 5, 0.9);
	border-color: rgba(144,26,29,.6);
	border-bottom-color: #901A1D;
}

.form-submit {
	width: 100%;
	height: 44px;
	background: linear-gradient(135deg, #901A1D 0%, #6b1215 100%);
	border: 1px solid rgba(144,26,29,.6);
	color: #fff;
	font-family: 'MetaPro-Bold';
	font-size: 13px;
	letter-spacing: 2px;
	cursor: pointer;
	margin-top: 14px;
	transition: background .15s, transform .1s;
}

.form-submit:hover {
	background: linear-gradient(135deg, #b40000 0%, #901A1D 100%);
}

.form-submit:active { transform: scale(.99); }

.form-footer {
	margin-top: 16px;
	text-align: center;
	font-size: 11px;
	color: #3a2a18;
}

.form-footer a {
	color: #9C6423;
	transition: color .15s;
}

.form-footer a:hover { color: #c8a96e; }


/* =============================================
   HAPPY HOUR
   ============================================= */
.hh-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: linear-gradient(135deg, rgba(244,162,41,.12) 0%, rgba(156,100,35,.08) 100%);
	border: 1px solid rgba(244,162,41,.4);
	border-left: 4px solid #F4A229;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.hh-banner-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.hh-banner-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }

.hh-banner-title {
	font-family: 'alegreya_scregular';
	font-size: 17px;
	color: #F4A229;
	letter-spacing: .5px;
	margin-bottom: 3px;
}

.hh-banner-desc {
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #9a7a40;
	line-height: 16px;
}

.hh-banner-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.hh-mult-badge {
	font-family: 'alegreya_scregular';
	font-size: 28px;
	color: #F4A229;
	background: rgba(244,162,41,.15);
	border: 1px solid rgba(244,162,41,.35);
	padding: 4px 14px;
	letter-spacing: 1px;
	line-height: 1.2;
}

.hh-banner-ends {
	font-family: 'MetaPro-Normal';
	font-size: 10px;
	color: #7a5a28;
	text-transform: uppercase;
	letter-spacing: .8px;
	white-space: nowrap;
}

/* Linha da tabela durante happy hour */
.pricing-table tbody tr.pt-hh-active:has(input:checked) {
	background: rgba(244,162,41,.1);
	border-bottom-color: rgba(244,162,41,.3);
	outline-color: rgba(244,162,41,.4);
}

.pt-coins-original {
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #4a3a28;
	text-decoration: line-through;
	margin-right: 4px;
}

.pt-bonus-hh {
	font-family: 'MetaPro-Bold';
	font-size: 13px;
	color: #F4A229;
	background: rgba(244,162,41,.12);
	border: 1px solid rgba(244,162,41,.3);
	padding: 2px 8px;
}

/* =============================================
   DONATION HISTORY
   ============================================= */

/* Stat cards */
.history-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 32px;
}

.history-stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(8,4,2,.7);
	border: 1px solid rgba(156,100,35,.2);
	border-top: 2px solid rgba(144,26,29,.5);
	padding: 18px 20px;
	transition: border-color .15s;
}

.history-stat-card:hover {
	border-color: rgba(156,100,35,.4);
	border-top-color: #901A1D;
}

.history-stat-icon {
	width: 42px; height: 42px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #901A1D;
	background: rgba(144,26,29,.12);
	border: 1px solid rgba(144,26,29,.25);
}

.history-stat-icon--gold  { color: #9C6423; background: rgba(156,100,35,.1); border-color: rgba(156,100,35,.25); }
.history-stat-icon--green { color: #4a9e4a; background: rgba(74,158,74,.1);  border-color: rgba(74,158,74,.25);  }

.history-stat-body { display: flex; flex-direction: column; gap: 3px; }

.history-stat-val {
	font-family: 'alegreya_scregular';
	font-size: 20px;
	color: #c8a96e;
	line-height: 1;
}

.history-stat-label {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #5a4a32;
	text-transform: uppercase;
	letter-spacing: .8px;
}

/* Table */
.history-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}

.history-table thead tr {
	background: rgba(144,26,29,.18);
	border-bottom: 1px solid rgba(144,26,29,.4);
}

.history-table thead th {
	padding: 11px 16px;
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	color: #9C6423;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 1.2px;
}

.history-table tbody tr {
	border-bottom: 1px solid rgba(255,255,255,.04);
	transition: background .12s;
}

.history-table tbody tr:hover        { background: rgba(255,255,255,.025); }
.history-table tbody tr:last-child   { border-bottom: none; }
.history-table tbody tr.history-row-refunded { opacity: .5; }

.history-num {
	padding: 12px 12px 12px 16px;
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #3a2a18;
	width: 32px;
}

.history-date {
	padding: 12px 16px;
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	color: #8a7a60;
}

.history-time {
	display: block;
	font-size: 11px;
	color: #4a3a28;
	margin-top: 2px;
}

.history-amount {
	padding: 12px 16px;
	font-family: 'MetaPro-Bold';
	font-size: 14px;
	color: #e8e0d0;
}

.history-coins {
	padding: 12px 16px;
	font-family: 'alegreya_scregular';
	font-size: 15px;
	color: #c8a96e;
}

.history-coins-unit {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #7a6a48;
}

.history-method {
	padding: 12px 16px;
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #6a5a42;
}

.history-badge {
	display: inline-block;
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	padding: 4px 10px;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.history-badge-ok     { background: rgba(74,158,74,.12); color: #5aba5a; border: 1px solid rgba(74,158,74,.28); }
.history-badge-refund { background: rgba(156,100,35,.1);  color: #9C6423; border: 1px solid rgba(156,100,35,.25); }

.history-badge-hh {
	display: inline-block;
	margin-left: 6px;
	background: rgba(244,162,41,.12);
	color: #f4a229;
	border: 1px solid rgba(244,162,41,.3);
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	padding: 1px 5px;
	vertical-align: middle;
	letter-spacing: .4px;
}

/* Empty state */
.history-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 20px;
	text-align: center;
}

.history-empty-icon {
	font-size: 40px;
	color: rgba(144,26,29,.3);
	margin-bottom: 20px;
}

.history-empty-title {
	font-family: 'alegreya_scregular';
	font-size: 22px;
	color: #5a4a32;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.history-empty-text {
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	color: #3a2a18;
	line-height: 20px;
	max-width: 380px;
	margin-bottom: 28px;
}

.history-cta {
	display: inline-block;
	height: 44px;
	line-height: 44px;
	padding: 0 32px;
	background: linear-gradient(135deg, #901A1D 0%, #6b1215 100%);
	border: 1px solid rgba(144,26,29,.6);
	font-family: 'MetaPro-Bold';
	font-size: 12px;
	color: #fff;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: background .15s;
}

.history-cta:hover {
	background: linear-gradient(135deg, #b40000 0%, #901A1D 100%);
	color: #fff;
}

/* =============================================
   MBWAY FORM
   ============================================= */
.mbway-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}

.mbway-steps {
	counter-reset: step;
	margin-bottom: 24px;
}

.mbway-step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255,255,255,.04);
}

.mbway-step:last-child { border-bottom: none; }

.mbway-step-num {
	counter-increment: step;
	flex-shrink: 0;
	width: 24px; height: 24px;
	background: rgba(144,26,29,.3);
	border: 1px solid rgba(144,26,29,.5);
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #c8a96e;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.mbway-step-text {
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	color: #8a7a60;
	line-height: 18px;
}

.back-link {
	display: inline-block;
	margin-top: 16px;
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #5a4a32;
	transition: color .15s;
}

.back-link:hover { color: #9C6423; }
.back-link::before { content: '← '; }

/* Paginação */
.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 30px;
	padding: 0 8px;
	background: rgba(255,255,255,.04);
	border: 1px solid rgba(255,255,255,.1);
	color: #b89a6a;
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	text-decoration: none;
	transition: background .15s, border-color .15s, color .15s;
}

.page-btn:hover {
	background: rgba(244,162,41,.1);
	border-color: rgba(244,162,41,.35);
	color: #f4a229;
}

.page-btn-active {
	background: rgba(244,162,41,.15);
	border-color: rgba(244,162,41,.5);
	color: #f4a229;
	font-family: 'MetaPro-Bold';
	pointer-events: none;
}

.page-ellipsis {
	color: rgba(255,255,255,.2);
	font-size: 13px;
	padding: 0 4px;
	line-height: 30px;
}

/* =============================================
   MBWAY STATUS
   ============================================= */
.status-container {
	max-width: 500px;
	margin: 0 auto;
	padding: 50px 20px;
	text-align: center;
}

.status-icon {
	width: 80px; height: 80px;
	border-radius: 50%;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
}

.status-icon-waiting { background: rgba(156,100,35,.15); border: 2px solid rgba(156,100,35,.4); color: #9C6423; }
.status-icon-done    { background: rgba(74,158,74,.1);   border: 2px solid rgba(74,158,74,.4);  color: #4a9e4a; }
.status-icon-none    { background: rgba(50,40,30,.3);    border: 2px solid rgba(100,80,50,.2);  color: #4a3a28; }
.status-icon-error   { background: rgba(180,0,0,.1);     border: 2px solid rgba(180,0,0,.3);    color: #b40000; }

.status-title {
	font-family: 'alegreya_scregular';
	font-size: 26px;
	color: #c8a96e;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.status-text {
	font-family: 'MetaPro-Normal';
	font-size: 14px;
	color: #7a6a50;
	line-height: 20px;
	margin-bottom: 12px;
}

.status-coins {
	font-family: 'MetaPro-Bold';
	font-size: 16px;
	color: #c8a96e;
	margin: 12px 0 28px;
}

.status-back-btn {
	display: inline-block;
	height: 44px;
	line-height: 44px;
	padding: 0 32px;
	background: linear-gradient(135deg, #901A1D 0%, #6b1215 100%);
	border: 1px solid rgba(144,26,29,.6);
	font-family: 'MetaPro-Bold';
	font-size: 13px;
	color: #fff;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background .15s;
}

.status-back-btn:hover {
	background: linear-gradient(135deg, #b40000 0%, #901A1D 100%);
	color: #fff;
}

/* =============================================
   DEBUG BANNER (só para o utilizador de debug)
   ============================================= */
.debug-banner {
	position: fixed;
	top: 51px;
	left: 0; right: 0;
	z-index: 99;
	background: linear-gradient(135deg, #7a4800 0%, #5c3500 100%);
	border-bottom: 2px solid #f4a229;
	color: #ffe3a0;
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	text-align: center;
	padding: 9px 20px;
	letter-spacing: .3px;
	box-sizing: border-box;
}
body.has-debug-banner .main-wrapper {
	/* padding-top: 130px; */
}

.debug-banner strong {
	font-family: 'MetaPro-Bold';
	color: #f4a229;
}
.debug-banner code {
	background: rgba(0,0,0,.35);
	color: #ffd480;
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 12px;
	font-family: monospace;
}

/* =============================================
   MAINTENANCE PANEL (página de login em modo debug)
   ============================================= */
.maintenance-panel {
	max-width: 480px;
	margin: 0 auto 28px;
	background: linear-gradient(135deg, #1a1a1a 0%, #111 100%);
	border: 1px solid rgba(144,26,29,.5);
	border-top: 3px solid #901A1D;
	border-radius: 6px;
	padding: 32px 28px 28px;
	text-align: center;
}
.maintenance-icon {
	font-size: 40px;
	line-height: 1;
	margin-bottom: 14px;
}
.maintenance-title {
	font-family: 'MetaPro-Bold';
	font-size: 20px;
	color: #e8d5b0;
	letter-spacing: .5px;
	margin-bottom: 10px;
}
.maintenance-desc {
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	color: rgba(200,169,110,.75);
	line-height: 1.65;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
	width: 100%;
	background: linear-gradient(to bottom, #0d0503 0%, #080302 100%);
	border-top: 1px solid rgba(144,26,29,.3);
	padding: 10px 0;
	clear: both;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.footer-copy {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: rgba(200,169,110,.4);
	letter-spacing: .5px;
	text-align: center;
}

.footer-copy a { color: rgba(200,169,110,.55); }
.footer-copy a:hover { color: #c8a96e; }

.footer-links {
	font-family: 'MetaPro-Normal';
	font-size: 10px;
	color: rgba(200,169,110,.3);
	letter-spacing: .4px;
}

.footer-links a {
	color: rgba(200,169,110,.4);
	text-decoration: none;
	transition: color .15s;
}

.footer-links a:hover { color: #c8a96e; }

.footer-sep {
	margin: 0 6px;
	color: rgba(200,169,110,.2);
}

/* =============================================
   STATIC PAGES (ToS / Privacy)
   ============================================= */
.static-page {
	max-width: 760px;
	margin: 40px auto;
	padding: 0 20px 60px;
	color: #c8b89a;
	font-family: 'MetaPro-Normal', sans-serif;
	font-size: 13px;
	line-height: 1.8;
}

.static-title {
	font-size: 22px;
	color: #c8a96e;
	border-bottom: 1px solid rgba(156,100,35,.3);
	padding-bottom: 10px;
	margin-bottom: 4px;
	letter-spacing: 1px;
}

.static-updated {
	font-size: 11px;
	color: rgba(200,169,110,.4);
	margin-bottom: 28px;
}

.static-page h2 {
	font-size: 14px;
	color: #c8a96e;
	margin: 28px 0 8px;
	letter-spacing: .5px;
	border-left: 2px solid rgba(156,100,35,.5);
	padding-left: 10px;
}

.static-page p {
	margin: 0 0 12px;
	color: rgba(200,185,154,.75);
}

.static-page ul {
	margin: 0 0 12px 20px;
	padding: 0;
}

.static-page ul li {
	margin-bottom: 6px;
	color: rgba(200,185,154,.75);
}

.static-page a {
	color: #9c6423;
	transition: color .15s;
}

.static-page a:hover { color: #c8a96e; }

.static-page strong { color: #c8b89a; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
	.panel-grid, .mbway-grid {
		grid-template-columns: 1fr;
	}
	.hero-title { font-size: 26px; }
	.panel { padding: 22px 18px; }
	.login-panel { padding: 28px 20px; }
	.main-wrapper { padding: 30px 14px; }
}

/* =============================================
   CUSTOM PACKAGE ROW
   ============================================= */
.pt-custom-row td { padding-top: 14px; padding-bottom: 14px; vertical-align: middle; }
.custom-pkg-label {
	display: block;
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #6a5a42;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 6px;
}
.custom-pkg-input-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
}
.custom-pkg-input {
	width: 100px;
	height: 34px;
	background: rgba(20, 10, 4, 0.8);
	border: 1px solid rgba(156,100,35,.3);
	border-bottom: 2px solid rgba(156,100,35,.5);
	color: #e8e0d0;
	font-family: 'MetaPro-Normal';
	font-size: 14px;
	padding: 0 10px;
	outline: none;
	transition: border-color .15s;
}
.custom-pkg-input:focus {
	border-color: rgba(144,26,29,.6);
	border-bottom-color: #901A1D;
}
.custom-pkg-input::-webkit-inner-spin-button,
.custom-pkg-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.custom-pkg-currency {
	font-family: 'MetaPro-Bold';
	font-size: 15px;
	color: #c8a96e;
}
.custom-pkg-error {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #e07070;
	margin-top: 4px;
	min-height: 14px;
}

/* =============================================
   REFERRAL CARD
   ============================================= */
.referral-desc {
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #7a6a50;
	line-height: 17px;
	margin: 0 0 12px;
}
.referral-bonus { color: #c8a96e; font-family: 'MetaPro-Bold'; }
.referral-link-wrap {
	display: flex;
	gap: 0;
}
.referral-link-input {
	flex: 1;
	height: 32px;
	background: rgba(10, 5, 2, 0.8);
	border: 1px solid rgba(156,100,35,.2);
	border-right: none;
	color: #7a6a50;
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	padding: 0 8px;
	cursor: text;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	outline: none;
}
.referral-copy-btn {
	height: 32px;
	padding: 0 12px;
	background: rgba(144,26,29,.4);
	border: 1px solid rgba(144,26,29,.5);
	color: #c8a96e;
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	letter-spacing: .8px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .15s;
	flex-shrink: 0;
}
.referral-copy-btn:hover { background: rgba(144,26,29,.7); }
.ref-notice {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	margin-top: 10px;
	padding: 7px 10px;
	border-radius: 4px;
}

.ref-notice-active {
	background: rgba(74,158,74,.12);
	border: 1px solid rgba(74,158,74,.25);
	color: #6abf6a;
}

.ref-notice-error {
	background: rgba(180,40,40,.12);
	border: 1px solid rgba(180,40,40,.3);
	color: #d97070;
}

.referral-copy-msg {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #4a9e4a;
	margin-top: 5px;
	min-height: 14px;
}

/* =============================================
   LOADING ANIMATIONS
   ============================================= */
@keyframes skeleton-loading {
	0%   { background-position: -800px 0; }
	100% { background-position:  800px 0; }
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.skeleton {
	background-color: rgba(0,0,0,.35);
	background-image: linear-gradient(
		90deg,
		transparent            0%,
		transparent            20%,
		rgba(200,169,110,.18)  35%,
		rgba(200,169,110,.30)  50%,
		rgba(200,169,110,.18)  65%,
		transparent            80%,
		transparent            100%
	);
	background-size: 800px 100%;
	background-repeat: no-repeat;
	animation: skeleton-loading 1.6s linear infinite;
	border-radius: 4px;
	display: inline-block;
	width: 100%;
	height: 100%;
	min-height: 20px;
}

.skeleton-text {
	height: 16px;
	margin-bottom: 8px;
}

.skeleton-text:last-child {
	margin-bottom: 0;
	width: 60%;
}

.skeleton-row {
	height: 50px;
	margin-bottom: 4px;
	border-radius: 4px;
}

.skeleton-card {
	background: rgba(0,0,0,.3);
	border: 1px solid rgba(156,100,35,.2);
	padding: 16px;
	border-radius: 4px;
	min-height: 150px;
}

.fade-in {
	opacity: 0;
	animation: fade-in 0.4s ease-out forwards;
}

.loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	border-radius: 4px;
}

.loading-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid rgba(200,169,110,.2);
	border-top-color: #c8a96e;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Hide content while loading, show skeleton */
.is-loading .content-loaded {
	display: none;
}

.is-loading .skeleton-loader {
	display: block;
}

.skeleton-loader {
	display: none;
}

.content-loaded {
	display: block;
}

/* =============================================
   DEBUG CONSOLE
   ============================================= */
.debug-console {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px;
}

.debug-header {
	margin-bottom: 32px;
	padding: 24px;
	background: linear-gradient(135deg, rgba(144,26,29,.25) 0%, rgba(0,0,0,.4) 100%);
	border: 1px solid rgba(200,169,110,.3);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,.5);
	position: relative;
	overflow: hidden;
}

.debug-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #901a1d, #c8a96e, #901a1d);
}

.debug-header h1 {
	font-family: 'MetaPro-Bold';
	font-size: 28px;
	color: #c8a96e;
	margin: 0 0 8px 0;
	text-shadow: 0 2px 8px rgba(200,169,110,.3);
}

.debug-subtitle {
	font-family: 'MetaPro-Normal';
	font-size: 13px;
	color: #b8a890;
	opacity: .8;
}

.debug-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 20px;
}

.debug-card {
	background: linear-gradient(135deg, rgba(0,0,0,.5) 0%, rgba(20,10,5,.6) 100%);
	border: 1px solid rgba(200,169,110,.2);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,.4);
	transition: transform .2s, box-shadow .2s, border-color .2s;
	position: relative;
	overflow: hidden;
}

.debug-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(200,169,110,.4), transparent);
}

.debug-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(0,0,0,.6);
	border-color: rgba(200,169,110,.4);
}

.debug-card-wide {
	grid-column: 1 / -1;
}

.debug-card-title {
	font-family: 'MetaPro-Bold';
	font-size: 13px;
	color: #c8a96e;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(144,26,29,.4);
	display: flex;
	align-items: center;
	gap: 8px;
}

.debug-table {
	width: 100%;
	font-family: 'MetaPro-Normal';
	font-size: 12px;
	color: #d0c0a8;
	border-collapse: separate;
	border-spacing: 0;
}

.debug-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(156,100,35,.15);
	transition: background .15s;
}

.debug-table tr:last-child td {
	border-bottom: none;
}

.debug-table td:first-child {
	color: #b8a890;
	font-weight: 600;
	width: 45%;
}

.debug-table td:last-child {
	color: #e8d8c0;
}

.debug-table thead th {
	font-family: 'MetaPro-Bold';
	font-size: 11px;
	color: #c8a96e;
	text-transform: uppercase;
	letter-spacing: .8px;
	padding: 12px;
	text-align: left;
	border-bottom: 2px solid rgba(144,26,29,.4);
	background: rgba(0,0,0,.3);
}

.debug-table tbody tr {
	transition: background .15s;
}

.debug-table tbody tr:hover {
	background: rgba(144,26,29,.15);
}

.debug-pre {
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	font-size: 11px;
	color: #d0c0a8;
	background: rgba(0,0,0,.6);
	padding: 16px;
	border-radius: 6px;
	overflow-x: auto;
	max-height: 450px;
	overflow-y: auto;
	line-height: 1.7;
	border: 1px solid rgba(156,100,35,.2);
	box-shadow: inset 0 2px 8px rgba(0,0,0,.4);
}

.debug-pre::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

.debug-pre::-webkit-scrollbar-track {
	background: rgba(0,0,0,.3);
	border-radius: 4px;
}

.debug-pre::-webkit-scrollbar-thumb {
	background: rgba(200,169,110,.3);
	border-radius: 4px;
}

.debug-pre::-webkit-scrollbar-thumb:hover {
	background: rgba(200,169,110,.5);
}

.debug-extensions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.debug-ext-badge {
	font-family: 'MetaPro-Normal';
	font-size: 11px;
	color: #b8a890;
	background: rgba(0,0,0,.5);
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid rgba(156,100,35,.25);
	transition: all .15s;
}

.debug-ext-badge:hover {
	background: rgba(144,26,29,.2);
	border-color: rgba(200,169,110,.4);
	color: #c8a96e;
}

.mono {
	font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
	font-size: 11px;
	color: #e8d8c0;
	background: rgba(0,0,0,.3);
	padding: 2px 6px;
	border-radius: 3px;
}

.status-ok {
	color: #6abf6a;
	font-weight: 600;
	text-shadow: 0 0 8px rgba(106,191,106,.3);
}

.status-error {
	color: #d97070;
	font-weight: 600;
	text-shadow: 0 0 8px rgba(217,112,112,.3);
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-wrap {
	width: 100%;
}
.admin-nav {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(144,26,29,.3);
	padding-bottom: 12px;
}
.admin-nav-btn {
	display: inline-block;
	height: 30px;
	line-height: 30px;
	padding: 0 16px;
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	color: #6a5a42;
	border: 1px solid rgba(156,100,35,.2);
	background: rgba(0,0,0,.2);
	letter-spacing: .5px;
	text-transform: uppercase;
	transition: background .15s, color .15s, border-color .15s;
	cursor: pointer;
}
.admin-nav-btn:hover {
	background: rgba(144,26,29,.25);
	border-color: rgba(144,26,29,.4);
	color: #c8a96e;
}
.admin-nav-btn.active {
	background: rgba(144,26,29,.4);
	border-color: #901A1D;
	color: #fff;
}
.admin-content { width: 100%; }
.admin-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}
@media (max-width: 900px) {
	.admin-stats { grid-template-columns: repeat(2, 1fr); }
	.admin-nav { gap: 6px; }
}
.hh-create-form {
	background: rgba(8,4,2,.6);
	border: 1px solid rgba(156,100,35,.15);
	padding: 20px 24px;
	margin-bottom: 20px;
}
.hh-create-form .form-field { margin-bottom: 10px; }
.admin-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	font-size: 12px;
}
.admin-table thead tr {
	background: rgba(144,26,29,.15);
	border-bottom: 1px solid rgba(144,26,29,.3);
}
.admin-table thead th {
	padding: 9px 14px;
	font-family: 'MetaPro-Bold';
	font-size: 10px;
	color: #9C6423;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.admin-table tbody tr {
	border-bottom: 1px solid rgba(255,255,255,.04);
	transition: background .12s;
}
.admin-table tbody tr:hover { background: rgba(255,255,255,.02); }
.admin-table tbody td {
	padding: 10px 14px;
	font-family: 'MetaPro-Normal';
	color: #8a7a60;
	vertical-align: middle;
}
.admin-table td code {
	font-size: 11px;
	color: #c8a96e;
	background: rgba(0,0,0,.3);
	padding: 1px 5px;
}
.admin-btn {
	display: inline-block;
	height: 26px;
	line-height: 26px;
	padding: 0 12px;
	font-family: 'MetaPro-Bold';
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: .5px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background .15s;
}
.admin-btn-danger {
	background: rgba(180,0,0,.2);
	border-color: rgba(180,0,0,.4);
	color: #e07070;
}
.admin-btn-danger:hover {
	background: rgba(180,0,0,.4);
	color: #fff;
}
.admin-btn-primary {
	background: rgba(144,26,29,.3);
	border-color: rgba(144,26,29,.5);
	color: #c8a96e;
}
.admin-btn-primary:hover {
	background: rgba(144,26,29,.6);
	color: #fff;
}
.admin-btn-muted {
	background: rgba(156,100,35,.1);
	border-color: rgba(156,100,35,.25);
	color: #9C6423;
}
.admin-btn-muted:hover {
	background: rgba(156,100,35,.25);
	color: #c8a96e;
}

/* =============================================
   KANTURY2 VISUAL REFRESH
   ============================================= */
:root {
	--k2-bg: #050302;
	--k2-panel: rgba(14, 8, 5, .86);
	--k2-panel-strong: rgba(22, 13, 5, .93);
	--k2-line: rgba(255, 184, 48, .23);
	--k2-line-strong: rgba(255, 191, 61, .5);
	--k2-gold: #ffbd32;
	--k2-gold-soft: #ffe39a;
	--k2-amber: #ff7a18;
	--k2-text: #fff1cf;
	--k2-muted: #caa873;
	--k2-green: #78ff9c;
	--k2-red: #ff7667;
	--k2-shadow: 0 24px 70px rgba(0, 0, 0, .58);
}

html {
	min-height: 100%;
	background: var(--k2-bg);
}

body {
	position: relative;
	overflow-x: hidden;
	background:
		linear-gradient(180deg, rgba(5, 3, 2, .16) 0%, rgba(5, 3, 2, .7) 48%, #030201 100%),
		url("/K2/themes/future/images/background/header.jpg") center top / cover fixed no-repeat;
	color: var(--k2-text);
	font-size: 14px;
	line-height: 1.45;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		linear-gradient(rgba(255, 189, 50, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 189, 50, .035) 1px, transparent 1px),
		radial-gradient(circle at 50% 0, rgba(255, 166, 43, .2), transparent 42%);
	background-size: 72px 72px, 72px 72px, 100% 100%;
	mix-blend-mode: screen;
	opacity: .42;
}

a,
button {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: var(--k2-gold-soft);
	transition: color .18s ease, text-shadow .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

a:hover,
.footer a:hover,
.form-footer a:hover,
.back-link:hover,
.referral-help a:hover,
.tos-link:hover {
	color: #fff6d0;
	text-shadow: 0 0 10px rgba(255, 189, 50, .72), 0 0 22px rgba(255, 122, 24, .38);
}

.topbar,
.main-wrapper,
.footer,
.debug-banner {
	position: relative;
	z-index: 1;
}

.topbar {
	background: rgba(5, 3, 2, .78);
	border-bottom: 1px solid var(--k2-line);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .46);
	backdrop-filter: blur(10px);
}

.topbar-inner {
	max-width: 1240px;
	min-height: 70px;
	padding: 6px 24px;
	gap: 22px;
}

.topbar-logo {
	height: 54px;
	width: auto;
	filter: drop-shadow(0 0 14px rgba(255, 156, 22, .55));
}

.topbar-nav {
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.topbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	height: auto;
	line-height: 1;
	padding: 0 17px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--k2-gold-soft);
	font-family: 'alegreya_scregular', Georgia, serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .72);
}

.topbar-btn:hover,
.topbar-btn.active {
	color: #1a0b02;
	background: linear-gradient(135deg, #fff0a8 0%, var(--k2-gold) 45%, #d85d12 100%);
	border-color: rgba(255, 225, 130, .62);
	box-shadow: 0 0 18px rgba(255, 174, 32, .28);
	text-shadow: none;
	transform: translateY(-1px);
}

.debug-banner {
	top: auto;
	left: auto;
	right: auto;
	width: min(1180px, calc(100% - 32px));
	margin: 82px auto 0;
	padding: 9px 16px;
	border: 1px solid var(--k2-line);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(42, 24, 7, .92), rgba(10, 6, 3, .92));
	color: var(--k2-gold-soft);
	box-shadow: 0 14px 34px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .04);
	text-align: center;
	line-height: 1.45;
}

.main-wrapper {
	width: min(1180px, calc(100% - 32px));
	max-width: none;
	margin: 0 auto;
	padding: 84px 0 38px;
	flex: 1 0 auto;
}

.has-debug-banner .main-wrapper {
	padding-top: 12px;
}

.panel-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
	gap: 28px;
	align-items: start;
}

.panel,
.login-panel,
.maintenance-panel,
.info-card,
.history-stat-card,
.history-empty,
.hh-create-form,
.static-page,
.debug-card {
	background:
		linear-gradient(180deg, rgba(36, 21, 6, .72), rgba(8, 5, 3, .92)),
		var(--k2-panel);
	border: 1px solid var(--k2-line);
	border-radius: 14px;
	box-shadow: var(--k2-shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
	color: var(--k2-text);
}

.panel,
.login-panel,
.maintenance-panel,
.static-page,
.debug-card {
	padding: 26px;
}

.panel::before,
.login-panel::before,
.maintenance-panel::before {
	display: none;
}

.panel-title,
.login-title,
.static-title,
.hh-title,
.debug-card h2 {
	margin: -4px -2px 22px;
	padding: 0 2px 16px;
	border-bottom: 1px solid var(--k2-line);
	color: var(--k2-gold-soft);
	font-family: 'alegreya_scregular', Georgia, serif;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: 1.4px;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 2px 0 rgba(0, 0, 0, .8), 0 0 16px rgba(255, 157, 24, .35);
}

.login-subtitle,
.static-page p,
.info-card p,
.history-empty p,
.referral-desc,
.referral-help,
.debug-muted {
	color: var(--k2-muted);
}

.hh-banner,
.alert,
.referral-banner {
	border: 1px solid var(--k2-line);
	border-radius: 12px;
	background: rgba(8, 5, 3, .74);
	color: var(--k2-text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.alert-success,
.status-success {
	border-color: rgba(120, 255, 156, .38);
	color: var(--k2-green);
	background: rgba(15, 40, 18, .45);
}

.alert-error,
.status-failed,
.status-canceled {
	border-color: rgba(255, 118, 103, .4);
	color: var(--k2-red);
	background: rgba(54, 12, 8, .46);
}

.alert-info,
.status-pending {
	border-color: var(--k2-line-strong);
	color: var(--k2-gold-soft);
	background: rgba(58, 35, 8, .5);
}

.pricing-table,
.history-table,
.admin-table,
.info-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--k2-line);
	border-radius: 12px;
	background: rgba(3, 2, 1, .64);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.pricing-table thead tr,
.history-table thead tr,
.admin-table thead tr,
.info-table thead tr {
	background: rgba(28, 15, 4, .82);
	border-bottom: 1px solid var(--k2-line);
}

.pricing-table th,
.history-table th,
.admin-table thead th,
.info-table th {
	padding: 13px 16px;
	color: var(--k2-gold-soft);
	font-family: 'MetaPro-Bold', Verdana, sans-serif;
	font-size: 11px;
	letter-spacing: .8px;
	text-transform: uppercase;
}

.pricing-table td,
.history-table td,
.admin-table tbody td,
.info-table td {
	padding: 13px 16px;
	border-bottom: 1px solid rgba(255, 184, 48, .11);
	color: var(--k2-text);
}

.pricing-table tbody tr:hover,
.history-table tbody tr:hover,
.admin-table tbody tr:hover,
.info-table tbody tr:hover {
	background: rgba(255, 189, 50, .075);
}

.pricing-table tbody tr:last-child td,
.history-table tbody tr:last-child td,
.admin-table tbody tr:last-child td,
.info-table tbody tr:last-child td {
	border-bottom: 0;
}

.price,
.coins,
.history-stat-value,
.status-amount,
.referral-stat-value,
.admin-table td code {
	color: var(--k2-gold-soft);
	text-shadow: 0 0 12px rgba(255, 189, 50, .28);
}

.bonus,
.status-paid,
.status-completed {
	color: var(--k2-green);
}

.form-field {
	margin-bottom: 16px;
}

.form-label,
.info-row-label,
.referral-label {
	color: var(--k2-gold-soft);
	font-family: 'MetaPro-Bold', Verdana, sans-serif;
	letter-spacing: .7px;
	text-transform: uppercase;
}

.form-input,
.custom-pkg-input,
.referral-link-input,
.admin-select,
.admin-input,
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(255, 184, 48, .28);
	border-radius: 10px;
	background: rgba(3, 2, 1, .76);
	color: var(--k2-text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

textarea {
	min-height: 120px;
	padding-top: 12px;
	resize: vertical;
}

.form-input::placeholder,
.custom-pkg-input::placeholder,
.referral-link-input::placeholder {
	color: rgba(255, 227, 154, .48);
}

.form-input:focus,
.custom-pkg-input:focus,
.referral-link-input:focus,
.admin-select:focus,
.admin-input:focus,
select:focus,
textarea:focus {
	border-color: var(--k2-line-strong);
	background: rgba(7, 4, 2, .9);
	box-shadow: 0 0 0 3px rgba(255, 189, 50, .12), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.form-submit,
.pay-btn,
.pay-btn-stripe,
.history-cta,
.status-back-btn,
.referral-copy-btn,
.admin-btn-primary,
.page-btn-active {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 22px;
	border: 1px solid rgba(255, 232, 150, .55);
	border-radius: 999px;
	background: linear-gradient(135deg, #fff0a8 0%, var(--k2-gold) 43%, #d65a11 100%);
	color: #1b0c02;
	font-family: 'alegreya_scregular', Georgia, serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1.15px;
	text-transform: uppercase;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 18px rgba(255, 169, 24, .22);
	cursor: pointer;
}

.form-submit:hover,
.pay-btn:hover,
.pay-btn-stripe:hover,
.history-cta:hover,
.status-back-btn:hover,
.referral-copy-btn:hover,
.admin-btn-primary:hover,
.page-btn-active:hover {
	color: #120701;
	background: linear-gradient(135deg, #fff7c5 0%, #ffd65c 45%, var(--k2-amber) 100%);
	text-shadow: none;
	transform: translateY(-1px);
}

.admin-btn,
.page-btn {
	border-radius: 999px;
}

.admin-btn-danger {
	border-color: rgba(255, 118, 103, .42);
	background: rgba(77, 15, 9, .64);
	color: #ffb0a7;
}

.admin-btn-danger:hover {
	background: rgba(115, 23, 14, .84);
	color: #fff1eb;
}

.admin-btn-muted,
.page-btn {
	border-color: var(--k2-line);
	background: rgba(5, 3, 2, .56);
	color: var(--k2-gold-soft);
}

.admin-btn-muted:hover,
.page-btn:hover {
	border-color: var(--k2-line-strong);
	background: rgba(255, 189, 50, .1);
	color: #fff6d0;
}

.pay-methods,
.history-stats,
.referral-stats {
	gap: 16px;
}

.login-container {
	max-width: 430px;
	margin: 18px auto 0;
	padding-bottom: 42px;
}

.login-panel {
	width: 100%;
}

.g-recaptcha {
	max-width: 100%;
	width: 304px;
	margin-right: auto;
	margin-left: auto;
	transform-origin: left top;
}

.info-card-title,
.maintenance-title,
.history-empty-title {
	color: var(--k2-gold-soft);
	font-family: 'alegreya_scregular', Georgia, serif;
	font-size: 19px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-shadow: 0 0 14px rgba(255, 189, 50, .28);
}

.info-key,
.history-stat-label,
.pay-btn-methods,
.custom-pkg-label,
.custom-pkg-currency,
.history-time,
.page-ellipsis {
	color: var(--k2-muted);
}

.info-val.status-ok,
.status-ok {
	color: var(--k2-green);
	text-shadow: 0 0 10px rgba(120, 255, 156, .25);
}

.info-val.status-block,
.status-block {
	color: var(--k2-red);
	text-shadow: 0 0 10px rgba(255, 118, 103, .24);
}

.history-stat-card:hover,
.info-card:hover {
	border-color: var(--k2-line-strong);
	box-shadow: var(--k2-shadow), 0 0 18px rgba(255, 189, 50, .09);
}

.history-stat-icon,
.maintenance-icon,
.history-empty-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-color: var(--k2-line-strong);
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 28%, #fff4b8 0%, var(--k2-gold) 45%, #d85d12 100%);
	color: #1b0c02;
	box-shadow: 0 0 18px rgba(255, 174, 32, .22);
	font-size: 18px;
	line-height: 1;
}

.maintenance-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 18px;
	font-size: 0;
}

.maintenance-icon::before {
	content: "";
	width: 25px;
	height: 25px;
	background-color: #1b0c02;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.1-3.1a6 6 0 0 1-7.9 7.9l-6 6a2.1 2.1 0 0 1-3-3l6-6a6 6 0 0 1 7.9-7.9l-3.1 3.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.1-3.1a6 6 0 0 1-7.9 7.9l-6 6a2.1 2.1 0 0 1-3-3l6-6a6 6 0 0 1 7.9-7.9l-3.1 3.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.history-stat-icon--gold,
.history-stat-icon--green {
	border-color: var(--k2-line-strong);
	background:
		radial-gradient(circle at 35% 28%, #fff4b8 0%, var(--k2-gold) 45%, #d85d12 100%);
	color: #1b0c02;
}

.history-empty {
	min-height: 250px;
	padding: 42px 24px;
	justify-content: center;
	background:
		linear-gradient(180deg, rgba(18, 10, 4, .72), rgba(5, 3, 2, .86)),
		var(--k2-panel);
}

.history-empty-icon {
	width: 58px;
	height: 58px;
	margin-bottom: 18px;
	font-size: 22px;
}

.history-empty-title {
	margin-bottom: 8px;
	font-size: 20px;
}

.history-empty-text {
	max-width: 460px;
	margin: 0 auto 24px;
	color: var(--k2-muted);
	font-size: 13px;
	line-height: 1.55;
}

.history-cta {
	min-height: 42px;
	padding: 0 26px;
	border-radius: 999px;
	font-size: 14px;
	color: #1b0c02 !important;
	text-shadow: none !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .32), 0 0 16px rgba(255, 169, 24, .16);
}

.history-cta:visited,
.history-cta:hover {
	color: #120701 !important;
	text-shadow: none !important;
}

.history-stat-val,
.history-num,
.history-amount,
.history-coins,
.pay-btn-name,
.referral-bonus {
	color: var(--k2-gold-soft);
	text-shadow: 0 0 12px rgba(255, 189, 50, .28);
}

.history-badge {
	border-radius: 999px;
}

.history-badge-ok,
.ref-notice-active {
	border-color: rgba(120, 255, 156, .34);
	background: rgba(15, 40, 18, .45);
	color: var(--k2-green);
}

.history-badge-refund,
.history-badge-hh {
	border-color: var(--k2-line);
	background: rgba(255, 189, 50, .09);
	color: var(--k2-gold-soft);
}

.ref-notice,
.custom-pkg-error {
	border-radius: 10px;
}

.ref-notice-error,
.custom-pkg-error {
	border-color: rgba(255, 118, 103, .4);
	background: rgba(54, 12, 8, .46);
	color: var(--k2-red);
}

.pricing-table tbody tr.pt-row:has(input:checked),
.pricing-table tbody tr.pt-featured:has(input:checked),
.pricing-table tbody tr.pt-hh-active:has(input:checked) {
	background: rgba(255, 189, 50, .1);
	border-bottom-color: var(--k2-line-strong);
	outline: 1px solid rgba(255, 189, 50, .32);
}

.admin-wrap {
	width: 100%;
}

.admin-nav {
	gap: 8px;
	margin-bottom: 18px;
}

.admin-nav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	height: auto;
	line-height: 1;
	padding: 0 14px;
	border: 1px solid var(--k2-line);
	border-radius: 999px;
	background: rgba(5, 3, 2, .6);
	color: var(--k2-gold-soft);
	font-family: 'MetaPro-Bold', Verdana, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .65px;
}

.admin-nav-btn:hover,
.admin-nav-btn.active {
	border-color: var(--k2-line-strong);
	background: linear-gradient(135deg, #fff0a8 0%, var(--k2-gold) 45%, #d85d12 100%);
	color: #1a0b02;
	text-shadow: none;
}

.admin-content {
	width: 100%;
}

.admin-stats,
.debug-grid {
	gap: 16px;
}

.skeleton,
.skeleton-card,
.skeleton-row {
	background-color: rgba(3, 2, 1, .58);
	background-image: linear-gradient(90deg, transparent, rgba(255, 189, 50, .16), transparent);
	border-color: var(--k2-line);
}

.pay-btn-stripe {
	width: 100%;
	min-height: 62px;
}

.pay-methods {
	gap: 12px;
}

.pay-btn,
.pay-btn-stripe {
	justify-content: space-between;
	align-items: center;
	padding: 13px 18px 13px 20px;
	border: 1px solid var(--k2-line-strong);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(27, 16, 5, .9), rgba(5, 3, 2, .92)),
		rgba(8, 5, 3, .8);
	color: var(--k2-text);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 10px 22px rgba(0, 0, 0, .28);
	text-align: left;
}

.pay-btn:hover,
.pay-btn-stripe:hover {
	border-color: rgba(255, 220, 118, .72);
	background:
		linear-gradient(180deg, rgba(45, 27, 8, .94), rgba(10, 6, 3, .94)),
		rgba(8, 5, 3, .88);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 22px rgba(255, 174, 32, .16);
	color: var(--k2-text);
}

.pay-btn-label {
	align-items: flex-start;
	gap: 5px;
}

.pay-btn .pay-btn-name,
.pay-btn-name {
	color: var(--k2-gold-soft);
	font-family: 'MetaPro-Bold', Verdana, sans-serif;
	font-size: 13px;
	letter-spacing: .8px;
	text-shadow: 0 0 12px rgba(255, 189, 50, .22);
}

.pay-btn .pay-btn-methods,
.pay-btn-methods {
	color: var(--k2-muted);
	font-size: 11px;
	line-height: 1.25;
}

.pay-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	line-height: 28px;
	flex: 0 0 28px;
	border: 1px solid var(--k2-line);
	border-radius: 50%;
	color: var(--k2-gold-soft);
	background: rgba(255, 189, 50, .08);
	font-size: 0;
	font-family: Arial, sans-serif;
	opacity: 1;
}

.pay-btn-arrow::before {
	content: "›";
	display: block;
	transform: translate(1px, -1px);
	font-size: 20px;
	line-height: 1;
}

.custom-package,
.referral-panel,
.history-actions,
.status-panel {
	border: 1px solid var(--k2-line);
	border-radius: 12px;
	background: rgba(3, 2, 1, .52);
}

.info-card {
	padding: 20px;
}

.info-row {
	border-bottom: 1px solid rgba(255, 184, 48, .11);
}

.info-row:last-child {
	border-bottom: 0;
}

.footer {
	margin-top: auto;
	border-top: 1px solid var(--k2-line);
	background: rgba(3, 2, 1, .82);
	color: var(--k2-muted);
	text-align: center;
}

.footer-inner {
	display: block;
	width: min(1180px, calc(100% - 32px));
	max-width: none;
	margin: 0 auto;
	padding: 24px 0;
	text-align: center;
}

.footer-copy,
.footer-links {
	text-align: center;
}

.footer br {
	display: none;
}

.footer-links {
	margin-top: 8px;
}

.footer-sep {
	color: rgba(255, 184, 48, .38);
	margin: 0 10px;
}

@media (max-width: 900px) {
	.topbar-inner {
		flex-direction: column;
		min-height: 0;
		padding: 12px 16px;
	}

	.topbar-nav {
		justify-content: center;
	}

	.topbar-btn {
		min-height: 34px;
		padding: 0 13px;
		font-size: 13px;
	}

	.main-wrapper {
		width: min(100% - 24px, 680px);
		padding-top: 144px;
	}

	.panel-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	body {
		background-attachment: scroll;
	}

	.topbar-logo {
		height: 52px;
	}

	.main-wrapper {
		width: min(100% - 18px, 520px);
		padding-top: 136px;
	}

	.panel,
	.login-panel,
	.maintenance-panel,
	.static-page,
	.debug-card {
		padding: 18px;
		border-radius: 12px;
	}

	.panel-title,
	.login-title,
	.static-title,
	.hh-title,
	.debug-card h2 {
		font-size: 20px;
	}

	.pricing-table,
	.history-table,
	.admin-table,
	.info-table {
		font-size: 12px;
	}

	.pricing-table th,
	.pricing-table td,
	.history-table th,
	.history-table td,
	.admin-table thead th,
	.admin-table tbody td {
		padding: 10px;
	}
}

@media (max-width: 380px) {
	.g-recaptcha {
		transform: scale(.88);
		margin-bottom: -10px;
	}
}

.login-panel form,
.panel form {
	position: relative;
}

.loading-overlay {
	inset: -10px;
	z-index: 20;
	border: 1px solid var(--k2-line);
	border-radius: 12px;
	background:
		linear-gradient(180deg, rgba(16, 9, 4, .9), rgba(3, 2, 1, .92)),
		rgba(5, 3, 2, .92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 18px 42px rgba(0, 0, 0, .45);
	backdrop-filter: blur(2px);
}

.loading-spinner {
	width: 44px;
	height: 44px;
	border: 3px solid rgba(255, 189, 50, .16);
	border-top-color: var(--k2-gold);
	border-right-color: rgba(255, 227, 154, .72);
	box-shadow: 0 0 18px rgba(255, 189, 50, .18);
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--k2-text);
	-webkit-box-shadow: 0 0 0 1000px rgba(3, 2, 1, .96) inset;
	box-shadow: 0 0 0 1000px rgba(3, 2, 1, .96) inset;
	border-color: var(--k2-line-strong);
	caret-color: var(--k2-text);
	transition: background-color 9999s ease-in-out 0s;
}
