@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');

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

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #1f2d3d;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 2.5rem;
  color:#FF5C8A;
}

.logo .company-name {
  margin:1rem;
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem;
  color: #FF5C8A;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}


nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #1f2d3d;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #0097A7;
}

.hero {
  text-align: center;
  padding: 4rem 2rem;
  padding-bottom:0;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero button {
  background: -webkit-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -moz-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -o-linear-gradient(top left, #00BCD4, #00ACC1);
  background: linear-gradient(to bottom right, #00BCD4, #00ACC1);
      color: white;
      border: none;
      border-radius: 999px;
      padding: 12px 28px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
}

.hero button:hover {
  background: -webkit-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -moz-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -o-linear-gradient(top left, #00BCD4, #00ACC1);
  background: linear-gradient(to bottom right, #00BCD4, #00ACC1);
  box-shadow: 0 6px 16px rgba(0, 150, 200, 0.6);
      transform: translateY(-2px);
}

section {
  padding: 3rem 2rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.games .tag {
  margin-left:15%;
  margin-right: 15%;
  display:block;
  background-color: #FF5C8A; /* warm hot pink */
  color: white;
  font-family: 'Fredoka One', cursive;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 10px 10px 0px 0px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  margin: 1rem 0 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card button {
  background: -webkit-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -moz-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -o-linear-gradient(top left, #00BCD4, #00ACC1);
  background: linear-gradient(to bottom right, #00BCD4, #00ACC1);
      color: white;
      border: none;
      border-radius: 999px;
      padding: 12px 28px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      transition: background-color 0.3s ease;
}

.card button:hover {
  background: -webkit-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -moz-linear-gradient(top left, #00BCD4, #00ACC1);
  background: -o-linear-gradient(top left, #00BCD4, #00ACC1);
  background: linear-gradient(to bottom right, #00BCD4, #00ACC1);
  box-shadow: 0 6px 16px rgba(0, 150, 200, 0.6);
      transform: translateY(-2px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service {
  background: #f8f8f8;
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.service:hover {
  transform: translateY(-5px);
}

footer {
  background-color: #1f2d3d;
  padding: 1.5rem 2rem;
  color: white;
  text-align: center;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

footer a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #1f2d3d;
}

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

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem 1rem;
  }
}

/* Toggle switch styles */
.theme-toggle {
  margin-left: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #217a91;
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* Dark Theme */
body.dark-mode {
  background-color: #1f2d3d;
  color: #f0f0f0;
}

body.dark-mode header,
body.dark-mode nav,
body.dark-mode .card,
body.dark-mode .service {
  background-color: #2e3b4e;
  color: #f0f0f0;
}

body.dark-mode .card button,
body.dark-mode .hero button {
  background-color: #3ba1c9;
}

body.dark-mode .card button:hover,
body.dark-mode .hero button:hover {
  background-color: #217a91;
}

body.dark-mode footer {
  background-color: #0f1a26;
}

body.dark-mode nav a,
body.dark-mode footer a {
  color: #f0f0f0;
}
