/* General Styles */
:root {
  --primary-color: #1E40AF;
  --secondary-color: #FBBF24;
  --accent-color: #3B82F6;
  --text-color: #1F2937;
  --light-text: #6B7280;
  --bg-color: #FFFFFF;
  --light-bg: #F9FAFB;
  --dark-bg: #111827;
  --border-color: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

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

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  color: var(--light-text);
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.cta-button.primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.cta-button.primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.cta-button.secondary {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--primary-color);
}

.cta-button.secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

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

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

.logo img {
  margin-right: 10px;
}

#main-nav ul {
  display: flex;
  gap: 20px;
}

#main-nav a {
  padding: 8px 15px;
  color: var(--text-color);
  font-weight: 500;
}

#main-nav a:hover {
  color: var(--primary-color);
}

#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(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.9) 0%, rgba(59, 130, 246, 0.9) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/></svg>') center/cover;
  color: white;
  text-align: center;
  padding-top: 60px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 25px 15px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--light-text);
}

/* Games Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.game-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

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

.game-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  font-size: 2rem;
  position: relative;
}

.slot-icon:before {
  content: '🎰';
  position: absolute;
}

.cards-icon:before {
  content: '🃏';
  position: absolute;
}

.roulette-icon:before {
  content: '🎲';
  position: absolute;
}

.live-icon:before {
  content: '🎮';
  position: absolute;
}

.game-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.game-card p {
  margin-bottom: 15px;
}

.game-card a {
  font-weight: 500;
}

.games-news {
  margin-top: 40px;
  padding: 30px;
  background-color: var(--light-bg);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.games-news h3 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.news-sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.news-sources a {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--bg-color);
  border-radius: 5px;
  font-weight: 500;
  transition: var(--transition);
}

.news-sources a:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: white;
  font-size: 1.8rem;
  position: relative;
}

.secure:before {
  content: '🔒';
  position: absolute;
}

.rewards:before {
  content: '🎁';
  position: absolute;
}

.support:before {
  content: '🧑‍💻';
  position: absolute;
}

.mobile:before {
  content: '📱';
  position: absolute;
}

.variety:before {
  content: '🎯';
  position: absolute;
}

.payments:before {
  content: '💳';
  position: absolute;
}

.feature-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-item {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.news-date {
  color: var(--accent-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.news-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.read-more {
  display: inline-block;
  margin-top: 15px;
  font-weight: 500;
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 10px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--dark-bg);
  font-size: 1.5rem;
  position: relative;
}

.email:before {
  content: '✉️';
  position: absolute;
}

.phone:before {
  content: '📞';
  position: absolute;
}

.hours:before {
  content: '🕒';
  position: absolute;
}

.contact-item h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.contact-form {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: white;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  text-align: center;
}

.footer-logo img {
  margin-bottom: 15px;
}

.footer-logo h3 {
  margin-bottom: 10px;
  color: white;
}

.footer-logo p {
  color: #9CA3AF;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links-column h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column a {
  color: #9CA3AF;
  transition: var(--transition);
}

.footer-links-column a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
}

.social-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.facebook:before {
  content: 'f';
  position: absolute;
  font-weight: bold;
  color: white;
}

.twitter:before {
  content: 't';
  position: absolute;
  font-weight: bold;
  color: white;
}

.instagram:before {
  content: 'i';
  position: absolute;
  font-weight: bold;
  color: white;
}

.linkedin:before {
  content: 'in';
  position: absolute;
  font-weight: bold;
  color: white;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #9CA3AF;
  font-size: 0.9rem;
}

.footer-bottom p:not(:last-child) {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
  
  .about-content,
  .contact-wrapper,
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-button {
    display: block;
    width: 100%;
  }
  
  #menu-toggle {
    display: block;
  }
  
  #main-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
    opacity: 0;
  }
  
  #main-nav.active ul {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .stat-item,
  .footer-links {
    grid-template-columns: 1fr;
  }
}
