/* ========================================================================
   Theme Variables for Light/Dark Mode
   ======================================================================== */
:root {
  /* Dark theme (default) */
  --bg-primary: #0e0e14;
  --bg-secondary: #14141c;
  --bg-card: #1e1e1e;
  --text-primary: #fff;
  --text-secondary: #cfcfcf;
  --text-tertiary: #aaa;
  --text-muted: #666;
  --accent-gradient: linear-gradient(90deg, #ff7b7b, #ffb347);
  --accent-color: #ffb347;
  --button-text: #1a1a1f;
  --radial-glow: rgba(250, 184, 104, 0.2);
}

@media (prefers-color-scheme: light) {
  :root {
    /* Light theme overrides - Enhanced colors */
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-primary: #1a1d23;
    --text-secondary: #495057;
    --text-tertiary: #6c757d;
    --text-muted: #adb5bd;
    --accent-gradient: linear-gradient(90deg, #e63946, #f77f00);
    --accent-color: #f77f00;
    --button-text: #ffffff;
    --radial-glow: rgba(247, 127, 0, 0.12);
  }
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Global Container Spacing */
.section {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo+title on left, links on right */
  padding: 1rem 2rem;
  background: transparent;
  position: relative;
  z-index: 10;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* distance between logo and “River Player” */
}
.nav-left h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem; /* space between nav links */
}
.nav-right a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-right a:hover {
  color: var(--text-primary);
}
.logo_img{
  float:left;
  margin-right: 10px;
}
.logo_text{
  float:right;
}
/* Hero Section */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  min-height: 80vh;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    var(--radial-glow),
    transparent 60%
  );
  z-index: 1;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    margin-top: 2rem;
  }
}

/* Left Side Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hero-content h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
}
.hero-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Single CTA Button */
.portal-button {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: var(--accent-gradient);
  color: var(--button-text);
  transition: transform 0.3s;
  margin-top: 1rem;
  width: fit-content;
}
.portal-button:hover {
  transform: translateY(-2px);
}

/* Right Side Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero-visual img {
  max-width: 70%;
  height: auto;
}

/* Why River Player Section */
.why-section {
  background-color: var(--bg-secondary);
  text-align: center;
  padding: 3rem 2rem;
}
.why-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.why-section p {
  max-width: 800px;
  margin: 0.5rem auto 2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.why-item {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}
.why-item:hover {
  transform: translateY(-3px);
}
.why-item .material-icons {
  font-size: 48px;
  margin-bottom: 1rem;
  color: var(--accent-color);
}
.why-item h3 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.why-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Key Features Section */
.features-section {
  padding: 3rem 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card h3 {
  font-family: 'Sora', sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Light theme specific enhancements */
@media (prefers-color-scheme: light) {
  .why-item,
  .feature-card {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
  }
  
  .why-item:hover,
  .feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
  }
  
  /* Enhanced navigation in light mode */
  .navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
  }
  
  /* Enhanced button styling */
  .portal-button {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  
  .portal-button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  /* Enhanced why section background */
  .why-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
}

/* ========================================================================
   Mobile Responsive Design (767px and below)
   ======================================================================== */
@media (max-width: 767px) {
  /* Mobile Navigation */
  .navbar {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-left {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .nav-left h2 {
    font-size: 1.3rem;
  }
  
  .nav-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .nav-right a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: var(--bg-card);
    border: 1px solid #e5e7eb;
  }
  
  /* Mobile Hero Section */
  .hero {
    padding: 1.5rem 1rem;
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    gap: 1rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  
  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .portal-button {
    align-self: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
  }
  
  /* Mobile Why Section */
  .why-section {
    padding: 2rem 1rem;
  }
  
  .why-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .why-section p {
    font-size: 1rem;
    margin: 0.5rem auto 1.5rem;
    padding: 0 1rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .why-item {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  
  .why-item .material-icons {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }
  
  .why-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .why-item p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Mobile Features Section */
  .features-section {
    padding: 2rem 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .feature-card p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Mobile Footer */
  footer {
    padding: 2rem 1rem;
    font-size: 0.9rem;
  }
}
