/* ========================================
   HRCA Design System - Deep Dark Edition (FIXED RESPONSIVE)
   ======================================== */
:root {
  --bg-primary: #020202;
  --bg-secondary: #0a0a0a;
  --bg-card: #121212;
  --bg-surface: #1c1c1c;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --accent: #8b00ff;
  --accent-dark: #5e00b3;
  --bonus: #ff00ff;
  --success: #41b341;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 3px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 25px rgba(139, 0, 255, 0.2);
  --transition: all 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* Typography */
h1, h2, h3, h4, h5, h6 { 
  font-family: 'Montserrat', sans-serif; 
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: 0.4px;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: 1.8rem; font-weight: 700; color: var(--accent); }
h3 { font-size: 1.3rem; font-weight: 600; }

/* Layout */
.hrca-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.hrca-page {
  background-image: url(../images/hero.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}
.hrca-page::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.95);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
}

/* Hero */
.hrca-hero {
  padding: 4rem 0 2.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(139, 0, 255, 0.25);
  background-color: rgba(139, 0, 255, 0.15);
}
.hrca-hero__subtitle { 
  font-size: 1.1rem; 
  max-width: 750px; 
  margin: 0 auto; 
  color: var(--text-muted);
}

/* -------------------------------------------------
   OFFERS – VERTICAL GRID (ADAPTIVE)
   ------------------------------------------------- */
.hrca-offers { 
    padding: 2.5rem 0; 
}
.hrca-offers__title { 
    text-align: center; 
    margin-bottom: 2rem; 
}

.hrca-offers__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;               
}
/* -------------------------------------------------
   VERTICAL CASINO CARD
   ------------------------------------------------- */
.hrca-casino {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(139, 0, 255, .2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.hrca-casino:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.hrca-casino__inner {
    padding: 1.2rem;
    display: grid;
    align-items: center;
    text-align: center;
    grid-template-columns: 200px 1fr 150px 1fr 1fr;
    gap: 10px;
}

.hrca-casino__logo {
   max-width: 100%;
}

.hrca-casino__rating {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: center;
}
.hrca-rating__score {
    background: var(--success);
    color: #fff;
    padding: .3rem .6rem;
    border-radius: 40px;
    font-weight: bold;
    font-size: .9rem;
}
.hrca-rating__bar {
    width: 80%;
    height: 5px;
    background: var(--bg-surface);
    border-radius: 2.5px;
    overflow: hidden;
}
.hrca-rating__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--success));
}
.hrca-rating__votes {
    font-size: .75rem;
    color: var(--text-muted);
}


.hrca-casino__info {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: .85rem;
}
.hrca-info__item strong { color: var(--accent); }


.hrca-casino__bonus {
    background: rgba(255,0,255,.2);
    border: 1px dashed var(--bonus);
    padding: .8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--bonus);
    width: 100%;
}


.hrca-btn--primary {
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    color: #fff;
    padding: .8rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: .4px;
    box-shadow: 0 3px 12px rgba(139,0,255,.35);
    transition: var(--transition);
    width: 100%;
}
.hrca-btn--primary:hover {
    filter: brightness(1.12);
    box-shadow: 0 6px 20px rgba(139,0,255,.5);
}

/* -------------------------------------------------
   RESPONSIVE – ЧИСТАЯ ЛОГИКА
   ------------------------------------------------- */


/* Остальные секции */
.hrca-criteria, .hrca-guide, .hrca-proscons, .hrca-summary { 
  padding: 3rem 0; 
}
.hrca-criteria__intro, .hrca-guide p, .hrca-proscons ul li, .hrca-summary p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.hrca-proscons__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .hrca-proscons__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hrca-casino__inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hrca-casino__logo{
    width: 200px;
  }
}

.hrca-proscons__col ul {
  list-style: none;
}
.hrca-proscons__col ul li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.hrca-proscons__col ul li::before {
  content: "➤";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Footer */
.hrca-footer {
  background: #000000;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(139, 0, 255, 0.15);
}
.hrca-footer__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .hrca-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.hrca-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 0.8rem;
}
.hrca-footer__badges img {
  height: 32px;
  transition: 0.3s;
}
.hrca-footer__badges img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}
.hrca-footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

  .hrca-content { padding: 3rem 0; }
  .hrca-content__title { margin: 2rem 0 1rem; color: var(--accent); }
  .hrca-content__text { margin-bottom: 1.5rem; }