/* Modern, responsive stylesheet for Rinumvis */
:root {
  --primary-color: #d32f2f;
  --secondary-color: #1e3a8a;
  --accent-color: #f6ad55;
  --text-color: #333333;
  --bg-color: #ffffff;
  --footer-bg: #f8f9fa;
  --header-bg: #f5f5f5;
  --card-bg: #fff;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

header {
  background-color: var(--header-bg);
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

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

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

nav ul {
  display: flex;
  list-style: none;
  margin-top: 1rem;
}

nav ul li {
  margin-right: 1.5rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.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;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #b71c1c;
}

.features {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: var(--secondary-color);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s;
}

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

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

.about {
  padding: 4rem 0;
  background-color: var(--footer-bg);
}

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

.about-text {
  flex: 1;
  min-width: 300px;
}

.games {
  padding: 4rem 0;
  background-color: #f0f4f8;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.game-link {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  width: calc(25% - 1.5rem);
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

.game-link:hover {
  transform: translateY(-5px);
}

.news {
  padding: 4rem 0;
}

.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

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

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  fill: white;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: white;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h4 {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  margin-top: 3rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

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

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    display: none;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .card, .game-link {
    width: 100%;
  }

  .footer-column {
    flex: 100%;
  }
}

/* Game section styles */
.game-container {
  max-width: 800px;
  margin: 2rem auto;
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
}

.game-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.game-description {
  margin-bottom: 2rem;
  text-align: center;
}

.popular-games {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.03);
}

.game-categories {
  margin-top: 2rem;
}

.category-title {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
