.policy,
.success {
  padding-block: 80px 60px !important;
background: #fff;
  min-height: 92vh;
}

@media (max-width: 768px) {
  .policy {
    padding-block: 60px 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__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #000000;
}

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

.policy__title {
  color: #000000;
}

.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: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url(/wp-content/themes/trevalyx.com/fonts/TT-Firs-Neue-Trial-Black.ttf) format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url(/wp-content/themes/trevalyx.com/fonts/TT-Firs-Neue-Trial-Bold.ttf) format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Striker";
  src: url(/wp-content/themes/trevalyx.com/fonts/Striker-1GXl0.otf) format("woff2");
  font-weight: 400;
  font-style: normal;
}

:root {
  --primary-bg: #1a1a1a;
  --secondary-bg: #2a2a2a;
  --accent-color: #9da54e;
  --accent-hover: #b8c05e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --card-bg: #141414;
  --highlight-yellow: #e8e6a0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "TT Firs Neue", Arial, sans-serif;
  background: url(/wp-content/themes/trevalyx.com/img/bg.jpg) center top / cover no-repeat;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  body {
    background: url(/wp-content/themes/trevalyx.com/img/bg-mob.jpg) center top / cover no-repeat;
  }
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.15);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: brightness(0.85);
}

.cookie-popup.active {
  display: flex;
}

.cookie-content {
  background-color: #1a1a1a;
  padding: 40px 50px;
  max-width: 540px;
  width: 90%;
  text-align: center;
}

.cookie-content h2 {
  font-family: "Striker", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cookie-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.cookie-accept,
.cookie-refuse {
  width: 100%;
  padding: 15px 30px;
  font-family: "Striker", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.cookie-accept {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

.cookie-accept:hover {
  background-color: var(--accent-hover);
}

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

.cookie-refuse:hover {
  background-color: var(--accent-color);
  color: var(--text-primary);
}

/* Header */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Striker", sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
}

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

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

.nav-link {
  font-family: Striker;
  font-size: 12px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

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

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  background: url(/wp-content/themes/trevalyx.com/img/hero-bg.png) center / contain no-repeat;
}

.hero-title {
  font-family: "Striker", sans-serif;
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  right: 0px;
  top: -30px;
  width: 57px;
  height: 60px;
  z-index: -1;
  background: url(/wp-content/themes/trevalyx.com/img/stars.png) center / contain no-repeat;
}

.highlight {
  color: var(--accent-color);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 43px;
  z-index: -1;
  background: url(/wp-content/themes/trevalyx.com/img/highlight.png) center / contain no-repeat;
}

.btn-primary {
  font-family: "Striker";
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 151%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;

  display: inline-block;
  background: linear-gradient(
    218.31deg,
    #737203 0%,
    #5d6734 100%,
    #98a50f 100%
  );

  color: var(--text-primary);
  padding: 15px 40px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.45),
    inset 0 2px 6px rgba(255, 255, 255, 0.2),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4) !important;

  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);

  transition: all 0.3s ease;

  border-radius: 8px;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-characters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;

  margin: 0 auto;
}

.character-card {
  transition: transform 0.3s ease;
}

.character-card:hover {
  transform: translateY(-10px);
}

.character-card img {
  width: 280px;
  height: auto;
  object-fit: contain;
}

.character-main img {
  width: 400px;
}

.character-main:hover {
  transform: scale(1.15) translateY(-10px);
}

/* Hot Week Section */
.hot-week {
  padding: 100px 0;
}

.hot-week-content {
  display: flex;
  gap: 60px;
  align-items: center;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
}

.hot-week-image {
  flex: 0 0 420px;
}

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

.hot-week-info {
  flex: 1;
}

.hot-week-title {
  font-family: "Striker", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

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

.hot-week-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hot-week-stats {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.stat-value {
  font-family: "TT Firs Neue";
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.stat-subtext {
  font-size: 12px;
  color: var(--text-secondary);
}

.timer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timer-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-value {
  font-family: "TT Firs Neue";

  font-size: 28px;
  color: var(--accent-color);
}

.timer-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.timer-separator {
  font-size: 24px;
  color: var(--text-secondary);
}

/* Categories Section */
.categories {
  padding: 80px 0;
}

.section-title {
  font-family: "Striker", sans-serif;
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 2px;
}

.categories-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.category-card {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  width: 100%;
  max-width: 333px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:nth-of-type(4),
.category-card:nth-of-type(5),
.category-card:nth-of-type(6),
.category-card:nth-of-type(7) {
  width: 100%;
  max-width: 242px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(157, 165, 78, 0.2);
}

.category-featured .category-title {
  background-color: var(--accent-color);
}

.category-title {
  font-family: "Striker", sans-serif;
  font-size: 14px;
  padding-bottom: 15px;
  border: 0.5px solid #ffffff40;
  margin-bottom: 15px;
  letter-spacing: 1px;
  border-radius: 102px;
  text-align: center;
  padding: 18px;
}

.category-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 0.5px solid #ffffff40;
  color: var(--text-secondary);
}

/* Why Choose Section */
.why-choose {
  padding: 80px 0;
}

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

.feature-card {
  text-align: center;
  background-color: #0f0f0f;
}

.feature-icon {
  width: 100%;
  margin: 0 auto 25px;
}

.feature-icon img {
  width: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 30px 40px;
}

.feature-title {
  font-family: "Striker", sans-serif;
  font-size: 22px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  padding: 80px 0;
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--card-bg);
  border: 1px solid rgba(157, 165, 78, 0.3);
  color: var(--text-primary);
  font-family: "TT Firs Neue", Arial, sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.form-group textarea {
  resize: vertical;
}

.form .btn-primary {
  margin: 20px auto 0;
  display: block;
}

/* Games Collection Page */
.games-collection {
  padding: 100px 0;
}

.games-collection .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 32px;
  border-radius: 20px;
  background: #141414;
}

@media (max-width: 768px) {
  .games-collection .container {
    grid-template-columns: 1fr;
  }

  .games-header {
    order: -1;
  }
}

.games-header {
  display: flex;
  gap: 60px;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 60px;
}

.games-title {
  font-family: "Striker", sans-serif;

  font-weight: 400;
  font-style: Regular;
  font-size: 24px;

  line-height: 111.00000000000001%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.games-description {
  font-family: "TT Firs Neue";
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;

  line-height: 150%;
  letter-spacing: 0%;

  color: var(--text-secondary);
}

.games-description p {
  margin-bottom: 15px;
}

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

.game-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.game-item:hover {
  transform: scale(1.05);
}

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

.games-cta {
  text-align: center;
}

.games-cta .btn-primary {
  margin: 0;
}

/* Game Details Page */
.game-details {
  padding: 100px 0;
}

.game-content {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: #141414;
}

.game-preview {
  flex: 0 0 45%;
  border-radius: 15px;
  overflow: hidden;
}

.game-preview img {
  width: 100%;
  height: auto;
}

.game-info {
  flex: 1;
}

.game-title {
  font-family: "Striker", sans-serif;
  font-size: 42px;
  margin-bottom: 30px;
  letter-spacing: 2px;
  font-family: Striker;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;

  line-height: 111.00000000000001%;
  letter-spacing: 0%;
  text-transform: uppercase;
}

.game-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.game-info .btn-primary {
  margin: 0;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  flex: 0 0 50%;
}

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

.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-contact {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-link:hover {
}

.social-link img {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links,
.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-links a,
.footer-legal a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--text-primary);
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-secondary);
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-characters {
    gap: 20px;
  }

  .character-card img {
    width: 140px;
    height: 200px;
  }

  .hot-week-content {
    gap: 40px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    gap: 30px;
    transition: left 0.3s ease;
  }

  .nav.active {
    left: 0;
  }

  .burger {
    display: flex;
  }

  .btn-games {
    display: none;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero-title {
    font-size: 32px;
  }

  .btn-primary {
    margin-bottom: 50px;
  }

  .hero-characters {
    align-items: center;
  }

  .character-main {
    transform: scale(1);
    order: -1;
  }

  .hot-week-content {
    flex-direction: column;
    padding: 30px;
  }

  .hot-week-image {
    flex: 0 0 auto;
    max-width: 250px;
    margin: 0 auto;
  }

  .hot-week-stats {
    flex-direction: column;
    gap: 30px;
  }

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

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

  .games-header {
    flex-direction: column;
    gap: 30px;
  }

  .games-title {
    flex: 0 0 auto;
    font-size: 36px;
  }

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

  .game-content {
    flex-direction: column;
  }

  .game-preview {
    flex: 0 0 auto;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    flex: 0 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-legal {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

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

  .character-card img {
    width: 120px;
    height: 170px;
  }

  .hot-week-title {
    font-size: 24px;
  }

  .stat-value {
    font-size: 22px;
  }

  .category-title,
  .feature-title {
    font-size: 20px;
  }

  .game-title {
    font-size: 32px;
  }
}
