:root {
  --bg: #000;
  --fg: #fff;
  --primary: #6e00ff;
  --gold: #b800ff;
  --shadow: 0 10px 30px rgba(110, 0, 255, 0.4);
  --card-bg: rgba(20, 20, 20, 0.8);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Tajawal', sans-serif;
  overflow-x: hidden;
}

#cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.1s;
  will-change: transform;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
}

nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 800;
  margin: 0 1rem;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s;
}

nav a:hover::after {
  width: 100%;
}

.sound-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 1001;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sound-btn:hover {
  transform: scale(1.12);
  background: var(--primary);
}

.sound-panel {
  display: none;
  position: fixed;
  top: 70px;
  right: 20px;
  background: rgba(20, 20, 20, 0.95);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  z-index: 1002;
  width: 280px;
  border: 1px solid var(--gold);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s;
}

.sound-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.sound-header {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 15px;
  text-align: center;
}

.play-audio-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 15px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.play-audio-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.slider-container {
  margin: 15px 0;
}

.slider-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--fg);
}

#volumeSlider {
  width: 100%;
  height: 8px;
  background: #333;
  outline: none;
  border-radius: 10px;
  appearance: none;
}

#volumeSlider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
}

#volumeSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.sound-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.sound-controls button {
  padding: 8px 10px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  margin: 0 3px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

#muteBtn { background: #ce1126; color: white; }
#unmuteBtn { background: #007a3d; color: white; }
#closePanel { background: #555; color: white; }

.section {
  min-height: 100vh;
  padding: 8rem 5% 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 25px rgba(184, 0, 255, 0.6);
  font-weight: 900;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
}

.main-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

.btn {
  background: linear-gradient(90deg, var(--primary), var(--gold));
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.btn:hover {
  transform: scale(1.06);
}

.discord-main {
  background: linear-gradient(90deg, #5865F2, #7289DA) !important;
  font-size: 1.25rem;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1300px;
  margin-top: 3rem;
}

.img {
  height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.4s;
}

.img:hover {
  transform: scale(1.02);
}

#dev {
  background: linear-gradient(135deg, #0a0a0a, #120020);
}

.dev {
  max-width: 750px;
  text-align: center;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.dev-info ul {
  list-style: none;
  text-align: right;
  margin: 1.8rem 0;
  padding: 0;
  line-height: 2.1;
  font-size: 1.25rem;
}

.dev-info li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(110, 0, 255, 0.15);
}

.dev-info li:last-child {
  border-bottom: none;
}

.avatar {
  font-size: 5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.dev h2 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

.quote {
  font-size: 1.45rem;
  font-style: italic;
  color: var(--gold);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(110, 0, 255, 0.3);
}

footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0,0,0,0.85);
  margin-top: 4rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-left: 10px;
  margin-right: 8px;
  vertical-align: middle;
}

.neon-blue {
  background-color: #00f0ff;
  box-shadow: 0 0 8px #00f0ff, 0 0 16px rgba(0, 240, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.7rem; }
  .hero p { font-size: 1.25rem; }
  .dev h2 { font-size: 2.1rem; }
  .main-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 90%;
    max-width: 300px;
  }
  .discord-main {
    justify-content: center;
  }
}
