:root {
  --primary-color: #5865f2;
  --secondary-color: #4048af;
  --text-color: #ffffff;
  --bg-color: #18191a;
  --card-bg: #242526;
  --card-border: #3a3b3c;
  --success-color: #43b581;
  --error-color: #f04747;
  --warning-color: #faa61a;
  --gradient-1: linear-gradient(45deg, #5865f2, #7289da);
  --gradient-2: linear-gradient(45deg, #5865f2, #3949ab);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: rgba(36, 37, 38, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  max-width: 100%;
  display: block;
}

.logo h1 {
  font-size: 24px;
  margin-left: 10px;
  font-weight: 600;
}

.logo span {
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  background: radial-gradient(
    circle at top right,
    rgba(88, 101, 242, 0.1),
    transparent
  );
}

.hero-content {
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Player card */
.player-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin-bottom: 40px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s;
}

.player-card:hover {
  transform: translateY(-5px);
}

.input-group {
  display: flex;
  margin-bottom: 20px;
}

.input-field {
  flex-grow: 1;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
  outline: none;
  transition: border-color 0.3s;
}

.input-field:focus {
  border-color: var(--primary-color);
}

.btn-submit {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: var(--gradient-2);
  transform: translateY(-2px);
}

.btn-copy,
.btn-play {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  margin: 0 10px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.btn-copy i,
.btn-play i {
  margin-right: 8px;
}

.btn-copy:hover,
.btn-play:hover {
  background: var(--gradient-2);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.result-container {
  display: none;
  margin-top: 20px;
}

.result-url {
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  word-break: break-all;
  font-family: monospace;
  font-size: 14px;
}

.btn-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.loading {
  display: none;
  text-align: center;
  margin: 20px 0;
}

.loading i {
  font-size: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.notification {
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 5px;
  display: none;
}

.success {
  background-color: rgba(67, 181, 129, 0.2);
  border: 1px solid var(--success-color);
  color: var(--success-color);
}

.error {
  background-color: rgba(240, 71, 71, 0.2);
  border: 1px solid var(--error-color);
  color: var(--error-color);
}

.player-container {
  display: none;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 100%;
  min-height: 200px; /* Minimum height to ensure visibility */
}

.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  min-height: 200px; /* Minimum height to ensure visibility */
}

/* Features section */
.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  width: 100%;
}

.section-title:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  background: rgba(88, 101, 242, 0.1);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-desc {
  opacity: 0.9;
  font-size: 1rem;
}

/* How it works section */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(
    to bottom,
    var(--bg-color),
    rgba(36, 37, 38, 0.5),
    var(--bg-color)
  );
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--card-border);
  z-index: 0;
  display: none;
}

@media (min-width: 768px) {
  .steps::before {
    display: block;
  }
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
  position: relative;
  margin-bottom: 30px;
}

.step-circle {
  width: 70px;
  height: 70px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 15px;
  color: white;
  z-index: 1;
  position: relative;
  box-shadow: var(--box-shadow);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* FAQ section */
.faq {
  padding: 80px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 15px;
}

.accordion-header {
  background-color: var(--card-bg);
  padding: 15px 20px;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  border: 1px solid var(--card-border);
}

.accordion-header:hover {
  background-color: rgba(36, 37, 38, 0.9);
  transform: translateX(5px);
}

.accordion-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

.accordion-header i {
  transition: transform 0.3s;
  color: var(--primary-color);
}

.accordion-body {
  background-color: rgba(36, 37, 38, 0.5);
  border-radius: 0 0 10px 10px;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  border-left: 1px solid var(--card-border);
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  margin-top: -5px;
}

.accordion.active .accordion-header {
  border-radius: 10px 10px 0 0;
  background: var(--gradient-1);
}

.accordion.active .accordion-header i {
  transform: rotate(180deg);
  color: white;
}

.accordion.active .accordion-body {
  max-height: 300px;
  padding: 20px;
}

/* Statistics section */
.stats {
  padding: 60px 0;
  background-color: rgba(36, 37, 38, 0.5);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
}

.stat-item {
  flex: 1;
  min-width: 150px;
  margin: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-title {
  font-size: 1rem;
  opacity: 0.9;
}

/* Testimonial section */
.testimonials {
  padding: 80px 0;
}

.testimonial-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--card-border);
  margin: 20px 10px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-family: serif;
  font-size: 50px;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
}

.testimonial-text::before {
  top: -20px;
  left: -10px;
}

.testimonial-text::after {
  bottom: -40px;
  right: -10px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Footer styles */
footer {
  background-color: var(--card-bg);
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.footer-title {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-color);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  margin-top: 20px;
  opacity: 0.7;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-color);
  font-size: 1.3rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: white;
  background: var(--primary-color);
  transform: translateY(-5px);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 5px 0 0 5px;
  outline: none;
}

.newsletter-btn {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: background 0.3s;
}

.newsletter-btn:hover {
  background: var(--gradient-2);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* Dark scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Custom cursor */
/*body {*/
/*  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%235865F2" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4"/></svg>')*/
/*      8 8,*/
/*    auto;*/
/*}*/

a,
button,
input,
.accordion-header,
.back-to-top {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="%235865F2" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6"/></svg>')
      12 12,
    pointer;
}

/* Responsive styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .feature-card,
  .player-card {
    padding: 20px;
  }

  .social-links a {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    align-items: center;
  }
  
  .logo {
    position: relative;
    left: 0;
    transform: none;
    z-index: 5;
  }
  
  .hamburger {
    display: block;
    position: relative;
    right: 0;
    top: auto;
    transform: none;
    z-index: 10;
  }
  
  .feature-title {
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .feature-card {
    text-align: center;
    align-items: center;
  }
  
  .benefit-card {
    text-align: center;
    align-items: center;
  }
  
  .benefit-card h3 {
    text-align: center;
    width: 100%;
  }
  
  .benefit-card p {
    text-align: center;
  }

  nav ul {
    margin-top: 15px;
  }

  nav ul li {
    margin-left: 15px;
    margin-right: 15px;
  }

  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 700px;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .input-group {
    flex-direction: column;
  }

  .input-field {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .btn-submit {
    border-radius: 5px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-copy,
  .btn-play {
    margin-bottom: 10px;
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .player-container {
    padding-top: 56.25%; /* Maintain aspect ratio */
    margin: 15px 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    min-height: 300px; /* Increased minimum height for better visibility on mobile */
  }
  
  .player-iframe {
    width: 100%;
    height: 100%;
    min-height: 300px; /* Increased minimum height */
    border-radius: 8px;
  }

  .player-card {
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .fullwidth-player-wrapper {
    margin: 10px -20px; /* Negative margin to break out of container */
    width: calc(100% + 40px); /* Compensate for container padding */
  }
  
  .player-container {
    border-radius: 0; /* Full width on mobile */
    min-height: 400px; /* Taller on mobile for better visibility */
    padding-top: 65%; /* Slightly taller aspect ratio for mobile */
  }
  
  .player-iframe {
    border-radius: 0; /* Match container */
    min-height: 400px;
  }

  .logo-img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-desc {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .player-container {
    padding-top: 56.25%;
    margin: 10px 0;
    border-radius: 6px;
    min-height: 250px; /* Specific minimum height for small phones */
    height: auto !important; /* Force height auto to override any inline styles */
  }
  
  .player-iframe {
    border-radius: 6px;
    min-height: 250px; /* Match container */
    height: 100% !important; /* Force height to override any inline styles */
  }

  .player-card {
    padding: 1rem;
    width: 100%;
    margin: 0;
    border-radius: 8px;
  }

  .fullwidth-player-wrapper {
    margin: 5px -15px; /* Adjusted for smaller container padding */
    width: calc(100% + 30px);
  }
  
  .player-container {
    min-height: 240px; /* Adjusted for smaller screens */
    padding-top: 70%; /* Even taller aspect ratio for small phones */
  }
  
  .player-iframe {
    min-height: 240px;
  }

  .logo-img {
    height: 28px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.pulse {
  animation: pulse 2s infinite;
}

/* Animation delays */
.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

/* Additional modern styling */
:root {
  --primary-gradient: linear-gradient(135deg, #5865f2, #7289da);
  --card-gradient: linear-gradient(
    135deg,
    rgba(16, 18, 27, 0.4),
    rgba(16, 18, 27, 0.2)
  );
}

.hero-title {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

/* Fix container width and make sure content doesn't overflow */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Improve hero section layout */
.hero-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.glass-card {
  backdrop-filter: blur(10px);
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.promo-section {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.8),
    rgba(30, 30, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin: 3rem 0;
  overflow: hidden;
  padding: 3rem;
  position: relative;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.promo-section:before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(88, 101, 242, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.promo-section:after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(114, 137, 218, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.promo-section h2 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.promo-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.promo-section .promo-icon {
  background: var(--primary-gradient);
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 2rem;
  height: 80px;
  width: 80px;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
  position: relative;
  z-index: 1;
}

.promo-highlight {
  background: rgba(88, 101, 242, 0.15);
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}

.info-box {
  background: rgba(88, 101, 242, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.domain-badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: inline-block;
  font-size: 0.85rem;
  margin: 0.25rem;
  padding: 0.4rem 0.8rem;
}

/* Fix benefits grid to avoid overflow */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
  width: 100%;
}

/* Improved feature cards grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
  width: 100%;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(20, 20, 35, 0.6);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  height: 100%;
  box-sizing: border-box;
}

.feature-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

/* Enhanced benefit cards */
.benefit-card {
  align-items: center;
  text-align: center;
  background: rgba(20, 20, 35, 0.6);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  height: 100%;
  box-sizing: border-box;
}

.benefit-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.1),
    rgba(114, 137, 218, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.benefit-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

.benefit-card:hover:before {
  opacity: 1;
}

.benefit-icon {
  background: var(--primary-gradient);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 1.4rem;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(88, 101, 242, 0.3);
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Benefits container styling */
.benefits {
  padding: 3rem;
  margin: 4rem 0;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.8),
    rgba(30, 30, 50, 0.8)
  );
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.benefits:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(88, 101, 242, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.benefits .section-title {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

/* Section improvements */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Enhanced player card */
.player-card {
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  width: 100%;
  box-sizing: border-box;
}

.btn-submit {
  background: var(--primary-gradient);
}

.btn-play,
.btn-new-tab {
  background: var(--primary-gradient);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-play:hover,
.btn-new-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* Improved mobile navigation */
.hamburger {
  cursor: pointer;
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 10;
}

.hamburger span {
  background-color: white;
  border-radius: 3px;
  display: block;
  height: 3px;
  margin-bottom: 5px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 100%;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Major Responsive Improvements */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .benefits-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Navigation improvements */
  .hamburger {
    display: block;
  }

  nav {
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(10px);
    height: 100vh;
    left: 0;
    opacity: 0;
    padding: 80px 20px 20px;
    position: fixed;
    pointer-events: none;
    top: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    width: 100%;
    z-index: 5;
  }

  nav.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    margin: 1rem 0;
    width: 100%;
  }

  nav ul li a {
    display: block;
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    text-align: center;
    width: 100%;
  }

  /* Content improvements */
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .promo-section,
  .benefits {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .promo-section h2 {
    font-size: 1.5rem;
  }

  .promo-icon {
    height: 60px;
    width: 60px;
    font-size: 1.5rem;
  }

  .benefits-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-card,
  .feature-card {
    padding: 1.5rem;
  }

  .player-card {
    padding: 1.5rem;
  }

  .input-group {
    flex-direction: column;
  }

  .input-field {
    border-radius: 8px;
    margin-bottom: 0.75rem;
    width: 100%;
  }

  .btn-submit {
    border-radius: 8px;
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-play,
  .btn-new-tab {
    margin: 0.5rem 0;
    width: 100%;
  }

  /* Footer improvements */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
  }



  .footer-links li {
    text-align: center;
  }

  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .domain-badge {
    font-size: 0.75rem;
    margin: 0.15rem;
    padding: 0.3rem 0.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .benefit-icon,
  .feature-icon {
    height: 50px;
    width: 50px;
    font-size: 1.2rem;
  }

  .feature-card,
  .benefit-card {
    padding: 1.25rem;
  }

  .feature-card h3,
  .benefit-card h3 {
    font-size: 1.1rem;
  }

  .feature-card p,
  .benefit-card p {
    font-size: 0.9rem;
  }

  .step-circle {
    height: 40px;
    width: 40px;
    font-size: 1.1rem;
  }

  .promo-highlight {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-title {
    font-size: 0.85rem;
  }
}

/* Make sure feature titles are always centered */
.feature-title {
  text-align: center;
  width: 100%;
}

/* Center the feature icons properly */
.feature-icon {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Custom margin-bottom classes */
.mb-1 {
    margin-bottom: 0.25rem; /* Equivalent to 4px */
  }
  
  .mb-2 {
    margin-bottom: 0.5rem; /* Equivalent to 8px */
  }
  
  .mb-3 {
    margin-bottom: 0.75rem; /* Equivalent to 12px */
  }
  
  .mb-4 {
    margin-bottom: 1rem; /* Equivalent to 16px */
  }
  
  .mb-5 {
    margin-bottom: 1.25rem; /* Equivalent to 20px */
  }
  
  .mb-6 {
    margin-bottom: 1.5rem; /* Equivalent to 24px */
  }
  
  .mb-7 {
    margin-bottom: 1.75rem; /* Equivalent to 28px */
  }
  
  .mb-8 {
    margin-bottom: 2rem; /* Equivalent to 32px */
  }
  
  .mb-9 {
    margin-bottom: 2.25rem; /* Equivalent to 36px */
  }
  
  .mb-10 {
    margin-bottom: 2.5rem; /* Equivalent to 40px */
  }
  
  .mb-11 {
    margin-bottom: 2.75rem; /* Equivalent to 44px */
  }
  
  .mb-12 {
    margin-bottom: 3rem; /* Equivalent to 48px */
  }
  
  .mb-13 {
    margin-bottom: 3.25rem; /* Equivalent to 52px */
  }
  
  .mb-14 {
    margin-bottom: 3.5rem; /* Equivalent to 56px */
  }
  
  .mb-15 {
    margin-bottom: 3.75rem; /* Equivalent to 60px */
  }
  
  .mb-16 {
    margin-bottom: 4rem; /* Equivalent to 64px */
  }
  
  .mb-17 {
    margin-bottom: 4.25rem; /* Equivalent to 68px */
  }
  
  .mb-18 {
    margin-bottom: 4.5rem; /* Equivalent to 72px */
  }
  
  .mb-19 {
    margin-bottom: 4.75rem; /* Equivalent to 76px */
  }
  
  .mb-20 {
    margin-bottom: 5rem; /* Equivalent to 80px */
  }

  .h1-title{
    font-size: 1.2rem;
  }

.fullwidth-player-wrapper {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 20px 0;
  position: relative;
  z-index: 10;
}

.player-header {
  background: var(--card-bg);
  border-radius: 10px 10px 0 0;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--card-border);
  border-bottom: none;
}

.player-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.player-title i {
  margin-right: 8px;
  color: var(--primary-color);
}

.player-controls {
  display: flex;
  gap: 10px;
}

.player-control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.player-control-btn:hover {
  background: var(--primary-color);
}

.player-container {
  display: block;
  margin: 0;
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 0 0 10px 10px; /* Rounded only on bottom when used with header */
  box-shadow: var(--box-shadow);
  width: 100%;
  max-width: 100%;
  min-height: 300px; /* Minimum height to ensure visibility */
  background-color: #000;
}

.player-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 10px 10px; /* Match container */
  min-height: 300px; /* Minimum height to ensure visibility */
}

.mobile-player-header {
  border-radius: 0;
  padding: 10px 15px;
}

.mobile-player-title {
  font-size: 0.9rem;
}

.mobile-player-btn {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .player-header {
    border-radius: 0;
    padding: 10px 15px;
  }
}

@media (max-width: 480px) {
  .player-header {
    padding: 8px 12px;
  }
  
  .player-title {
    font-size: 0.9rem;
  }
  
  .player-control-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* Legal Page Styles */
.legal-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.8),
    rgba(30, 30, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
  overflow: hidden;
  padding: 2.5rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.legal-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  font-weight: 500;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul, 
.legal-section ol {
  margin-bottom: 1rem;
  margin-left: 2rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-updated {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-style: italic;
  opacity: 0.7;
  font-size: 0.9rem;
}

.legal-section a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Contact Page Styles */
.contact-page {
  padding-top: 120px;
  padding-bottom: 60px;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 35, 0.8),
    rgba(30, 30, 50, 0.8)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
  overflow: hidden;
  padding: 2.5rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.contact-intro {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-option {
  background: rgba(20, 20, 35, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-option:hover {
  transform: translateY(-5px);
}

.contact-icon {
  background: var(--primary-gradient);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.contact-option h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-option p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-link {
  display: inline-block;
  background: var(--primary-gradient);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 1rem;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.contact-tip {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.85rem;
}

.contact-note {
  background: rgba(88, 101, 242, 0.1);
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-note i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Contact Info Styles for Footer */
.contact-info {
  margin-top: 1rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-info a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: var(--primary-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .legal-card,
  .contact-card {
    padding: 1.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.3rem;
  }
  
  .legal-section h3 {
    font-size: 1.1rem;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .legal-card,
  .contact-card {
    padding: 1.25rem;
  }
  
  .legal-section h2 {
    font-size: 1.2rem;
  }
  
  .legal-section h3 {
    font-size: 1rem;
  }
  
  .contact-option {
    padding: 1.25rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .contact-option h2 {
    font-size: 1.2rem;
  }
}