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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
  color: white;
  overflow-x: hidden;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/home_bg.jpg') center/cover no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.theme-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  z-index: -1;
}

.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem 0;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 50;
}

.nav-inner {
  width: 88%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 1rem;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  transform: scale(1.12);
}

.resource-main {
  width: 60%;
  max-width: 900px;
  margin: 6rem auto 3rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid white;
  padding-left: 0.6rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.resource-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.resource-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.resource-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1rem;
}

.resource-card a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.85);
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.resource-card a:hover {
  background: white;
  transform: scale(1.07);
}

.site-footer {
  text-align: center;
  padding: 1.5rem 0;
  color: rgba(255,255,255,0.6);
}
