/* === GLOBAL STYLES === */
:root {
  --primary-color: #3a7bd5;
  --secondary-color: #5e42a6;
  --accent-color: #f9d03b;
  --text-color: #333333;
  --light-text: #ffffff;
  --background-color: #f5f5f5;
  --card-color: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --container-width: 1200px;
}

* {
  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(--background-color);
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

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

section {
  padding: 5rem 0;
}

/* === HEADER STYLES === */
header {
  background-color: var(--card-color);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: auto;
}

.main-nav .nav-list {
  display: flex;
  list-style-type: none;
}

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

.nav-list a {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

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

.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;
  margin: 5px 0;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-align: center;
  padding: 6rem 0;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: #e7c235;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* === ABOUT SECTION === */
.about-section {
  background-color: var(--card-color);
}

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

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-stats {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
}

/* === GAMES SECTION === */
.games-section {
  background-color: var(--background-color);
}

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

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

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.game-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

/* === GAMING PARTNERS SECTION === */
.gaming-partners {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eaeaea;
}

.gaming-partners h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.partner-item {
  background-color: var(--card-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* === ENTERTAINMENT SECTION === */
.entertainment-section {
  background: linear-gradient(135deg, #f9f9f9, #e9e9e9);
}

.entertainment-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

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

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

/* === NEWSLETTER SECTION === */
.newsletter-section {
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 3rem 0;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 0 1.5rem;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: #e7c235;
}

/* === CONTACT SECTION === */
.contact-section {
  background-color: var(--card-color);
}

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

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

.contact-item {
  display: flex;
  align-items: center;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

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

.contact-form button {
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background-color: var(--secondary-color);
}

/* === FOOTER STYLES === */
footer {
  background-color: #2c2c2c;
  color: var(--light-text);
  padding: 3rem 0 1rem;
}

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

.footer-logo p {
  margin-top: 1rem;
}

.footer-links ul {
  list-style-type: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bbb;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  color: var(--light-text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #bbb;
}

.footer-legal a:hover {
  color: var(--accent-color);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-color);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  
  .nav-list.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .nav-list li {
    margin: 0.5rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .about-content, 
  .contact-content {
    flex-direction: column;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 90%;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 0.8rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}
