@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700&family=Rajdhani:wght@400;600;700&display=swap");

:root {
  --bg-0: #090a0f;
  --bg-1: #12121c;
  --bg-2: #1a1e2b;
  --text-0: #f3f4f7;
  --text-1: #c9ced8;
  --accent-0: #ff6421;
  --accent-1: #ffed7f;
  --accent-2: #30944c;
  --accent-3: #514eb7;
  --glow: rgba(255, 100, 33, 0.45);
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rajdhani", "Segoe UI", Arial, sans-serif;
}

body {
  background:
    radial-gradient(circle at 20% 10%, rgba(48, 148, 76, 0.25), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 100, 33, 0.18), transparent 40%),
    linear-gradient(135deg, var(--bg-0), var(--bg-2));
  color: var(--text-0);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Oxanium", "Rajdhani", sans-serif;
  letter-spacing: 0.5px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 15px 40px;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 237, 127, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img {
  height: 50px;
  width: auto;
}

.logo {
  align-self: flex-start;
}

/* Hamburger Menu */
.hamburger {
  display: flex; /* always show */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: relative; /* relative instead of absolute */
  z-index: 2000;     /* higher than navbar and nav-links */
}


.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--accent-1);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Navbar Links */
.nav-links {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: rgba(9, 10, 15, 0.95);
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease;
  z-index: 1000;
}

.nav-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.nav-links ul li a {
  text-decoration: none;
  color: var(--text-0);
  font-weight: 500;
  display: block;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: var(--accent-1);
}

/* Hamburger Active */
.nav-links.active {
  max-height: 500px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  height: 100vh;
  background:
    radial-gradient(circle at top, rgba(81, 78, 183, 0.35), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(48, 148, 76, 0.25), transparent 50%),
    linear-gradient(180deg, #0d0f18, #0a0b12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-0);
  padding: 20px;
}

.hero-logo {
  max-width: 150px;
  margin-bottom: 20px;
  animation: glow 2.8s infinite alternate ease-in-out;
}

.hero-video {
  width: min(70vw, 420px);
  height: min(90vh, 720px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(81, 78, 183, 0.25);
  margin-bottom: 25px;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 8px rgba(255, 237, 127, 0.4)); }
  to { filter: drop-shadow(0 0 26px rgba(255, 100, 33, 0.65)); }
}


.hero h1 {
  font-family: "Oxanium", "Rajdhani", sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 span {
  color: var(--accent-1);
  text-shadow: 0px 0px 14px rgba(255, 237, 127, 0.6);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--text-1);
}

/* Download Button */
.download-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-0));
  color: #0c0d12;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 237, 127, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px var(--glow);
}

/* Hero Background */
.hero-bg {
  height: 300px;
  background:
    linear-gradient(120deg, rgba(48, 148, 76, 0.2), rgba(81, 78, 183, 0.25)),
    url('src/bg.jpg') center/cover no-repeat;
  position: relative;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 9, 14, 0.45);
}

/* Info Section */
.info-section {
  padding: 80px 40px;
  text-align: center;
}

.info-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--accent-1);
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: linear-gradient(180deg, rgba(22, 25, 36, 0.95), rgba(12, 13, 19, 0.95));
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  border: 1px solid rgba(255, 237, 127, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 22px rgba(81, 78, 183, 0.25);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--accent-0);
}

/* Rewards Section */
.rewards-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.reward-card {
  position: relative;
  border-radius: 15px;
  padding: 40px 20px 60px 20px;
  width: 300px;
  text-align: center;
  color: var(--text-0);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reward-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
  border-radius: 15px;
}

.reward-card h3,
.reward-card p,
.reward-btn {
  position: relative;
  z-index: 1;
}

.reward-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 18px rgba(48, 148, 76, 0.25);
}

/* ← Here we use the SVG images as backgrounds */
.refer-card::before { background-image: url('src/img.svg'); }
.salary-card::before { background-image: url('src/salary.svg'); }

.reward-card h3 { color: var(--accent-1); margin-bottom: 15px; }
.reward-card p { color: var(--text-1); margin-bottom: 20px; }

.reward-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-0));
  color: #0c0d12;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reward-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px var(--glow);
}

/* Contest Section */
.contest-section {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(26, 26, 38, 0.9), rgba(9, 10, 15, 0.95));
}

.contest-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent-1);
}

.contest-section p {
  margin-bottom: 25px;
  color: var(--text-1);
}

.explore-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-0), #ff8b39);
  color: #0c0d12;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.explore-btn:hover {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-0));
  color: #0c0d12;
  transform: scale(1.05);
}

/* Support Section */
.support-section {
  padding: 80px 40px;
  text-align: center;
}

.support-section h2 {
  color: var(--accent-1);
  margin-bottom: 15px;
}

.support-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent-2));
  color: #f6f7fb;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.support-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #0c0d12;
}

/* Footer */
footer {
  background: #0d0f18;
  color: #9ea4b1;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links ul { flex-direction: column; }
  .cards, .rewards-section { flex-direction: column; gap: 20px; align-items: center; }
  .hero-video { width: 85vw; height: 70vh; }
}
