:root {
  --rpg-dark: #342e37;
  --rpg-burgundy: #7b2838;
  --rpg-forest: #2f4550;
  --rpg-gold: #d4af37;
  --rpg-silver: #A3A3A3;
  --rpg-black: #000000;
  --rpg-parchment: #f5f0e1;
  --transition-speed: 0.3s;
  --border-radius: 0.5rem;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--rpg-dark);
  line-height: 1.6;
  background-color: #fff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.2;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: center;
}

.btn-primary {
  background-color: var(--rpg-burgundy);
  color: white;
}

.btn-primary:hover {
  background-color: rgba(123, 40, 56, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--rpg-gold);
  color: var(--rpg-gold);
}

.btn-secondary:hover {
  background-color: rgba(212, 175, 55, 0.1);
}

.btn-cta {
  background-color: white;
  color: var(--rpg-burgundy);
  font-size: 1.1rem;
  padding: 1rem 2rem;
  font-weight: 700;
}

.btn-cta:hover {
  background-color: var(--rpg-gold);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--rpg-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--rpg-forest);
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-speed), 
              box-shadow var(--transition-speed);
}

.scrolled {
  background-color: rgba(52, 46, 55, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--rpg-parchment);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.desktop-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-item {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  color: var(--rpg-forest);
  font-weight: 500;
  transition: all var(--transition-speed);
}

.nav-item:hover {
  background-color: var(--rpg-burgundy);
  color: white;
}

.nav-item.active {
  background-color: rgba(123, 40, 56, 0.1);
  color: var(--rpg-burgundy);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--rpg-burgundy);
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed);
}

.mobile-nav.open {
  max-height: 300px;
}

.mobile-nav .nav-item {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--rpg-forest) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/img/hero2.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding-top: 4rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--rpg-parchment);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.feature-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--rpg-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: transform var(--transition-speed);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.icon-circle svg {
  width: 2.5rem;
  height: 2.5rem;
}

.feature-icon:hover .icon-circle {
  transform: translateY(-5px);
}

.feature-icon span {
  color: var(--rpg-parchment);
  font-weight: 500;
}

/* Featured Utilities Section */
#featured-utilities {
  padding: 5rem 0;
  background-color: white;
}

.utility-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.utility-card {
  background-color: white;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-speed);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 10px;
}

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

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(123, 40, 56, 0.1);
  color: var(--rpg-burgundy);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  transition: all var(--transition-speed);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.utility-card:hover .card-icon {
  background-color: var(--rpg-burgundy);
  color: white;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--rpg-dark);
}

.card-description {
  color: var(--rpg-forest);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.card-explore {
  display: flex;
  align-items: center;
  color: var(--rpg-burgundy);
  font-weight: 600;
  transition: color var(--transition-speed);
}

.chevron-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
  transition: transform var(--transition-speed);
}

.utility-card:hover .card-explore {
  color: var(--rpg-gold);
}

.utility-card:hover .chevron-icon {
  transform: translateX(5px);
}

.section-footer {
  text-align: center;
}

/* How It Works Section */

#how-it-works, .section {
  padding: 5rem 0;
  background-color: rgba(245, 240, 225, 0.3);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed);
}

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

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--rpg-burgundy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-title {
  margin-bottom: 0.75rem;
  color: var(--rpg-dark);
  font-size: 1.25rem;
}

.step-description {
  color: var(--rpg-forest);
}

/* CTA Section */
#cta {
  padding: 5rem 0;
  background-color: var(--rpg-burgundy);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--rpg-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  color: var(--rpg-gold);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  transition: color var(--transition-speed);
}

.footer-link:hover {
  color: var(--rpg-gold);
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-icons {
    gap: 1rem;
  }
  
  .icon-circle {
    width: 3rem;
    height: 3rem;
  }
  
  .icon-circle svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  
  .utility-cards {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Login page responsive */
  .login-card {
    padding: 1.5rem;
  }
  
  /* Utilities page responsive */
  .categories-wrapper {
    flex-direction: column;
  }
  
  .category-filter {
    width: 100%;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .utility-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

/* Login page */
#login-section {
  padding: 6rem 1rem;
  background-color: rgba(245, 240, 225, 0.3);
  margin: 0;
  padding-bottom: 4rem;
}

#login-section > .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 480px;
}

.login-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.login-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--rpg-dark);
}

.login-description {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--rpg-forest);
}

.login-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--rpg-dark);
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-group input:focus {
  outline: none;
  border-color: var(--rpg-burgundy);
  box-shadow: 0 0 0 2px rgba(123, 40, 56, 0.2);
}

.forgot-password {
  display: block;
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--rpg-forest);
}

.forgot-password:hover {
  color: var(--rpg-burgundy);
}

.login-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.login-separator::before,
.login-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.login-separator span {
  padding: 0 1rem;
  color: var(--rpg-forest);
  font-size: 0.9rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--rpg-dark);
}

.btn-social:hover {
  background-color: #f5f5f5;
}

.btn-google:hover {
  color: #DB4437;
}

.btn-discord:hover {
  color: #5865F2;
}

.signup-prompt {
  text-align: center;
  font-size: 0.95rem;
  color: var(--rpg-forest);
}

.signup-link {
  color: var(--rpg-burgundy);
  font-weight: 600;
}

.signup-link:hover {
  text-decoration: underline;
}

/* Utilities page */
#utilities-hero, #language-hero, #about-hero, #pricing-hero {
  /*background-color: var(--rpg-dark);*/
  padding: 8rem 0 4rem;
  background: linear-gradient(to bottom, rgba(52, 46, 55, 0.9), rgba(52, 46, 55, 0.8)), url('/assets/img/bg.png');
  background-position: center 45%;
  background-size: cover;
  color: white;
  text-align: center;
}
#utilities-dungeonmaster {
  padding: 8rem 0 4rem;
  background: linear-gradient(to bottom, rgba(52, 46, 55, 0.9), rgba(52, 46, 55, 0.8)), url('/assets/img/hero3.jpg');
  background-position: center 20%;
  background-size: cover;
  color: white;
  text-align: center; 
}
.utilities-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.utilities-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.utilities-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.utility-search {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.utility-search input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.utility-search input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(123, 40, 56, 0.2);
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--rpg-burgundy);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.search-btn:hover {
  background-color: rgba(123, 40, 56, 0.9);
}

.search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

#utility-categories {
  padding: 4rem 0;
}

.categories-wrapper {
  display: flex;
  gap: 2rem;
}

.category-filter {
  width: 250px;
  flex-shrink: 0;
}

.category-filter h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.category-list {
  list-style: none;
}

.category-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed);
  font-weight: 500;
}

.category-item:hover {
  background-color: rgba(123, 40, 56, 0.05);
  color: var(--rpg-burgundy);
}

.category-item.active {
  background-color: var(--rpg-burgundy);
  color: white;
}

.utilities-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Languages page */
#languages-hero {
  padding: 8rem 0 4rem;
  background-color: var(--rpg-dark);
  color: white;
  text-align: center;
}

.languages-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.languages-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.languages-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

#languages-grid {
  padding: 4rem 0;
  background-color: rgba(245, 240, 225, 0.3);
}

.languages-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.language-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-speed);
}

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

.language-card.current {
  border-color: var(--rpg-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.language-flag {
  width: 80px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.language-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.language-card p {
  margin-bottom: 1.25rem;
  color: var(--rpg-forest);
  font-size: 0.9rem;
}

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

.info-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card svg {
  color: var(--rpg-burgundy);
  margin-bottom: 1rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.info-card p {
  color: var(--rpg-forest);
}

/* Pricing page */
#pricing-hero {
  padding: 8rem 0 4rem;
  background-color: var(--rpg-dark);
  color: white;
  text-align: center;
}

.pricing-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pricing-hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.toggle-label {
  font-weight: 500;
}

.discount {
  display: inline-block;
  background-color: var(--rpg-gold);
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  margin-left: 0.5rem;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.3);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--rpg-gold);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#pricing-plans {
  padding: 4rem 0;
  background-color: rgba(245, 240, 225, 0.3);
}

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

.pricing-card {
  background-color: white;
  border-radius: var(--border-radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
  overflow: hidden;
  transition: all var(--transition-speed);
  position: relative;
}

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

.pricing-card.popular {
  border-color: var(--rpg-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: translateY(-5px) scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--rpg-gold);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-amount {
  margin-bottom: 1.5rem;
}

.currency {
  font-size: 1.25rem;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
}

.amount.annual {
  display: none;
  color: var(--rpg-burgundy);
}

.period {
  font-size: 1rem;
  color: var(--rpg-forest);
}

.pricing-description {
  color: var(--rpg-forest);
  font-size: 0.95rem;
}

.pricing-features {
  padding: 2rem;
}

.pricing-features ul {
  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.pricing-features li.disabled {
  opacity: 0.5;
}

.feature-price-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  color: var(--rpg-burgundy);
  flex-shrink: 0;
}

.pricing-features li.disabled .feature-price-icon {
  color: var(--rpg-forest);
}

.pricing-footer {
  padding: 0 2rem 2rem;
  text-align: center;
}

.trial-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--rpg-forest);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  max-width: 800px;
  margin: 0 auto 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.pricing-guarantee svg {
  color: var(--rpg-gold);
  flex-shrink: 0;
}

.pricing-guarantee p {
  color: var(--rpg-forest);
}

.pricing-faq {
  max-width: 800px;
  margin: 0 auto;
}

.pricing-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: rgba(123, 40, 56, 0.05);
}

.faq-question.active {
  background-color: rgba(123, 40, 56, 0.05);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.faq-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-speed);
}

.faq-question.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-speed), padding var(--transition-speed);
}

.faq-question.active + .faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  color: var(--rpg-forest);
  padding: 10px;
}

/* Estilos do Gerador de Personagens */
#character-generator-hero {
  background: linear-gradient(to bottom, rgba(30, 30, 36, 0.8), rgba(30, 30, 36, 0.6)), url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.character-generator-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.character-generator-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.character-generator-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.simple-content {
  padding: 60px 0;
  background-color: #f9f7f0;
}
.generator-content {
  padding: 60px 0;
  background-color: #f9f7f0;
  margin-top: 50px;
}

.generator-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.simple-header {
  display: flex;
  align-items: center;
}
.generator-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.generator-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: rgba(114, 47, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.generator-icon svg {
  width: 30px;
  height: 30px;
  stroke: #722F37;
}

.generator-title h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #1E1E24;
  margin: 0 0 5px 0;
}

.generator-title p {
  color: #2F4F4F;
  font-size: 1rem;
  margin: 0;
}

.generator-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
.generator-options-city {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}
.generator-options-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.generator-option {
  background-color: rgba(245, 245, 220, 0.5);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.generator-option label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #2F4F4F;
  margin-bottom: 8px;
}

.generator-multiply-select {
  width: 100%;
  padding: 12px;
  background-color: white;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  font-size: 1rem;
  color: #1E1E24;
}
.generator-select {
  width: 100%;
  padding: 12px;
  background-color: white;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  font-size: 1rem;
  color: #1E1E24;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232F4F4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.generator-select:focus, .generator-input:focus {
  outline: none;
  border-color: #722F37;
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}
.generator-input {
  width: 100%;
  padding: 12px;
  background-color: white;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  font-size: 1rem;
  color: #1E1E24;
}

.generator-button-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.magical-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background-color: #722F37;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(114, 47, 55, 0.2);
}

.magical-btn:hover {
  background-color: #8a3842;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(114, 47, 55, 0.3);
}

.magical-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(114, 47, 55, 0.3);
}

.magical-btn svg {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.loading-icon {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.result-container {
  background-color: rgba(245, 245, 220, 0.7);
  border-radius: 8px;
  padding: 25px;
  margin-top: 30px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

#result-container h1,
#result-container h2, 
#result-container h3, 
#result-container h4, 
#result-container h5 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: #1E1E24;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 10px;
}

#result-container p {
  margin: 8px 0;
  color: #2F4F4F;
  text-align: justify;
}
#result-container div {
  margin-bottom: 20px;
}

#result-container ul, #result-container ol {
  list-style-type: none; /* Remove os marcadores padrão */
  padding: 0;
  margin: 20px 0;
  background-color: rgba(245, 245, 220, 0.5); /* Fundo levemente destacado */
  border-radius: 8px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

#result-container ul li, #result-container ol li {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: #1E1E24;
  padding: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

#result-container ul li:last-child, #result-container ol li:last-child {
  border-bottom: none; /* Remove a borda do último item */
}

#result-container ul li::before, #result-container ol li::before {
  content: "•"; /* Adiciona um marcador estilizado */
  color: rgba(212, 175, 55, 0.7);
  font-weight: bold;
  margin-right: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 6px;
  padding: 10px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-name {
  font-weight: 600;
  color: #722F37;
  font-size: 0.9rem;
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E1E24;
}

/* Responsividade para o gerador de personagens */
@media (max-width: 768px) {
  .character-generator-content h1 {
    font-size: 2.5rem;
  }
  
  .generator-card {
    padding: 20px;
  }
  
  .generator-options, .generator-options-large, .generator-options-city {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .character-generator-content h1 {
    font-size: 2rem;
  }
  
  .generator-header {
    flex-direction: column;
    text-align: center;
  }
  
  .generator-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .generator-options, .generator-options-large, .generator-options-city {
    background-color: rgba(245, 245, 220, 0.5);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
  }

  .generator-option {
    background-color: #FFF;
    margin: 0;
    padding: 0;
    border: none;
  }

  .generator-option label {
    background-color: rgba(245, 245, 220, 0.5);
    margin: 0;
    padding: 0;
  }

  .feature-icons {
    display: none;
  }
}

#pwa-install-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #795251;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

#pwa-install-button:hover {
  background-color: #8a5f5e;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

#pwa-install-button svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 768px) {
  #pwa-install-button {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  #pwa-install-button svg {
    width: 24px;
    height: 24px;
  }
}

/*Sobre*/
.bg-gradient {
  background: linear-gradient(to bottom, var(--rpg-dark), rgba(52, 46, 55, 0.8)),
              url('/placeholder.svg');
  background-size: cover;
  background-position: center;
  color: white;
}

.bg-light {
  background-color: rgba(245, 240, 225, 0.3);
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.story-container {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.story-image {
  flex: 1;
  min-width: 300px;
}

.rounded-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.story-content {
  flex: 2;
  min-width: 300px;
}

.story-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--rpg-dark);
}

.story-content p {
  margin-bottom: 1rem;
  color: var(--rpg-forest);
}

.timeline {
  margin-top: 2.5rem;
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: rgba(123, 40, 56, 0.2);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 1.5rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--rpg-burgundy);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1;
}

.timeline-content h4 {
  margin-bottom: 0.5rem;
  color: var(--rpg-dark);
  font-size: 1.2rem;
}

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

.mission-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: transform 0.3s ease;
}

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

.mission-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(123, 40, 56, 0.1);
  color: var(--rpg-burgundy);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.mission-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.mission-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--rpg-dark);
}

.mission-card p {
  color: var(--rpg-forest);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.team-photo {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.3rem;
  color: var(--rpg-dark);
}

.team-role {
  color: var(--rpg-burgundy);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-desc {
  padding: 0 1.5rem 1.5rem;
  color: var(--rpg-forest);
}

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

.tech-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.tech-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(123, 40, 56, 0.1);
  color: var(--rpg-burgundy);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.tech-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.tech-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--rpg-dark);
}

.tech-item p {
  color: var(--rpg-forest);
}

/* Responsive styles */
@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
  }
  
  .story-image {
    order: -1;
  }
  
  .mission-container,
  .tech-container {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .about-hero-content h1 {
    font-size: 2.5rem;
  }
}