/* Modern, mobile-first, unique color palette */
:root {
  --primary: #3B82F6;
  --accent: #FBBF24;
  --success: #34D399;
  --info: #818CF8;
  --bg: #F9FAFB;
  --text: #1E293B;
  --footer-bg: #1E293B;
  --footer-text: #F9FAFB;
}

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

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

/* Layout & Header */
header {
  background: var(--primary);
  color: #fff;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

main {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 48px;
  height: 48px;
}

h1 {
  font-size: 1.8rem;
  margin: 0;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Navigation */
nav {
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  padding: 0.6rem 0;
  display: inline-block;
}

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

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav {
    margin-top: 1rem;
    width: 100%;
  }
  
  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(90deg, #E0F2FE 0%, #93C5FD 100%);
  padding: 3rem 1rem 2rem;
  text-align: center;
  width: 100%;
}

.hero-svg {
  margin-top: 1.5rem;
  width: 100%;
  display: block;
}

/* Services Section */
.section-intro {
  max-width: 800px;
  margin: 1rem auto 2rem;
  text-align: center;
  color: var(--text);
  line-height: 1.6;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  list-style: none;
  margin: 1.5rem auto;
  max-width: 1100px;
}

.services-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  width: calc(33.333% - 1rem);
  min-width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.service-content {
  flex: 1;
}

.service-content h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.service-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

/* Content Sections */
section {
  margin: 3rem auto;
  padding: 0 1.5rem;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

section h3 {
  align-self: flex-start;
  margin-bottom: 1.5rem;
  color: var(--text);
  font-size: 1.75rem;
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.5rem;
}

#about, #contact {
  max-width: 900px;
  width: 100%;
}

/* About Section */
.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  line-height: 1.7;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text h4 {
  margin: 1.5rem 0 0.7rem;
  color: var(--primary);
  font-size: 1.3rem;
}

.values-list {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.values-list li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

/* Games Section */
.games-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
  text-align: left;
}

.games-section {
  margin-bottom: 2rem;
  width: 100%;
}

.games-container h4 {
  color: var(--primary);
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  text-align: left;
}

.games-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.2rem 0;
  align-items: center;
  justify-content: flex-start;
}

.games-buttons a {
  background: var(--info);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.games-buttons a:hover {
  background: var(--success);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.games-note {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 2rem;
  color: #64748b;
  line-height: 1.6;
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  text-align: left;
}

/* Contact Section */
.contact-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: left;
}

.contact-info h4 {
  color: var(--primary);
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-info h4:first-child {
  margin-top: 0;
}

.contact-details {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--info);
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
  text-align: center;
}

.cta-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 1.5rem 0;
  text-align: center;
  width: 100%;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-icon img {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .services-list { 
    flex-direction: column; 
  }
  
  .services-list li {
    width: 100%;
  }
  
  h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  nav ul { 
    flex-direction: column; 
    gap: 0.7rem; 
  }
  
  .footer-content { 
    flex-direction: column; 
    gap: 0.8rem; 
  }
  
  .hero {
    padding: 2rem 1rem 1.5rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
}
