﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Nutrition Export Card
   Hidden component for html2canvas capture
   1080x1920 â€” Instagram Story 9:16
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

#ne-card {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1080px;
  height: 1920px;
  background: #0a0a0a;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* Noise texture overlay */
#ne-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

#ne-card * { position: relative; z-index: 1; }

/* â”€â”€ TOP ACCENT BAR â”€â”€ */
.ne-top-bar {
  width: 100%;
  height: 6px;
  background: var(--acc);
  flex-shrink: 0;
}

/* â”€â”€ HEADER â”€â”€ */
.ne-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 60px 30px;
  flex-shrink: 0;
}
.ne-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ne-logo-bolt {
  font-size: 32px;
  line-height: 1;
}
.ne-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ne-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: var(--acc);
  letter-spacing: 3px;
  line-height: 1;
}
.ne-logo-sub {
  font-size: 13px;
  color: #444;
  letter-spacing: 3px;
  font-weight: 500;
}
.ne-header-right {
  text-align: right;
}
.ne-date {
  font-size: 13px;
  color: #444;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}
.ne-plan-label {
  font-size: 11px;
  color: #2a2a2a;
  letter-spacing: 3px;
  margin-top: 3px;
}

/* â”€â”€ TITLE SECTION â”€â”€ */
.ne-title-section {
  padding: 20px 60px 30px;
  flex-shrink: 0;
  border-bottom: 1px solid #161616;
}
.ne-meal-type {
  font-size: 11px;
  color: var(--acc);
  letter-spacing: 5px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.ne-meal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 120px;
  line-height: 0.88;
  color: #ffffff;
  letter-spacing: -2px;
  text-transform: uppercase;
  word-break: break-word;
}

/* â”€â”€ ATHLETE STRIP â”€â”€ */
.ne-athlete-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  background: #0f0f0f;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  flex-shrink: 0;
}
.ne-athlete-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ne-athlete-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acc);
}
.ne-athlete-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ne-goal-tag {
  padding: 6px 14px;
  border: 1px solid #222;
  border-radius: 4px;
  font-size: 11px;
  color: #555;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

/* â”€â”€ KCAL HERO â”€â”€ */
.ne-kcal-section {
  padding: 50px 60px 40px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ne-kcal-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 140px;
  color: var(--acc);
  line-height: 1;
  letter-spacing: -4px;
}
.ne-kcal-label {
  font-size: 13px;
  color: #444;
  letter-spacing: 5px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 6px;
}

/* â”€â”€ MACRO CARDS â”€â”€ */
.ne-macros {
  display: flex;
  gap: 16px;
  padding: 0 60px 40px;
  flex-shrink: 0;
}
.ne-macro-card {
  flex: 1;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  padding: 20px 16px;
  background: #0d0d0d;
}
.ne-macro-bar-track {
  height: 2px;
  background: #1a1a1a;
  margin-bottom: 14px;
  border-radius: 1px;
  overflow: hidden;
}
.ne-macro-bar-fill {
  height: 100%;
  border-radius: 1px;
}
.ne-macro-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1px;
}
.ne-macro-unit {
  font-size: 16px;
  font-weight: 500;
  color: #444;
  letter-spacing: 0;
}
.ne-macro-label {
  font-size: 10px;
  color: #444;
  letter-spacing: 3px;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
}

/* â”€â”€ DIVIDER â”€â”€ */
.ne-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 60px 20px;
  flex-shrink: 0;
}
.ne-section-label {
  font-size: 11px;
  color: #333;
  letter-spacing: 5px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}
.ne-section-line {
  flex: 1;
  height: 1px;
  background: #1a1a1a;
}

/* â”€â”€ FOOD LIST â”€â”€ */
.ne-foods {
  flex: 1;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
.ne-food-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #111;
}
.ne-food-item:last-child {
  border-bottom: none;
}
.ne-food-grams {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: var(--acc);
  width: 88px;
  text-align: right;
  flex-shrink: 0;
  line-height: 1;
}
.ne-food-unit {
  font-size: 14px;
  color: #333;
  margin-left: 2px;
}
.ne-food-separator {
  width: 1px;
  height: 32px;
  background: #1f1f1f;
  flex-shrink: 0;
}
.ne-food-name {
  flex: 1;
  font-size: 24px;
  font-weight: 600;
  color: #e6e5e3;
  line-height: 1.2;
}
.ne-food-kcal {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #2a2a2a;
  text-align: right;
  flex-shrink: 0;
}
.ne-food-kcal-unit {
  font-size: 13px;
  color: #222;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

/* â”€â”€ QUOTE & FOOTER â”€â”€ */
.ne-bottom {
  padding: 40px 60px;
  flex-shrink: 0;
  border-top: 1px solid #141414;
}
.ne-quote {
  font-size: 20px;
  color: #2a2a2a;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-bottom: 30px;
}
.ne-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ne-footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--acc);
  letter-spacing: 3px;
}
.ne-footer-sub {
  font-size: 11px;
  color: #2a2a2a;
  letter-spacing: 2px;
  font-weight: 500;
}
.ne-bottom-bar {
  width: 100%;
  height: 6px;
  background: var(--acc);
  flex-shrink: 0;
  margin-top: auto;
}

