.main-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 16px;
}
.about-section, .games-section {
  flex: 1 1 45%;
  min-width: 300px;
  display: block;
  margin-bottom: 40px;
  background: #f6f8ff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(68,90,235,0.07);
  padding: 24px 18px;
  box-sizing: border-box;
  position: relative;
}
.section {
  width: 100%;
  margin-bottom: 40px;
  background: #f6f8ff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(68,90,235,0.07);
  padding: 24px 18px;
  box-sizing: border-box;
  position: relative;
}
.about-section-inner, .games-section-inner, .section-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
@media (max-width: 700px) {
  .about-section-inner, .games-section-inner, .section-inner {
    flex-direction: column;
    gap: 16px;
  }
}
.about-section .about-text, .about-section .about-image,
.games-section .games-list, .games-section .games-image {
  display: inline-block;
  vertical-align: middle;
}
@media (min-width: 701px) {
  .about-section .about-text, .about-section .about-image {
    width: 60%;
    display: inline-block;
    vertical-align: middle;
  }
  .about-section .about-image {
    width: 35%;
  }
  .games-section .games-list, .games-section .games-image {
    width: 60%;
    display: inline-block;
    vertical-align: middle;
  }
  .games-section .games-image {
    width: 35%;
  }
}


@media (max-width: 700px) {
  .about-section, .games-section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
  }
}


.games-section {
  width: 100%;
  display: block;
  text-align: left;
  margin-bottom: 40px;
}
.games-section ul {
  display: block;
  text-align: left;
  margin-bottom: 20px;
}
.games-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.about-text, .games-list {
  flex: 1;
}

.about-image img, .games-image img {
  max-width: 300px;
  height: auto;
  border: 3px solid #445aeb;
  border-radius: 8px;
  background: #445aeb;
  display: block;
  margin-left: auto;
}

@media (max-width: 700px) {
  .about-section, .games-section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .about-image img, .games-image img {
    max-width: 80vw;
    margin-left: 0;
    margin-bottom: 20px;
  }
}
body {
  font-family: 'Ubuntu', sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #e3e8ff 0%, #ffffff 100%);
}

.text {
  flex: 1;
  font-size: 1.3rem;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  margin-top: 0;
}

img {
  max-width: 300px; /* adjust logo size */
  height: auto;
  border: 3px solid #445aeb;
  border-radius: 8px;
  background: #445aeb;
}

@media (max-width: 700px) {
  body {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px;
  }
  .text {
    width: 100%;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  img {
    max-width: 80vw;
    margin-bottom: 20px;
  }
  ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

body {
  background: linear-gradient(135deg, #e3e8ff 0%, #ffffff 100%);
}
.main-container {
  padding: 32px 16px;
  box-shadow: 0 4px 24px rgba(68, 90, 235, 0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
}
.about-section {
  background: #f6f8ff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(68,90,235,0.07);
  padding: 24px 18px;
}
.games-section {
  background: #f6f8ff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(68,90,235,0.07);
  padding: 24px 18px;
}
h1 {
  color: #445aeb;
  letter-spacing: 1px;
}
h2 {
  color: #222;
  margin-bottom: 12px;
}
.about-text, .games-list {
  font-weight: 400;
  color: #333;
}
img {
  box-shadow: 0 2px 8px rgba(68,90,235,0.10);
}

.notfound-bg {
  background: #7587ff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notfound-container {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #445aeb44;
  padding: 48px 32px;
  text-align: center;
}
.notfound-img {
  width: 220px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 24px #445aeb44;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #445aeb;
  padding: 0 24px;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-menu {
  display: flex !important;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu li a {
  color: #fff;
  font-family: 'Montserrat', 'Ubuntu', sans-serif;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px 6px 0 0;
  transition: background 0.2s, color 0.2s;
}
.nav-menu li a:hover {
  background: #2336a3;
  color: #e3e8ff;
}

.section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  margin-bottom: 80px;
}
.content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
.left, .right {
  flex: 1 1 45%;
  min-width: 250px;
}
@media (max-width: 700px) {
  .content-row {
    flex-direction: column;
    gap: 16px;
  }
}

#games .section-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}
#games .list {
  flex: 2;
  padding-left: 40px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#games h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #445aeb;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
#games ul {
  font-size: 1.35rem;
  margin-bottom: 24px;
  padding-left: 24px;
}
#games ul li {
  margin-bottom: 10px;
}
#games ul li a {
  color: #445aeb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
#games ul li a:hover {
  color: #2336a3;
  text-decoration: underline;
}
#games .image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#games .image img {
  max-width: 340px;
  min-width: 180px;
  height: auto;
  border: 3px solid #445aeb;
  border-radius: 12px;
  background: #445aeb;
  box-shadow: 0 2px 12px #445aeb44;
}
@media (max-width: 900px) {
  #games .section-inner {
    gap: 24px;
  }
  #games .list {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 700px) {
  #games .section-inner {
    flex-direction: column;
    gap: 16px;
  }
  #games .image {
    justify-content: center;
    margin-top: 12px;
  }
  #games h2 {
    font-size: 2rem;
  }
  #games ul {
    font-size: 1.1rem;
  }
}
