/* Main CSS file for abgun.online - Modern and responsive design */
:root {
  --primary-color: #0066cc;
  --secondary-color: #004080;
  --accent-color: #ffcc00;
  --text-color: #333333;
  --light-color: #ffffff;
  --dark-color: #222222;
  --gray-color: #f5f5f5;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

/* Header styles */
header {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  color: var(--light-color);
  text-decoration: none;
  padding: 0 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 8rem 0 4rem;
  text-align: center;
  color: var(--light-color);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

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

/* Features */
.features {
  background-color: var(--gray-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.feature-card h3 {
  margin: 1rem 0;
  color: var(--primary-color);
}

/* Games section */
.games-section {
  background-color: var(--light-color);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.game-card {
  background-color: var(--gray-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.game-card p {
  margin-bottom: 1rem;
}

.games-links {
  margin-top: 2rem;
}

.games-links a {
  color: var(--primary-color);
  font-weight: 500;
  margin-right: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* About */
.about {
  background-color: var(--gray-color);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-column ul {
  list-style: none;
}

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

.footer-column a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

/* Media Queries for Responsive Design */
@media screen and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    padding: 1rem 0;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
  }
  
  .features-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.2rem;
  }
}
