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

:root {
  --primary-red: #e31e24;
  --dark-bg: #0a0a0a;
  --card-bg: #1a1414;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: #e31e24;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #000;
  color: var(--text-primary);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 40px 43px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  padding: 40px;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease-out;

  border-radius: 40px;
  border: 1px solid rgba(232, 232, 237, 0.08);
  background: #fff;
  box-shadow: 0 0 32.5px 24px rgba(0, 0, 0, 0.15);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #000;
  font-family: Montserrat;
  font-size: 42px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%; /* 60px */
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--text-secondary);

  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 24px */
}

/* Age Verification Modal */
.age-modal .age-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;

  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 24px */
}

.age-modal .age-subtext {
  font-size: 14px;
  margin-bottom: 30px;

  color: #000;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
}

.age-buttons {
  display: flex;
  gap: 15px;
  width: 100%;
}

.btn-age {
  padding: 16px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.btn-no {
  background-color: #000;
  color: var(--text-primary);
  border: 2px solid #333;
}

.btn-no:hover {
  background-color: #1a1a1a;
}

.btn-yes {
  background-color: var(--primary-red);
  color: var(--text-primary);
}

.btn-yes:hover {
  background-color: #c71a1f;
  transform: translateY(-2px);
}

/* Under 18 Screen */
.under-18-screen {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  align-items: center;
  justify-content: center;
}

.under-18-screen.active {
  display: flex;
}

.under-18-content h1 {
  font-size: 120px;
  font-weight: 900;
  color: var(--text-primary);
}

/* Cookie Modal */
.cookie-buttons {
  display: flex;

  gap: 12px;
}

.btn-cookie {
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.btn-accept {
  background-color: var(--primary-red);
  color: var(--text-primary);
}

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

.btn-manage,
.btn-learn {
  background-color: #000;
  color: var(--text-primary);
  border: 2px solid #333;
}

.btn-manage:hover,
.btn-learn:hover {
  background-color: #1a1a1a;
}

/* Header */
header {
  padding: 30px 0;
  padding-top: 0;
}
header .container div {
  text-align: center;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;

  color: #fff;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 80%; /* 19.2px */
  letter-spacing: -0.72px;
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
}
.hero .container {
  border-radius: 60px;
  background: rgba(255, 255, 255, 0.05);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;

  color: #fff;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;

  font-style: normal;
  font-weight: 800;
  line-height: 90%; /* 55.8px */
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 50px;

  color: #fff;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%; /* 20.8px */
  letter-spacing: -0.48px;
}

.features {
  gap: 20px;
  max-width: 900px;
}

.feature-item {
  display: flex;
  padding: 10px 24px;
  align-items: center;
  gap: 4px;

  border-radius: 9px;
  border: 3px solid #db1414;
  display: inline-block !important;
  margin-top: 8px;

  color: #fff;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  letter-spacing: -0.42px;
}

.feature-item:hover {
  background-color: rgba(227, 30, 36, 0.1);
  transform: translateX(10px);
}

/* Platforms Section */
.platforms {
  padding: 60px 0;
}
.platforms .container {
  padding: 0px;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 16px;
}

.platform-card {
  background-color: var(--card-bg);
  border: 3px solid var(--border-color);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;

  border-radius: 24px;
  border: 4px solid #db1414;
  background: linear-gradient(180deg, rgba(219, 20, 20, 0) 50%, #db1414 100%),
    rgba(255, 255, 255, 0.05);
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(227, 30, 36, 0.3);
}

.platform-logo {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 10px;
  margin-bottom: 25px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  border: 1px solid rgba(219, 20, 20, 0.24);
  background: rgba(219, 20, 20, 0.1);
}

.platform-logo img {
  max-width: 100%;
  height: 100px;
}

.platform-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.platform-b {
  display: flex;
  flex-direction: column;
}

.b-amount {
  font-size: 32px;
  font-weight: 800;
}

.b-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);

  color: #fff;
  leading-trim: both;
  text-edge: cap;
  font-family: Montserrat;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 25.5px */
  letter-spacing: -0.51px;
  text-transform: uppercase;
}

.rating-number {
  font-size: 32px;
  font-weight: 800;
  display: block;
}

.stars {
  color: #ffd700;
  font-size: 14px;
}

.btn-platform {
  background-color: var(--primary-red);
  color: var(--text-primary);
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;

  border-radius: 10px;
  background: #db1414;
  text-decoration: none;
  text-align: center;
}

.btn-platform:hover {
  background-color: #c71a1f;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(227, 30, 36, 0.4);
}

.platform-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;

  color: #fff;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 18px */
  letter-spacing: -0.36px;
}

/* Info Section */
.info-section {
  padding: 80px 0;
  background: #000;
}
.info-section .container {
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.05);
}

.info-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.info-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 1200px;
}
/* Footer */
footer {
  padding: 60px 0 40px;
}

footer .container {
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  padding-top: 54px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--primary-red);
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logos img {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  max-width: 150px;
}

.footer-logos img:hover {
  opacity: 1;
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

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

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

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

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

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

  .info-section h2 {
    font-size: 32px;
  }

  .footer-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
    padding-bottom: 10px;
  }

  .footer-nav::-webkit-scrollbar {
    height: 4px;
  }

  .footer-nav::-webkit-scrollbar-track {
    background: transparent;
  }

  .footer-nav::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
  }

  .footer-logos {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
    padding-bottom: 10px;
  }

  .footer-logos::-webkit-scrollbar {
    height: 4px;
  }

  .footer-logos::-webkit-scrollbar-track {
    background: transparent;
  }

  .footer-logos::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
  }

  .footer-logos img {
    flex-shrink: 0;
  }

  .modal-content {
    padding: 30px 25px;
  }

  .modal-content h2 {
    font-size: 26px;
  }

  .under-18-content h1 {
    font-size: 80px;
  }
}

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

  .hero-description {
    font-size: 15px;
  }

  .feature-item {
    padding: 15px 20px;
    font-size: 14px;
  }

  .platform-card {
    padding: 20px;
  }

  .platforms {
    padding: 0px 10px;
  }

  .b-amount,
  .rating-number {
    font-size: 26px;
  }

  .info-section h2 {
    font-size: 26px;
  }

  .info-section p {
    font-size: 14px;
  }

  .footer-logos img {
    height: 30px;
  }
}
