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

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #f5f5f5;
  line-height: 1.6;
}

#site-blocker a {
  text-decoration: none;
  color: inherit;
}

#site-blocker header,
#site-blocker footer,
#site-blocker section {
  padding: 20px;
}

/* Header */
#site-blocker header {
  background: linear-gradient(135deg, #34495e, #2c3e50);
  color: #fff;
}

#site-blocker header .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

#site-blocker header .container img {
  margin-right: 10px;
  width: 70px;
}

#site-blocker header .logo {
  font-size: 1.8rem;
  font-weight: 700;
}

#site-blocker header .logo span {
  color: #bdc3c7;
}

#site-blocker header .logo-wrapper {
  display: flex;
  align-items: center;
}

/* Hero Section (moved immediately after header) */
#site-blocker .hero {
  background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
  color: #2c3e50;
  text-align: center;
  padding: 60px 20px;
}

#site-blocker .hero h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

#site-blocker .hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

#site-blocker header .install-btn {
  display: inline-block;
  background: coral;
  color: #fff;
  padding: 15px 25px;
  font-size: 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-weight: bold;
}

#site-blocker header .install-btn:hover {
  background: #e4531d;
}

/* Screenshots Section (Puzzle Layout) */
#site-blocker .screenshots {
  background: #ffffff;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}

#site-blocker .screenshots h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: orangered;
}

/* Контейнер пазлов с grid‑разметкой.
   Высота контейнера задаётся inline style="height: 900px;" */
#site-blocker .screenshots-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-rows: repeat(3, 300px); */
  grid-template-areas:
    'img1 img1 img2'
    'img1 img1 img3'
    'img4 img5 img5';
  gap: 0;
  height: 500px;
  width: 80%;
  margin: 0 auto;
}

#site-blocker .screenshots-container img {
  padding: 10px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Назначение областей для изображений */
#site-blocker .screenshot1 {
  grid-area: img1;
}

#site-blocker .screenshot2 {
  grid-area: img2;
}

#site-blocker .screenshot3 {
  grid-area: img3;
}

#site-blocker .screenshot4 {
  grid-area: img4;
}

#site-blocker .screenshot5 {
  grid-area: img5;
}

#site-blocker .screenshots-container img:hover {
  transform: scale(1.05);
}

/* Делаем два последних скриншота высотой 400px */
#site-blocker .screenshot4,
#site-blocker .screenshot5 {
  height: 400px !important;
}

#site-blocker .social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

#site-blocker .social-icons li {
  margin: 0 10px;
}

#site-blocker .social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #cccccc33;
  /* серый цвет кружка */
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  transition: background-color 0.3s;
}

/* #site-blocker .social-icons a:hover {
  background-color: #bbb;
} */

#site-blocker .social-icons svg {
  fill: orangered;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

#site-blocker .social-icons svg.reddit {
  width: 27px;
  height: 27px;
}

/* Description Section */
#site-blocker .description {
  background: #ffffff;
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  border-radius: 5px;
  text-align: center;
}

#site-blocker .description h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

#site-blocker .description p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Reviews Section */
#site-blocker .reviews {
  background: #ffffff;
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  border-radius: 5px;
}

#site-blocker .reviews h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #2c3e50;
}

#site-blocker .review-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#site-blocker .review-item {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 10px;
  padding: 20px;
  flex: 1 1 300px;
  max-width: 350px;
}

#site-blocker .review-item .stars {
  color: #f1c40f;
  margin-bottom: 10px;
}

#site-blocker .review-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

#site-blocker .review-author {
  margin-top: 10px;
  font-style: italic;
  text-align: right;
  font-size: 0.9rem;
  color: #666;
}

/* FAQ Section */
#site-blocker .faq {
  background: #f7f7f7;
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  border-radius: 5px;
}

#site-blocker .faq h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #2c3e50;
}

#site-blocker .faq-item {
  margin-bottom: 20px;
}

#site-blocker .faq-question {
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 5px;
}

#site-blocker .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#site-blocker .faq-item.active .faq-answer {
  max-height: 200px;
}

/* How to Use Section */
#site-blocker .how-to-use {
  background: #ffffff;
  max-width: 1200px;
  margin: 30px auto;
  padding: 40px 20px;
  border-radius: 5px;
  text-align: center;
}

#site-blocker .how-to-use h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

#site-blocker .how-to-use-video {
  margin: 0 auto;
  max-width: 560px;
}

#site-blocker .how-to-use-video iframe {
  width: 100%;
  height: 315px;
  border: none;
  border-radius: 5px;
}

/* Footer */
#site-blocker footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
}

#site-blocker footer p {
  font-size: 0.9rem;
  padding: 10px;
}

/* Адаптивное поведение (пример) */
@media (max-width: 768px) {
  #site-blocker .screenshots-container {
    grid-template-rows: repeat(3, 200px);
  }
}
