/* 
 * CepBahis973 - Main Stylesheet
 * Responsive and SEO optimized design for Brazilian market
 */

/* CSS Reset & Base Styles */
:root {
  --primary-color: #2d72d9;
  --secondary-color: #ffb400;
  --accent-color: #ff5e5e;
  --bg-color: #121930;
  --bg-secondary: #1e2742;
  --text-color: #ffffff;
  --text-secondary: #a0a8c0;
  --header-height: 80px;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
}

.btn-primary:hover {
  background-color: #2360ba;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #333;
}

.btn-secondary:hover {
  background-color: #e6a200;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--secondary-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(18, 25, 48, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.main-nav .nav-list {
  display: flex;
}

.main-nav .nav-list li {
  margin-left: 1.5rem;
}

.main-nav .nav-list a {
  position: relative;
  font-weight: 500;
}

.main-nav .nav-list a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.main-nav .nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 3rem) 0 5rem;
  background: linear-gradient(135deg, var(--bg-color), var(--bg-secondary));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,100 100,0 100,100" style="fill:%232d72d9;fill-opacity:0.05"/></svg>');
  background-size: cover;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  padding: 2rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Games Section */
.games {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.games-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.game-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.game-card:hover {
  transform: translateY(-10px);
}

.game-img {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-card h3 {
  color: var(--secondary-color);
}

.game-card a {
  color: var(--primary-color);
  font-weight: 500;
}

.game-card a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.game-news {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

.game-news a {
  color: var(--primary-color);
  font-weight: 500;
}

.game-news a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Bonuses Section */
.bonuses {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.bonuses-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.bonus-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.bonus-card:hover {
  transform: translateY(-10px);
}

.bonus-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.info-item:hover {
  transform: translateY(-5px);
}

.info-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form {
  background-color: var(--bg-secondary);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  border: 1px solid #444;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-family: inherit;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--bg-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-legal h3 {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.footer-links h3::after,
.footer-legal h3::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
  left: 0;
  bottom: 0;
}

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 0.7rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.copyright p {
  color: var(--text-secondary);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-item {
    flex: 1 0 calc(50% - 1rem);
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .main-nav .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--bg-color);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  .main-nav .nav-list.active {
    display: flex;
  }

  .main-nav .nav-list li {
    margin: 0;
  }

  .main-nav .nav-list a {
    display: block;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .menu-toggle {
    display: block;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .info-item {
    flex: 1 0 100%;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature, .game-card, .bonus-card {
  animation: fadeIn 0.5s ease forwards;
}
