    :root {
      --bg: #ffffff;
      --text: #1a1a1a;
      --accent: #000000;
      --gray: #f2f2f2;
    }
    * {
      margin: 0; padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }
    body {
      background-color: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }


.iframe-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

     .job-list {
         display: flex;
         flex-direction: column;
         gap: 1rem;
     }

    .job-toggle {
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        font-size: 1rem;
        font-weight: 500;
        padding: 0.5rem 0;
        cursor: pointer;
        border-bottom: 1px solid #ccc;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        transition: color 0.2s;
  	color: #000;
  	text-decoration: none;
    }

    .job-icon {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
        color: #333;
    }

    .job-toggle.open .job-icon {
        transform: rotate(180deg);
    }

    .job-details {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s ease;
        background: #f9f9f9;
        padding: 0 1rem;
        border-left: 3px solid #222;
        font-size: 0.95rem;
    }

    .job-details.open {
        padding: 0.5rem 1rem;
    }

    .job-details ul {
        margin: 0;
        padding-left: 1.2rem;
    }

    .job-details li {
        margin-bottom: 0.3rem;
    }

    .period {
        font-size: 0.9rem;
        color: #666;
        margin-left: 0.5rem;
    }

    section {
  border-radius: 16px;
}

input, textarea, button {
  border-radius: 12px;
}
	
#minecraft {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}
#minecraft h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
#minecraft p {
  margin-bottom: 0.75rem;
}

#minecraft-server {
  position: relative;
  background: url('images/mc-background.jpg') no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  padding: 0;
  min-height: 60vh;
  color: white;
}

.mc-banner img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.mc-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 300px);
  border-radius: 16px;
}

.mc-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  max-width: 700px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  text-align: center;
}

.mc-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.mc-card .subtitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ccc;
}

.mc-card ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.mc-card li {
  margin: 0.25rem 0;
  font-size: 1rem;
}

#server-status {
  font-weight: bold;
  font-size: 1.1rem;
}


.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav a {
  position: relative;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a:hover {
  color: #333;
}

/* Опционально: подсветка активной страницы */
.main-nav a.active {
  color: var(--accent);
  font-weight: 700;
}
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}


	#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--accent);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
#form-block h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-description {
  text-align: center;
  margin-bottom: 1rem;
  color: #555;
}

form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

form label span {
  font-weight: 600;
  color: #333;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  color: #777;
}

@media (max-width: 600px) {
  #form-block h2 {
    font-size: 1.25rem;
  }
}


	
	.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    }
    .services-list li {
    margin: 0.5rem 0;
    font-weight: 500;
    }

    section,
    input, textarea, button {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    }
    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 2rem 1rem;
    }
    header {
      text-align: center;
      padding: 2rem 0;
    }
    .avatar {
      width: 140px;
      height: 140px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 1rem;
    }
    h1 {
      font-size: 2rem;
      font-weight: 800;
    }
    .tagline {
      font-size: 1rem;
      color: #555;
      margin-top: 0.5rem;
    }
    .contacts {
      text-align: center;
      margin: 1.5rem 0;
    }
    .contacts a {
      margin: 0 0.5rem;
      color: var(--accent);
      text-decoration: none;
      font-weight: 600;
    }
    section {
      background: var(--gray);
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 2rem;
    }
    .table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-bottom: 1rem;
    }
    table {
      width: 100%;
      border-collapse: collapse;
      min-width: 600px;
    }
    th, td {
      padding: 0.5rem;
      text-align: left;
      border-bottom: 1px solid #ddd;
    }

    @media (max-width: 600px) {
      table, thead, tbody, th, td, tr {
        display: block;
      }
      thead tr {
        display: none; 
      }
      tr {
        margin-bottom: 1.5rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 1rem;
        background: #fff;
      }
      td {
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: left;
      }
      td:last-child {
        border-bottom: none;
      }
      td:nth-of-type(1)::before {
        content: "Компания";
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: #333;
        white-space: nowrap;
      }
      td:nth-of-type(2)::before {
        content: "Должность";
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: #333;
        white-space: nowrap;
      }
      td:nth-of-type(3)::before {
        content: "Период";
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: #333;
        white-space: nowrap;
      }
    }
    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    input, textarea, button {
      font-size: 1rem;
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    textarea {
      resize: none;
      height: 120px;
      max-length: 280;
    }
    input[name="phone"] {
      pattern="\+7\d{10}";
      title="Введите номер телефона в формате +7XXXXXXXXXX";
    }
    button.submit-btn {
      background-color: var(--accent);
      color: white;
      border: none;
      font-weight: 600;
      cursor: pointer;
      width: 200px;
      align-self: center;
      margin-top: 1rem;
    }
    button.submit-btn:hover {
      opacity: 0.9;
    }
    footer {
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.875rem;
      color: #777;
    }
	
	.no-wrap {
  white-space: nowrap;
}
