/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: #fafafa;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styling */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}
.header-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header-left {
  display: flex;
  align-items: center;
}
.logo {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}
header h1 {
  color: #007bff;
  font-size: 1.8em;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 10px;
}
.header-btn {
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.header-btn:hover {
  background-color: #0056b3;
}

/* Hero Section */
#hero {
  background-color: #e3f2fd;
  padding: 40px 20px;
  text-align: center;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-text {
  margin-bottom: 20px;
}
.hero-icon {
  max-width: 100px;
  margin-bottom: 20px;
}
.hero-text h2 {
  color: #007bff;
  margin-bottom: 10px;
}
.hero-description {
  font-size: 1em;
  color: #333;
  margin-bottom: 20px;
}
.hero-button {
  margin-top: 20px;
}
.join-btn {
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.join-btn:hover {
  background-color: #0056b3;
}

/* Matches Section */
main {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
}
#matches h2 {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
}
#matches-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Match Card Styling */
.match-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 300px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
}
.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.match-title {
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.match-league {
  font-size: 0.95em;
  text-align: center;
  margin-bottom: 10px;
  color: #555;
}
.team-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}
.team-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #ccc;
}
.match-time {
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 15px;
  color: #666;
}
.make-bet-btn {
  display: block;
  width: 100%;
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 10px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.make-bet-btn:hover {
  background-color: #e0a800;
}

/* Download Section */
#download {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  text-align: center;
}
#download h2 {
  color: #007bff;
  margin-bottom: 20px;
}
.download-instructions {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.download-instructions ol {
  padding-left: 20px;
}
.download-instructions li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

/* Author Review Section */
#author {
  background-color: #f7f9fc;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  text-align: center;
}
#author h2 {
  color: #007bff;
  margin-bottom: 20px;
}
.review-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #007bff;
}
.author-info h3 {
  color: #007bff;
  margin-bottom: 10px;
}
.author-info p {
  max-width: 600px;
  font-size: 1em;
  color: #333;
}

/* FAQ Section */
#faq {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}
#faq h2 {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}
.faq-item h3 {
  font-size: 1.1em;
  color: #007bff;
  margin-bottom: 5px;
}
.faq-item p {
  font-size: 0.95em;
  color: #333;
}

/* Comments Section */
#comments {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}
#comments h2 {
  text-align: center;
  color: #007bff;
  margin-bottom: 20px;
}
.comments-container {
  max-width: 800px;
  margin: 0 auto;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}
.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 1px solid #ccc;
}
.comment-content {
  flex: 1;
}
.comment-content p {
  font-size: 0.95em;
  color: #333;
  margin-bottom: 5px;
}
.comment-rating {
  color: #ffcc00;
  font-size: 1em;
}

/* Comment Form */
.comment-form {
  max-width: 800px;
  margin: 20px auto 0;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
}
.comment-form h3 {
  color: #007bff;
  margin-bottom: 10px;
}
#commentForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#commentForm textarea {
  width: 100%;
  max-width: 600px;
  height: 100px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  margin-bottom: 10px;
  font-size: 1em;
}
.submit-comment-btn {
  background-color: #007bff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-comment-btn:hover {
  background-color: #0056b3;
}

/* Support Section */
#support {
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  text-align: center;
}
#support h2 {
  color: #007bff;
  margin-bottom: 20px;
}
#support p {
  font-size: 1em;
  color: #333;
  max-width: 800px;
  margin: 0 auto 20px;
}
.support-info {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.support-info li {
  font-size: 1em;
  color: #333;
  margin: 5px 0;
}
.support-button {
  margin-top: 20px;
}
.contact-btn {
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.contact-btn:hover {
  background-color: #0056b3;
}

/* Footer Styling */
footer {
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  text-align: center;
}
.footer-container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}
footer p {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 5px;
}
footer .disclaimer {
  font-size: 0.8em;
  color: #555;
  max-width: 800px;
  margin: 10px auto 0;
  line-height: 1.4;
}
footer .policy-links a {
  text-decoration: none;
  color: #007bff;
  margin: 0 5px;
  transition: color 0.3s ease;
}
footer .policy-links a:hover {
  color: #0056b3;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #007bff;
  color: #fff;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#cookie-banner p {
  margin: 0;
  font-size: 0.9em;
}
#cookie-banner a {
  color: #fff;
  text-decoration: underline;
  margin: 0 5px;
}
.cookie-btn {
  background-color: #fff;
  color: #007bff;
  border: none;
  padding: 8px 15px;
  margin-left: 15px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cookie-btn:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }
  header h1 {
    margin: 10px 0;
  }
  .review-container {
    flex-direction: column;
  }
  .comment-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .comment-avatar {
    margin-bottom: 10px;
  }
  #cookie-banner {
    flex-direction: column;
  }

  .header-buttons{
    margin-top: 15px;
  }
}

.content{
  background-color: #ffffff;
  padding: 40px 20px;
  margin-top: 40px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.content h2{
  color: #007bff;
  margin-bottom: 20px;
}

.content h3{
  margin-bottom: 15px;
}

.content p{
  margin-bottom: 15px;
  text-align: left;
}

.content ol,
.content ul{
  text-align: left;
  margin: 15px 0;
  padding-left: 25px;
}

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

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

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

#policy-content h2{
  font-size: 24px;
  margin-bottom: 15px;
}

#policy-content h3{
  font-size: 20px;
  margin-bottom: 10px;
}

#policy-content p{
  margin-bottom: 10px;
}

#policy-content ul{
  margin: 10px 0;
  padding-left: 25px;
}

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