:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-grey-dark: #1a1a1a;
  --color-grey: #808080;
  --color-grey-light: #cccccc;
  --color-neon-pink: #ff006e;
  --font-primary: "Courier New", "Courier", monospace;
  --transition-none: none;
}

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

body {
  font-family: var(--font-primary);
  background: var(--color-white);
  color: var(--color-black);
  line-height: 1.4;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.age-modal {
  display: flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
  align-items: center;
  justify-content: center;
}

.age-stamp {
  max-width: 600px;
  width: 90%;
}

.stamp-border {
  border: 8px solid var(--color-white);
  padding: 3rem;
  background: var(--color-black);
  position: relative;
}

.stamp-border::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--color-neon-pink);
  pointer-events: none;
}

.stamp-content {
  text-align: center;
  color: var(--color-white);
}

.stamp-icon {
  font-size: 5rem;
  color: var(--color-neon-pink);
  margin-bottom: 1rem;
}

.stamp-content h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
}

.stamp-text {
  font-size: 2rem;
  color: var(--color-neon-pink);
  margin-bottom: 2rem;
}

.stamp-content p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stamp-subtitle {
  font-size: 0.9rem;
  color: var(--color-grey);
  margin-bottom: 2rem;
}

.stamp-buttons {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.btn-stamp-primary,
.btn-stamp-secondary {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid var(--color-white);
  cursor: pointer;
  transition: all 0.1s;
}

.btn-stamp-primary {
  background: var(--color-neon-pink);
  color: var(--color-black);
}

.btn-stamp-primary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-stamp-primary:active {
  transform: translate(2px, 2px);
}

.btn-stamp-secondary {
  background: transparent;
  color: var(--color-white);
}

.btn-stamp-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: var(--color-black);
  border-top: 5px solid var(--color-neon-pink);
  z-index: 9999;
  transition: bottom 0.3s;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-stamp {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 3rem;
  color: var(--color-neon-pink);
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  color: var(--color-white);
}

.cookie-text p {
  font-size: 1rem;
  line-height: 1.4;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

.btn-cookie-accept,
.btn-cookie-info {
  padding: 1rem 2rem;
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  border: 3px solid var(--color-white);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn-cookie-accept {
  background: var(--color-neon-pink);
  color: var(--color-black);
}

.btn-cookie-accept:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-cookie-info {
  background: transparent;
  color: var(--color-white);
}

.btn-cookie-info:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.block-header,
.coral-header {
  background: var(--color-white);
  border-bottom: 8px solid var(--color-black);
}

.nav-block,
.navbar {
  background: var(--color-black);
  border-bottom: 5px solid var(--color-neon-pink);
}

.navbar .nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  text-decoration: none;
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 0.75rem 1.5rem;
  border: 4px solid var(--color-white);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .logo:hover {
  background: var(--color-white);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-stamp {
  text-decoration: none;
}

.logo-box {
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 0.75rem 1.5rem;
  border: 4px solid var(--color-white);
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 2px;
}

.logo-box:hover {
  background: var(--color-white);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

/* Забезпечуємо видимість меню на великих екранах */
@media (min-width: 969px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    width: auto !important;
  }
}

.nav-menu li {
  border-left: 2px solid var(--color-grey-dark);
}

.nav-menu a {
  display: block;
  padding: 1rem 2rem;
  color: var(--color-white);
  text-decoration: none;
  font-weight: bold;
  background: transparent;
  border: none;
}

.nav-menu a:hover {
  background: var(--color-neon-pink);
  color: var(--color-black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.toggle-line {
  width: 30px;
  height: 3px;
  background: var(--color-white);
}

.hero-block {
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.stamp-mark {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  transform: rotate(15deg);
  border: 3px solid var(--color-black);
}

.hero-title {
  font-size: 5rem;
  line-height: 0.9;
  margin-bottom: 2rem;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-stamp {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--color-grey);
  letter-spacing: 3px;
}

.hero-blocks {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.info-stamp {
  background: var(--color-black);
  color: var(--color-white);
  padding: 1rem 2rem;
  border: 3px solid var(--color-black);
  font-size: 0.9rem;
}

.btn-hero {
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 1.5rem 4rem;
  font-size: 1.5rem;
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  border: 4px solid var(--color-black);
  cursor: pointer;
  letter-spacing: 2px;
}

.btn-hero:hover {
  background: var(--color-black);
  color: var(--color-neon-pink);
}

.btn-hero:active {
  transform: translate(3px, 3px);
}

section {
  padding: 6rem 0;
  border-bottom: 5px solid var(--color-black);
}

.section-stamp {
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stamp-number {
  width: 80px;
  height: 80px;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 4px solid var(--color-black);
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.raw-info {
  background: var(--color-grey-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-block {
  background: var(--color-white);
  padding: 2.5rem;
  border: 5px solid var(--color-black);
  position: relative;
}

.info-block:hover {
  background: var(--color-neon-pink);
}

.block-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.info-block p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.fun-blocks {
  background: var(--color-white);
}

.blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.game-block {
  background-color: var(--color-grey-light);
  border: 6px solid var(--color-black);
  padding: 2.5rem;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.game-block[data-game="block-rush"] {
  background-image: url("../images/2.jpg");
}

.game-block[data-game="stamp-stack"] {
  background-image: url("../images/4.jpg");
}

.game-block[data-game="grid-punch"] {
  background-image: url("../images/1.jpg");
}

.game-block[data-game="raw-spin"] {
  background-image: url("../images/3.jpg");
}

.game-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  transition: background 0.3s ease;
}

.game-block:hover::before {
  background: rgba(0, 0, 0, 0.7);
}

.game-block:hover {
  color: var(--color-white);
}

.game-block > * {
  position: relative;
  z-index: 1;
}

.game-stamp {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: bold;
  border: 3px solid var(--color-black);
  z-index: 2;
}

.game-number {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
}

.game-block h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: var(--color-white);
}

.game-block p {
  font-size: 0.85rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: var(--color-white);
}

.btn-game {
  width: 100%;
  padding: 1.25rem;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.1rem;
  border: 3px solid var(--color-black);
  cursor: pointer;
  letter-spacing: 1px;
}

.btn-game:hover {
  background: var(--color-neon-pink);
  color: var(--color-black);
  border-color: var(--color-black);
}

.game-block:hover .btn-game {
  background: var(--color-neon-pink);
  color: var(--color-black);
}

.game-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black);
}

.game-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-modal-content {
  position: relative;
  width: 95%;
  height: 95%;
  max-width: 1400px;
  max-height: 900px;
  background: var(--color-white);
  border: 8px solid var(--color-neon-pink);
}

.game-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5001;
  background: var(--color-neon-pink);
  border: 3px solid var(--color-black);
  width: 50px;
  height: 50px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-line {
  position: absolute;
  width: 60%;
  height: 3px;
  background: var(--color-black);
}

.close-line:first-child {
  transform: rotate(45deg);
}

.close-line:last-child {
  transform: rotate(-45deg);
}

.game-close:hover {
  background: var(--color-black);
}

.game-close:hover .close-line {
  background: var(--color-neon-pink);
}

.game-frame-wrapper {
  width: 100%;
  height: 100%;
  padding: 4rem 1rem 1rem;
}

.game-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.command-center {
  background: var(--color-black);
  color: var(--color-white);
}

.command-center .stamp-number {
  background: var(--color-neon-pink);
  color: var(--color-black);
  border-color: var(--color-neon-pink);
}

.command-center .section-title {
  color: var(--color-white);
}

.command-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.command-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-block {
  border: 4px solid var(--color-white);
  padding: 2rem;
}

.contact-block:hover {
  background: var(--color-neon-pink);
  color: var(--color-black);
  border-color: var(--color-neon-pink);
}

.contact-stamp {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-neon-pink);
}

.contact-block:hover .contact-stamp {
  color: var(--color-black);
}

.contact-block p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.contact-block a {
  color: var(--color-white);
  text-decoration: none;
}

.contact-block:hover a {
  color: var(--color-black);
}

.command-form {
  border: 4px solid var(--color-white);
  padding: 2.5rem;
}

.form-stamp {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-neon-pink);
}

.form-block {
  margin-bottom: 1.5rem;
}

.form-block input,
.form-block textarea {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 3px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.form-block input::placeholder,
.form-block textarea::placeholder {
  color: var(--color-grey);
}

.form-block input:focus,
.form-block textarea:focus {
  outline: none;
  border-color: var(--color-neon-pink);
  background: rgba(255, 0, 110, 0.1);
}

.form-block textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 1.5rem;
  background: var(--color-neon-pink);
  color: var(--color-black);
  font-family: var(--font-primary);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1.2rem;
  border: 3px solid var(--color-neon-pink);
  cursor: pointer;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: var(--color-white);
  border-color: var(--color-white);
}

.legal-stamps {
  background: var(--color-grey-light);
}

.stamps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stamp-card {
  background: var(--color-white);
  border: 5px solid var(--color-black);
  padding: 3rem 2rem;
  text-decoration: none;
  color: var(--color-black);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}

.stamp-card:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.stamp-icon-box {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.stamp-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.stamp-arrow {
  font-size: 2rem;
  color: var(--color-neon-pink);
}

.disclaimer-stamp {
  background: var(--color-black);
  color: var(--color-white);
  padding: 3rem;
  border: 5px solid var(--color-neon-pink);
}

.disclaimer-header {
  font-size: 2rem;
  color: var(--color-neon-pink);
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.disclaimer-stamp p {
  font-size: 1rem;
  line-height: 1.8;
}

.plain-faq {
  background: var(--color-white);
}

.faq-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  border: 4px solid var(--color-black);
  padding: 2rem;
  background: var(--color-grey-light);
}

.faq-item:hover {
  background: var(--color-neon-pink);
}

.faq-q {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-black);
}

.faq-a {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-black);
}

.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 0 2rem;
  border-top: 8px solid var(--color-neon-pink);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo-box {
  background: var(--color-neon-pink);
  color: var(--color-black);
  padding: 0.5rem 1rem;
  display: inline-block;
  border: 3px solid var(--color-white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 0.85rem;
  line-height: 1.8;
  text-transform: none;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-section ul li a:hover {
  color: var(--color-neon-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--color-grey-dark);
}

.footer-bottom p {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  text-transform: none;
}

.footer-disclaimer {
  color: var(--color-grey);
}

@media (max-width: 968px) {
  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .command-layout {
    grid-template-columns: 1fr;
  }

  .blocks-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: var(--color-black);
    width: 100%;
    border: none;
    transition: left 0.3s;
    z-index: 1000;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    border-left: none;
    border-bottom: 2px solid var(--color-grey-dark);
  }

  .nav-toggle {
    display: flex;
  }

  .stamp-mark {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stamp-border {
    padding: 2rem 1rem;
  }

  .stamp-content h2 {
    font-size: 2rem;
  }

  .stamp-buttons {
    gap: 0.75rem;
  }

  section {
    padding: 4rem 0;
  }
}

.legal-page {
  min-height: 100vh;
  background: var(--color-white);
}

.legal-page .coral-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
}

.legal-page .legal-container {
  margin-top: 120px;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 6px solid var(--color-black);
  background: var(--color-grey-light);
}

.legal-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 4px solid var(--color-black);
}

.legal-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.legal-date {
  font-size: 1rem;
  color: var(--color-grey);
}

.legal-content h2 {
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.legal-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  text-transform: none;
}

.legal-content ul,
.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.legal-content li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  text-transform: none;
}

.legal-content strong {
  background: var(--color-neon-pink);
  padding: 0 0.25rem;
}

.legal-contact {
  background: var(--color-white);
  padding: 1.5rem;
  border: 4px solid var(--color-black);
  margin: 2rem 0;
}

.back-home {
  display: inline-block;
  margin: 2rem 0;
  padding: 1rem 2rem;
  background: var(--color-neon-pink);
  color: var(--color-black);
  text-decoration: none;
  font-weight: bold;
  border: 3px solid var(--color-black);
}

.back-home:hover {
  background: var(--color-black);
  color: var(--color-neon-pink);
  border-color: var(--color-neon-pink);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 35px auto;
}

.footer-legal img {
  height: 60px;
}
