:root {
  --primary-color: #003366;
  --secondary-color: #ffcc00;
  --accent-color: #ff6600;
  --text-color: #333333;
  --light-color: #f8f8f8;
  --dark-color: #001a33;
  --light-gray: #e9e9e9;
  --medium-gray: #cccccc;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--dark-color));
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 12px 24px;
  border: none;
  border-radius: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

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

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

.logo {
  display: flex;
  align-items: center;
  color: var(--light-color);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

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

.nav {
  display: flex;
}

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

.nav-item {
  margin-left: 40px;
}

.nav-link {
  color: var(--light-color);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: var(--gradient);
  color: var(--light-color);
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--dark-color) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-style: italic;
}

.hero-btn {
  margin-top: 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
}

.hero-btn:hover {
  background-color: var(--light-color);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-image {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--light-gray);
}

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

.feature-item {
  background-color: var(--light-color);
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  fill: var(--primary-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Games Section */
.games {
  padding: 100px 0;
  background-color: var(--dark-color);
  color: var(--light-color);
}

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

.game-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.game-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.game-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.game-description {
  margin-bottom: 20px;
  opacity: 0.8;
}

.game-link {
  color: var(--secondary-color);
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-bottom: 5px;
}

.game-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.game-link:hover:after {
  width: 100%;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--light-color);
}

.testimonial-item {
  background-color: var(--light-color);
  padding: 30px;
  border: 1px solid var(--medium-gray);
  margin-bottom: 30px;
  position: relative;
}

.testimonial-item:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  color: var(--medium-gray);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.testimonial-role {
  color: #777;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.contact-info-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  fill: var(--primary-color);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

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

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--medium-gray);
  background-color: var(--light-color);
  font-family: 'Georgia', serif;
  font-size: 1rem;
}

textarea.form-control {
  height: 150px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

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

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.footer-title:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
}

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

.footer-link {
  margin-bottom: 10px;
}

.footer-link a {
  color: var(--light-color);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-link a:hover {
  color: var(--secondary-color);
  opacity: 1;
  padding-left: 5px;
}

.footer-social {
  display: flex;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--dark-color);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

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

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--light-color);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

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

/* Media Queries */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--primary-color);
    transition: left 0.3s ease;
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 20px;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}
