@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");


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

body {
  font-family: 'Poppins', sans-serif;
  background: #f9fafc;
  color: #222;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #0052d4;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #0052d4;
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.btn-primary {
  background: #fff;
  color: #0052d4;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #eaf1ff;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* --- Sections --- */
section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
}

/* --- Features --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-card {
  flex: 1 1 260px;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.feature-card .icon {
  font-size: 50px;
  margin-bottom: 20px;
}

/* --- Platforms --- */
.platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.platform-card {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.platform-card img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* --- Modal --- */
.platform-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.platform-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  height: 80%;
  overflow-y: auto;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.platform-header {
  text-align: center;
  margin-bottom: 20px;
}

.platform-header img {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  background: #f1f3f8;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.tab-btn.active {
  background: #0052d4;
  color: #fff;
}

.tab-content .contest-list {
  display: none;
}

.tab-content .contest-list.active {
  display: block;
}

.contest-list li {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* --- CTA --- */
.cta {
  background: #0052d4;
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  border-radius: 15px 15px 0 0;
  margin: 50px 0 0 0;
}

.cta-wrapper {
  padding: 0;
  margin: 0;
  max-width: 100vw;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta p {
  margin-bottom: 25px;
  opacity: 0.9;
}

.btn-white {
  background: #fff;
  color: #0052d4;
  padding: 14px 30px;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-white:hover {
  background: #eaf1ff;
}

.btn-white:active {
  transform: scale(0.98);
}

.btn-white:focus-visible {
  outline: 2px solid #0052d4;
  outline-offset: 2px;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #f1f3f8;
  font-size: 0.9rem;
  color: #555;
}

/* --- Responsive --- */
@media(max-width:768px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }
}

.contest-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-size: 0.95rem;
}

.contest-table th,
.contest-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.contest-table th {
  background-color: #f3f3f3;
  font-weight: 600;
}

.contest-table tr:nth-child(even) {
  background-color: #fafafa;
}

.contest-table a {
  color: #007bff;
  text-decoration: none;
}

.contest-table a:hover {
  text-decoration: underline;
}

.no-contests {
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 10px;
}
