/* ==========================================================================
   MICHAUD IPTV PLAYER - SLEEK CLOUD REMOTE PORTAL STYLES
   Modern Dark Streaming UI (Mobile-First & Desktop Responsive)
   ========================================================================== */

:root {
  --bg-main: #06080d;
  --bg-card: rgba(14, 18, 28, 0.85);
  --bg-card-hover: rgba(22, 28, 44, 0.95);
  --bg-input: #0b0f17;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #ff1e42;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --primary-gradient: linear-gradient(135deg, #ff1e42 0%, #b80d28 100%);
  --primary-glow: rgba(255, 30, 66, 0.45);
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Menlo, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  background-image: radial-gradient(circle at 50% 0%, rgba(255, 30, 66, 0.12) 0%, transparent 60%);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.portal-header {
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 0px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.portal-brand:hover {
  transform: scale(1.02);
}

.portal-brand-logo {
  width: 34px;
  height: 32px;
  object-fit: contain;
  margin-right: -5px;
  filter: drop-shadow(0 2px 10px rgba(255, 30, 66, 0.5));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title-rest {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 800;
  color: #ff1e42;
  letter-spacing: 2px;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 30, 66, 0.12);
  border: 1px solid rgba(255, 30, 66, 0.45);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(255, 30, 66, 0.25);
}

.nav-btn-admin:hover {
  background: #ff1e42;
  border-color: #ff1e42;
  box-shadow: 0 0 22px rgba(255, 30, 66, 0.65);
  transform: translateY(-1px);
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-reseller-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.nav-reseller-btn:hover {
  background: rgba(139, 92, 246, 0.25);
  color: #ffffff;
}

.nav-btn-logout {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-color);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn-logout:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   Ambient Glow & Main Background
   ========================================================================== */
.portal-main-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  position: relative;
  overflow: hidden;
}

.ambient-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(249, 115, 22, 0.04) 40%, transparent 70%);
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Card Container & Login Box
   ========================================================================== */
.portal-card-container {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.card-header-block {
  text-align: center;
  margin-bottom: 24px;
}

.device-portal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite ease-in-out;
}

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

.portal-main-heading {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 8px;
}

.portal-sub-heading {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.alert-box-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  pointer-events: none;
}

.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 14px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
}

.input-icon-wrap .form-control {
  padding-left: 44px;
}

.form-control:focus {
  outline: none;
  border-color: #f43f5e;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.25);
  background: #19243d;
}

.mono-font {
  font-family: var(--font-mono) !important;
  letter-spacing: 0.5px;
}

.btn-primary-gradient {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--primary-glow);
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-primary-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
  filter: brightness(1.05);
}

.btn-primary-gradient:active {
  transform: translateY(0);
}

.card-footer-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.card-footer-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-cyan);
}

.card-footer-tip strong {
  color: var(--text-muted);
}

.reseller-switch-bar {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.reseller-quick-link {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.reseller-quick-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* ==========================================================================
   Dashboard & Admin Layouts
   ========================================================================== */
.dashboard-container {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 60px 20px;
  flex: 1;
}

.device-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.device-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.label-tiny {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.device-mac-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mac-value {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
}

.btn-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-chip:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.device-status-chips {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}

.status-pill-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill-badge.neutral {
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Content Card */
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: all 0.2s ease;
}

.btn-primary-action:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Modern Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.modern-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13.5px;
}

.modern-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.modern-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  vertical-align: middle;
}

.modern-table tbody tr:hover td {
  background: var(--bg-card-hover);
}

.col-url {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.btn-row-edit {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-row-edit:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-row-delete {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-row-delete:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   Admin Specific Styles
   ========================================================================== */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrap.green-glow {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.stat-icon-wrap.purple-glow {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.text-green {
  color: #34d399 !important;
}

.table-search-bar {
  margin-bottom: 18px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 360px;
}

.search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-input-wrap .form-control {
  padding-left: 38px;
  font-size: 13.5px;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.portal-modal-overlay.active {
  display: flex;
}

.portal-modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  padding: 28px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon-badge {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
}

.modal-icon-badge.xc-badge {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s;
}

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

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.modal-actions .btn-primary-gradient {
  width: auto;
  margin-top: 0;
  padding: 10px 20px;
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.portal-footer {
  border-top: 1px solid var(--border-color);
  padding: 24px 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: auto;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .header-container {
    padding: 12px 16px;
  }
  .brand-title {
    font-size: 15px;
  }
  .portal-main-heading {
    font-size: 24px;
  }
  .login-card {
    padding: 24px 18px;
  }
  .device-meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .toolbar-actions {
    width: 100%;
  }
  .btn-primary-action, .btn-secondary-action {
    width: 100%;
    justify-content: center;
  }
  .form-row-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOMEPAGE SHOWCASE & LANDING STYLES (michaudplayer.com)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

.landing-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.hero-showcase {
  text-align: center;
  padding: 30px 0 20px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff334b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-headline {
  font-size: clamp(32px, 5.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto 18px;
}

.hero-headline-highlight {
  background: linear-gradient(135deg, #ffffff 40%, #ff334b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subhead {
  font-size: clamp(15px, 2vw, 18px);
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e50914 0%, #b20710 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.6);
  color: #fff;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f8fafc;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero-direct-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #94a3b8;
}

.hero-direct-chip strong {
  color: #38bdf8;
  font-family: var(--font-mono);
}

/* TV Screenshot Mockup Display */
.tv-showcase-container {
  margin: 40px auto 70px;
  max-width: 980px;
  position: relative;
}

.tv-glow-backdrop {
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.35) 0%, rgba(229, 9, 20, 0.05) 50%, transparent 75%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.tv-bezel-frame {
  position: relative;
  z-index: 2;
  background: #11141c;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.9), 0 0 50px rgba(229, 9, 20, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tv-bezel-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.95), 0 0 70px rgba(229, 9, 20, 0.3);
}

.tv-screen-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tv-floating-tag {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.tag-top-left {
  top: -12px;
  left: 20px;
}

.tag-bottom-right {
  bottom: -12px;
  right: 20px;
}

/* Feature Cards Grid */
.features-container {
  margin-bottom: 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #38bdf8;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: #94a3b8;
  font-size: 15px;
  max-width: 600px;
  margin: 10px auto 0;
}

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

.feature-box {
  background: rgba(14, 18, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 22px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.3);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 9, 20, 0.15);
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(229, 9, 20, 0.15);
  color: #ff334b;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
}

/* Steps - How It Works */
.steps-container {
  margin-bottom: 80px;
}

.steps-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 26px 20px;
  position: relative;
}

.step-number-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e50914, #991b1b);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.4);
}

.step-heading {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.step-detail {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Login Management Anchor Wrap */
.management-portal-section {
  padding-top: 30px;
}

@media (max-width: 640px) {
  .tag-top-left, .tag-bottom-right {
    display: none;
  }
  .tv-bezel-frame {
    padding: 6px;
    border-radius: 10px;
  }
  .landing-wrap {
    padding: 20px 14px 60px;
  }
}
