/* Fjorny.bond - Gaming Website Stylesheet */
:root {
  --primary-color: #131b26;
  --secondary-color: #1f2b38;
  --accent-color: #6a11cb;
  --highlight-color: #2575fc;
  --text-color: #ffffff;
  --dark-color: #0a0f14;
  --light-color: #f8f9fa;
  --border-radius: 10px;
  --box-shadow: 0 8px 30px rgba(37, 117, 252, 0.2);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
  font-family: 'Rubik', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.05) 0%, transparent 150px),
    radial-gradient(circle at 80% 70%, rgba(37, 117, 252, 0.05) 0%, transparent 150px);
  z-index: -1;
  pointer-events: none;
}

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
  text-align: center;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--highlight-color);
  color: var(--highlight-color);
}

.btn-outline:hover {
  background: var(--highlight-color);
  color: white;
}

/* Header Styles */
.header {
  background: rgba(10, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  /* gap: 0.3rem; */
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--light-color), var(--highlight-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* About Section */
.about {
  padding: 6rem 0;
  background: rgba(15, 23, 36, 0.5);
  backdrop-filter: blur(10px);
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto;
}

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

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.about-text p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Features Section */
.features {
  padding: 6rem 0;
}

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

.feature-card {
  background: rgba(15, 23, 36, 0.5);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(37, 117, 252, 0.3);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color), var(--highlight-color));
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Game Section */
.game-section {
  padding: 4rem 0;
}

.game-container {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: rgba(10, 15, 20, 0.7);
}

.game-container::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.game-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 20, 0.9);
  z-index: 2;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(37, 117, 252, 0.3);
  border-top: 3px solid var(--highlight-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.loader-text {
  color: var(--light-color);
  font-weight: 500;
}

.game-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: rgba(15, 23, 36, 0.5);
  backdrop-filter: blur(10px);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  color: var(--light-color);
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--highlight-color);
  background: rgba(255, 255, 255, 0.15);
}

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

/* Footer */
.footer {
  background: var(--dark-color);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.footer-links a {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--highlight-color);
}

.footer-disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.footer-disclaimer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Age Verification Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 20, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal {
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  color: var(--light-color);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-body p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Legal Pages */
.legal-section {
  padding: 6rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 23, 36, 0.5);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.legal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
}

.legal-content h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--light-color);
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content,
  .about-content {
    flex-direction: column;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 15, 20, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    z-index: 99;
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu a {
    font-size: 1.2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-text h3 {
    font-size: 1.6rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}