* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  color: #000;
}
.hero {
  background: url('images/background.png') no-repeat center center;
  background-size: cover;
  height: 500px;
  position: relative;
}
.overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.header {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  text-align: center;
}
.logo {
  position: absolute;
  top: 20px;
  left: 60px;
  z-index: 2;
}
.logo img {
  height: 80px;
}
.nav-center {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  padding: 0 100px;
}
.nav-left {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.nav-left a {
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  height: 36px;
  transition: 0.2s;
}
.nav-left a:hover {
  color: #00eaff;
}
.store {
  background-color: #f79c0e;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  transition: 0.2s;
  height: 36px;
}
.store:hover {
  background-color: #e6890d;
}
.nav-right {
  position: absolute;
  right: 60px;
  display: flex;
  align-items: center;
  height: 36px;
  z-index: 2;
}
.center-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-shadow: 0 0 20px #000;
  text-align: center;
  padding: 0 20px;
  max-width: 90%;
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: bold;
}

.center-title img {
  width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.content {
  padding: 40px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.section-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}
.underline {
  width: 100px;
  height: 4px;
  background-color: #2990de;
  margin: 0 auto 15px auto;
}
.about-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.stat {
  text-align: center;
}
.stat i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #2990de;
}
.stat-number {
  font-size: 32px;
  font-weight: bold;
  color: #000;
}
.stat-label {
  font-size: 16px;
  color: #555;
}
.minigames-section {
  margin-top: 80px;
}
.minigames-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  margin-top: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.minigame-card {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}
.minigame-card:hover {
  transform: scale(1.05);
}
.minigame-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #ddd;
}
.minigame-title {
  padding: 10px 15px 5px 15px;
  font-weight: 700;
  font-size: 24px;
  color: #000000;
  text-align: center;
  width: 100%;
}
.minigame-desc {
  font-size: 15px;
  color: #666;
  padding: 0 15px;
  margin-top: 5px;
  text-align: center;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
}
.news-section {
  margin-top: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.news-section .section-title {
  font-size: 48px;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}
.news-section .underline {
  width: 100px;
  height: 4px;
  background-color: #2990de;
  margin: 0 auto 20px auto;
}
.news-section {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.news-item {
  margin-bottom: 25px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.news-item-title {
  font-weight: 700;
  font-size: 22px;
  color: #000;
  margin-bottom: 6px;
}
.news-item-desc {
  font-size: 16px;
  color: #444;
  line-height: 1.4;
}
.news-more-btn {
  margin-top: 30px;
  background-color: #2990de;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.news-more-btn:hover {
  background-color: #e6890d;
}
.discord-invite-full {
  width: 100%;
  background-color: #f5f6fa;
  padding: 80px 20px;
  margin-top: 100px;
}
.discord-invite-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.discord-invite-text {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}
.discord-invite-text h2 {
  font-size: 34px;
  color: #2c2f33;
  margin-bottom: 10px;
}
.discord-invite-text p {
  font-size: 18px;
  color: #4f545c;
  margin-bottom: 20px;
}
.invite-button {
  display: inline-block;
  background-color: #5865f2;
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}
.invite-button:hover {
  background-color: #4752c4;
}
.discord-invite-image {
  flex: 1;
  text-align: center;
  min-width: 300px;
}


.custom-footer {
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 1px 2px 1px;
  box-sizing: border-box;
  overflow: hidden;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.footer-socials .social-icon i {
  font-size: 40px;
  color: white;
  transition: color 0.3s ease;
  filter: drop-shadow(0 0 4px black);
}
.footer-socials .social-icon i:hover {
  color: #00eaff;
  filter: drop-shadow(0 0 10px #00eaff);
}

.custom-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/footer-banner.png') no-repeat center center/cover;
  filter: brightness(0.5);
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
}


.custom-footer > * {
  position: relative;
  z-index: 1;
}


.footer-bottom {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin-top: 20px;
  color: white;
  letter-spacing: 0.6px;
}


.footer-links {
  color: white;
  font-weight: 600;
  font-size: 20px;
  margin-top: 12px;
  margin-left: 100px; 
  cursor: pointer;
  user-select: none;
}
.footer-links:hover {
  color: #ffffff;
}

.footer-links a {
  color: #ffffff; 
  text-decoration: none; 
}

.footer-links h4 {
  color: #ffffff; 
}

.footer-links h4 {
  font-size: 20px; 
  margin-bottom: 2px; 
}

.footer-links a {
  font-size: 1rem; 
  color: #ffffff;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column a {
  text-decoration: none;
  margin: 5px 0;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ccc;
}

.footer-column.posunuta {
  margin-left: 50px;
}

h4 {
  margin-bottom: 10px;
}

.footer-top {
  padding: 10px;
}

.footer-divider {
  border-color: #444;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials a {
  color: #fff;
  margin-right: 10px;
  font-size: 20px;
}

.social-icon:hover {
  color: #aaa;
}

.footer-socials {
  margin-top: 60px; 
  margin-left: 70px; 
  gap: 20px; 
}

.footer-socials .social-icon i {
  font-size: 48px; 
  color: white;
  transition: color 0.3s ease;
  filter: drop-shadow(0 0 4px black);
}

.markdown-content {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  font-family: 'Montserrat', sans-serif;
}


.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(400px, 1fr)); 
  justify-content: center;  
  gap: 25px;
}


.news-card {
  background-color: #ecf3f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
}


.news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


.news-info {
  padding: 15px 18px;
  color: #ddd;
}

.news-date {
  font-size: 13px;
  color: gray;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: black;
}

.news-info p {
  font-size: 14px;
  line-height: 1.5;
  color: #464444;
}


@media screen and (max-width: 600px) {
  .news-img {
    height: 140px;
  }

  .news-title {
    font-size: 16px;
  }
}

.more-info {
  display: inline-block;
  margin-top: 8px;
  color: #1a73e8; 
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.more-info:hover {
  text-decoration: underline;
}

.markdown-content {
  text-align: center;
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

