:root {
  --color-primary: #4fc3f7;
  --color-secondary: #6f7b8e;
  --color-accent: #4fc3f7;
  --color-dark: #0e1116;
  --color-light: #141922;
  --color-white: #e6e9ef;
  --color-text: #e6e9ef;
  --color-text-light: #aeb7c8;
  --border-radius: 24px;
  --border-radius-sm: 14px;
  --transition: all 0.3s ease;
  --shadow-soft: 12px 12px 24px rgba(0,0,0,0.45), -10px -10px 20px rgba(255,255,255,0.04);
  --shadow-soft-sm: 8px 8px 16px rgba(0,0,0,0.35), -6px -6px 12px rgba(255,255,255,0.04);
  --shadow-hover: 14px 14px 28px rgba(0,0,0,0.55), -12px -12px 22px rgba(255,255,255,0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-dark);
  overflow-x: hidden;
}

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

header {
  background: linear-gradient(135deg, rgba(20,25,34,0.95), rgba(14,17,22,0.95));
  padding: 20px 0;
  box-shadow: var(--shadow-soft-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition);
  font-size: 16px;
}

nav a:hover,
nav a.active {
  color: var(--color-primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-primary);
}

.hero {
  background: linear-gradient(145deg, rgba(20,25,34,0.9), rgba(10,14,20,0.9));
  color: var(--color-white);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(79,195,247,0.18), transparent 35%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08), transparent 30%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-primary);
  color: #0b0f15;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft-sm);
}

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

.btn-secondary {
  background: var(--color-light);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-secondary:hover {
  background: #262626;
  color: var(--color-primary);
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--color-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--color-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-header p {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.game-card {
  background: var(--color-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.game-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(79,195,247,0.2), rgba(111,123,142,0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.game-card-content {
  padding: 25px;
}

.game-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-white);
}

.game-card-description {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 15px;
  line-height: 1.5;
}

.game-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(79,195,247,0.12);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.feature-card {
  text-align: center;
  padding: 30px;
  background: var(--color-light);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-white);
  box-shadow: var(--shadow-soft-sm);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.6;
}

footer {
  background: #0c0f14;
  color: var(--color-white);
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--color-secondary);
}

.responsible-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}

.responsible-logo {
  background: var(--color-light);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 60px;
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  color: var(--color-white);
  font-size: 14px;
  box-shadow: var(--shadow-soft-sm);
}

.responsible-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.logos-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: #262626;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: var(--transition);
}

.logos-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.logos-grid img {
  width: 140px;
  height: auto;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

.age-restriction {
  display: inline-block;
  background: #c41e3a;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #262626;
  padding: 50px;
  border-radius: var(--border-radius);
  max-width: 500px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.modal-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--color-text);
}

.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-light);
  padding: 25px;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.4);
  z-index: 9999;
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  margin: 0;
  font-size: 15px;
}

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  padding: 10px 20px;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.cookie-accept {
  background: var(--color-primary);
  color: #0b0f15;
}

.cookie-reject {
  background: var(--color-dark);
  color: var(--color-text);
}

.filters {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  background: #262626;
  border: 2px solid var(--color-light);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.game-detail-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  padding: 60px 0;
  text-align: center;
}

.game-detail-hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.game-iframe-container {
  max-width: 1000px;
  margin: 40px auto;
  background: #262626;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.game-iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.game-info-section {
  margin: 60px 0;
}

.game-info-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.game-info-section p,
.game-info-section ul {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}

.game-info-section ul {
  list-style-position: inside;
  margin-top: 15px;
}

.contact-info {
  background: #262626;
  padding: 40px;
  border-radius: var(--border-radius);
  margin: 40px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
  font-size: 18px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

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

.content-section {
  max-width: 900px;
  margin: 40px auto;
  background: #262626;
  padding: 50px;
  border-radius: var(--border-radius);
  line-height: 1.8;
}

.content-section h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--color-dark);
}

.content-section h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--color-dark);
}

.content-section h3 {
  font-size: 22px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.content-section p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--color-text);
}

.content-section ul,
.content-section ol {
  margin: 20px 0 20px 30px;
  font-size: 17px;
}

.content-section li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #262626;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

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

  .hero p {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 28px;
  }

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

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

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .content-section {
    padding: 30px 20px;
  }
}
