/* =============================================
   NEXERO – Main Stylesheet
   Design: Dark luxury with electric accent
   Fonts: Syne (display) + DM Sans (body)
   ============================================= */

/* ── Variables ───────────────────────────────── */
:root {
  --bg: #080c10;
  --bg2: #0d1117;
  --bg3: #131a22;
  --surface: #161d27;
  --surface2: #1e2733;
  --border: rgba(255,255,255,0.07);
  --accent: #00e5ff;
  --accent2: #7b2fff;
  --accent3: #ff3d71;
  --text: #e8edf3;
  --text2: #8a97a8;
  --text3: #5a6775;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 30px rgba(0,229,255,0.15);
  --trans: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 10px; }

/* ── Loader ──────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--accent2);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Navbar ──────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center;
  background: rgba(8,12,16,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(8,12,16,0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  width: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-n {
  color: var(--accent);
  text-shadow: 0 0 20px var(--accent);
}
.nav-links {
  display: flex; gap: 2rem;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--text2);
  position: relative; padding-bottom: 2px;
  transition: var(--trans);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions {
  display: flex; align-items: center; gap: 0.8rem;
}
.nav-icon {
  position: relative; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text2);
  transition: var(--trans);
}
.nav-icon:hover { color: var(--accent); background: var(--surface2); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  width: 18px; height: 18px;
  background: var(--accent3);
  border-radius: 50%;
  font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.nav-avatar img {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--trans);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--trans);
  position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute;
  inset: 0; background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,229,255,0.3); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text2);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { background: var(--surface2); }
.btn-danger { background: var(--accent3); color: white; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ── Ripple Effect ───────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}
@keyframes ripple-anim {
  from { width: 0; height: 0; opacity: 1; transform: translate(-50%,-50%); }
  to { width: 200px; height: 200px; opacity: 0; transform: translate(-50%,-50%); }
}

/* ── Section Layout ──────────────────────────── */
.section { padding: 6rem 2rem; }
.section-sm { padding: 3rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: rgba(0,229,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(0,229,255,0.2);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Grid Layouts ────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), var(--shadow-accent);
}
.card-img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.04); }
.card-img-wrap { overflow: hidden; position: relative; }
.card-img-wrap .badge {
  position: absolute; top: 12px; left: 12px;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--accent2);
  color: white;
  z-index: 2;
}
.card-body { padding: 1.4rem; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-text {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-top: 1px solid var(--border);
}

/* ── Hero Section ────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 2rem 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0,229,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(123,47,255,0.08) 0%, transparent 60%),
    var(--bg);
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  width: 100%;
}
.hero-text {}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.typing-cursor {
  display: inline-block;
  width: 3px; height: 0.9em;
  background: var(--accent);
  margin-left: 4px;
  animation: blink 0.9s infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-desc {
  font-size: 1.05rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 2.5rem;
  margin-top: 3rem;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  color: var(--white);
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text3);
  margin-top: 0.1rem;
}
.hero-visual {
  position: relative;
}
.hero-card-float {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero-card-float::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.hero-avatar-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0.8rem; margin-bottom: 1.5rem;
}
.hero-avatar-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--surface2);
  overflow: hidden;
}
.hero-avatar-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-card-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.h-stat {
  background: var(--bg2);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.h-stat-num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem;
  color: var(--accent);
}
.h-stat-label {
  font-size: 0.72rem;
  color: var(--text3);
  margin-top: 0.2rem;
}

/* ── About Section ───────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
}
.skills-list {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1.5rem 0;
}
.skill-tag {
  padding: 0.3rem 0.8rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text2);
}

/* ── Services Section ────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--trans);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.03), rgba(123,47,255,0.03));
  opacity: 0; transition: var(--trans);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.2); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: rgba(0,229,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--accent);
  margin-bottom: 1.2rem;
}
.service-title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* ── Products Price ───────────────────────────── */
.price-wrap { display: flex; align-items: center; gap: 0.6rem; }
.price {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800;
  color: var(--accent);
}
.price-original {
  font-size: 0.85rem;
  color: var(--text3);
  text-decoration: line-through;
}
.price-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(255,61,113,0.15);
  color: var(--accent3);
  border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
}

/* ── Star Rating ─────────────────────────────── */
.stars { color: #fbbf24; font-size: 0.85rem; }

/* ── Video Cards ─────────────────────────────── */
.video-card .card-img-wrap {
  height: 180px;
}
.video-card .card-img {
  height: 100%; object-fit: cover;
}
.play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0; transition: var(--trans);
}
.play-overlay i {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--bg);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.card:hover .play-overlay { opacity: 1; }
.card:hover .play-overlay i { transform: scale(1); }
.video-meta {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--text3);
}

/* ── Post Cards ──────────────────────────────── */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--trans);
}
.post-card:hover { border-color: rgba(0,229,255,0.15); }
.post-author {
  display: flex; align-items: center; gap: 0.8rem;
  margin-bottom: 1rem;
}
.post-author img {
  width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--border);
}
.post-author-name {
  font-weight: 600; font-size: 0.9rem;
  color: var(--white);
}
.post-time { font-size: 0.78rem; color: var(--text3); }
.post-content { font-size: 0.92rem; color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.post-actions {
  display: flex; gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.post-action-btn {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; color: var(--text3);
  cursor: pointer; background: none; border: none;
  transition: var(--trans);
}
.post-action-btn:hover { color: var(--accent); }

/* ── Forms ───────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text2);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--trans);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}
.form-control::placeholder { color: var(--text3); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Auth Pages ──────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 2rem 60px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,229,255,0.06) 0%, transparent 70%),
    var(--bg);
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%; max-width: 440px;
}
.auth-card-title {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.auth-card-sub {
  color: var(--text2); font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ── Alert / Flash Messages ──────────────────── */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.alert-success { background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.2); color: var(--accent); }
.alert-error { background: rgba(255,61,113,0.08); border: 1px solid rgba(255,61,113,0.2); color: var(--accent3); }
.alert-info { background: rgba(123,47,255,0.08); border: 1px solid rgba(123,47,255,0.2); color: var(--accent2); }

/* ── Page Header ─────────────────────────────── */
.page-header {
  padding: 120px 2rem 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(0,229,255,0.06) 0%, transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem; color: var(--text3);
}
.breadcrumb a { color: var(--accent); }

/* ── Cart & Checkout ─────────────────────────── */
.cart-table {
  width: 100%; border-collapse: collapse;
}
.cart-table th, .cart-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.cart-table th {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text3); text-transform: uppercase;
  letter-spacing: 1px;
}
.cart-table img {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  object-fit: cover;
}
.qty-control {
  display: flex; align-items: center; gap: 0.5rem;
}
.qty-btn {
  width: 28px; height: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky; top: 90px;
}
.cart-summary-row {
  display: flex; justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.9rem; color: var(--text2);
  border-bottom: 1px solid var(--border);
}
.cart-summary-total {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem;
  color: var(--white);
}

/* ── Short Videos (TikTok style) ─────────────── */
.shorts-container {
  height: calc(100vh - 70px);
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  margin-top: 70px;
}
.shorts-container::-webkit-scrollbar { display: none; }
.short-item {
  height: calc(100vh - 70px);
  scroll-snap-align: start;
  position: relative;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
.short-video {
  height: 100%; width: 100%;
  object-fit: cover;
}
.short-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
  pointer-events: none;
}
.short-info {
  position: absolute; bottom: 2rem; left: 2rem; right: 5rem;
}
.short-info h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: white; margin-bottom: 0.3rem;
}
.short-info p { font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.short-actions {
  position: absolute; bottom: 2rem; right: 1.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.2rem;
}
.short-action {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.2rem;
  cursor: pointer; color: white;
  font-size: 0.72rem;
}
.short-action i { font-size: 1.5rem; }
.short-action:hover { color: var(--accent); }

/* ── Profile Page ────────────────────────────── */
.profile-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 100px 2rem 0;
}
.profile-cover {
  height: 220px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(123,47,255,0.2));
  position: relative; overflow: hidden;
}
.profile-cover::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(0,229,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(123,47,255,0.15) 0%, transparent 50%);
}
.profile-info {
  display: flex; align-items: flex-end; gap: 1.5rem;
  padding: 0 2rem;
  transform: translateY(-50px);
}
.profile-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 4px solid var(--surface);
  object-fit: cover;
  flex-shrink: 0;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--white);
}
.profile-tabs {
  display: flex; gap: 0;
  border-top: 1px solid var(--border);
  padding: 0 2rem;
}
.profile-tab {
  padding: 1rem 1.5rem;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--trans);
}
.profile-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Admin Panel ─────────────────────────────── */
.admin-layout {
  display: flex; min-height: 100vh;
}
.admin-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  position: fixed; top: 0; left: 0; bottom: 0;
  overflow-y: auto;
  z-index: 100;
}
.admin-brand {
  padding: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 800;
  border-bottom: 1px solid var(--border);
}
.admin-nav { padding: 1rem 0; }
.admin-nav-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  color: var(--text2); font-size: 0.9rem;
  transition: var(--trans); cursor: pointer;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(0,229,255,0.05);
  color: var(--accent);
  border-right: 2px solid var(--accent);
}
.admin-nav-item i { width: 18px; }
.admin-content {
  margin-left: 260px; padding: 2rem;
  flex: 1;
}
.admin-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.admin-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex; align-items: center; gap: 1rem;
}
.admin-stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.admin-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  color: var(--white);
}
.admin-stat-label { font-size: 0.8rem; color: var(--text3); }
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.admin-table th {
  padding: 1rem 1.2rem;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3);
  background: var(--bg2);
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Status Badges ───────────────────────────── */
.status {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  font-size: 0.75rem; font-weight: 600;
}
.status-pending { background: rgba(251,191,36,0.1); color: #fbbf24; }
.status-processing { background: rgba(0,229,255,0.1); color: var(--accent); }
.status-delivered { background: rgba(34,197,94,0.1); color: #22c55e; }
.status-cancelled { background: rgba(255,61,113,0.1); color: var(--accent3); }

/* ── Comments Section ────────────────────────── */
.comments-section { margin-top: 3rem; }
.comment-item {
  display: flex; gap: 1rem;
  margin-bottom: 1.5rem;
}
.comment-avatar {
  width: 40px; height: 40px;
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.comment-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 1rem 1.2rem;
  flex: 1;
}
.comment-author {
  font-weight: 600; font-size: 0.88rem;
  color: var(--white); margin-bottom: 0.3rem;
}
.comment-text { font-size: 0.9rem; color: var(--text2); }

/* ── Upload Zone ─────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--trans);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent);
  background: rgba(0,229,255,0.03);
}
.upload-zone i { font-size: 2.5rem; color: var(--text3); margin-bottom: 1rem; }

/* ── Scroll Reveal ───────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Pagination ──────────────────────────────── */
.pagination {
  display: flex; gap: 0.5rem;
  justify-content: center;
  margin-top: 3rem;
}
.page-num {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  cursor: pointer; transition: var(--trans);
}
.page-num:hover, .page-num.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ── Footer ──────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 0;
}
.footer-container {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  display: inline-block; margin-bottom: 0.8rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--text3); line-height: 1.7; margin-bottom: 1.2rem; }
.social-links { display: flex; gap: 0.7rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text2); font-size: 0.9rem;
  transition: var(--trans);
}
.social-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--white); margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; color: var(--text3); transition: var(--trans); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem; color: var(--text3);
}

/* ── Misc ────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text3);
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--surface2);
  color: var(--text2);
}
.text-accent { color: var(--accent); }
.text-muted { color: var(--text3); }
.text-sm { font-size: 0.85rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .admin-sidebar { display: none; }
  .admin-content { margin-left: 0; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 1rem; }
  .hero { padding: 90px 1rem 50px; }
  .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}
