﻿:root {
	--bg: #050509;
	--bg-deep: #050505;
	--panel: rgba(20,20,30,0.85);
	--glass-surface: rgba(20, 24, 30, 0.75);
	--accent: #00ffe0;
	--accent-neon: #00f3ff;
	--accent-gold: #ffd700;
	--text: #e8e8f0;
	--radius: 16px;
	--glow: 0 0 20px rgba(0,255,224,0.3);
	--border-light: rgba(255, 255, 255, 0.1);
	--text-main: #ffffff;
	--text-sub: #a0aab5;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	background: var(--bg);color:var(--text);
	margin: 0;
	padding: 0; 
	background-color: var(--bg-deep);
	background-image: radial-gradient(circle at 50% 10%, #1a202c 0%, var(--bg-deep) 80%);
	color: var(--text-main);
	min-height: 100vh;
	overflow-x: hidden;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
	background: rgba(0,0,0,0.8);
	border-bottom: 1px solid rgba(255,255,255,0.05);
	animation: fadeIn 5s ease;
}
header h1 {
	color: var(--accent);
	font-size: 1.5em;
	letter-spacing: 0.1em;
}
.headertwo {
	text-align: center;
	margin-bottom: 60px;
	animation: fadeIn 1s ease;
}
.tag-line-two {
	color: var(--accent-neon);
	font-size: 0.75rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: bold;
	text-align: center;
}
nav {text-align: center;}
nav a {
	margin-left: 24px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	transition: 0.25s;
}
nav a:hover {color: var(--accent);}
.hero {
	position: relative;
	height: 10vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}
.hero h2 {
	font-size: 2em;
	color: var(--accent);
	text-shadow: 0 0 15px rgba(0,255,224,0.4);
}
canvas#heroEffect {
	position: absolute;
	inset: 0;z-index: 0;
	pointer-events: none;
}
h1 {
	font-size: 2.8rem;
	margin: 0;
	font-weight: 800;
	background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}
h3 {
	font-size: 1.4rem;
	margin: 0 0 10px 0;
	color: #fff;
	line-height: 1.2;
}
p {
	color: var(--text-sub);
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	flex-grow: 1;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}
#autocomplete-list {list-style: none; padding: 0; margin: 5px 0 0 0; border-radius: 8px; background-color: #222; border: 1px solid #444; max-height: 150px; overflow-y: auto; z-index: 1000; position: absolute; width: 100%; top: 100%; left: 0; display: none;}
#autocomplete-list li {padding: 10px 15px; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #333;}
#autocomplete-list li:hover, #autocomplete-list li.active {background-color: var(--accent-neon); color: #000; font-weight: bold;}
input[readonly] { cursor: pointer; }
.tag-line {
	color: var(--accent-neon);
	font-size: 0.75rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
	margin-bottom: 10px; 
}
.subtitle {
	color: var(--text-sub);
	margin-top: 10px;
	opacity: 0.8;
}
.dashboard-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 25px;
}
.top-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
	gap: 20px;
	padding: 40px;
}
.top-card {
	background: var(--panel);
	border-radius: var(--radius);
	padding: 20px;
	box-shadow: var(--glow);
	transition: 0.3s;cursor: pointer;
}
.top-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0 40px rgba(0,255,224,0.5);
}
.top-card h3 {
	color: var(--accent);
	margin-bottom: 8px;
}
.top-card p {
	font-size: 0.85em;opacity: 0.8;
	margin-bottom: 12px;
}
.control-card {
	background: var(--glass-surface);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--border-light);
	border-radius: 20px;
	padding: 30px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 220px;
}
.control-card:hover {
	transform: translateY(-7px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 243, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.4);
}
.control-card::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
	transform: scaleX(0);
	transition: transform 0.5s ease-out;
	transform-origin: left;
	opacity: 0;
}
.control-card:hover::before {
	transform: scaleX(1);
	opacity: 1;
}
.icon-area {
	font-size: 2rem;
	margin-bottom: 15px;
	background: linear-gradient(to bottom right, rgba(255,255,255,0.1), transparent);
	width: 60px;
	height: 60px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
	gap: 20px;
	padding: 0 40px 40px;
}
.product {
	background: var(--panel);
	border-radius: var(--radius);
	padding: 16px;
	box-shadow: var(--glow);
	transition: 0.3s;
	cursor: pointer;
}
.product:hover {
	transform: translateY(-3px);
	box-shadow: 0 0 30px rgba(0,255,224,0.5);
}
.product h4 {
	color: var(--accent);
	margin-bottom: 6px;
}
.product p {
	font-size: 0.8em;
	opacity: 0.8;
	margin-bottom: 10px;
}
.product button {
	padding: 8px 16px;
	border-radius: 12px;
	background: var(--accent);
	border: none;color: #000;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s;
}
.product button:hover {filter: brightness(1.2);}
.product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 40px;
}
.product-image {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--glow);
	width: 100%;
}
.product-image img {
	width: 100%;
	height: auto;
	display: block;
	pointer-events: none;
}
.guard-layer {
	position: absolute;
	top: -1px;
	left: -1px;
	right: -1px;
	bottom: -1px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.01);
	cursor: default;
	pointer-events: all;
}
.product-info h3 {
	color: var(--accent);
	margin-bottom: 12px;
	font-size: 1.8em
}
.product-info p {
	margin-bottom: 12px;
	font-size: 0.95em;
	opacity: 0.85;
}
.price {
	font-size: 1.5em;
	color: var(--accent);
	margin-bottom: 12px;
}
.buy-options {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}
.buy-options input {
	padding: 6px 12px;
	border-radius: 12px;
	border: none;
	width: 60px;
	text-align: center;
}
.buy-options button {
	padding: 10px 24px;
	border-radius: 14px;
	background: var(--accent);
	border: none;
	color: #000;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s;
}
.buy-options button:hover {filter:brightness(1.2);}
.displaycart img {
	max-height: 48px;
	max-width: 32px;
}
.tabs {margin-top:20px;}
.tab-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 12px;
}
.tab-buttons button {
	background: var(--panel);
	border: none;
	color: var(--text);
	padding: 8px 14px;
	border-radius: 12px;
	cursor: pointer;
	transition: 0.25s;
}
.tab-buttons button.active {
	background: var(--accent);
	color: #000;
}
.tab-content {
	background: var(--panel);
	padding: 20px;
	border-radius: var(--radius);
	box-shadow: var(--glow);
}
.external-link {
	color: var(--accent);
	cursor: pointer;
	text-decoration: underline;
}
noscript {
	display: block;
	padding: 16px;
}
.info-box {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px;
	margin-bottom: 10px;
}
.info-box-header {
	cursor: pointer;
	font-weight: bold;
	padding: 5px;
}
.info-box-content {
	padding: 10px;
	border-top: 1px solid #eee;
	margin-top: 5px;
}
.bulletproofed {
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-bottom: 8px;
}
.btn-modern {
	padding: 12px 24px;
	border: none;
	border-radius: 30px;
	background-image: linear-gradient(135deg, var(--accent) 0%, #667eea 100%);
	color: white;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn-modern:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	transform: translateY(-2px);
}
.btn-modern:active {transform: translateY(1px);}
.modern-table {
	border-collapse: collapse;
	margin: 25px 0;
	font-size: 0.9em;
	font-family: sans-serif;
	min-width: 400px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
	border-radius: 5px 5px 0 0;
	overflow: hidden;
	width: 100%;
}
.modern-table thead tr {
	background-color: #009879;
	color: #ffffff;
	text-align: left;
}
.modern-table th,
.modern-table td {padding: 12px 15px;}
/*.modern-table tbody tr {border-bottom: 1px solid #dddddd;}
.modern-table tbody tr:nth-of-type(even) {background-color: #111;}
.modern-table tbody tr:last-of-type {border-bottom: 2px solid #009879;}*/
.modern-table tbody tr:hover {
	background-color: #222;
	cursor: pointer;
}
.table-container {overflow-x: auto;}
.cart-container {
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.cart-item {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr 1fr 1fr;
	gap: 10px;
	background: var(--panel);
	padding: 16px;
	border-radius: var(--radius);
	box-shadow: var(--glow);
	align-items: center;
}
.cart-item img {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	object-fit: cover;
}
.cart-item p {margin: 0;}
.cart-item input {
	width: 50px;
	padding: 4px;
	border-radius: 8px;
	border: none;
	text-align: center;
}
.cart-item button {
	padding: 6px 12px;
	border-radius: 12px;
	background: #ff4f4f;
	border: none;
	color: #fff;
	cursor: pointer;
	transition: 0.25s;
}
.cart-item button:hover {filter: brightness(1.2);}
.popup-wrapper {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
}
.popup-content {
	background: white;
	width: 50%;
	margin: 10% auto;
	padding: 20px;
	border-radius: 5px;
}
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(5, 5, 5, 0.85);
	backdrop-filter: blur(12px);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.modal-overlay.open {
	display: flex;
	opacity: 1;
}
.modal-window {
	width: 95%;
	max-width: 650px;
	background: #121214;
	border: 1px solid var(--accent-neon);
	border-radius: 16px;
	padding: 35px;
	box-shadow: 0 0 50px rgba(0, 243, 255, 0.2), inset 0 0 20px rgba(0,0,0,0.8);
	position: relative;
	transform: scale(0.9) translateY(20px);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	max-height: 90vh;
	overflow-y: auto;
}
.modal-overlay.open .modal-window {transform: scale(1) translateY(0);}
.show {display: block;}
.total {
	align-self: flex-end;
	font-size: 1.4em;
	margin-top: 20px;
}
.actions {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	margin-top: 10px;
}
.actions button {
	padding: 10px 24px;
	border-radius: 14px;
	background: var(--accent);
	border: none;
	color: #000;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s;
}
.actions button:hover {filter: brightness(1.2);}
a {
	color: #CCCCCC;
	font: "DejaVu Sans";
}
li {
	font-family: system-ui,sans-serif;
	margin-left: 14px;
	font-size: 0.8em;
}
#autocomplete {
	border: 1px solid #ccc;
	display: none;
	position: absolute;
	background: white;
	width: 200px;
	z-index: 1000;
}
#autocomplete div {
	padding: 5px;
	cursor: pointer;
}
#autocomplete div:hover {background-color: #f0f0f0;}
.msg-box {
	padding: 15px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 10px;
}
.msg-success {
	background: rgba(46, 204, 113, 0.1);
	color: #2ecc71;
	border: 1px solid rgba(46, 204, 113, 0.3);
}
.msg-error {
	background: rgba(231, 76, 60, 0.1);
	color: #e74c3c;
	border: 1px solid rgba(231, 76, 60, 0.3);
}
.neon-input {
	width: 100%;
	background: rgba(255,255,255,0.03);
	border: 1px solid #333;
	color: #fff;
	padding: 15px;
	font-size: 1rem;
	border-radius: 8px;
	transition: all 0.3s;
}
.neon-input:focus { 
	outline: none;
	border-color: var(--accent-neon);
	background: rgba(0, 243, 255, 0.05);
	box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}
.action-btn {
	width: 100%;
	padding: 16px;
	background: linear-gradient(90deg, #00c6ff, #0072ff);
	color: white;
	border: none;
	border-radius: 8px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: filter 0.3s;
	margin-top: 10px;
}
.action-btn:hover {
	filter: brightness(1.2);
	box-shadow: 0 0 20px rgba(0, 114, 255, 0.4);
}
.close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	color: var(--text-sub);
	font-size: 2rem;
	cursor: pointer;
	transition: color 0.2s;
}
.close-btn:hover {
	color: #fff;
	transform: rotate(90deg);
}
.form-group {
	margin-bottom: 25px;
	text-align: left;
	position: relative;
}
.form-label {
	display: block;
	color: var(--accent-neon);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
	font-weight: bold;
}
.role-badge {
	position: absolute;
	top: 20px;
	right: 20px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: bold;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}
.role-badge:hover {opacity: 1 !important;}
.badge-user {
	color: #fff;
	border: 1px solid #555;
}
.badge-admin {
	color: var(--accent-gold);
	border: 1px solid var(--accent-gold);
	box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}
footer {
	padding: 20px 40px;
	border-top: 1px solid rgba(255,255,255,0.05);
	display: flex;
	justify-content: space-between;
	font-size: 0.8em;
	color: rgba(255,255,255,0.5);
}