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

body {
  background: #0b0b0f;
  color: #eee;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

/* 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: #ffd700;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Navbar Links */
.nav-links {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  background: rgba(15, 15, 20, 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: #eee;
  font-weight: 500;
  display: block;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #ffd700;
}

/* 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, #1c1c28, #0b0b0f);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

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

@keyframes glow {
  from { filter: drop-shadow(0 0 10px #ffd700); }
  to { filter: drop-shadow(0 0 30px #ff3c00); }
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero h1 span {
  color: #ffd700;
  text-shadow: 0px 0px 10px rgba(255,215,0,0.7);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #ccc;
}

/* Download Button */
.download-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #ffd700, #ff3c00);
  color: #111;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 8px 25px rgba(255,215,0,0.5);
}

/* Hero Background */
.hero-bg {
  height: 300px;
  background: url('src/bg.jpg') center/cover no-repeat;
  position: relative;
}

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

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

.info-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffd700;
}

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

.card {
  background: #14141c;
  border-radius: 15px;
  padding: 30px;
  width: 300px;
  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);
}

.card h3 {
  margin-bottom: 15px;
  color: #ff3c00;
}

/* 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: #fff;
  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);
}

/* ← 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: #ffd700; margin-bottom: 15px; }
.reward-card p { color: #ccc; margin-bottom: 20px; }

.reward-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: linear-gradient(45deg, #ffd700, #ff3c00);
  color: #111;
  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 rgba(255,215,0,0.5);
}

/* Contest Section */
.contest-section {
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a26, #0b0b0f);
}

.contest-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffd700;
}

.contest-section p {
  margin-bottom: 25px;
  color: #ccc;
}

.explore-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: #ff3c00;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.explore-btn:hover {
  background: #ffd700;
  color: #111;
  transform: scale(1.05);
}

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

.support-section h2 {
  color: #ffd700;
  margin-bottom: 15px;
}

.support-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  background: #6a1b9a;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.support-btn:hover {
  transform: scale(1.05);
  background: #ffd700;
  color: #111;
}

/* Footer */
footer {
  background: #111;
  color: #999;
  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; }
}
