/* ----------------------------------------------------
   EatNTrain VIP Tudástár - Web Stylesheet (Mobile-First)
   ---------------------------------------------------- */

:root {
  --color-gold: #d9a441;
  --color-gold-hover: #f1b953;
  --color-bg-dark: #10110f;
  --color-bg-card: #181917;
  --color-border: #2c2e2a;
  --color-text-white: #ffffff;
  --color-text-muted: #a3a5a1;
  
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

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

[hidden] {
  display: none !important;
}

body {
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------
   Lock Screen Styles
   ---------------------------------------------------- */
.lock-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.lock-box {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.brand-logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-text-white);
  margin-bottom: 20px;
}

.brand-logo span {
  color: var(--color-gold);
}

.lock-box h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.lock-lead {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 25px;
}

input[type="password"] {
  width: 100%;
  background-color: #0c0d0c;
  border: 1.5px solid var(--color-border);
  color: var(--color-text-white);
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 15px;
  margin-bottom: 15px;
  text-align: center;
  transition: border-color 0.3s ease;
  outline: none;
}

input[type="password"]:focus {
  border-color: var(--color-gold);
}

.btn {
  width: 100%;
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  border: none;
  padding: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
  background-color: var(--color-gold-hover);
}

.btn:active {
  transform: scale(0.98);
}

.error-msg {
  color: #ff5252;
  font-size: 12px;
  margin-top: 15px;
  display: none;
  font-weight: 600;
}

/* ----------------------------------------------------
   Main Web Content
   ---------------------------------------------------- */
.main-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

/* Header */
.web-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.vip-badge {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 3px 10px;
  border-radius: 3px;
  background-color: rgba(217, 164, 65, 0.08);
}

/* Intro Section */
.intro-section {
  margin-bottom: 40px;
}

.intro-section h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
  margin-bottom: 15px;
}

.lead-text {
  font-size: 17px;
  color: var(--color-gold);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 15px;
}

.intro-section p {
  color: var(--color-text-muted);
}

/* ----------------------------------------------------
   Chapter Cards (Main Content Blocks)
   ---------------------------------------------------- */
.chapter-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px 25px;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.chapter-header {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 15px;
  margin-bottom: 22px;
}

.chapter-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-gold);
  background-color: rgba(217, 164, 65, 0.08);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid rgba(217, 164, 65, 0.3);
}

.chapter-header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.chapter-body p {
  color: #dfdfdf;
  margin-bottom: 18px;
}

.quote-box {
  background-color: rgba(255,255,255,0.02);
  border-left: 3px solid var(--color-gold);
  padding: 15px;
  font-style: italic;
  margin-bottom: 25px;
  color: var(--color-text-white) !important;
}

/* ----------------------------------------------------
   Chapter 1: Macros Grid
   ---------------------------------------------------- */
.macro-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.macro-card {
  border-radius: 6px;
  padding: 20px;
  border: 1px solid var(--color-border);
  background-color: #121311;
  position: relative;
}

.macro-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.protein h3 { color: #d9a441; } /* gold */
.carb h3 { color: #4dabf7; }    /* blue */
.fat h3 { color: #51cf66; }     /* green */

.macro-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}

.macro-card p {
  font-size: 13px;
  color: #c7c9c5;
  margin-bottom: 12px;
  line-height: 1.5;
}

.macro-card strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--color-text-white);
}

.info-note {
  background-color: rgba(217, 164, 65, 0.03);
  border: 1px dashed rgba(217, 164, 65, 0.3);
  padding: 15px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #dfdfdf;
}

/* ----------------------------------------------------
   Chapter 2: Bullet Lists & Alerts
   ---------------------------------------------------- */
.bullet-list {
  list-style: none;
  margin-bottom: 22px;
}

.bullet-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #dfdfdf;
}

.bullet-list li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
  font-size: 18px;
  position: absolute;
  left: 5px;
  top: -2px;
}

.alert-box-gold {
  background-color: rgba(217, 164, 65, 0.08);
  border-left: 4px solid var(--color-gold);
  padding: 15px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
}

.alert-box-gold strong {
  color: var(--color-gold);
  display: block;
  margin-bottom: 5px;
}

/* ----------------------------------------------------
   Chapter 3: Recovery Pillars
   ---------------------------------------------------- */
.recovery-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pillar h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.pillar p {
  font-size: 13px;
  color: #c7c9c5;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------
   Chapter 4: Mindset Rules
   ---------------------------------------------------- */
.mindset-rules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.rule {
  background-color: #121311;
  border: 1px solid var(--color-border);
  padding: 20px;
  border-radius: 6px;
}

.rule strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-gold);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.rule p {
  font-size: 13px;
  color: #c7c9c5;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------
   Chapter 5: Safety Grid & Action Plan
   ---------------------------------------------------- */
.safety-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.safety-card {
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.safety-card.good {
  background-color: rgba(46, 125, 50, 0.03);
  border-color: rgba(46, 125, 50, 0.2);
}

.safety-card.good h5 {
  color: #81c784;
}

.safety-card.bad {
  background-color: rgba(198, 40, 40, 0.03);
  border-color: rgba(198, 40, 40, 0.2);
}

.safety-card.bad h5 {
  color: #e57373;
}

.safety-card h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.safety-card ul {
  list-style: none;
}

.safety-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #c7c9c5;
}

.safety-card.good ul li::before {
  content: "✓";
  color: #81c784;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.safety-card.bad ul li::before {
  content: "×";
  color: #e57373;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.action-plan {
  background-color: #121311;
  border: 1.5px solid var(--color-charcoal);
  padding: 20px;
  border-radius: 6px;
}

.action-plan strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.action-plan ol {
  padding-left: 20px;
}

.action-plan ol li {
  font-size: 13px;
  color: #c7c9c5;
  margin-bottom: 10px;
}

/* ----------------------------------------------------
   Footer
   ---------------------------------------------------- */
.web-footer {
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  margin-top: 50px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.footer-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  margin-top: 5px;
  text-transform: uppercase;
}

/* ----------------------------------------------------
   Media Queries for Tablet & Desktop
   ---------------------------------------------------- */
@media (min-width: 600px) {
  [hidden] {
  display: none !important;
}

body {
    font-size: 15px;
  }
  
  .intro-section h1 {
    font-size: 42px;
  }
  
  .chapter-header h2 {
    font-size: 26px;
  }
  
  .macro-grid {
    flex-direction: row;
  }
  
  .macro-card {
    flex: 1;
  }
  
  .mindset-rules {
    grid-template-columns: 1fr 1fr;
  }
  
  .safety-grid {
    flex-direction: row;
  }
  
  .safety-card {
    flex: 1;
  }
}
