/* Betclic IT site-1 | Prefix: bc1- | Font: Lato | Layout: flex split, rounded buttons */
/* Palette: primary #E30613, dark #1A1A1A, white #FFFFFF, accent #FFC107, bg #F5F5F5 */
/* Breakpoints: 320, 768, 1024, 1440 */

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

:root {
  --bc1-red: #E30613;
  --bc1-dark: #1A1A1A;
  --bc1-white: #FFFFFF;
  --bc1-accent: #FFC107;
  --bc1-bg: #F5F5F5;
  --bc1-card-bg: #FFFFFF;
  --bc1-border: #E0E0E0;
  --bc1-radius: 8px;
  --bc1-radius-btn: 25px;
  --bc1-shadow: 0 4px 16px rgba(0,0,0,0.10);
  --bc1-transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--bc1-bg);
  color: var(--bc1-dark);
  font-size: 16px;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

/* Container */
.bc1-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.bc1-btn {
  display: inline-block;
  background: var(--bc1-red);
  color: var(--bc1-white);
  padding: 12px 28px;
  border-radius: var(--bc1-radius-btn);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background var(--bc1-transition), transform var(--bc1-transition), box-shadow var(--bc1-transition);
  cursor: pointer;
  border: none;
}
.bc1-btn:hover { background: #C50010; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(227,6,19,0.35); }
.bc1-btn--lg { padding: 14px 36px; font-size: 16px; }
.bc1-btn--sm { padding: 8px 18px; font-size: 13px; }

/* Promo bar */
.bc1-promobar {
  background: var(--bc1-red);
  color: var(--bc1-white);
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.bc1-promobar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.bc1-promobar span { font-weight: 700; font-size: 14px; }
.bc1-promobar__close {
  background: none;
  border: none;
  color: var(--bc1-white);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  margin-left: auto;
}

/* Header */
.bc1-header {
  background: var(--bc1-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.bc1-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}
.bc1-logo img { height: 36px; width: auto; }
.bc1-nav ul { display: flex; gap: 20px; list-style: none; }
.bc1-nav a { color: var(--bc1-white); text-decoration: none; font-weight: 700; font-size: 14px; transition: color var(--bc1-transition); white-space: nowrap; }
.bc1-nav a:hover { color: var(--bc1-red); }
.bc1-header__actions { display: flex; align-items: center; gap: 12px; }
.bc1-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.bc1-burger span { width: 26px; height: 3px; background: var(--bc1-white); border-radius: 2px; transition: all 0.3s; display: block; }

/* TOC */
.bc1-toc {
  background: var(--bc1-white);
  border-bottom: 2px solid var(--bc1-red);
  padding: 10px 0;
  overflow-x: auto;
}
.bc1-toc__list {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.bc1-toc__list a {
  color: var(--bc1-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  transition: background var(--bc1-transition), color var(--bc1-transition);
}
.bc1-toc__list a:hover { background: var(--bc1-red); color: var(--bc1-white); }

/* Section base */
section { padding: 64px 0; }
section:nth-child(even) { background: var(--bc1-white); }

h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; line-height: 1.2; margin-bottom: 20px; color: var(--bc1-dark); }
h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 900; line-height: 1.3; margin-bottom: 18px; color: var(--bc1-dark); }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; margin-bottom: 14px; color: var(--bc1-dark); }
p { margin-bottom: 14px; }

/* HERO – flex split */
.bc1-hero { background: var(--bc1-dark); color: var(--bc1-white); padding: 72px 0; }
.bc1-hero h1 { color: var(--bc1-white); }
.bc1-hero h1 span { color: var(--bc1-red); }
.bc1-hero__grid {
  display: flex;
  align-items: center;
  gap: 48px;
}
.bc1-hero__text { flex: 1 1 50%; }
.bc1-hero__text p { color: rgba(255,255,255,0.88); margin-bottom: 28px; font-size: 17px; }
.bc1-hero__image { flex: 1 1 45%; }
.bc1-hero__image img { border-radius: var(--bc1-radius); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

/* Split sections */
.bc1-split { padding: 64px 0; }
.bc1-split__wrap {
  display: flex;
  align-items: center;
  gap: 48px;
}
.bc1-split--reverse { flex-direction: row-reverse; }
.bc1-split__image { flex: 1 1 45%; }
.bc1-split__image img { border-radius: var(--bc1-radius); box-shadow: var(--bc1-shadow); }
.bc1-split__body { flex: 1 1 50%; }

/* Sport icons */
.bc1-sport-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.bc1-sport-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(227,6,19,0.15);
  border: 1px solid rgba(227,6,19,0.3);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 80px;
  transition: border-color 0.2s;
}
.bc1-sport-icon:hover { border-color: #E30613; }

/* Guide / steps */
.bc1-guide { background: var(--bc1-bg); }
.bc1-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.bc1-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bc1-white);
  border-radius: var(--bc1-radius);
  padding: 20px 24px;
  box-shadow: var(--bc1-shadow);
}
.bc1-step__num {
  min-width: 40px;
  height: 40px;
  background: var(--bc1-red);
  color: var(--bc1-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.bc1-step__body strong { display: block; font-size: 16px; margin-bottom: 6px; }
.bc1-step__body p { margin: 0; color: #555; font-size: 15px; }

/* Category grid */
.bc1-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.bc1-cat-card {
  border-radius: var(--bc1-radius);
  overflow: hidden;
  box-shadow: var(--bc1-shadow);
  position: relative;
  transition: transform var(--bc1-transition);
}
.bc1-cat-card:hover { transform: translateY(-4px); }
.bc1-cat-card img { width: 100%; object-fit: cover; }
.bc1-cat-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(227,6,19,0.90);
  color: var(--bc1-white);
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 15px;
}

/* Subsections */
.bc1-subsection { margin-top: 52px; }

/* Slot grid */
.bc1-slot-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.bc1-slot-card {
  border-radius: 6px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-align: center;
  background: var(--bc1-dark);
  transition: transform var(--bc1-transition);
}
.bc1-slot-card:hover { transform: scale(1.04); }
.bc1-slot-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.bc1-slot-card span { display: block; font-size: 11px; padding: 6px 4px; color: var(--bc1-white); font-weight: 700; background: rgba(0,0,0,0.6); }

/* Live / table grid */
.bc1-live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.bc1-live-card {
  border-radius: var(--bc1-radius);
  overflow: hidden;
  box-shadow: var(--bc1-shadow);
  text-align: center;
  background: var(--bc1-dark);
  transition: transform var(--bc1-transition);
}
.bc1-live-card:hover { transform: translateY(-3px); }
.bc1-live-card img { width: 100%; }
.bc1-live-card span { display: block; color: var(--bc1-white); font-size: 13px; font-weight: 700; padding: 8px; background: rgba(227,6,19,0.85); }

/* Registration */
.bc1-registration { background: var(--bc1-dark); color: var(--bc1-white); }
.bc1-registration h2 { color: var(--bc1-white); }
.bc1-registration p { color: rgba(255,255,255,0.85); }
.bc1-registration__wrap {
  display: flex;
  gap: 48px;
  align-items: center;
}
.bc1-registration__body { flex: 1 1 50%; }
.bc1-registration__body p { margin-bottom: 16px; }
.bc1-registration__image { flex: 1 1 45%; }
.bc1-registration__image img { border-radius: var(--bc1-radius); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }

/* Payments */
.bc1-payments { background: var(--bc1-bg); }
.bc1-payment-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  background: var(--bc1-white);
  border-radius: var(--bc1-radius);
  box-shadow: var(--bc1-shadow);
}
.bc1-payment-icons img { height: 36px; max-width: 80px; width: auto; object-fit: contain; }
.bc1-payment-section { margin-top: 36px; }

/* Table */
.bc1-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  border-radius: var(--bc1-radius);
  overflow: hidden;
  box-shadow: var(--bc1-shadow);
}
.bc1-table th {
  background: var(--bc1-red);
  color: var(--bc1-white);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}
.bc1-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--bc1-border);
  font-size: 14px;
}
.bc1-table tr:last-child td { border-bottom: none; }
.bc1-table tbody tr:nth-child(even) { background: #FAFAFA; }
.bc1-table tbody tr:hover { background: #FFF3F3; }

/* How to play */
.bc1-howto { background: var(--bc1-white); }

/* Bonuses */
.bc1-bonuses { background: var(--bc1-bg); }
.bc1-bonus-section { margin-top: 44px; }
.bc1-bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.bc1-bonus-grid--single { grid-template-columns: repeat(1, 1fr); max-width: 380px; }
.bc1-bonus-card {
  background: var(--bc1-white);
  border-radius: var(--bc1-radius);
  overflow: hidden;
  box-shadow: var(--bc1-shadow);
  transition: transform var(--bc1-transition);
}
.bc1-bonus-card:hover { transform: translateY(-4px); }
.bc1-bonus-card img { width: 100%; object-fit: cover; }
.bc1-bonus-card__body { padding: 16px; }
.bc1-bonus-card__body strong { display: block; font-size: 16px; margin-bottom: 8px; color: var(--bc1-red); }
.bc1-bonus-card__body p { margin: 0; font-size: 14px; color: #555; }

/* Tips */
.bc1-tips { background: var(--bc1-white); }

/* App */
section.bc1-app { background: #E30613 !important; color: #FFFFFF; text-align: center; padding: 64px 20px; margin: 48px auto; border-radius: 16px; max-width: 1200px; }
.bc1-app h2 { color: #FFFFFF; font-size: 1.8rem; margin-bottom: 16px; }
.bc1-app p { color: rgba(255,255,255,0.9); max-width: 760px; margin: 0 auto 28px; font-size: 1rem; line-height: 1.7; }
.bc1-app .bc1-btn { display: inline-block; background: #FFFFFF; color: #E30613; padding: 14px 32px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.bc1-app .bc1-btn:hover { background: #F0F0F0; color: #E30613; }

/* FAQ */
.bc1-faq { background: var(--bc1-bg); }
.bc1-faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.bc1-faq-item {
  background: var(--bc1-white);
  border-radius: var(--bc1-radius);
  box-shadow: var(--bc1-shadow);
  overflow: hidden;
}
.bc1-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--bc1-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--bc1-transition);
}
.bc1-faq-question::after { content: "+"; font-size: 22px; color: var(--bc1-red); transition: transform 0.3s; }
.bc1-faq-question[aria-expanded="true"] { background: var(--bc1-red); color: var(--bc1-white); }
.bc1-faq-question[aria-expanded="true"]::after { content: "−"; color: var(--bc1-white); }
.bc1-faq-answer { padding: 16px 24px 20px; }
.bc1-faq-answer p { margin: 0; font-size: 15px; color: #444; }

/* Author */
.bc1-author { background: var(--bc1-white); padding: 48px 0; border-top: 3px solid var(--bc1-red); }
.bc1-author__wrap { display: flex; gap: 24px; align-items: flex-start; }
.bc1-author__avatar { border-radius: 50%; width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; border: 3px solid var(--bc1-red); }
.bc1-author__info strong { display: block; font-size: 18px; font-weight: 900; }
.bc1-author__info span { display: block; font-size: 13px; color: var(--bc1-red); font-weight: 700; margin-bottom: 10px; }
.bc1-author__info p { font-size: 14px; color: #555; margin: 0; }

/* Footer */
.bc1-footer { background: var(--bc1-dark); color: rgba(255,255,255,0.75); padding: 48px 0 100px; }
.bc1-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.bc1-footer__nav { display: flex; gap: 16px; flex-wrap: wrap; }
.bc1-footer__nav a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px; transition: color var(--bc1-transition); }
.bc1-footer__nav a:hover { color: var(--bc1-white); }
.bc1-footer__license { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 12px; line-height: 1.6; }
.bc1-footer__18 { display: inline-block; background: var(--bc1-red); color: var(--bc1-white); font-weight: 900; font-size: 13px; padding: 2px 8px; border-radius: 4px; margin-top: 8px; }
.bc1-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 20px; padding-top: 16px; font-size: 12px; }

/* ===== BREAKPOINTS ===== */

/* 1440px */
@media (min-width: 1440px) {
  .bc1-container { max-width: 1360px; }
}

/* 1024px */
@media (max-width: 1024px) {
  .bc1-slot-grid { grid-template-columns: repeat(4, 1fr); }
  .bc1-live-grid { grid-template-columns: repeat(2, 1fr); }
  .bc1-bonus-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 768px */
@media (max-width: 768px) {
  .bc1-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bc1-dark); padding: 20px; }
  .bc1-nav.bc1-nav--open { display: block; }
  .bc1-nav ul { flex-direction: column; gap: 12px; }
  .bc1-burger { display: flex; }
  .bc1-header__inner { position: relative; }

  .bc1-hero__grid { flex-direction: column; gap: 28px; }
  .bc1-hero { padding: 48px 0; }
  .bc1-split__wrap { flex-direction: column !important; gap: 28px; }
  .bc1-registration__wrap { flex-direction: column; gap: 28px; }

  .bc1-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .bc1-slot-grid { grid-template-columns: repeat(3, 1fr); }
  .bc1-live-grid { grid-template-columns: repeat(2, 1fr); }
  .bc1-bonus-grid { grid-template-columns: 1fr; }

  .bc1-footer__top { flex-direction: column; align-items: flex-start; }
  section { padding: 44px 0; }
}

/* 320px */
@media (max-width: 480px) {
  .bc1-cat-grid { grid-template-columns: 1fr; }
  .bc1-slot-grid { grid-template-columns: repeat(2, 1fr); }
  .bc1-live-grid { grid-template-columns: 1fr; }
  .bc1-toc__list { gap: 4px; }
  .bc1-promobar__inner { flex-direction: column; gap: 8px; }
  .bc1-step { flex-direction: column; gap: 12px; }
  .bc1-author__wrap { flex-direction: column; }
}
