* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;

  /* Фон для ПК
  background-image: url('media/bg-pc.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  backdrop-filter: blur(1px);
  background-color: #87ceeb;
}

h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #8B0000;
}

.section {
  margin-bottom: 40px;
}

h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #8B0000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.item {
  background: white;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Адаптив для телефонов */
@media (max-width: 600px) {
  body {
    /* Фон для телефона */
    background-image: url('media/bg-phone.jpg');
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .item {
    padding: 20px;
    font-size: 16px;
  }
  
  h1 {
    font-size: 26px;
    margin-bottom: 30px;
  }
}


/* Placeholder page */
.placeholder-page {
    margin: 0;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

.placeholder-container {
    text-align: center;
    padding: 20px;
    max-width: 420px;
    width: 100%;
}

.placeholder-container h1 {
    font-size: 34px;
    margin-bottom: 25px;
    color: #222;
}

.placeholder-image {
    width: 360px;
    display: block;
    margin: 0 auto 25px;
}

.placeholder-btn {
    display: inline-block;
    padding: 14px 30px;
    background: #ffc400;
    border-radius: 10px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    transition: .2s;
}

.placeholder-btn:hover {
    background: #ffdd55;
}
