:root {
  --bg-primary: #050507;
  --bg-secondary: #0d0f14;
  --bg-glass: rgba(13, 15, 20, 0.7);
  --accent-cyan: #00f0ff;
  --accent-purple: #8a2be2;
  --text-active: #ffffff;
  --text-muted: #94a3b8;
  --border-neon: rgba(0, 240, 255, 0.2);
  --border-glow: 0 0 10px rgba(0, 240, 255, 0.3), inset 0 0 10px rgba(0, 240, 255, 0.1);
  --danger: #ff3366;
  --success: #00e676;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(at 0% 0%, rgba(138, 43, 226, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 240, 255, 0.1) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-active);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 8px var(--accent-cyan);
}

/* Header & Nav */
header {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-neon);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Buttons */
.btn {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-danger {
  color: var(--danger);
  border-color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
}

.btn-glow {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.1), rgba(138, 43, 226, 0.1));
  border: 1px solid var(--accent-cyan);
  box-shadow: var(--border-glow);
}

/* Main Layout */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.hero {
  text-align: center;
  margin-bottom: 4rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(0, 240, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.card:hover::before {
  left: 150%;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Form Elements */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Cart Specifics */
.cart-item {
  background: var(--bg-secondary);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-summary {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--accent-cyan);
  margin-top: 2rem;
}

/* Admin Dashboard Table */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

th {
  background: rgba(0, 0, 0, 0.3);
  color: var(--accent-cyan);
  font-weight: 600;
}

tr:hover {
  background: rgba(255,255,255,0.02);
}

/* Badge specific */
.badge {
  padding: 0.3rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}
.badge-success { background: rgba(0, 230, 118, 0.1); color: var(--success); border: 1px solid var(--success); }
.badge-warning { background: rgba(255, 171, 0, 0.1); color: #ffab00; border: 1px solid #ffab00; }

footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}

.timer {
  font-size: 3rem;
  font-weight: 800;
  color: var(--danger);
  text-shadow: 0 0 20px rgba(255, 51, 102, 0.6);
  font-family: monospace;
  margin: 2rem 0;
}
.arcticons--btpay {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='none' stroke='%2300ffeb' stroke-linecap='round' stroke-linejoin='round' d='m8.63 7.21l.002-.004C13.325 5.468 18.528 4.5 24 4.5c6.08 0 11.822 1.189 16.907 3.303a29 29 0 0 0-.802 3.084c-.92 4.568-.586 8.996.952 14.265c-2.34 6.257-6.645 11.854-11.832 15.491c-9.454-3.476-16.31-8.824-19.812-16.33c1.747-7.067 1.076-11.495-.783-17.103m15.366 30.53c4.106-2.019 9.543-6.68 12.757-14.112c-1.356-5.195-1.604-9.67-.77-14.236a41.7 41.7 0 0 0-11.988-1.74a41.6 41.6 0 0 0-11.978 1.739c.834 4.563.586 9.045-.77 14.243c3.206 7.429 8.644 12.088 12.749 14.107Zm5.23 2.903c-9.455-3.476-16.31-8.824-19.813-16.33c1.748-7.071 1.075-11.5-.786-17.112q-.782.29-1.54.602c1.814 5.726 1.738 10.919-.144 17.354C10.03 33.417 16.553 40.535 24 43.5a26 26 0 0 0 5.225-2.857m-13.76-17.44v-8.032h2.61c1.506 0 2.711 1.205 2.711 2.711s-1.205 2.711-2.71 2.711h-2.612m11.05.6c0 1.104-.904 2.008-2.009 2.008s-2.008-.904-2.008-2.008v-1.306c0-1.104.904-2.008 2.008-2.008s2.008.904 2.008 2.008m0 3.314v-5.422m6.023 3.544v2.711a2.014 2.014 0 0 1-2.008 2.008c-.603 0-1.105-.2-1.406-.602m3.414-7.53v3.313c0 1.104-.904 2.008-2.008 2.008s-2.008-.904-2.008-2.008v-3.314' stroke-width='1'/%3E%3C/svg%3E");
  vertical-align: middle;
  margin-right: 8px;
}
.mdi--cart-outline {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2305d2f7' d='M17 18a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2c0-1.11.89-2 2-2M1 2h3.27l.94 2H20a1 1 0 0 1 1 1c0 .17-.05.34-.12.5l-3.58 6.47c-.34.61-1 1.03-1.75 1.03H8.1l-.9 1.63l-.03.12a.25.25 0 0 0 .25.25H19v2H7a2 2 0 0 1-2-2c0-.35.09-.68.24-.96l1.36-2.45L3 4H1zm6 16a2 2 0 0 1 2 2a2 2 0 0 1-2 2a2 2 0 0 1-2-2c0-1.11.89-2 2-2m9-7l2.78-5H6.14l2.36 5z' stroke-width='0.5' stroke='%2305d2f7'/%3E%3C/svg%3E");
  vertical-align: middle;
  margin-right: 8px;
}
