:root {
  --bg-color: #1a0d00;
  --primary: #ff8c00;
  --primary-light: #ffb347;
  --primary-dark: #cc6600;
  --secondary: #ffa500;
  --accent: #ff6f00;
  --card-bg: #2a1505;
  --card-bg-gloss: linear-gradient(145deg, #2d1808 0%, #1f0f04 100%);
  --border: rgba(255, 140, 0, 0.15);
  --text-main: #ffffff;
  --text-muted: #f4d4a8;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 80px;
}

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

body {
  background: linear-gradient(135deg, #1a0d00 0%, #2a1505 50%, #1a0d00 100%);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle Background Glow Animation */
.bg-glow {
  position: fixed;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.15) 0%, rgba(26, 13, 0, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 10s infinite alternate;
}

.bg-glow-2 {
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.12) 0%, rgba(26, 13, 0, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulse 12s infinite alternate-reverse;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  width: 0%;
  z-index: 10000;
  box-shadow: 0 0 15px var(--primary);
  transition: width 0.1s;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(26, 13, 0, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(255, 140, 0, 0.1);
}

.nav-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
}

.logo span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Buttons - Glossy Orange */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c00 0%, #ffa500 50%, #ff6f00 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  border-radius: 30px 30px 0 0;
  pointer-events: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffa500 0%, #ffb347 50%, #ff8c00 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  color: var(--text-main);
  border: 1px solid rgba(255, 140, 0, 0.4);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.3) 0%, rgba(255, 165, 0, 0.15) 100%);
  transform: translateY(-2px);
  border-color: var(--primary-light);
  color: var(--primary-light);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 13, 0, 0.4) 0%, rgba(42, 21, 5, 0.85) 70%, rgba(26, 13, 0, 0.95) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(255, 140, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

/* Cards - Glossy Orange */
.card {
  background: linear-gradient(145deg, #2d1808 0%, #1f0f04 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 140, 0, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 0, 0.4), transparent);
  z-index: 3;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 25px rgba(255, 140, 0, 0.25);
  border-color: rgba(255, 140, 0, 0.5);
}

.card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-img {
  transform: scale(1.08);
}

.badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.9) 0%, rgba(255, 111, 0, 0.9) 100%);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 179, 71, 0.6);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary-light);
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--secondary);
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Page Headers */
.page-header {
  padding-top: 150px;
  padding-bottom: 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(26, 13, 0, 1) 0%, rgba(42, 21, 5, 1) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255, 140, 0, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 140, 0, 0.1);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Detail Page Specifics */
.detail-hero {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 50px;
}

.detail-content {
  background: linear-gradient(145deg, #2d1808 0%, #1f0f04 100%);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255, 140, 0, 0.1);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  color: var(--primary-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 140, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f0600 0%, #1a0d00 100%);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer Legal Links Row (shown on every page) */
.footer-legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 0 25px 0;
  margin: 0 0 25px 0;
  border-bottom: 1px solid var(--border);
}

.footer-legal-links li {
  margin: 0;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal-links a:hover {
  color: var(--primary-light);
}

.footer-legal-links li + li::before {
  content: '•';
  position: absolute;
  margin-left: -18px;
  color: var(--border);
  pointer-events: none;
}

/* Legal / Content Pages */
.legal-content {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-content h2 {
  color: var(--primary-light);
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  color: var(--text-main);
  font-size: 1.2rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-content p {
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0 20px 25px;
}

.legal-content ul li {
  margin-bottom: 10px;
}

.legal-content strong {
  color: var(--primary-light);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(26, 13, 0, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
  }
  .nav-links.active {
    left: 0;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .detail-content {
    padding: 20px;
  }
  .footer-legal-links {
    gap: 15px 20px;
  }
}