/* Google Fonts */
@font-face {
  font-family: "Proxima Nova";
  src: url("/fonts/proxima-nova.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset and Base Styles */
:root {
  --bg-color: #05060a;
  --header-footer-bg: #05060a;
  --text-color: #ffffff;
  --primary-accent: #e92139;
  --secondary-accent: #ffffff;
  --card-bg: #1a1c23;
  --border-color: #333541;
}

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

body {
  font-family: "Proxima Nova", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

.content-block {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-register {
  background-color: var(--primary-accent);
  color: var(--secondary-accent);
}

.btn-login {
  background-color: transparent;
  color: var(--secondary-accent);
  border: 2px solid var(--secondary-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-play,
.btn-small {
  background-color: var(--primary-accent);
  color: var(--secondary-accent);
  padding: 8px 16px;
}

.btn-submit {
  background-color: var(--primary-accent);
  color: var(--secondary-accent);
  width: 100%;
}

/* Header */
.header {
  background-color: var(--header-footer-bg);
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

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

.header-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.header-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--primary-accent);
}

.header-actions {
  display: flex;
  gap: 15px;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 10, 0.7);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-in-out;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.advantage-card:hover {
  transform: translateY(-5px);
}
.advantage-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Mirrors Section */
.table-container {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--card-bg);
}
th,
td {
  padding: 15px 20px;
  border: 1px solid var(--border-color);
}
th {
  background-color: #2a2d37;
}
.status-ok {
  color: #4caf50;
}
.status-blocked {
  color: #f44336;
}

/* Tournaments & Games Section */
.tournament-card,
.game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}
.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.tournament-card {
  padding: 20px;
}
.tournament-prize {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-accent);
  margin: 10px 0;
}
.tournament-timer {
  font-family: monospace;
}
.game-card h4 {
  margin: 15px 0;
}

/* Demo Section */
.demo-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}
.demo-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Review Content Section */
.post-content {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
}
.post-content h1,
.post-content h2,
.post-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.post-content p {
  margin-bottom: 1em;
}
.post-content ul,
.post-content ol {
  margin-left: 20px;
  margin-bottom: 1em;
}
.post-content a {
  color: var(--primary-accent);
  text-decoration: underline;
}
.post-content table {
  width: 100%;
  margin: 20px 0;
}

/* Reviews Section */
.review-card {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  height: 100%;
}
.review-author-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.review-rating {
  color: #ffc107;
}
.review-form-container {
  max-width: 600px;
  margin: 40px auto 0;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
}
.review-form-container input,
.review-form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: #2a2d37;
  color: var(--text-color);
}

/* Author Section */
.author-card {
  display: flex;
  gap: 30px;
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  align-items: center;
}
.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.author-socials {
  margin-top: 15px;
  display: flex;
  gap: 20px;
}
.author-socials a {
  color: var(--primary-accent);
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: var(--header-footer-bg);
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-col h4 {
  margin-bottom: 15px;
}
.footer-nav {
  list-style: none;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  color: #aaa;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--secondary-accent);
}
.payment-logos,
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}
.payment-logos img,
.provider-logos img {
  height: 25px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.payment-logos img:hover,
.provider-logos img:hover {
  opacity: 1;
}
.footer-copyright {
  text-align: center;
  margin-top: 30px;
  color: #777;
  font-size: 0.9rem;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-bg);
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 999;
  border-top: 1px solid var(--border-color);
  transform: translateY(100%);
  animation: slideInUp 0.5s 2s forwards;
}
.sticky-widget p {
  margin: 0;
}
.sticky-widget a {
  white-space: nowrap;
  text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 6, 10, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header-nav.active {
    display: flex;
  }
  .header-nav ul {
    flex-direction: column;
    text-align: center;
  }
  .header-nav a {
    font-size: 2rem;
  }
  .burger {
    display: block;
  }
  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .header-actions .btn-login {
    padding: 8px 12px;
  }
  .header-actions .btn-login span {
    display: none;
  }
  .sticky-widget {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Unused WP styles for obfuscation */
.elementor-widget-container {
  margin: 0;
}
.wp-block-spacer {
  clear: both;
}
.screen-reader-text {
  display: none;
}
