/* ===========================
   CHICKEN ROAD 2 — STYLE.CSS
   chickenroad2-de.it.com
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --gold:        #F5A623;
  --gold-light:  #FFD07A;
  --gold-dark:   #C47E0A;
  --orange:      #FF6B2B;
  --red:         #E63946;
  --bg:          #FFFDF7;
  --bg-alt:      #FFF8EC;
  --bg-card:     #FFFFFF;
  --text:        #1A1A2E;
  --text-muted:  #6B6B80;
  --border:      #F0E6D0;
  --shadow:      rgba(245, 166, 35, 0.18);
  --shadow-dark: rgba(30, 20, 0, 0.10);
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  0.28s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; }

/* ==================
   HEADER
   ================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,253,247,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 24px var(--shadow);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 14px var(--shadow);
}
.logo span { color: var(--gold-dark); }

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.45);
  filter: brightness(1.06);
}
.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--bg-alt);
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-danger {
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(230,57,70,0.28);
}
.btn-danger:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.btn-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}
.btn-xl {
  padding: 16px 40px;
  font-size: 1.15rem;
}

/* ==================
   HERO BANNER BLOCK
   ================== */
.hero-image-block {
  width: 100%;
  background: linear-gradient(180deg, #FFF3D6 0%, var(--bg) 100%);
  border-bottom: 2px solid var(--border);
  overflow: hidden;
}
.hero-image-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-image-placeholder {
  width: 100%;
  min-height: 340px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: block;
}
.hero-image-placeholder.empty {
  background: linear-gradient(135deg, #FFF3D6 0%, #FFE0A0 60%, #FFDAB0 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-image-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--gold-dark);
  opacity: 0.55;
}
.hero-image-hint .hint-icon { font-size: 3.5rem; }
.hero-image-hint p { font-size: 1rem; font-weight: 700; }

/* ==================
   SECTIONS SHARED
   ================== */
section { padding: 72px 24px; }
.container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.section-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--text);
}
.section-title .accent { color: var(--gold-dark); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

/* ==================
   STATS STRIP
   ================== */
.stats-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  padding: 28px 24px;
  box-shadow: 0 4px 24px var(--shadow);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  text-align: center;
  color: #fff;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  display: block;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.88;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.3);
}

/* ==================
   DEMO + INFO BLOCK
   ================== */
.demo-section {
  background: var(--bg-alt);
  padding: 72px 24px;
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

/* Demo Area */
.demo-area {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18), 0 2px 8px var(--shadow);
  border: 3px solid var(--border);
}
.demo-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
}
.demo-ratio > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.demo-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #000;
  z-index: 2;
}
.demo-overlay-icon { font-size: 4rem; opacity: 0.35; }
.demo-overlay-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  opacity: 0.7;
  margin-bottom: 8px;
}
.demo-overlay-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 32px;
}
.demo-overlay-btns .btn { width: 100%; justify-content: center; max-width: 320px; }
.demo-iframe {
  display: none;
  border: none;
  background: #000;
  z-index: 1;
}
.demo-iframe.active { display: block; }

/* Info Table Card */
.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: 0 4px 24px var(--shadow-dark);
  overflow: hidden;
}
.info-card-header {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  padding: 20px 24px;
}
.info-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.info-table tr:last-child { border-bottom: none; }
.info-table tr:hover { background: #FFFBF0; }
.info-table td {
  padding: 13px 20px;
  font-size: 0.93rem;
  vertical-align: middle;
}
.info-table td:first-child {
  color: var(--text-muted);
  font-weight: 700;
  width: 48%;
}
.info-table td:last-child {
  font-weight: 800;
  color: var(--text);
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
}
.badge-green { background: #D4EDDA; color: #155724; }
.badge-gold  { background: #FFF3CD; color: #856404; }
.badge-orange{ background: #FFE5D0; color: #8B3A00; }

/* ==================
   FEATURES BLOCK
   ================== */
.features-section {
  background: var(--bg);
  padding: 72px 24px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--gold-light);
}
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold-light) 0%, #FFE0A0 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==================
   CONTENT BLOCK
   ================== */
.content-section {
  background: var(--bg);
  padding: 72px 24px;
}
.content-body {
  max-width: 860px;
  margin: 0 auto;
}
.content-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin: 40px 0 16px;
  color: var(--text);
  line-height: 1.25;
}
.content-body h2:first-child { margin-top: 0; }
.content-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--gold-dark);
}
.content-body p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.78;
}
.content-body ul, .content-body ol {
  margin: 0 0 20px 20px;
}
.content-body li {
  font-size: 0.97rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.65;
}
.content-body ol li { list-style: decimal; }
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.93rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow-dark);
}
.content-body table thead tr {
  background: linear-gradient(90deg, var(--gold) 0%, var(--orange) 100%);
  color: #fff;
}
.content-body table th,
.content-body table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.content-body table tbody tr:hover { background: #FFFBF0; }
.content-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  margin: 24px 0;
  background: #FFFBF0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

/* ==================
   HOW TO PLAY STRIP
   ================== */
.howto-section {
  background: linear-gradient(135deg, #FFF9EC 0%, #FFF3D6 100%);
  padding: 72px 24px;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 48px;
  position: relative;
}
.step-item {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.step-item + .step-item::before {
  content: '→';
  position: absolute;
  left: -10px;
  top: 22px;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 900;
}
.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--shadow);
}
.step-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==================
   FAQ BLOCK
   ================== */
.faq-section {
  background: var(--bg-alt);
  padding: 72px 24px;
}
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 4px 20px var(--shadow);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  gap: 12px;
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--gold-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold-dark);
  transition: transform var(--transition), background var(--transition);
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ==================
   AUTHOR BLOCK
   ================== */
.author-section {
  background: var(--bg);
  padding: 72px 24px;
  border-top: 2px solid var(--border);
}
.author-card {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 4px 24px var(--shadow-dark);
}
.author-avatar {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px var(--shadow);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.author-info { flex: 1; }
.author-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
  display: block;
}
.author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}
.author-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ==================
   CTA BANNER
   ================== */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 60%, #FF4B2B 100%);
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '🐔';
  position: absolute;
  font-size: 14rem;
  opacity: 0.06;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-section .section-title { color: #fff; }
.cta-section .section-sub { color: rgba(255,255,255,0.82); margin-left: auto; margin-right: auto; }
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-white {
  background: #fff;
  color: var(--gold-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: #FFF8EC;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* ==================
   FOOTER
   ================== */
.site-footer {
  background: #1A1A2E;
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-inner { max-width: 820px; margin: 0 auto; }
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.footer-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
}
.footer-disclaimer {
  font-size: 0.87rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
}
.footer-contacts a {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.footer-contacts a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* ==================
   RESPONSIVE
   ================== */
@media (max-width: 1024px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
  .info-card { max-width: 100%; }
}

@media (max-width: 768px) {
  section { padding: 52px 16px; }
  .header-inner { padding: 0 16px; height: 64px; }
  .header-nav { gap: 7px; }
  .header-nav .btn-ghost { display: none; }
  .logo-icon { width: 38px; height: 38px; font-size: 1.35rem; }
  .logo { font-size: 1.15rem; gap: 8px; }
  .stats-inner { gap: 16px; }
  .stat-divider { display: none; }
  .stat-value { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .author-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 22px; }
  .steps-row { gap: 24px; }
  .step-item + .step-item::before { display: none; }
  .footer-contacts { gap: 18px; }
  .demo-overlay-btns { padding: 0 16px; }
  .hero-image-placeholder { min-height: 200px; }
  .btn-xl { padding: 13px 28px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .header-nav .btn:not(.btn-primary) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .step-item { min-width: 140px; }
}