/* ============================================
   AxeXVX — Platform-Specific Stylesheet
   Extends: css/style.css (global)
   ============================================ */

/* ---- AXEXVX BRAND COLORS ---- */
:root {
  --xvx-accent: #f59e0b;       /* Amber */
  --xvx-accent2: #d97706;
  --xvx-glow: rgba(245,158,11,0.15);
  --xvx-badge-bg: rgba(245,158,11,0.1);
  --xvx-badge-border: rgba(245,158,11,0.3);
}

/* ---- HERO ACCENT ---- */
.platform-hero .hero-badge {
  background: var(--xvx-badge-bg);
  border-color: var(--xvx-badge-border);
  color: var(--xvx-accent);
}

.platform-hero .badge-dot {
  background: var(--xvx-accent);
  box-shadow: 0 0 8px var(--xvx-accent);
}

/* ---- LINK SHORTENER INPUT ---- */
.link-shortener {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.link-input-row {
  display: flex;
  gap: 8px;
}

.link-input-row input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.link-input-row input:focus {
  border-color: var(--xvx-accent);
}

.link-input-row input::placeholder {
  color: var(--muted);
}

/* ---- SHORTENED LINK RESULT ---- */
.link-result {
  margin-top: 16px;
  background: var(--bg2);
  border: 1px solid var(--xvx-badge-border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  display: none;
}

.link-result.show {
  display: flex;
}

.link-result .short-url {
  font-family: 'Geist Mono', monospace;
  font-size: 0.88rem;
  color: var(--xvx-accent);
  flex: 1;
}

.copy-btn {
  background: var(--xvx-badge-bg);
  border: 1px solid var(--xvx-badge-border);
  color: var(--xvx-accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: var(--xvx-glow);
}

/* ---- ANALYTICS DASHBOARD PREVIEW ---- */
.analytics-preview {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}

.analytics-preview-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.analytics-preview-header h4 {
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---- CLICK CHART (CSS-only bar chart) ---- */
.click-chart {
  padding: 20px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  background: var(--xvx-badge-bg);
  border: 1px solid var(--xvx-badge-border);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
  min-height: 4px;
}

.chart-bar:hover {
  background: var(--xvx-accent);
}

.chart-label {
  font-size: 0.65rem;
  color: var(--muted);
}

/* ---- LINK TABLE ---- */
.link-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.link-table th {
  text-align: left;
  padding: 10px 16px;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.link-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted2);
}

.link-table tr:last-child td {
  border-bottom: none;
}

.link-table .short-link {
  font-family: 'Geist Mono', monospace;
  color: var(--xvx-accent);
  font-size: 0.8rem;
}

.link-table .click-count {
  font-family: 'Geist Mono', monospace;
  font-weight: 600;
  color: var(--text);
}

/* ---- QR CODE CARD ---- */
.qr-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  max-width: 200px;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

/* ---- SHORTEN BUTTON ---- */
.btn-xvx {
  background: var(--xvx-accent);
  color: #000;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.btn-xvx:hover {
  background: var(--xvx-accent2);
  transform: translateY(-1px);
}

/* ---- FILE UPLOAD ZONE ---- */
.upload-zone {
  border: 2px dashed var(--border2);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--xvx-accent);
  background: var(--xvx-badge-bg);
}

.upload-zone .upload-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.upload-zone p {
  font-size: 0.88rem;
  color: var(--muted);
}

.upload-zone .upload-limit {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}
