:root {
	color-scheme: dark;
	--bg-primary: #080b11;
	--bg-card: #0e1420;
	--bg-card-hover: #141d2e;
	--bg-card-subtle: #121926;
	--bg-input: #0a0e17;
	--border: #1e293b;
	--border-light: #2c3a4f;
	--border-glow: rgba(0, 212, 255, 0.25);
	
	--fg-primary: #f1f5f9;
	--fg-secondary: #94a3b8;
	--fg-muted: #64748b;
	
	--call-green: #00e676;
	--call-green-glow: rgba(0, 230, 118, 0.25);
	--call-green-bg: rgba(0, 230, 118, 0.1);
	
	--put-red: #ff3366;
	--put-red-glow: rgba(255, 51, 102, 0.25);
	--put-red-bg: rgba(255, 51, 102, 0.1);
	
	--accent-cyan: #00d4ff;
	--accent-cyan-glow: rgba(0, 212, 255, 0.2);
	--accent-blue: #3b82f6;
	
	--vip-gold: #ffd700;
	--vip-gold-glow: rgba(255, 215, 0, 0.25);
	--vip-gold-bg: rgba(255, 215, 0, 0.1);
	
	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 16px;
	--radius-pill: 9999px;
	
	--space: 1rem;
	--font: 'Cairo', system-ui, -apple-system, sans-serif;
	--font-mono: 'JetBrains Mono', monospace, ui-monospace;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: var(--bg-primary);
	color: var(--fg-primary);
	font-family: var(--font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	direction: rtl;
	text-align: right;
	overflow-x: hidden;
	background-image: 
		radial-gradient(ellipse at 80% 0%, rgba(0, 212, 255, 0.07) 0%, transparent 50%),
		radial-gradient(ellipse at 20% 100%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
		radial-gradient(ellipse at 50% 50%, rgba(14, 20, 32, 0.6) 0%, transparent 100%);
	background-attachment: fixed;
}

/* App Container */
.app-layout {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.main-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem;
}

@media (min-width: 768px) {
	.main-container {
		padding: 1.5rem 2rem;
	}
}

/* Top Sticky Navigation */
.header-bar {
	background: rgba(14, 20, 32, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1rem;
}

.header-content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.brand-group {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.brand-logo-badge {
	width: 42px;
	height: 42px;
	background: linear-gradient(135deg, #00d4ff, #0051ff);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 900;
	font-size: 1.25rem;
	box-shadow: 0 0 16px var(--accent-cyan-glow);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.brand-tag {
	font-size: 0.75rem;
	padding: 0.15rem 0.5rem;
	border-radius: var(--radius-pill);
	background: var(--call-green-bg);
	color: var(--call-green);
	border: 1px solid rgba(0, 230, 118, 0.3);
	font-weight: 700;
}

.brand-subtitle {
	font-size: 0.8rem;
	color: var(--fg-secondary);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

/* Ticker Bar */
.ticker-bar {
	background: rgba(10, 14, 23, 0.95);
	border-bottom: 1px solid var(--border);
	padding: 0.5rem 0;
	overflow-x: auto;
	scrollbar-width: thin;
}

.ticker-track {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0 1rem;
}

.ticker-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.75rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: 0.82rem;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.ticker-item:hover, .ticker-item.active {
	border-color: var(--accent-cyan);
	background: var(--bg-card-hover);
	box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.ticker-symbol {
	font-weight: 700;
	color: #fff;
}

.ticker-price {
	font-family: var(--font-mono);
	font-weight: 600;
}

.ticker-payout {
	background: rgba(0, 230, 118, 0.15);
	color: var(--call-green);
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
}

/* Nav Tabs */
.nav-tabs {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--bg-card-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.35rem;
	margin-bottom: 1.5rem;
	overflow-x: auto;
	scrollbar-width: none;
}

.nav-tabs::-webkit-scrollbar {
	display: none;
}

.nav-tab-btn {
	flex: 1;
	min-width: max-content;
	padding: 0.65rem 1rem;
	border: none;
	background: transparent;
	color: var(--fg-secondary);
	font-family: var(--font);
	font-size: 0.92rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-tab-btn:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 81, 255, 0.2));
	color: #fff;
	border: 1px solid rgba(0, 212, 255, 0.4);
	box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

/* VIP Promo Banner */
.vip-promo-banner {
	background: linear-gradient(135deg, #1c1505 0%, #291e0a 50%, #151004 100%);
	border: 1px solid rgba(255, 215, 0, 0.35);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	box-shadow: 0 4px 20px rgba(255, 215, 0, 0.08);
	position: relative;
	overflow: hidden;
}

.vip-promo-banner::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
	pointer-events: none;
}

.promo-badge {
	background: linear-gradient(135deg, #ffd700, #ffaa00);
	color: #000;
	font-weight: 800;
	font-size: 0.8rem;
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-pill);
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.promo-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin-top: 0.2rem;
}

.promo-desc {
	font-size: 0.85rem;
	color: #e2e8f0;
}

.promo-code-box {
	background: #000;
	border: 1px dashed #ffd700;
	padding: 0.4rem 0.8rem;
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: 1rem;
	color: #ffd700;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
}

.promo-code-box:hover {
	background: rgba(255, 215, 0, 0.15);
}

/* Stats Summary Cards */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.stat-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.1rem;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
	border-color: var(--border-light);
	transform: translateY(-2px);
}

.stat-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.stat-label {
	font-size: 0.85rem;
	color: var(--fg-secondary);
	font-weight: 600;
}

.stat-icon {
	font-size: 1.25rem;
}

.stat-value {
	font-size: 1.6rem;
	font-weight: 800;
	font-family: var(--font-mono);
	letter-spacing: -0.02em;
	color: #fff;
}

.stat-sub {
	font-size: 0.78rem;
	color: var(--fg-muted);
	margin-top: 0.25rem;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

/* Signals Section */
.signals-section {
	display: grid;
	gap: 1.5rem;
}

.section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.section-title {
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.pulse-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--call-green);
	box-shadow: 0 0 10px var(--call-green);
	animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(1.25); }
}

/* Filter Pills */
.filter-group {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.filter-btn {
	background: var(--bg-card);
	border: 1px solid var(--border);
	color: var(--fg-secondary);
	padding: 0.4rem 0.85rem;
	border-radius: var(--radius-pill);
	font-family: var(--font);
	font-size: 0.83rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}

.filter-btn:hover {
	color: #fff;
	border-color: var(--border-light);
}

.filter-btn.active {
	background: var(--accent-cyan);
	color: #000;
	border-color: var(--accent-cyan);
	font-weight: 700;
	box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Signal Cards Grid */
.signals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
	gap: 1.25rem;
}

.signal-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	position: relative;
	overflow: hidden;
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.signal-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-light);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.signal-card.call-card {
	border-top: 3px solid var(--call-green);
}

.signal-card.call-card:hover {
	border-color: rgba(0, 230, 118, 0.5);
	box-shadow: 0 8px 24px var(--call-green-glow);
}

.signal-card.put-card {
	border-top: 3px solid var(--put-red);
}

.signal-card.put-card:hover {
	border-color: rgba(255, 51, 102, 0.5);
	box-shadow: 0 8px 24px var(--put-red-glow);
}

.signal-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.signal-asset-title {
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.signal-meta-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.2rem;
	font-size: 0.8rem;
	color: var(--fg-secondary);
}

.badge-otc {
	background: rgba(0, 212, 255, 0.15);
	color: var(--accent-cyan);
	border: 1px solid rgba(0, 212, 255, 0.3);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
}

.badge-payout {
	background: var(--call-green-bg);
	color: var(--call-green);
	border: 1px solid rgba(0, 230, 118, 0.3);
	font-size: 0.75rem;
	font-weight: 800;
	padding: 0.1rem 0.45rem;
	border-radius: 4px;
	font-family: var(--font-mono);
}

/* Direction Huge Banner in Card */
.direction-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 1rem;
	border-radius: var(--radius);
	margin-bottom: 1rem;
	font-weight: 800;
}

.direction-banner.call {
	background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(0, 230, 118, 0.05) 100%);
	border: 1px solid rgba(0, 230, 118, 0.4);
	color: var(--call-green);
}

.direction-banner.put {
	background: linear-gradient(135deg, rgba(255, 51, 102, 0.15) 0%, rgba(255, 51, 102, 0.05) 100%);
	border: 1px solid rgba(255, 51, 102, 0.4);
	color: var(--put-red);
}

.direction-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.1rem;
}

.direction-arrow-icon {
	font-size: 1.4rem;
	display: inline-block;
	animation: bounce-subtle 1s infinite alternate;
}

@keyframes bounce-subtle {
	from { transform: translateY(0); }
	to { transform: translateY(-3px); }
}

.timeframe-badge {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid currentColor;
	padding: 0.2rem 0.55rem;
	border-radius: var(--radius-sm);
	font-size: 0.82rem;
	font-weight: 700;
	font-family: var(--font-mono);
}

/* Signal Metrics Matrix */
.signal-details-matrix {
	background: var(--bg-card-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.75rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	margin-bottom: 1rem;
}

.detail-col {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.detail-label {
	font-size: 0.75rem;
	color: var(--fg-muted);
}

.detail-val {
	font-size: 0.88rem;
	font-weight: 700;
	font-family: var(--font-mono);
	color: #fff;
}

.win-probability-bar {
	margin-bottom: 1rem;
}

.prob-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.82rem;
	margin-bottom: 0.35rem;
}

.prob-title {
	color: var(--fg-secondary);
	font-weight: 600;
}

.prob-value {
	color: var(--call-green);
	font-weight: 800;
	font-family: var(--font-mono);
}

.progress-track {
	height: 6px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #00d4ff, var(--call-green));
	border-radius: 999px;
	transition: width 0.5s ease;
}

/* Card Action Buttons */
.signal-card-actions {
	display: flex;
	gap: 0.5rem;
	margin-top: auto;
}

.btn-copy-signal {
	flex: 1;
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: var(--fg-primary);
	padding: 0.6rem;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	transition: all 0.2s;
}

.btn-copy-signal:hover {
	background: var(--bg-card-hover);
	border-color: var(--accent-cyan);
	color: #fff;
}

.btn-pocket-direct {
	flex: 1.2;
	background: linear-gradient(135deg, #0051ff 0%, #00d4ff 100%);
	border: none;
	color: #fff;
	padding: 0.6rem;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	box-shadow: 0 4px 12px rgba(0, 81, 255, 0.3);
	text-decoration: none;
	transition: all 0.2s;
}

.btn-pocket-direct:hover {
	filter: brightness(1.15);
	transform: translateY(-1px);
}

/* Status Badges */
.status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.2rem 0.6rem;
	border-radius: var(--radius-pill);
	font-size: 0.78rem;
	font-weight: 700;
}

.status-active {
	background: rgba(0, 230, 118, 0.15);
	color: var(--call-green);
	border: 1px solid rgba(0, 230, 118, 0.4);
}

.status-pending {
	background: rgba(255, 215, 0, 0.15);
	color: var(--vip-gold);
	border: 1px solid rgba(255, 215, 0, 0.4);
}

.status-won {
	background: rgba(0, 230, 118, 0.25);
	color: #00ff88;
	border: 1px solid var(--call-green);
}

.status-lost {
	background: rgba(255, 51, 102, 0.25);
	color: #ff3366;
	border: 1px solid var(--put-red);
}

/* Interactive Chart & Simulator Section */
.chart-simulator-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 960px) {
	.chart-simulator-grid {
		grid-template-columns: 2.2fr 1fr;
	}
}

.chart-panel {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.chart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.chart-asset-select {
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: #fff;
	padding: 0.45rem 0.75rem;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.9rem;
	font-weight: 700;
	cursor: pointer;
}

.chart-timeframes {
	display: flex;
	gap: 0.3rem;
}

.tf-btn {
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: var(--fg-secondary);
	padding: 0.3rem 0.6rem;
	border-radius: 6px;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

.tf-btn.active {
	background: var(--accent-cyan);
	color: #000;
	font-weight: 700;
	border-color: var(--accent-cyan);
}

.canvas-container {
	width: 100%;
	height: 340px;
	background: #080b12;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	position: relative;
	overflow: hidden;
}

.canvas-element {
	width: 100%;
	height: 100%;
	display: block;
}

/* Simulator Controls Panel */
.simulator-panel {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
}

.balance-box {
	background: var(--bg-card-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.balance-title {
	font-size: 0.85rem;
	color: var(--fg-secondary);
}

.balance-amount {
	font-size: 1.35rem;
	font-weight: 800;
	font-family: var(--font-mono);
	color: var(--call-green);
}

.sim-trade-btn-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.btn-trade-call {
	background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
	border: none;
	color: #000;
	padding: 1rem 0.5rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-weight: 900;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	box-shadow: 0 4px 16px var(--call-green-glow);
	transition: all 0.2s;
}

.btn-trade-call:hover {
	filter: brightness(1.1);
	transform: scale(1.02);
}

.btn-trade-put {
	background: linear-gradient(135deg, #d50000 0%, #ff3366 100%);
	border: none;
	color: #fff;
	padding: 1rem 0.5rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-weight: 900;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	box-shadow: 0 4px 16px var(--put-red-glow);
	transition: all 0.2s;
}

.btn-trade-put:hover {
	filter: brightness(1.1);
	transform: scale(1.02);
}

/* AI Bot Signal Generator */
.bot-generator-container {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}

.bot-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.bot-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.bot-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--fg-secondary);
}

.bot-select, .bot-input {
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: #fff;
	padding: 0.65rem 0.85rem;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 0.92rem;
	font-weight: 600;
	outline: none;
}

.bot-select:focus, .bot-input:focus {
	border-color: var(--accent-cyan);
	box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.btn-scan-radar {
	background: linear-gradient(135deg, #00d4ff 0%, #0051ff 100%);
	border: none;
	color: #fff;
	padding: 0.85rem 1.5rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: 1.05rem;
	font-weight: 800;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
	transition: all 0.25s;
	width: 100%;
}

.btn-scan-radar:hover:not(:disabled) {
	filter: brightness(1.15);
	transform: translateY(-2px);
}

.btn-scan-radar:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Radar Scan Animation Box */
.radar-scan-box {
	background: #06090e;
	border: 1px solid rgba(0, 212, 255, 0.3);
	border-radius: var(--radius);
	padding: 2rem 1rem;
	text-align: center;
	margin-top: 1.25rem;
	position: relative;
	overflow: hidden;
}

.radar-circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	border: 2px dashed var(--accent-cyan);
	margin: 0 auto 1rem;
	animation: spin-radar 2.5s linear infinite;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	box-shadow: 0 0 20px var(--accent-cyan-glow);
}

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

.radar-text {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.4rem;
}

.radar-sub {
	font-size: 0.85rem;
	color: var(--accent-cyan);
	font-family: var(--font-mono);
}

/* Generated Signal Result Banner */
.generated-result-box {
	background: var(--bg-card-subtle);
	border: 2px solid var(--accent-cyan);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-top: 1.5rem;
	box-shadow: 0 8px 32px var(--accent-cyan-glow);
	animation: slide-up 0.4s ease;
}

@keyframes slide-up {
	from { opacity: 0; transform: translateY(15px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Money Management Calculator */
.calc-container {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}

.martingale-table-wrap {
	overflow-x: auto;
	margin-top: 1.25rem;
}

.custom-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.custom-table th {
	background: var(--bg-card-subtle);
	color: var(--fg-secondary);
	padding: 0.75rem 0.85rem;
	font-weight: 700;
	border-bottom: 1px solid var(--border);
	white-space: nowrap;
}

.custom-table td {
	padding: 0.75rem 0.85rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	font-family: var(--font-mono);
	white-space: nowrap;
}

.custom-table tr:hover td {
	background: rgba(255, 255, 255, 0.02);
}

/* Guide Cards */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
	gap: 1.25rem;
}

.guide-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	transition: all 0.2s;
}

.guide-card:hover {
	border-color: var(--accent-cyan);
	transform: translateY(-2px);
}

.guide-step-num {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00d4ff, #0051ff);
	color: #fff;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	margin-bottom: 0.85rem;
}

.guide-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.4rem;
}

.guide-card-desc {
	font-size: 0.85rem;
	color: var(--fg-secondary);
	line-height: 1.6;
}

/* Toast / Floating Notification */
.toast-floating {
	position: fixed;
	bottom: 1.5rem;
	left: 1.5rem;
	z-index: 1000;
	background: #0e1420;
	border: 2px solid var(--accent-cyan);
	border-radius: var(--radius);
	padding: 0.85rem 1.25rem;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	gap: 0.85rem;
	animation: pop-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	max-width: 90vw;
}

@keyframes pop-in {
	from { opacity: 0; transform: translateY(20px) scale(0.9); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(8px);
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-content {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	width: 100%;
	max-width: 580px;
	max-height: 90vh;
	overflow-y: auto;
	padding: 1.5rem;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
	position: relative;
}

.modal-close-btn {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--bg-input);
	border: 1px solid var(--border);
	color: var(--fg-secondary);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.1rem;
	transition: all 0.2s;
}

.modal-close-btn:hover {
	color: #fff;
	border-color: #fff;
}

/* Footer */
.footer-bar {
	background: #05070a;
	border-top: 1px solid var(--border);
	padding: 2rem 1rem;
	margin-top: auto;
	color: var(--fg-muted);
	font-size: 0.82rem;
}

.footer-content {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	text-align: center;
}

.risk-warning {
	background: rgba(255, 51, 102, 0.08);
	border: 1px solid rgba(255, 51, 102, 0.2);
	border-radius: var(--radius-sm);
	padding: 0.85rem;
	color: #f87171;
	font-size: 0.78rem;
	line-height: 1.5;
}
