:root {
  --primary: #a855f7;
  --primary-dim: rgba(168, 85, 247, 0.15);
  --bg-dark: #000000;
  --bg-card: #0e0e12;
  --bg-lighter: #18181b;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --star-color: #fbbf24;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; }

/* Snow Canvas */
#snow-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.5; }

/* Scroll Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Header & Nav */
header { padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.logo { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--text-main); text-decoration: none; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Hero Section */
.hero { text-align: center; padding: 120px 20px; position: relative; z-index: 1; background: radial-gradient(circle at top, var(--primary-dim) 0%, transparent 50%); }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: 4rem; margin-bottom: 20px; letter-spacing: -1px; text-transform: uppercase; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* Common Section Styles */
.container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; position: relative; z-index: 1; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: 'Outfit', sans-serif; font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

/* Features Section */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; text-align: center; }
.feature-card { background: var(--bg-card); padding: 40px 20px; border-radius: 16px; border: 1px solid var(--border); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-card svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 20px; }
.feature-card h4 { font-size: 1.2rem; margin-bottom: 10px; font-family: 'Outfit', sans-serif; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Main Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.3s ease, border-color 0.3s ease; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px var(--primary-dim); }
.card-tag { background: var(--primary-dim); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; width: fit-content; }
.card.highlight { border-color: var(--primary); box-shadow: 0 0 20px var(--primary-dim); transform: scale(1.02); }
.card.highlight .card-tag { background: var(--primary); color: #000; font-weight: 800; }
.card h3 { font-size: 1.5rem; margin-bottom: 12px; font-family: 'Outfit', sans-serif; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; line-height: 1.6; flex-grow: 1; }
.card .note { font-size: 0.85rem; color: #888; font-style: italic; background: rgba(255,255,255,0.02); padding: 10px; border-radius: 5px; margin-bottom: 24px; }

.price-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 20px; margin-top: auto; }
.price { font-size: 1.8rem; font-weight: 700; color: #fff; font-family: 'Outfit', sans-serif; display: flex; flex-direction: column; line-height: 1.1; }
.price span.usd { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.btn { background: var(--primary); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 1rem; white-space: nowrap; }
.btn:hover { background: #9333ea; box-shadow: 0 0 15px var(--primary); }

/* Reviews Section */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); padding: 30px; border-radius: 16px; }
.stars { color: var(--star-color); font-size: 1.2rem; margin-bottom: 15px; letter-spacing: 2px; }
.review-text { color: #e2e8f0; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 15px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-dim); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: bold; font-family: 'Outfit'; font-size: 1.2rem; }
.rev-info h4 { font-size: 1rem; color: #fff; }
.rev-info span { font-size: 0.8rem; color: var(--primary); font-weight: 500; }

/* FAQ Section */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.faq-question { padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; background: var(--bg-card); transition: background 0.3s; }
.faq-question:hover { background: var(--bg-lighter); }
.faq-question h4 { font-size: 1.1rem; margin: 0; }
.faq-question .icon { font-size: 1.5rem; color: var(--primary); transition: transform 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: var(--bg-lighter); }
.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }
.faq-item.active .faq-answer { max-height: 200px; padding: 20px; border-top: 1px solid var(--border); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }

/* Footer */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 60px 5% 20px; margin-top: 50px; position: relative; z-index: 1; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid var(--border); padding-bottom: 40px; }
.footer-brand { max-width: 350px; }
.footer-brand .logo { display: inline-block; margin-bottom: 15px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.footer-links h3 { font-size: 1.2rem; margin-bottom: 20px; font-family: 'Outfit'; }
.footer-links p { color: var(--text-muted); margin-bottom: 10px; font-size: 0.95rem; }
.discord-link { color: #5865F2; text-decoration: none; font-weight: 600; display: inline-block; margin-top: 10px; }
.discord-link:hover { text-decoration: underline; }
.footer-bottom { text-align: center; padding-top: 20px; color: #52525b; font-size: 0.85rem; }

/* Advanced Payment Modal Styles */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); display: flex; justify-content: center; align-items: center; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-content { background: #0a0a0c; border: 1px solid var(--border); border-radius: 16px; width: 90%; max-width: 500px; padding: 30px; transform: translateY(20px); transition: transform 0.3s ease; max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-step { display: none; animation: fadeIn 0.3s ease forwards; }
.modal-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.close-btn { position: absolute; top: 20px; right: 20px; background: transparent; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; transition: color 0.3s; }
.close-btn:hover { color: #fff; }
.modal-header { text-align: center; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.modal-header h2 { font-family: 'Outfit', sans-serif; font-size: 2rem; margin-bottom: 5px; }
.secure-badge { display: flex; align-items: center; justify-content: center; gap: 8px; color: #10b981; font-size: 0.85rem; margin-bottom: 20px; font-weight: 600; }
.secure-badge svg { width: 16px; height: 16px; }
.qr-container { text-align: center; background: #fff; padding: 15px; border-radius: 12px; margin: 0 auto 20px; width: fit-content; }
.qr-container img { width: 200px; height: 200px; border-radius: 8px; object-fit: cover; }
.upi-box { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 15px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.upi-id { font-family: monospace; font-size: 1.2rem; color: var(--primary); font-weight: bold; }
.copy-btn { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--primary); padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: all 0.3s; }
.copy-btn:hover { background: var(--primary); color: #fff; }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.input-group input { width: 100%; background: #000; border: 1px solid var(--border); color: #fff; padding: 14px; border-radius: 8px; font-size: 1rem; outline: none; transition: border-color 0.3s; }
.input-group input:focus { border-color: var(--primary); }
.file-upload-wrapper { position: relative; width: 100%; height: 60px; border: 2px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; background: #000; cursor: pointer; transition: border-color 0.3s; }
.file-upload-wrapper:hover { border-color: var(--primary); }
.file-upload-wrapper input[type="file"] { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-upload-text { color: var(--text-muted); font-size: 0.9rem; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.btn-full { width: 100%; padding: 16px; font-size: 1.1rem; margin-top: 10px; }

/* Toast Notification */
.toast { position: fixed; bottom: 20px; right: 20px; background: #18181b; border: 1px solid var(--border); border-left: 4px solid var(--primary); color: #fff; padding: 16px 24px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateX(120%); opacity: 0; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 2000; font-weight: 500; }
.toast.show { transform: translateX(0); opacity: 1; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .nav-links { display: none; }
}
