*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: #000000;
  color: #f5a018;
  position: relative;
}

.fixed-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background: #000000;
}

.container {
  width: 100%;
  max-width: 720px;
  padding: 44px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.content-container {
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
}

.logo {
  width: 220px;
  height: auto;
}

.subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #f5a018;
  margin: 0 0 14px;
}

.captcha-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.captcha-img {
  width: 300px;
  height: 150px;
  object-fit: contain;
  margin: 8px 0 4px;
  filter: none;
}

.captcha-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.captcha-form input {
  width: 260px;
  height: 40px;
  border: 1px solid #f5a018;
  border-radius: 8px;
  background: #1b1b1b;
  color: #f5a018;
  font-size: 14px;
  text-align: center;
  outline: none;
}

.captcha-form input::placeholder {
  color: #707070;
}

.captcha-form button {
  height: 36px;
  padding: 0 18px;
  border: 1px solid #f5a018;
  border-radius: 8px;
  background: #0b0b0b;
  color: #f5a018;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(245, 160, 24, 0.1);
}

.captcha-form button:hover {
  background: rgba(245, 160, 24, 0.1);
}

.error {
  min-height: 18px;
  font-size: 12px;
  color: #f5a018;
}

.announce {
  position: relative;
  margin-top: 38px;
  width: min(600px, 94%);
  background: #1a1a1a;
  border-radius: 18px;
  padding: 18px 20px;
  color: #f5a018;
  box-shadow: 0 0 0 1px #242424 inset;
}

.announce::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -10px;
  width: 18px;
  height: 18px;
  background: #1a1a1a;
  transform: rotate(45deg);
  box-shadow: -1px -1px 0 0 #242424 inset;
}

.announce-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.name {
  font-weight: 600;
  color: #ffffff;
}

.role {
  font-size: 12px;
  color: #f5a018;
}

.announce-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #f5a018;
}

.content-section {
  position: relative;
  padding: 48px 0 80px;
  background: #ffffff;
  color: #000000;
}

.content-section h1,
.content-section h2,
.content-section h3 {
  margin: 0 0 16px;
  color: #000000;
}

.content-section h1 {
  font-size: 28px;
  line-height: 36px;
  font-weight: 600;
  margin-top: 16px;
}

.content-section h2 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  margin-top: 28px;
}

.content-section h3 {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
}

.content-section p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 26px;
  color: #4d4d4d;
}

.content-list {
  padding-left: 18px;
  margin: 0 0 18px;
  color: #4d4d4d;
}

.content-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 26px;
}

.size-table-wrapper {
  margin-top: 16px;
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  background: #ffffff;
}

.size-table td {
  border: 1px solid #e6e6e6;
  padding: 12px 14px;
  font-size: 15px;
  color: #1a1a1a;
  text-align: left;
}

.size-table tr:first-child td {
  font-weight: 600;
  background: #f7f7f7;
}

.site-footer {
  background: #0e0e0e;
  color: #ffffff;
  padding: 28px 0 36px;
}

.site-footer p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  text-align: center;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-lead {
  font-weight: 500;
}

.footer-title {
  font-weight: 600;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .container {
    max-width: 680px;
    padding: 40px 20px 56px;
    gap: 12px;
  }

  .logo {
    width: 210px;
  }

  .captcha-img {
    width: 280px;
    height: 140px;
  }

  .captcha-form input {
    width: 250px;
  }

  .content-section {
    padding: 40px 0 64px;
  }
}

@media (max-width: 768px) {
  .fixed-screen {
    padding: 40px 0;
  }

  .container {
    max-width: 600px;
    padding: 32px 18px 48px;
  }

  .logo {
    width: 190px;
  }

  .subtitle {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .captcha-img {
    width: 260px;
    height: 130px;
  }

  .captcha-form input {
    width: 240px;
    height: 38px;
  }

  .captcha-form button {
    height: 34px;
    font-size: 13px;
  }

  .announce {
    width: min(560px, 92%);
    padding: 16px 18px;
  }

  .content-section h1 {
    font-size: 24px;
    line-height: 32px;
  }

  .content-section h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .content-section h3 {
    font-size: 17px;
    line-height: 24px;
  }

  .size-table {
    min-width: 420px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 28px 16px 40px;
    gap: 10px;
  }

  .logo {
    width: 170px;
  }

  .subtitle {
    text-align: center;
  }

  .captcha-img {
    width: 240px;
    height: 120px;
  }

  .captcha-form input {
    width: 220px;
  }

  .announce {
    width: 92%;
    margin-top: 30px;
  }

  .announce::before {
    left: 22px;
  }

  .content-section {
    padding: 32px 0 56px;
  }

  .content-section p,
  .content-list li {
    font-size: 15px;
    line-height: 24px;
  }

  .size-table td {
    padding: 10px 12px;
    font-size: 14px;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 380px) {
  .logo {
    width: 150px;
  }

  .captcha-img {
    width: 210px;
    height: 110px;
  }

  .captcha-form input {
    width: 200px;
  }

  .captcha-form button {
    padding: 0 14px;
  }

  .announce {
    padding: 14px 16px;
  }

  .avatar {
    width: 46px;
    height: 46px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.session-id {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #f5a018;
  opacity: 0.45;
  letter-spacing: 0.2px;
  pointer-events: none;
}

/* SEO section styles moved from test.html */
.content-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  background-color: #0f0f0f;
  color: #e0e0e0;
}

.content-section h1 {
  color: #ff8800;
  text-align: center;
  margin: 50px 20px 30px;
  font-size: 2.8em;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 136, 0, 0.4);
}

.content-section h2 {
  color: #ffaa33;
  border-bottom: 3px solid #ff6600;
  padding-bottom: 12px;
  margin: 60px 0 30px;
  font-size: 2.1em;
  line-height: 1.2;
}

.content-section .highlight {
  color: #ff9900;
  font-weight: 700;
}

.content-section p.seo-text {
  margin: 25px 20px;
  font-size: 1.08em;
  line-height: 1.7;
  color: #e0e0e0;
}

.content-section ul {
  padding-left: 30px;
  margin: 25px 20px;
  list-style-type: square;
}

.content-section li {
  margin-bottom: 10px;
  color: #ddd;
  line-height: 1.7;
}

.content-section table {
  width: 100%;
  max-width: 1100px;
  border-collapse: collapse;
  margin: 60px auto;
  font-size: 1.05em;
  background: #1a1a1a;
  border: 1px solid #333;
}

.content-section th,
.content-section td {
  border: 1px solid #444;
  padding: 16px;
  text-align: left;
}

.content-section th {
  background-color: #222;
  color: #ffaa33;
  font-weight: 700;
}

.content-section tr:nth-child(even) {
  background-color: #222;
}

.content-section tr:hover {
  background-color: #2a2a2a;
}

.content-section caption {
  caption-side: top;
  font-size: 1.4em;
  font-weight: 700;
  color: #ff8800;
  margin-bottom: 15px;
  padding: 10px;
}

.site-footer {
  background: #000;
  color: #ff9900;
  text-align: center;
  padding: 30px 20px;
  margin-top: 80px;
  border-top: 4px solid #ff6600;
}

.site-footer p {
  margin: 0;
  color: #ff9900;
  text-align: center;
}

@media (max-width: 768px) {
  .content-section table,
  .content-section thead,
  .content-section tbody,
  .content-section th,
  .content-section td,
  .content-section tr {
    display: block;
  }

  .content-section thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .content-section tr {
    margin-bottom: 20px;
    border: 2px solid #444;
    border-radius: 8px;
  }

  .content-section td {
    border: none;
    border-bottom: 1px solid #333;
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  .content-section td::before {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    color: #ffaa33;
    font-weight: 700;
    content: attr(data-label);
  }

  .content-section h1 {
    font-size: 2.2em;
    margin: 40px 15px 25px;
  }

  .content-section h2 {
    font-size: 1.8em;
  }
}

/* SEO styles moved from test2.html */
.content-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.15);
  color: #e0e0e0;
}

.content-section h1 {
  margin: 0;
  font-size: 2.6em;
  color: #ff6600;
  text-align: center;
  line-height: 1.2;
}

.content-section h2 {
  color: #ff8800;
  border-bottom: 2px solid #ff6600;
  padding-bottom: 10px;
  margin-top: 50px;
  line-height: 1.2;
}

.content-section h3 {
  color: #ffa733;
}

.content-section .highlight {
  color: #ff8800;
  font-weight: 700;
}

.content-section p.seo-text {
  margin: 20px 0;
  line-height: 1.7;
  color: #e0e0e0;
}

.content-section ul,
.content-section ol {
  padding-left: 28px;
  margin: 20px 0;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 60px 0;
  font-size: 1.05em;
  background: #222;
}

.content-section caption {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3em;
  color: #ff8800;
}

.content-section th,
.content-section td {
  border: 1px solid #444;
  padding: 14px;
  text-align: left;
}

.content-section th {
  background-color: #2a2a2a;
  color: #ffaa44;
  font-weight: 700;
}

.content-section tr:nth-child(even) {
  background-color: #282828;
}

.site-footer {
  background-color: #000000;
  color: #ff8800;
  text-align: center;
  padding: 25px;
  margin-top: 60px;
  border-top: 3px solid #ff6600;
}

.site-footer a {
  color: #ffaa44;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .content-section h1 {
    font-size: 2.1em;
  }

  .content-section table {
    font-size: 0.95em;
  }

  .content-section table thead {
    display: none;
  }

  .content-section table tr {
    display: block;
    margin-bottom: 15px;
    border-bottom: 2px solid #444;
  }

  .content-section table td {
    display: block;
    text-align: right;
    padding-left: 55%;
    position: relative;
    border: none;
  }

  .content-section table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: 700;
    color: #ffaa44;
  }
}

/* SEO styles moved from test3.html */
.content-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.15);
  color: #e0e0e0;
}

.content-section h1 {
  margin: 0;
  font-size: 2.6em;
  color: #ff6600;
  text-align: center;
}

.content-section .highlight {
  color: #ff8800;
  font-weight: 700;
}

.content-section ul,
.content-section ol {
  padding-left: 28px;
  margin: 20px 0;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 60px 0;
  font-size: 1.05em;
  background: #222;
}

.content-section caption {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.3em;
  color: #ff8800;
}

.content-section th,
.content-section td {
  border: 1px solid #444;
  padding: 14px;
  text-align: left;
}

.content-section th {
  background-color: #2a2a2a;
  color: #ffaa44;
  font-weight: 700;
}

.content-section tr:nth-child(even) {
  background-color: #282828;
}

.site-footer {
  background-color: #000000;
  color: #ff8800;
  text-align: center;
  padding: 25px;
  margin-top: 60px;
  border-top: 3px solid #ff6600;
}

@media (max-width: 768px) {
  .content-section h1 {
    font-size: 2.1em;
  }

  .content-section table {
    font-size: 0.95em;
  }

  .content-section table thead {
    display: none;
  }

  .content-section table tr {
    display: block;
    margin-bottom: 15px;
    border-bottom: 2px solid #444;
  }

  .content-section table td {
    display: block;
    text-align: right;
    padding-left: 55%;
    position: relative;
    border: none;
  }

  .content-section table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: 700;
    color: #ffaa44;
  }
}
