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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f8;
  color: #222;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: clamp(24px, 5vw, 40px);
}

p {
  font-size: clamp(14px, 2.5vw, 18px);
  color: #555;
  max-width: 600px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: 100%;
}

form input,
form button {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

form input {
  flex: 1 1 200px;
}

form button {
  background: #0a6acd;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: #084f9e;
}

#intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.list {
  width: 100%;
  max-width: 900px;
  text-align: left;
  margin-top: 30px;
}

.list h2 {
  margin-bottom: 12px;
  font-size: 18px;
  text-align: center;
}

.list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  transition: background 0.2s, transform 0.2s;
  border-radius: 6px;
}

.list li:hover {
  background: #f0f0f5;
  transform: translateX(5px);
}

.list .name {
  text-align: left;
}

.list .country {
  text-align: center;
}

.list .datetime {
  text-align: right;
  font-size: 12px;
  color: #888;
}

.lang-select {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.lang-select a {
  font-size: 32px;
  text-decoration: none;
  cursor: pointer;
}

.lang-select a:hover {
  transform: scale(1.2);
  transition: transform 0.2s;
}

.inline-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.inline-form input,
.inline-form select {
  flex: 1 1 180px;
}

.inline-form select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #222;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.inline-form input[name="captcha"] {
  flex: 0 0 80px;
}

.inline-form button {
  flex: 0 0 auto;
  background: #0a6acd;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.inline-form button:hover {
  background: #084f9e;
}

.counter {
  background: #f7f7f8;
  color: #222;
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-family: Arial, Helvetica, sans-serif;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter #counter-number {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.counter p {
  font-size: clamp(14px, 2.5vw, 18px);
  margin: 0;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination a,
.pagination strong {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  background: #0a6acd;
  color: #fff;
}

.pagination a:hover {
  background: #084f9e;
}

.pagination strong {
  background: #084f9e;
  cursor: default;
}

.privacy-note {
  display: block;
  font-size: 0.8em;
  color: #555;
  margin-top: 6px;
  text-align: center;
  max-width: 100%;
  white-space: normal;
}

.quick-note {
  display: block;
  font-size: 0.8em;
  color: #555;
  margin-top: 6px;
  text-align: center;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 600px) {
  .inline-form {
    flex-direction: column;
    gap: 8px;
    flex-wrap: wrap;
  }

  .inline-form input,
  .inline-form select,
  .inline-form button {
    width: 100%;
    flex: unset;
    padding: 8px 10px;
  }

  .inline-form input[name="captcha"] {
    width: 100%;
    flex: unset;
  }
  
  .list li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .list .country, .list .datetime {
    text-align: left;
    font-size: 13px;
  }
  
  .lang-select {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .lang-select a {
    flex: 0 0 auto;
    font-size: 28px;
  }
}