/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-outline {
  background: transparent;
  color: #333;
  border: 2px solid #333;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: #333;
  color: white;
}

.btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

/* Age Verification Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  margin-bottom: 24px;
}

.canada-flag {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.modal-header h2 {
  color: #333;
  font-size: 24px;
  font-weight: 700;
}

.modal-body p {
  margin-bottom: 16px;
  color: #666;
}

.modal-buttons {
  display: flex;
  gap: 16px;
  margin: 24px 0;
  justify-content: center;
}

.disclaimer {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  text-decoration: none;
}

.logo-icon {
  font-size: 24px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ff6b6b;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff6b6b;
}

.nav-actions {
  display: flex;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  z-index: -2;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/main.avif") center / cover;
  opacity: 0.5;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 100px 0 50px;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-features {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  color: white;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-item p {
  opacity: 0.8;
}

/* Featured Games */
.featured-games {
  padding: 100px 0;
  background: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #333;
}

.section-header p {
  font-size: 1.125rem;
  color: #666;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.game-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.game-image {
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.1);
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

.play-btn {
    text-decoration: none;
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.game-card:hover .play-btn {
  transform: translateY(0);
}

.game-info {
  padding: 24px;
}

.game-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.game-info p {
  color: #666;
  margin-bottom: 16px;
}

.game-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stars {
  font-size: 14px;
}

.rating-text {
  font-weight: 600;
  color: #333;
}

.section-footer {
  text-align: center;
}

/* Why Choose Us */
.why-choose-us {
  padding: 100px 0;
  background: white;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-item {
  display: flex;
  gap: 20px;
}

.benefit-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.benefit-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.benefit-content p {
  color: #666;
  line-height: 1.6;
}

.content-right img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-section p {
  color: #bdc3c7;
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: inline-block;
  font-size: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-link:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  text-align: center;
  color: #bdc3c7;
}

.footer-bottom p {
  margin-bottom: 8px;
}

/* Page Header Styles */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Legal Content Styles */
.legal-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.legal-document {
  background: white;
  padding: 60px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.document-meta {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
  border-left: 4px solid #ff6b6b;
}

.document-meta p {
  margin-bottom: 8px;
  color: #666;
}

.section {
  margin-bottom: 40px;
}

.section h2 {
  color: #333;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff6b6b;
}

.section h3 {
  color: #333;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 12px 0;
}

.section p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.section ul {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 24px;
}

.section ul li {
  margin-bottom: 8px;
}

.contact-info {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  margin-top: 20px;
}

.contact-info p {
  margin-bottom: 8px;
  color: #333;
}

/* About Page Styles */
.about-content {
  padding: 80px 0;
  background: white;
}

.mission-values {
  padding: 80px 0;
  background: #f8f9fa;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 80px 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.team-member {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-photo {
  margin-bottom: 24px;
}

.member-photo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff6b6b;
}

.member-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.member-role {
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 16px;
}

.member-bio {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Contact Page Styles */
.contact-content {
  padding: 80px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.contact-info p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.method-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.method-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.method-info p {
  color: #666;
  margin-bottom: 4px;
}

.response-time {
  font-size: 14px;
  color: #999;
  font-style: italic;
}

.contact-form-section {
  background: white;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b6b;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  margin-top: 50px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #ff6b6b;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-answer p {
  color: #666;
  line-height: 1.7;
}

/* Responsible Gaming Page */
.responsible-gaming-content {
  padding: 80px 0;
}

.content-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.content-section p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.tools-section {
  background: #f8f9fa;
  padding: 60px 0;
  margin-bottom: 60px;
}

.tools-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tool-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.tool-card p {
  color: #666;
  line-height: 1.6;
}

.warning-signs {
  max-width: 800px;
  margin: 0 auto 60px;
}

.warning-signs h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.warning-signs p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.sign-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f9fa;
  padding: 16px 20px;
  border-radius: 8px;
}

.sign-icon {
  font-size: 24px;
}

.sign-item p {
  margin: 0;
  color: #333;
}

.help-resources {
  max-width: 800px;
  margin: 0 auto 60px;
}

.help-resources h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.help-resources p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.resource-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #ff6b6b;
}

.resource-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.resource-card p {
  margin-bottom: 8px;
  color: #666;
}

.tips-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.tips-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tip-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ff6b6b;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.tip-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.tip-content p {
  color: #666;
  line-height: 1.6;
}

.contact-support {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-support h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #333;
}

.contact-support p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.support-contact {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 12px;
  display: inline-block;
  text-align: left;
}

.support-contact p {
  margin-bottom: 12px;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 99;
  }

  .nav-menu.mobile-active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-left h2 {
    font-size: 2rem;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .modal-content {
    padding: 30px 20px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .legal-document {
    padding: 30px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .nav-container {
    padding: 0 15px;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .tools-grid,
  .signs-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* Hidden class for modal */
.hidden {
  display: none !important;
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Form validation styles */
.form-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.form-error h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.form-error ul {
  margin: 0;
  padding-left: 20px;
}

.form-error li {
  margin-bottom: 5px;
}

.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  animation: slideIn 0.5s ease-out;
}

.success-content h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.success-content p {
  margin: 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter buttons for games page */
.filter-btn {
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  color: #495057;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
  font-weight: 500;
}

.filter-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.filter-btn.active {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  border-color: #ff6b6b;
  color: white;
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 20px 0;
}

.game-categories {
  background: #f8f9fa;
  padding: 40px 0;
}

.all-games {
  padding: 60px 0;
}
/* Authentication Modal Styles */
.auth-modal {
  max-width: 450px;
  width: 95%;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.auth-modal .modal-header {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 20px 30px;
  position: relative;
  text-align: left;
  margin-bottom: 0;
}

.auth-modal .modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.close-modal:hover {
  opacity: 1;
}

.auth-modal .modal-body {
  padding: 30px;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: #ff6b6b;
}

.password-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
}

.forgot-password {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #ee5a24;
  text-decoration: underline;
}

.remember-me {
  margin-bottom: 24px;
}

.btn-full {
  width: 100%;
}

.auth-separator {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.auth-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e9ecef;
}

.auth-separator span {
  position: relative;
  background: white;
  padding: 0 16px;
  color: #6c757d;
  font-size: 14px;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-btn:hover {
  background: #f8f9fa;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: bold;
}

.google-btn .social-icon {
  background: #4285f4;
  color: white;
}

.facebook-btn .social-icon {
  background: #3b5998;
  color: white;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  color: #6c757d;
  font-size: 14px;
}

.auth-switch a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.auth-switch a:hover {
  color: #ee5a24;
  text-decoration: underline;
}

.modal-description {
  margin-bottom: 20px;
  color: #6c757d;
}

/* Password Strength Meter */
.password-strength {
  margin-top: 8px;
}

.strength-meter {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  margin-bottom: 4px;
}

.strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
  font-size: 12px;
  color: #6c757d;
}

/* Strength levels */
.strength-weak {
  width: 25%;
  background-color: #dc3545;
}

.strength-medium {
  width: 50%;
  background-color: #ffc107;
}

.strength-strong {
  width: 75%;
  background-color: #28a745;
}

.strength-very-strong {
  width: 100%;
  background-color: #20c997;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .auth-modal {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
  }

  .auth-modal .modal-body {
    padding: 20px;
  }
}
