/* ============================================
   BROBUC — Modern Roblox Theme
   ============================================ */

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --roblox-red: #e2231a;
  --roblox-red-dark: #b81a13;
  --roblox-red-light: #ff4d4d;
  --bg-dark: #0a0a0f;
  --bg-card: #15151c;
  --bg-card-hover: #1c1c26;
  --border: #26262f;
  --text: #e6e6e6;
  --text-muted: #a0a0a8;
  --text-dim: #6b6b75;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--roblox-red-light); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #fff; text-decoration: none; }

h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; }

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }

/* ============================================
   HEADER — Sticky dengan blur
   ============================================ */
.header {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--roblox-red) 0%, var(--roblox-red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav { display: flex; gap: 8px; align-items: center; }

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav a:hover { color: #fff; background: rgba(226, 35, 26, 0.1); }

.nav a.active {
  color: #fff;
  background: rgba(226, 35, 26, 0.15);
  border: 1px solid rgba(226, 35, 26, 0.3);
}

/* ============================================
   HERO — Gradient + Animated Blob
   ============================================ */
.hero {
  position: relative;
  text-align: center;
  padding: 90px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(226, 35, 26, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(226, 35, 26, 0.15);
  border: 1px solid rgba(226, 35, 26, 0.4);
  color: var(--roblox-red-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 700;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--roblox-red) 0%, var(--roblox-red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--roblox-red) 0%, var(--roblox-red-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(226, 35, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(226, 35, 26, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--roblox-red-light);
  border: 1px solid rgba(226, 35, 26, 0.4);
}

.btn-secondary:hover {
  background: rgba(226, 35, 26, 0.1);
  color: #fff;
  border-color: var(--roblox-red);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 60px 0; position: relative; }

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   WARNING BOX
   ============================================ */
.warning-box {
  background: linear-gradient(135deg, rgba(226, 35, 26, 0.08) 0%, rgba(226, 35, 26, 0.02) 100%);
  border: 1px solid rgba(226, 35, 26, 0.25);
  border-left: 4px solid var(--roblox-red);
  padding: 22px 26px;
  border-radius: 12px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.warning-box::before {
  content: '⚠️';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 80px;
  opacity: 0.05;
}

.warning-box h2 {
  font-size: 1.1rem;
  color: var(--roblox-red-light);
  margin-bottom: 10px;
  position: relative;
}

.warning-box p {
  color: #d0c0c0;
  font-size: 0.95rem;
  position: relative;
}

/* ============================================
   CARDS — Glassmorphism + Glow
   ============================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--roblox-red) 0%, var(--roblox-red-light) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  border-color: rgba(226, 35, 26, 0.4);
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(226, 35, 26, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(226, 35, 26, 0.2);
}

.card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   METHOD (Guide Page)
   ============================================ */
.method {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease;
  position: relative;
}

.method:hover { border-color: rgba(226, 35, 26, 0.3); }

.method-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--roblox-red) 0%, var(--roblox-red-dark) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.method h2 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.method p { color: var(--text-muted); font-size: 0.95rem; }

.method ol {
  padding-left: 22px;
  margin: 16px 0;
}

.method ol li {
  margin-bottom: 10px;
  color: #d0d0d8;
  font-size: 0.95rem;
}

.method ol li strong { color: #fff; }

.tip {
  background: rgba(34, 197, 94, 0.08);
  border-left: 3px solid var(--success);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #b8e0b8;
  margin-top: 16px;
}

/* ============================================
   TEXT
   ============================================ */
.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.promise-list { list-style: none; padding: 0; margin: 16px 0; }

.promise-list li {
  padding: 12px 0;
  color: #d0d0d8;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.promise-list li:last-child { border-bottom: none; }

.contact { font-size: 1rem; margin: 12px 0 24px; }

.center { text-align: center; margin-top: 32px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #08080c;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  margin-top: 60px;
}

.footer p { color: var(--text-dim); font-size: 0.88rem; }

.footer .small {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
}

.footer .small a { color: var(--text-muted); }

.footer .small a:hover { color: var(--roblox-red-light); }

/* ============================================
   ANIMATIONS — Fade in on scroll
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 700px) {
  .hero { padding: 60px 18px 50px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-badge { font-size: 0.75rem; }
  .subtitle { font-size: 0.95rem; }

  .header .container {
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
  }

  .nav { gap: 4px; width: 100%; justify-content: center; flex-wrap: wrap; }
  .nav a { font-size: 0.85rem; padding: 7px 12px; }

  .section { padding: 40px 0; }
  .section-title { font-size: 1.4rem; }
  .section-subtitle { font-size: 0.9rem; }

  .card { padding: 22px 20px; }
  .card-icon { width: 52px; height: 52px; font-size: 1.8rem; }

  .method { padding: 22px 20px; }
  .method h2 { font-size: 1.2rem; }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  .warning-box { padding: 18px 20px; }
  .warning-box h2 { font-size: 1rem; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.65rem; }
  .logo { font-size: 1.2rem; }
}