.policy,
.success {
  padding-block: 100px 60px !important;
  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 100px 60px !important;
  }
}

.success__text {
  margin-bottom: 27px;
}

.success__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.success__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.policy__title,
.success__title {
  font-weight: 700;
  font-size: 35px;
  line-height: 110%;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 28px;
  color: #ffffff;
}

.policy__text {
  font-weight: 400;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
  color: #ffffff;
}

.policy__title {
  color: #ffffff;
}

.policy__text h2 {
  text-align: left;
  font-size: 21px;
}

.policy__text ul {
  padding-left: 20px;
}

.policy__text h2,
.policy__text p,
.policy__text ul {
  margin-bottom: 22px;
}

.policy__link {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  word-break: break-word;
}

html {
  scroll-behavior: smooth;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-inline: 20px;
}

@font-face {
  font-family: "Stengazeta";
  src: url(/wp-content/themes/сravonexe.com/fonts/Stengazeta-Regular_5.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url(/wp-content/themes/сravonexe.com/fonts/TT-Firs-Neue-Trial-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Timun";
  src: url(/wp-content/themes/сravonexe.com/fonts/timun.regular.ttf) format("truetype");
  font-weight: 400;
}

@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");

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

:root {
  --primary-color: #00d9ff;
  --secondary-color: #ffffff;
  --bg-color: #0a1529;
  --bg-gradient: linear-gradient(180deg, #0a1529 0%, #1a2a4a 100%);
  --text-color: #ffffff;
  --text-secondary: #a0b4cc;
  --accent-color: #00d9ff;
  --card-bg: rgba(255, 255, 255, 0.1);
  --border-radius: 8px;
  --font-main: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  --font-heading: "Russo One", "Open Sans", sans-serif;
  --container-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "TT Firs Neue";
  background: radial-gradient(
    136.09% 180.79% at 48.82% 20.19%,
    #051856 0%,
    #000000 100%
  );
  color: var(--text-color);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

body.cookie-popup-open {
  overflow: hidden;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 21, 41, 0.8);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-popup.active {
  opacity: 1;
  visibility: visible;
}

.cookie-popup-content {
  background: var(--bg-color);
  border: 2px solid var(--accent-color);
  border-radius: var(--border-radius);
  padding: 60px;
  max-width: 800px;
  width: 90%;
  text-align: center;
}

.cookie-popup h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 30px;
  text-transform: uppercase;
}

.cookie-popup p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.cookie-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 15px 40px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 200px;
}

.accept-btn {
  background: var(--accent-color);
  color: var(--bg-color);
}

.accept-btn:hover {
  background: #00bce6;
  transform: translateY(-2px);
}

.refuse-btn {
  background: transparent;
  color: var(--text-color);
  border: 2px solid var(--text-color);
}

.refuse-btn:hover {
  background: var(--text-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 21, 41, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  margin-left: 80px;
}

@media (max-width: 768px) {
  .logo {
    margin-left: 0px;
  }
}

.logo-img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-family: Timun;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-color);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
}

.header-links {
  display: flex;
  gap: 30px;
}

.header-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.header-link:hover {
  color: var(--accent-color);
}

.burger {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Main Content */
main {
  padding-top: 80px;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero--main {
  background: url(/wp-content/themes/сravonexe.com/img/hero-main.png) center / cover no-repeat;
}

.hero--games {
  background: url(/wp-content/themes/сravonexe.com/img/hero-games.png) center / cover no-repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-family: Stengazeta;
  font-weight: 400;
  font-style: Regular;
  font-size: 80px;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: uppercase;

  margin-bottom: 30px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 50px;
  }
}

.text-accent {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #57e7f5;
  box-shadow: 0px 17px 58px 0px #00ffff40;
  color: var(--bg-color);
}

.btn-primary:hover {
  background: #00bce6;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: #000;
  border: 2px solid var(--text-color);
}

.btn-secondary:hover {
  background: var(--text-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

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

.hero-vr {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.3));
}

/* Essentials Section */
.essentials {
  padding: 120px 0;
}

.essentials h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 80px;
  text-transform: uppercase;
}

.essentials-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.essentials-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.essential-card {
  background: var(--card-bg);
  border: 2px solid rgba(0, 217, 255, 0.3);
  border-radius: var(--border-radius);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.card-icon img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.essentials-text p {
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.7;
}

.essentials-text .btn {
  margin-top: 20px;
}

/* Features Section */
.features {
  padding: 80px 0;
}

.features-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.features-title {
  font-size: 40px !important;
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
  }

  .feature-icon {
    order: -1;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-icon img {
  width: 100%;
  min-width: 400px
}

@media (max-width: 768px) {
.feature-icon img {
    min-width: 100%;

}
}

.feature h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Support Section */
.support {
  padding: 120px 0;
}

.support h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.support p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.support-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px;
  border-radius: 24px;
  background: url(/wp-content/themes/сravonexe.com/img/contacts-bg.png) center / cover no-repeat;
}

.contact-info {
  margin: 50px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 40px;

  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.contact-item {
  font-size: 1.1rem;
}

.contact-item strong {
  color: var(--accent-color);
  margin-right: 10px;
}

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

.contact-item a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;

  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-link {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-color);
  margin-left: 180px;
}

@media (max-width: 768px) {
  .footer-logo {
    margin-left: 0px;
  }
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-family: Timun;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Games Page */
.games-section {
  padding: 120px 0;
  background: var(--bg-gradient);
  min-height: 80vh;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.game-card {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
  overflow: hidden;

}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.game-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.game-card:hover .game-image img {
  transform: scale(1.05);
}

/* Game Detail Page */
.game-detail {
  padding: 120px 0;

  min-height: 80vh;
}

.game-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.game-image-large {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 2px solid rgba(0, 217, 255, 0.3);
}

.game-image-large img {
  width: 100%;
  height: auto;
  display: block;
}

.game-info h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--accent-color);
  text-transform: uppercase;
}

.game-info p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-content,
  .essentials-content,
  .game-detail-content {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .essentials h2,
  .support h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav,
  .header-links {
    display: none;
  }

  .nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    padding: 20px;
  }

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

  .header-content {
    gap: 20px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-info {
    padding: 25px;
  }

  .cookie-popup-content {
    padding: 30px;
    margin: 20px;
  }

  .cookie-popup h2 {
    font-size: 2rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }
}

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

  .hero h1 {
    font-size: 1.8rem;
  }

  .essentials h2,
  .support h2 {
    font-size: 1.8rem;
  }

  .game-info h1 {
    font-size: 2rem;
  }

  .hero-text,
  .essentials-text {
    text-align: left;
  }

  main {
    padding-top: 70px;
  }
}

.section-title {
  font-family: Stengazeta !important;
  font-weight: 400 !important;
  font-style: Regular;
  font-size: 60px !important;
  line-height: 100%;
  letter-spacing: 0%;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 40px;
  }
}
