/* === Reset & Basics === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto Mono', monospace;
  background: #000;
  color: #fff;
}

/* === Background Video & Overlay === */
#bg-video {
  position: fixed;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  filter: brightness(0.5); /* أكثر وضوحا بدون ضبابية مفرطة */
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 10;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
}

.logo span { color: #ff0033; }

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

nav a:hover { color: #ff0033; }

/* === Hero Section === */
.hero {
  height: 100vh;
  padding-left: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease-out;
}

.hero.appear {
  opacity: 1;
  transform: translateY(0);
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 55px;
}

.hero span {
  color: #ff0033;
  text-shadow: 0 0 20px #ff0033;
}

.hero p {
  margin: 15px 0 30px;
  color: #aaa;
}

/* === Buttons === */
.btn, .view-btn, .back-btn {
  display: inline-block;
  padding: 12px 28px;
  margin-top: 20px;
  background: #ff0033;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(255,0,51,0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover, .view-btn:hover, .back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255,0,51,1);
}

/* === Glow Animation for VIEW Buttons === */
@keyframes glow {
  0% { box-shadow: 0 0 10px rgba(255,0,51,0.6); }
  50% { box-shadow: 0 0 25px rgba(255,0,51,0.9); }
  100% { box-shadow: 0 0 40px rgba(255,0,51,1); }
}

.view-btn { animation: glow 1.5s infinite alternate; }

/* === Sections === */
.section {
  padding: 120px 80px;
  background: #0b0b0b;
  opacity: 0;
  transform: translateY(50px);
  transition: 1s ease-out;
}

.section.appear { opacity: 1; transform: translateY(0); }
.section.dark { background: #050505; }

.section h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #ff0033;
}

.section p {
  max-width: 900px;
  line-height: 1.9;
  color: #bbb;
  margin-bottom: 20px;
}

/* === Lists for Courses, Protection, Tools === */
.course-list, .protection-list, .tools-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.course-item, .protection-item, .tools-item {
  padding: 15px 20px;
  background: rgba(20,20,20,0.7);
  border-left: 5px solid #ff0033;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255,0,51,0.5);
  transition: all 0.3s;
}

.course-item:hover, .protection-item:hover, .tools-item:hover {
  background: rgba(255,0,51,0.2);
  transform: translateX(5px);
  box-shadow: 0 0 25px #ff0033;
}

/* === Back Button === */
.back-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 18px;
  color: #fff;
  background: #28a745;
  border-radius: 5px;
  text-decoration: none;
  box-shadow:0 0 15px #06ec4b;
  transition:0.3s;
}

.back-btn:hover { transform: scale(1.1); box-shadow: 0 0 30px #06ec4b; }

/* === Payment Section === */
.price-container {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.price-container img { width: 70px; height: auto; }
.price-container .new-price { font-size: 50px; font-weight: bold; color: rgb(12, 255, 4); }
.price-container .old-price { font-size: 40px; font-weight: bold; color: rgb(236, 227, 227); text-decoration: line-through; }

.form-container {
  padding: 20px;
  background: rgba(32, 32, 25, 0.521);
  border-radius: 10px;
}
.form-group { margin: 15px 0; text-align: left; }
label { font-weight: bold; }
input, textarea { width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #1f22015d; border-radius: 5px; }

.wallet-address { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 5px; border-radius: 5px; width: 100%; flex-wrap: wrap; }
.bep20 { color: rgb(0, 255, 0); font-weight: bold; }
.copy-btn { background: #02701a; color: white; border: none; padding: 5px 10px; cursor: pointer; border-radius: 5px; transition: background 0.3s, transform 0.2s; margin-top: 5px; }
.copy-btn:active { background: #0056b3; transform: scale(0.9); }

.buttons { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.btn { padding: 15px 25px; font-size: 18px; color: white; border: none; cursor: pointer; border-radius: 5px; text-decoration: none; transition: transform 0.2s; }
.home { background-color: #28a745; }
.upgrade { background-color: #e6b30b; }
.btn:hover { transform: scale(1.1); }

/* === Success Popup === */
.success-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 18px;
  z-index: 1000;
  font-weight: bold;
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  header { padding: 20px 40px; }
  .hero { padding-left: 40px; }
  h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  header { padding: 15px 30px; }
  header h1 { font-size: 32px; }
  .hero { padding-left: 20px; }
  h2 { font-size: 28px; margin-top: 30px; margin-bottom: 20px; }
  .course-item, .protection-item, .tools-item { font-size: 16px; padding: 12px 15px; }
  .price-container .new-price { font-size: 40px; }
  .price-container .old-price { font-size: 30px; }
  .btn, .back-btn { font-size: 16px; padding: 12px 20px; }
}

@media (max-width: 480px) {
  header h1 { font-size: 28px; }
  h2 { font-size: 22px; margin-top: 25px; margin-bottom: 15px; }
  .course-item, .protection-item, .tools-item { font-size: 14px; padding: 10px 12px; }
  .price-container { flex-direction: column; gap: 5px; }
  .price-container .new-price { font-size: 32px; }
  .price-container .old-price { font-size: 25px; }
  .btn, .back-btn { font-size: 14px; padding: 10px 15px; }
}
