/* 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: #1c4469;
  padding: 10px 0;
  width: 100%;
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 60px;
  height: auto;
}

.site-title2 {
  color: #fff;
  font-size: 30px;
  margin: 0;
}

.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.header-btn {
  padding: 5px 15px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  border: 2px solid transparent;
}

.header-btn-register {
  background-color: #00A651; /* 1xBet green */
  color: #fff;
  border-color: #00A651;
}

.header-btn-register:hover {
  background-color: #008c45; /* Darker green on hover */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header-btn-login {
  background-color:#0058a9; /* 1xBet blue */
  color: #fff;
  border-color: #0058a9;
}

.header-btn-login:hover {
  background-color: #153354; /* Darker blue on hover */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

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

.block {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.block img {
	display: block;
	max-width: 100%;
	height: auto;
	margin-bottom: 24px;
}

.block hr {
	background: #c00;
	margin-bottom: 20px;
}

.footer__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 40px;
	padding-bottom: 20px;
	list-style: none;
}
.footer__link{
  color: #fff;
  text-decoration: none;
}

.footer__link:hover{
  color: aqua;
}

.logo__link{
  text-decoration: none;
}

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

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

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

.intro-section .image-container img,
.promo-section .image-container img {
  width: 50%;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

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

/* Button Styles */
.btn {
  border: none;
  padding: 10px 20px;
  color: #fff;
  background-color: #FF8C00;
  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: #808080;
}

@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 Styles */
.faq-section {
    color: #000;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.faq-section h2 {
    color: #000;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.faq-question {
    color: #000;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #000;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    display: none;
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
    text-align: left;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive FAQ Styles */
@media (max-width: 768px) {
    .faq-section {
        padding: 20px;
    }
    
    .faq-section h2 {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 18px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
}

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

.play-btn{
  margin: 15px auto;
  display: block;
}

.block p{
  margin-bottom: 15px !important;
  text-align: left !important;
}

.table-wrap{
  overflow-x: auto;
  margin: 15px 0;
}

.table-wrap table{
  width: 100%;
  border-collapse: collapse;
}

.table-wrap td{
  padding: 10px;
  border: 2px solid #000;
}

.block ul,
.block ol{
  padding-left: 20px;
  margin: 15px 0;
}

.content__img{
  max-width: 600px;
  height: auto;
  width: 100%;
  display: block;
  margin: 15px auto;
  object-fit: contain;
}

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

@media (max-width: 480px) {
  .game-card {
    width: 100%;
  }
}
.faq-answer p {
  color:#000;
}
.faq-item.active {
  background-color:rgb(144 144 144 / 10%);
}

/* Responsive Header Styles */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .header-buttons {
        flex-direction: row;
        width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .header-btn {
        width: 50%;
        text-align: center;
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 20px;
    }

    .site-title2 {
        font-size: 24px;
    }

    .logo img {
        width: 50px;
    }
}