@media (max-width: 700px) {
  footer {
    padding: 24px 0 12px 0;
    border-radius: 14px 14px 0 0;
    font-size: 0.98rem;
  }
  .social-icons {
    gap: 12px;
    margin: 18px 0 10px 0;
    flex-wrap: wrap;
  }
  .social-icons img {
    width: 24px;
    height: 24px;
  }
  .divide {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 0 0 8px 0;
    border-bottom: 1px solid #4b86b4;
  }
  .div {
    width: 100%;
    min-width: 0;
    text-align: left;
    margin-bottom: 8px;
  }
  .footer .div h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .footer .div p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .footer .copyright, .footer > div:last-child {
    font-size: 0.95rem;
    padding: 12px 0 8px 0;
  }
}
/* Hamburger menu styles */
.nav-toggle {
  display: none;
  font-size: 2rem;
  color: #ff9800;
  cursor: pointer;
  margin-left: 20px;
}

@media (max-width: 900px) {
  .top {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  .top {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #222;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 10px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    display: none;
    z-index: 100;
  }
  .top.show {
    display: flex;
  }
  .top a {
    width: 100%;
    padding: 12px 24px;
    border-bottom: 1px solid #444;
    margin: 0;
  }
}
 
/* General Styles */
  body {font-family:'Arial', sans-serif; margin:0; padding:0; background:#f0f5f9; color:#333;}
  h1,h2,h3 {margin:0.5rem 0;} p {margin:0.5rem 0;} a{text-decoration:none;color:inherit;}
  button {cursor:pointer; transition:0.3s; border:none; border-radius:6px;}
  
  /* Header */
   
  /* Banner */
  .banner {display:flex; flex-direction:column; align-items:center; justify-content:center; background:url('https://images.pexels.com/photos/6925381/pexels-photo-6925381.jpeg') center/cover no-repeat; color:white; text-align:center; height:400px; position:relative; padding:0 20px;}
  .banner::after {content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.45);}
  .banner-content {position:relative; z-index:2;}
  .banner button {margin-top:20px; padding:10px 25px; background:#00bcd4; color:#fff;}
  .banner button:hover {background:#0097a7;}
  .tip {margin-top:15px; font-size:1.1rem; background:rgba(255,255,255,0.8); padding:10px 15px; border-radius:5px; color:#333;}

  /* Sections Grid */
  .grid3 {display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:40px auto; max-width:1200px; }
  @media(max-width:900px){.grid3{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:600px){.grid3{grid-template-columns:1fr;}}

  /* Cards */
  .card {background:#fff; padding:25px; border-radius:14px; text-align:center; box-shadow:0 4px 15px rgba(0,0,0,0.08); transition:all 0.3s; min-height:180px; width: 300px; margin: 10px;}
  .card:hover {transform:translateY(-6px) scale(1.03); box-shadow:0 8px 28px rgba(0,0,0,0.15);}
  .card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
    display: block;
  }
  .card h3 {margin-top:10px;}
  .card p {margin-top:10px; font-size:0.95rem;}
  .card button {margin-top:15px; padding:8px 20px; background:#00bcd4; color:#fff; font-weight:500; box-shadow:0 2px 8px rgba(0,0,0,0.1);}
  .card button:hover {background:#0097a7;}

  /* Journal */
  .journal {background:white; padding:20px; border-radius:14px; text-align:center; margin:40px auto; max-width:800px; box-shadow:0 2px 12px rgba(0,0,0,0.08); background-image: url('https://images.pexels.com/photos/606539/pexels-photo-606539.jpeg'); }
  .journal textarea {width:90%; height:150px; padding:15px; border-radius:10px; border:1px solid #bcdff1; resize:vertical; font-size:1rem; margin-bottom:10px;}
  .journal button {
    margin: 5px 5px;
    background: linear-gradient(90deg, #4b86b4 0%, #00bcd4 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 10px 28px;
    box-shadow: 0 2px 8px rgba(42,77,105,0.10);
    border: none;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  }
  .journal button:hover {
    background: linear-gradient(90deg, #00bcd4 0%, #4b86b4 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 18px rgba(42,77,105,0.13);
  }

  /* Games Inline */
  .game-card .game-area {margin-top:15px; padding:10px; background:#e3f2fd; border-radius:8px;}


/* Navigation Bar */
    header {
      background: #222;
      color: #fff;
      padding: 15px 30px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo span {
      font-size: 1.5rem;
      font-weight: bold;
      color: #ff9800;
    }

    .top a {
      margin-left: 20px;
      text-decoration: none;
      color: #fff;
      font-weight: 500;
      transition: color 0.3s ease;
      cursor: pointer;
    }

    .top a:hover {
      color: #ff9800;
    }


    footer {
  text-align: center;
  padding: 32px 0 18px 0;
  background: linear-gradient(90deg, #2a4d69 60%, #4b86b4 100%);
  color: #fff;
  margin-top: 40px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 16px rgba(42,77,105,0.08);
}
/* Social media icons row */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 32px 0 16px 0;
}
.social-icons img {
  width: 28px;
  height: 28px;
  display: inline-block;
  filter: grayscale(0.2) brightness(0.9);
  transition: filter 0.2s;
}
.social-icons img:hover {
  filter: none;
}

.divide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 0 0 10px 0;
  border-bottom: 1.5px solid #4b86b4;
}

.div {
  width: 180px;
  min-width: 120px;
  text-align: left;
}

.footer .div h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.footer .div p {
  color: #e0eafc;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}

.footer .div p a {
  color: #e0eafc;
  text-decoration: none;
  transition: color 0.2s;
}
.footer .div p a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer .copyright, .footer > div:last-child {
  text-align: center;
  color: #e0eafc;
  font-size: 0.97rem;
  padding: 18px 0 10px 0;
  margin: 0;
  letter-spacing: 0.5px;
}

#center {
  text-align: center;
}