@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:wght@400;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --paper: #efe4cf;
  --paper-deep: #dcc9a2;
  --ink: #1b1a17;
  --vinyl: #121212;
  --label-red: #9f2f2f;
  --gold: #ad7f2c;
  --mint: #7aa394;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background-color: #000;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(173, 127, 44, 0.16), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(122, 163, 148, 0.16), transparent 38%);
}

.cont {
  position: relative;
  z-index: 1;
  visibility: visible;
  height: auto;
  line-height: 1.35;
  margin: 1rem auto 0;
  width: min(1160px, calc(100% - 2rem));
  border: 1px solid rgba(27, 26, 23, 0.25);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.9), rgba(159, 47, 47, 0.88));
  color: #f7f1e6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Bebas Neue", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  text-align: center;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 24px var(--shadow);
  animation: slideDown 0.75s ease-out;
}

.main {
  position: relative;
  z-index: 1;
  height: auto;
  font-size: 16px;
  width: min(1160px, calc(100% - 2rem));
  margin: 1.2rem auto;
  border: 3px solid #2d2a24;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 15, 8, 0.35);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 56%),
    linear-gradient(130deg, rgba(13, 13, 13, 0.95), rgba(65, 38, 25, 0.93) 48%, rgba(16, 31, 28, 0.93));
}

.intro {
  position: relative;
  inset: auto;
  margin: 0;
  max-width: none;
  max-height: none;
  height: auto;
  min-height: 0;
  padding: clamp(1.2rem, 4vw, 2.6rem);
  background:
    linear-gradient(0deg, rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
    repeating-radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
  backdrop-filter: blur(1.4px);
}

.ctr {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img,
.welcome img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.34));
}

.language-focus {
  width: min(760px, 100%);
  margin: 0.6rem auto 0;
  padding: 0.55rem 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff3d2;
  font-family: "Bebas Neue", "Franklin Gothic Medium", sans-serif;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  border-top: 2px solid rgba(255, 229, 170, 0.62);
  border-bottom: 2px solid rgba(255, 229, 170, 0.62);
  background: linear-gradient(90deg, rgba(159, 47, 47, 0.4), rgba(18, 18, 18, 0.35), rgba(159, 47, 47, 0.4));
}

.low {
  margin-top: clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr minmax(140px, 210px) 1fr;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 1.5rem);
}

.low > div {
  display: block;
  vertical-align: initial;
}

.style {
  padding: 1rem 0.8rem;
  border: 1px solid rgba(239, 228, 207, 0.55);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.55));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  animation: riseIn 0.9s ease-out;
}

.lang-card {
  padding: 1.05rem 0.9rem 1.2rem;
  border: 1px solid rgba(239, 228, 207, 0.72);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.87), rgba(42, 24, 16, 0.7));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  animation: riseIn 0.9s ease-out;
}

.lang-title {
  margin: 0;
  color: #ffe7b3;
  font-family: "Bebas Neue", "Franklin Gothic Medium", sans-serif;
  letter-spacing: 0.13em;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  text-transform: uppercase;
}

.lang-link {
  margin: 0.7rem 0 0;
}

.lang-link a {
  display: inline-block;
  min-width: 280px;
  padding: 0.95rem 1.5rem;
  border: 1px solid rgba(255, 229, 170, 0.45);
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  font-size: clamp(1.26rem, 2.4vw, 1.52rem);
  font-weight: 700;
  color: #fff6df;
  background: linear-gradient(90deg, rgba(159, 47, 47, 0.66), rgba(124, 82, 26, 0.54));
  transition: transform 140ms ease, box-shadow 220ms ease, background 220ms ease;
}

.lang-link a:hover,
.lang-link a:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32);
  background: linear-gradient(90deg, rgba(187, 56, 56, 0.82), rgba(162, 108, 34, 0.7));
}

.style img.style {
  max-width: min(240px, 88%);
  height: auto;
  margin-bottom: 0.4rem;
}

.style p {
  margin: 0.25rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.style a {
  color: #f6ead2;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 220ms ease, border-color 220ms ease;
}

.style a:hover,
.style a:focus {
  color: #ffd281;
  border-bottom-color: #ffd281;
}

.flag {
  width: 44px;
  height: auto;
  margin: 0.45rem auto 0.1rem;
}

.disk {
  width: min(240px, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(239, 228, 207, 0.22), rgba(18, 18, 18, 0.28));
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.38);
}

.disk img {
  display: block;
  width: min(220px, 100%);
  height: auto;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

.seo-context {
  width: min(1160px, calc(100% - 2rem));
  margin: 0.5rem auto 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(239, 228, 207, 0.2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.42), rgba(10, 10, 10, 0.24));
  color: rgba(250, 242, 224, 0.78);
}

.seo-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.seo-block h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: rgba(255, 234, 182, 0.88);
}

.seo-block p {
  margin: 0 0 0.5rem;
  font-size: clamp(0.82rem, 1.2vw, 0.93rem);
  line-height: 1.55;
}

.seo-block a {
  color: #f4ca78;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-block a:hover,
.seo-block a:focus {
  color: #ffe2a4;
}

.seo-cta {
  margin-top: 0.65rem;
  color: rgba(255, 238, 195, 0.9);
  font-weight: 700;
}

.footer {
  position: relative;
  bottom: auto;
  opacity: 1;
  height: auto;
  line-height: 1.4;
  font-size: 1rem;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: rgba(18, 18, 18, 0.84);
  color: #f2e9d8;
  text-align: center;
  letter-spacing: 0.04em;
  border: 1px solid rgba(239, 228, 207, 0.25);
}

.footer a {
  color: #ffe09b !important;
  transition: color 180ms ease;
}

.footer a:hover {
  color: #fff6d9 !important;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .low {
    grid-template-columns: 1fr;
  }

  .disk {
    order: -1;
    width: min(180px, 55vw);
  }

  .intro {
    min-height: auto;
  }

  .seo-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .cont {
    letter-spacing: 0.06em;
    padding: 0.75rem;
  }

  .style p {
    font-size: 1.05rem;
  }

  .lang-link a {
    min-width: 240px;
    padding: 0.8rem 1.15rem;
    font-size: 1.18rem;
  }
}
