@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Oswald', sans-serif;
  background-color: #070707;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  padding-top: 20px;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 36px;
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #1ce1ff;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

.hero {
  padding-top: 20px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-image {
  width: 590px;
  height: 727px;
  border-radius: 26px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 560px;
  flex-shrink: 0;
}

.section-title {
  font-weight: 700;
  font-size: 80px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 478px;
}

.body-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.1;
}

.body-text p + p {
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 50px;
  background-color: #1ce1ff;
  color: #070707;
  border-radius: 60px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  line-height: normal;
  transition: opacity 0.3s;
  white-space: nowrap;
  align-self: flex-start;
}

.btn:hover {
  opacity: 0.85;
}

.decor-strip {
  width: 292px;
  height: 47px;
  overflow: hidden;
}

.decor-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pressure {
  padding-top: 60px;
}

.pressure-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pressure-header .section-title {
  max-width: 640px;
}

.pressure-header .body-text {
  max-width: 285px;
  flex-shrink: 0;
}

.pressure-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pressure-row {
  display: flex;
  gap: 20px;
}

.pressure-card {
  width: 285px;
  height: 222px;
  flex-shrink: 0;
  border: 1px solid #ffffff;
  border-radius: 26px;
  padding: 20px;
  background: linear-gradient(to bottom, rgba(7, 7, 7, 0.1), rgba(28, 225, 255, 0.1));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pressure-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pressure-card .arrow {
  width: 60px;
  height: 15px;
}

.pressure-card .arrow img {
  width: 100%;
  height: 100%;
}

.pressure-card-title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.1;
  color: #1ce1ff;
}

.pressure-card .body-text {
  margin-top: 8px;
}

.pressure-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: auto;
}

.pressure-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pressure-image {
  flex: 1;
  height: 222px;
  border-radius: 26px;
  overflow: hidden;
}

.pressure-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breaks {
  padding-top: 60px;
}

.breaks .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.breaks-image {
  width: 483px;
  flex-shrink: 0;
  animation: floaty 6s ease-in-out infinite;
}

.breaks-image img {
  width: 100%;
  height: auto;
}

.breaks-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.breaks-content .body-text p + p {
  margin-top: 6px;
}

.tempo {
  padding-top: 60px;
}

.page-catalog .tempo {
  padding-top: 20px;
}

.game-hero {
  padding-top: 20px;
}

.game-hero .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.game-hero-thumb {
  width: 300px;
  height: 300px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 40px;
}

.game-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.game-hero-content .body-text p + p {
  margin-top: 10px;
}

.game-details {
  padding-top: 60px;
}

.game-details .container {
  position: relative;
  overflow: hidden;
}

.game-details-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 804px;
}

.game-details-image {
  position: absolute;
  right: -80px;
  top: 37px;
  width: 366px;
  height: 366px;
}

.game-details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tempo .container {
  display: flex;
  align-items: flex-end;
  gap: 30px;
}

.tempo-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 692px;
  flex-shrink: 0;
}

.tempo-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.games-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.games-row {
  display: flex;
  gap: 20px;
}

.game-thumb {
  width: 145px;
  height: 145px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.game-thumb a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.game-thumb a:hover img {
  transform: scale(1.05);
}

.tempo-image {
  width: 478px;
  flex-shrink: 0;
}

.tempo-image img {
  width: 100%;
  height: auto;
}

.contact {
  padding-top: 60px;
}

.contact .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.contact-image {
  width: 480px;
  height: 637px;
  flex-shrink: 0;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
}

.contact-text .body-text {
  margin-bottom: 20px;
}

.contact-info {
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  color: #1ce1ff;
}

.policy {
  padding-top: 20px;
  padding-bottom: 60px;
}

.policy-content {
  max-width: 1098px;
}

.policy-content .section-title {
  margin-bottom: 30px;
}

.policy-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}

.policy-text p {
  margin-bottom: 16px;
}

.policy-text strong {
  display: block;
  margin-top: 8px;
}

.footer {
  padding-top: 60px;
  padding-bottom: 20px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: block;
}

.social-links a img {
  width: 100%;
  height: 100%;
}

.copyright {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
}

@media (max-width: 1240px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 360px;
    padding: 0 15px;
  }

  .header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 15px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero .container {
    flex-direction: column;
    gap: 30px;
  }

  .hero-image {
    width: 100%;
    height: 407px;
  }

  .hero-content {
    width: 100%;
  }

  .section-title {
    font-size: 50px;
  }

  .hero-text-block {
    max-width: 100%;
  }

  .pressure {
    padding-top: 60px;
  }

  .pressure-header {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }

  .pressure-header .section-title {
    font-size: 42px;
    max-width: 100%;
  }

  .pressure-header .body-text {
    max-width: 285px;
  }

  .pressure-row {
    flex-direction: column;
  }

  .pressure-card {
    width: 100%;
    height: auto;
    min-height: 222px;
  }

  .pressure-image {
    width: 100%;
    flex: none;
  }

  .breaks {
    padding-top: 60px;
  }

  .breaks .container {
    flex-direction: column;
    overflow: hidden;
  }

  .breaks-image {
    width: 100%;
  }

  .breaks-content {
    width: 100%;
  }

  .breaks-content .section-title {
    font-size: 42px;
  }

  .tempo {
    padding-top: 60px;
  }

  .tempo .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .tempo-content {
    width: 100%;
  }

  .tempo-content .section-title {
    font-size: 42px;
  }

  .games-grid {
    gap: 15px;
  }

  .games-row {
    gap: 15px;
    flex-wrap: wrap;
  }

  .game-thumb {
    width: calc(50% - 7.5px);
    height: auto;
    aspect-ratio: 1;
  }

  .tempo-image {
    display: none;
  }

  .page-catalog .tempo-image {
    display: block;
    width: 100%;
  }

  .page-catalog .tempo-content .section-title {
    font-size: 42px;
  }

  .policy-content .section-title {
    font-size: 42px;
  }

  .game-hero .container {
    flex-direction: column;
  }

  .game-hero-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-top: 0;
  }

  .game-hero-content .section-title {
    font-size: 42px;
  }

  .game-details-content {
    width: 100%;
  }

  .game-details-content .section-title {
    font-size: 42px;
  }

  .game-details-image {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  .contact {
    padding-top: 60px;
  }

  .contact .container {
    flex-direction: column;
    gap: 30px;
  }

  .contact-image {
    width: 100%;
    height: auto;
    aspect-ratio: 330 / 437;
  }

  .contact-content .section-title {
    font-size: 42px;
  }

  .contact-info {
    font-size: 18px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-banner {
    left: 15px;
    right: 15px;
    bottom: 15px;
    max-width: none;
    padding: 24px 20px;
  }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 745px;
  padding: 30px;
  background-color: #070707;
  border: 2px solid #1ce1ff;
  border-radius: 26px;
  box-shadow: 0 0 24px rgba(28, 225, 255, 0.45);
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-icon {
  width: 50px;
  height: 50px;
}

.cookie-banner-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  color: #1ce1ff;
}

.cookie-banner-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.25;
  color: #ffffff;
}

.cookie-banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.cookie-btn {
  width: 100%;
  text-align: center;
  padding: 20px;
  border-radius: 60px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  border: 2px solid #1ce1ff;
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s, color 0.3s;
}

.cookie-btn-accept {
  background-color: #1ce1ff;
  color: #070707;
}

.cookie-btn-accept:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.cookie-btn-manage {
  background-color: transparent;
  color: #1ce1ff;
}

.cookie-btn-manage:hover {
  background-color: #1ce1ff;
  color: #070707;
  transform: translateY(-2px);
}

/* ===== Animations & hover effects ===== */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .breaks-image,
  .cookie-banner {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.btn {
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 225, 255, 0.35);
}

.pressure-card {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.pressure-card:hover {
  transform: translateY(-6px);
  border-color: #1ce1ff;
  box-shadow: 0 0 24px rgba(28, 225, 255, 0.3);
}

.pressure-card:hover .arrow img {
  transform: translateX(6px);
}

.pressure-card .arrow img {
  transition: transform 0.3s ease;
}

.pressure-image img,
.hero-image img,
.contact-image img,
.game-hero-thumb img,
.game-details-image img {
  transition: transform 0.5s ease;
}

.pressure-image:hover img,
.hero-image:hover img,
.contact-image:hover img,
.game-hero-thumb:hover img {
  transform: scale(1.04);
}

.logo img {
  transition: transform 0.4s ease;
}

.logo:hover img {
  transform: rotate(8deg) scale(1.08);
}

.social-links a img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover img {
  transform: translateY(-3px);
  opacity: 0.8;
}
