/* Base Styles */
:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
  --text-color: #2d3436;
  --text-light: #636e72;
  --border-color: #dfe6e9;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  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;
  display: block;
}

/* Header Styles */
header {
  background-color: var(--dark-color);
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

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

nav ul li a.active {
  color: var(--accent-color);
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: var(--light-color);
}

.hero h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--dark-color);
}

.featured-game {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 30px;
}

@media (min-width: 768px) {
  .featured-game {
    flex-direction: row;
  }
}

.game-info {
  flex: 1;
}

.game-info h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.game-description {
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.8;
}

.download-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  transition: var(--transition);
}

.download-btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Slideshow Styles */
.slideshow-container {
  flex: 1;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.slideshow {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  border-radius: 10px;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: var(--border-color);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Game List Section */
.game-list {
  padding: 60px 0;
  background-color: white;
}

.game-list h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--dark-color);
}

.games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  justify-content: center;
}

@media (min-width: 768px) {
  .games {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .games {
    grid-template-columns: repeat(3, 1fr);
  }
}

.game-card {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 20px;
}

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

.game-card h3 {
  font-size: 1.5rem;
  margin: 15px 0;
  color: var(--primary-color);
}

.game-card p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.game-card .download-btn {
  display: block;
  text-align: center;
  margin-top: 15px;
}

/* About Page Styles */
.about {
  padding: 60px 0;
  background-color: white;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
  }
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  max-width: 400px;
  margin: 0 auto;
}

.about-text {
  flex: 2;
}

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

.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-light);
}

.about-text h3 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: var(--primary-color);
}

.skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-category h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.skill-category ul li {
  margin-bottom: 5px;
  color: var(--text-light);
  position: relative;
  padding-left: 20px;
}

.skill-category ul li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

.education-item {
  margin-bottom: 20px;
}

.education-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.education-item p {
  margin-bottom: 5px;
}

/* Contact Page Styles */
.contact {
  padding: 60px 0;
  background-color: white;
}

.contact h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
  }
}

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

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

.contact-info p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
}

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

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

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  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(--primary-color);
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}

.submit-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.form-status {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

footer p {
  margin: 0;
}

footer .social-links {
  margin-top: 10px;
}

footer .social-links a {
  background-color: transparent;
  border: 1px solid white;
}

footer .social-links a:hover {
  background-color: white;
  color: var(--dark-color);
}

@media (min-width: 768px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

