/* Main Styles for theroamverse.live */
:root {
  --primary-color: #6247aa;
  --secondary-color: #d68fd6;
  --accent-color: #29c7ac;
  --dark-color: #2e1a47;
  --light-color: #f9f9f9;
  --text-color: #333333;
  --light-text: #ffffff;
  --card-bg: #ffffff;
  --footer-bg: #1a0b2e;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Header & Navigation */
header {
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.logo-text {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  color: var(--light-text);
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(46, 26, 71, 0.8), rgba(46, 26, 71, 0.8)), url('../img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--dark-color);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--light-text);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: var(--dark-color);
}

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

.section-header p {
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-info h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-info p {
  margin-bottom: 15px;
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: #f5f5f5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  z-index: -1;
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(98, 71, 170, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.feature-card p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
}

/* Game Section */
.game-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.disclaimer-card {
  background-color: rgba(98, 71, 170, 0.05);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
}

.disclaimer-card h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.disclaimer-card p {
  font-size: 15px;
  color: var(--text-color);
}

.game-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.game-frame {
  width: 100%;
  height: 600px;
  border: none;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(rgba(46, 26, 71, 0.9), rgba(46, 26, 71, 0.9)), url('../img/testimonial-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.author-info h5 {
  font-size: 18px;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 14px;
  opacity: 0.7;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

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

.contact-info {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 30px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/pattern.png');
  opacity: 0.1;
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: 30px;
  position: relative;
}

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

.contact-info-item i {
  margin-right: 15px;
  font-size: 18px;
  color: var(--accent-color);
}

.contact-form {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e9e9e9;
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(98, 71, 170, 0.2);
}

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

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--light-text);
  padding: 70px 0 20px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.7;
}

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

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

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

.social-links a i {
  color: var(--light-text);
  font-size: 18px;
}

.footer-links h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--light-text);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--accent-color);
}

.footer-disclaimer {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 20px;
}

.footer-disclaimer p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

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

.footer-bottom p {
  opacity: 0.7;
  font-size: 14px;
}

/* Legal Pages */
.legal-header {
  background: linear-gradient(rgba(46, 26, 71, 0.8), rgba(46, 26, 71, 0.8)), url('../img/legal-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  padding: 150px 0 70px;
  text-align: center;
}

.legal-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.legal-content {
  padding: 60px 0;
}

.legal-container {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.legal-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.legal-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-section ul li {
  margin-bottom: 10px;
  list-style-type: disc;
  line-height: 1.6;
}

.last-updated {
  font-style: italic;
  margin-top: 40px;
  text-align: right;
  color: #888;
}

/* Age Verification */
.age-verification {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.age-verification-content {
  background-color: var(--dark-color);
  max-width: 500px;
  width: 90%;
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  color: var(--light-text);
  position: relative;
  z-index: 1; /* make sure content (and buttons) are above the ::before overlay */
}

.age-verification-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(98, 71, 170, 0.1), rgba(41, 199, 172, 0.1));
  border-radius: var(--border-radius);
  pointer-events: none; /* allow clicks to pass through decorative layer */
  z-index: 0;
}

.age-verification-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.age-verification-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 16px;
}

.age-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .game-frame {
    height: 400px;
  }
}

@media screen and (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .game-frame {
    height: 300px;
  }
  
  .legal-container {
    padding: 30px 20px;
  }
  
  .age-verification-content {
    padding: 30px 20px;
  }
  
  .age-buttons {
    flex-direction: column;
    gap: 10px;
  }
}