/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Designer Background Elements */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(255,105,180,0.15), transparent 40%), 
              radial-gradient(circle at 80% 80%, rgba(30,144,255,0.15), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Additional Decorative Elements */
body::after {
  content: "";
  position: fixed;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,140,0,0.2), transparent 70%);
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

.decorative-svg {
  position: fixed;
  top: 20%;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(70,130,180,0.2), transparent 70%);
  transform: rotate(45deg);
  z-index: -3;
  pointer-events: none;
  border-radius: 50%;
}

/* Header Styles */
header {
  background-color: #1D4369;
  padding: 10px 0;
  width: 100%;
}

.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
}

.site-title {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.block {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.styled-table-div {
  overflow-x: auto;
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.styled-table th, .styled-table td {
  border: 1px solid #37a0f7;
  padding: 10px;
}
.styled-table th {
  background-color: #37a0f7;
  color: #fff;
}
.styled-table tr:nth-child(even) {
  background-color: #f3f3f3;
}
ol, ul {
	padding-right: 25px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.intro-section ol, .intro-section  ul {
  line-height: 1.5rem;
}

a {
  color: #FF8C00;
  text-decoration: none;
}

a:hover {
  color: #525252;
}


.button-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	padding-bottom: 25px;
}
.button {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	min-height: 44px;
	border-radius: 5px;
	padding: 4px 32px;
	background: #1D4369;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: all .3s ease;
}
.button:hover {
	background: #37a0f7;
	color: #fff;
}
.button--green {
	background-color: rgb(0, 166, 81);
	color: #fff;
}
.button--green:hover {
	background-color: rgb(0, 140, 69);
	color: #fff;
}


.intro-section h1,
.info-section h2,
.info-section h3,
.games-section h2,
.promo-section h2,
.faq-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.intro-section p,
.info-section p,
.promo-section p {
  margin-bottom: 20px;
}

.image-container {
  position: relative;
  text-align: center;
}

.intro-section img,
.promo-section img {
  width: 100%;
  max-width: 980px;
  display: block;
  margin: 0 auto 25px;
}

.image-container .btn {
  margin-top: 15px;
}

/* Button Styles */
.btn {
  border: none;
  padding: 10px 20px;
  color: #fff;
  background-color: #1D4369;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  animation: pulse 2s infinite;
  outline: none;
}
.btn:hover {
  background-color: #37a0f7;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Games Section */
.games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.game-card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  width: calc(33.333% - 20px);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.game-card h3 {
  margin: 10px 0;
}

.game-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}
.faq-item.active {
	background: rgba(0, 0, 0, .01);
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 10px;
	padding-left: 25px;
}

.faq-question::after {
  content: '+';
  position: absolute;
	left: 4px;
  top: 0;
  font-size: 18px;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  display: none;
	padding: 0 10px;
  margin-top: 10px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
footer {
  background-color: #1D4369;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  width: 100%;
}

.footer_link{
  color: #fff;
  text-decoration: none;
  line-height: 30px;
}

.footer_link:hover{
  color: #37a0f7;
}

.footer-nav{
  list-style: none;
  margin: 20px auto;
  display: block;
  width: fit-content;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .game-card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .game-card {
    width: 100%;
  }
}