/* ================================
RESET & BASE STYLES
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

:root {
  --primary-cyan: #7ffcff;
  --primary-purple: #a78bfa;
  --bg-dark: #020510;
  --bg-card: rgba(15, 20, 40, 0.6);
  --border-glow: rgba(120, 180, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: rgba(200, 220, 255, 0.8);

}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;

}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;

}

/* ================================
COSMIC BACKGROUND
================================ */
#cosmic-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
  radial-gradient(circle at 80% 70%, rgba(120, 180, 255, 0.1) 0%, transparent 50%),
  radial-gradient(circle at 50% 50%, rgba(150, 100, 255, 0.08) 0%, transparent 70%);
  z-index: -2;

}

#cosmic-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.6;

}

/* ================================
HEADER
================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  transition: all 0.3s ease;

}

.site-header.scrolled {
  background: rgba(5, 10, 20, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);

}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 20px;

}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;

}

.logo-moon {
  font-size: 28px;

}

.logo-text {
  color: #fff;

}

.logo-accent {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.main-nav {
  display: flex;
  gap: 32px;

}

.nav-link {
  color: rgba(200, 220, 255, 0.7);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;

}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
  transition: width 0.3s ease;

}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-cyan);

}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;

}

.header-actions {
  display: flex;
  gap: 16px;

}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;

}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--primary-cyan);
  border-radius: 2px;
  transition: all 0.3s ease;

}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);

}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);

}

.mobile-nav {
  position: fixed;
  top: 71px;
  left: 0;
  right: 0;
  background: rgba(5, 10, 20, 0.98);
  backdrop-filter: blur(20px);
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  border-bottom: 1px solid var(--border-glow);

}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;

}

.mobile-nav a {
  display: block;
  padding: 18px 40px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(120, 180, 255, 0.1);
  transition: all 0.3s ease;

}

.mobile-nav a:hover {
  background: rgba(120, 180, 255, 0.1);
  color: var(--primary-cyan);
  padding-left: 50px;

}

/* ================================
HERO SECTION
================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;

}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%,
  rgba(120, 180, 255, 0.15) 0%,
  transparent 60%);
  pointer-events: none;

}

.hero-content {
  max-width: 100%;
  z-index: 2;
  width: 100%;

}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(120, 180, 255, 0.15);
  border: 1px solid rgba(120, 180, 255, 0.3);
  border-radius: 30px;
  margin-bottom: 30px;
  animation: fadeInUp 0.6s ease 0.2s both;

}

.badge-icon {
  font-size: 16px;

}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;

}

.hero-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.3s both;

}

.title-line {
  display: block;
  color: #fff;

}

.title-accent {
  display: block;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.hero-description {
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  animation: fadeInUp 0.6s ease 0.4s both;

}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.5s both;
  flex-wrap: wrap;

}

.hero-stats {
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  animation: fadeInUp 0.6s ease 0.6s both;
  flex-wrap: wrap;

}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 100px;

}

.stat-number {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.stat-label {
  font-size: 14px;
  color: rgba(180, 200, 255, 0.6);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;

}

/* Floating Shapes Animation */
.hero-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;

}

.shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
  opacity: 0.5;

}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(127, 252, 255, 0.2), rgba(167, 139, 250, 0.2));
  top: 15%;
  right: 10%;
  animation-delay: 0s;
  filter: blur(40px);

}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.25), rgba(88, 101, 242, 0.25));
  top: 50%;
  right: 25%;
  animation-delay: 2s;
  filter: blur(35px);

}

.shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.2), rgba(127, 252, 255, 0.15));
  bottom: 20%;
  right: 5%;
  animation-delay: 4s;
  filter: blur(45px);

}

@keyframes float {
  0%, 100% {

    transform: translateY(0) rotate(0deg);

  }
25% {
  transform: translateY(-30px) rotate(5deg);

}
50% {

  transform: translateY(-20px) rotate(-5deg);

}
75% {
  transform: translateY(-40px) rotate(3deg);

}

}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);

  }
to {
  opacity: 1;
  transform: translateY(0);

}

}

/* ================================
SECTIONS
================================ */
section {
  padding: 100px 0;
  position: relative;

}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;

}

.section-title {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;

}

.section-subtitle {
  font-size: clamp(16px, 3vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;

}

.section-cta {
  text-align: center;
  margin-top: 50px;

}

/* ================================
FEATURES GRID
================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;

}

.feature-card {
  padding: 40px 30px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  transition: all 0.4s ease;
  text-align: center;

}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(120, 180, 255, 0.5);
  box-shadow: 0 20px 60px rgba(120, 180, 255, 0.2);

}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.2), rgba(150, 100, 255, 0.2));
  border-radius: 50%;
  font-size: 32px;
  color: var(--primary-cyan);

}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;

}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;

}

/* ================================
GALLERY GRID (WITHOUT IMAGES)
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;

}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: all 0.4s ease;
  background: linear-gradient(135deg,
  rgba(120, 180, 255, 0.15),
  rgba(150, 100, 255, 0.15));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;

}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(120, 180, 255, 0.3);
  border-color: rgba(120, 180, 255, 0.5);

}

/* Unique gradient patterns for each item */
.gallery-item:nth-child(1) {
  background: linear-gradient(135deg,
  rgba(127, 252, 255, 0.2),
  rgba(88, 101, 242, 0.2));

}

.gallery-item:nth-child(2) {
  background: linear-gradient(135deg,
  rgba(167, 139, 250, 0.2),
  rgba(150, 100, 255, 0.2));

}

.gallery-item:nth-child(3) {
  background: linear-gradient(135deg,
  rgba(34, 211, 238, 0.2),
  rgba(120, 180, 255, 0.2));

}

.gallery-item:nth-child(4) {
  background: linear-gradient(135deg,
  rgba(255, 107, 107, 0.2),
  rgba(167, 139, 250, 0.2));

}

.gallery-item:nth-child(5) {
  background: linear-gradient(135deg,
  rgba(110, 231, 183, 0.2),
  rgba(34, 211, 238, 0.2));

}

.gallery-item:nth-child(6) {
  background: linear-gradient(135deg,
  rgba(251, 191, 36, 0.2),
  rgba(255, 107, 107, 0.2));

}

.gallery-icon {
  font-size: 64px;
  opacity: 0.6;
  transition: all 0.3s ease;

}

.gallery-item:hover .gallery-icon {
  transform: scale(1.2);
  opacity: 1;

}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
  rgba(0, 0, 0, 0.9),
  transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;

}

.gallery-item:hover .gallery-overlay {
  opacity: 1;

}

.gallery-info h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;

}

.gallery-info p {
  font-size: 14px;
  color: rgba(200, 220, 255, 0.8);

}

.gallery-view {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;

}

.gallery-view:hover {
  background: rgba(120, 180, 255, 0.4);
  transform: scale(1.1);

}

/* ================================
COMMUNITY GRID
================================ */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;

}

.community-card {
  padding: 40px 30px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;

}

.community-card:hover {
  transform: translateY(-10px);
  border-color: rgba(120, 180, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);

}

.community-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 40px;

}

.community-icon.discord {
  background: rgba(88, 101, 242, 0.2);
  color: #5865F2;

}

.community-icon.twitter {
  background: rgba(29, 155, 240, 0.2);
  color: #1DA1F2;

}

.community-icon.instagram {
  background: rgba(225, 48, 108, 0.2);
  color: #E1306C;

}

.community-card h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 12px;

}

.community-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;

}

.community-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(180, 200, 255, 0.8);

}

.community-stats .online {
  color: #6ee7b7;

}

/* ================================
CTA SECTION
================================ */
.cta-section {
  background: linear-gradient(135deg,
  rgba(120, 180, 255, 0.1),
  rgba(150, 100, 255, 0.1));
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);

}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;

}

.cta-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;

}

.cta-desc {
  font-size: clamp(16px, 3vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;

}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;

}

/* ================================
BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;

}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;

}

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #a78bfa);
  color: #020510;
  box-shadow: 0 8px 24px rgba(120, 180, 255, 0.3);

}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(120, 180, 255, 0.5);

}

.btn-secondary {
  background: rgba(120, 180, 255, 0.15);
  border: 1px solid rgba(120, 180, 255, 0.3);
  color: var(--primary-cyan);

}

.btn-secondary:hover {
  background: rgba(120, 180, 255, 0.25);
  border-color: rgba(120, 180, 255, 0.5);

}

.btn-discord {
  background: #5865F2 !important;
  color: white;

}

.btn-twitter {
  background: #1DA1F2 !important;
  color: white;

}

.btn-instagram {
  background: linear-gradient(135deg, #E1306C, #FD1D1D, #F77737) !important;
  color: white;

}

/* ================================
FOOTER
================================ */
.site-footer {
  background: rgba(5, 10, 20, 0.9);
  border-top: 1px solid var(--border-glow);
  padding: 60px 0 30px;

}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;

}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;

}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;

}

.footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(120, 180, 255, 0.1);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  transition: all 0.3s ease;
  text-decoration: none;

}

.social-link:hover {
  background: rgba(120, 180, 255, 0.3);
  transform: translateY(-3px);

}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;

}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;

}

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

}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(120, 180, 255, 0.1);
  text-align: center;
  font-size: 14px;
  color: rgba(180, 200, 255, 0.6);

}

.footer-bottom p {
  margin: 4px 0;

}

/* ================================
RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .main-nav {
    display: none;

  }

.hamburger {
  display: flex;

}

.hero-shapes {
  width: 40%;

}

}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;

  }

.hero {
  padding: 120px 0 60px;

}

.hero-actions {
  flex-direction: column;

}

.hero-actions .btn {
  width: 100%;
  justify-content: center;

}

.hero-stats {
  gap: 20px;

}

.hero-shapes {
  width: 60%;

}

.shape-1, .shape-2, .shape-3 {
  width: 200px;
  height: 200px;

}

section {
  padding: 70px 0;

}

.features-grid,
.gallery-grid,
.community-grid {
  grid-template-columns: 1fr;

}

.cta-actions {
  flex-direction: column;

}

.cta-actions .btn {
  width: 100%;
  justify-content: center;

}

.footer-grid {
  grid-template-columns: 1fr;

}

}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;

  }

.header-content {
  padding: 16px 0;

}

.logo {
  font-size: 20px;

}

.logo-moon {
  font-size: 24px;

}

.hero {
  padding: 100px 0 50px;

}

.hero-badge {
  padding: 8px 20px;

}

.badge-text {
  font-size: 11px;

}

section {
  padding: 60px 0;

}

.btn {
  padding: 12px 24px;
  font-size: 14px;

}

.btn-large {
  padding: 14px 28px;
  font-size: 15px;

}

}

.maintenance-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #0f1022, #05060f);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;

}

.maintenance-screen.hidden {
  display: none;

}

.maintenance-box {
  text-align: center;
  padding: 60px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg,
  rgba(15, 20, 40, 0.95),
  rgba(20, 25, 50, 0.95));
  border: 1px solid rgba(120, 180, 255, 0.3);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  max-width: 600px;
  width: 100%;
  animation: slideUp 0.5s ease;

}

.maintenance-box::before {
  content: none; /* replaced: fa-wrench via ::before on FA class */
  display: block;
  font-size: 80px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(127, 252, 255, 0.5));
  animation: float-tool 2s ease-in-out infinite;

}

@keyframes float-tool {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
50% {
  transform: translateY(-10px) rotate(5deg);
}

}

.maintenance-box h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #7ffcff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.maintenance-box p {
  font-size: clamp(14px, 3vw, 18px);
  color: rgba(200, 220, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;

}

.maintenance-box .back-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(120, 180, 255, 0.15);
  border: 1px solid rgba(120, 180, 255, 0.3);
  border-radius: 999px;
  color: #7ffcff;
  font-weight: 600;
  font-size: 14px;

}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);

  }
to {
  opacity: 1;
  transform: translateY(0);

}

}

@media (max-width: 768px) {
  .maintenance-box {
    padding: 40px 24px;

  }

.maintenance-box::before {
  font-size: 60px;

}

}

/* ===============================
COSMIC STARFIELD BACKGROUND
Copy CSS ini ke style.css

Features:
- Stars twinkling randomly
- 3 star layers (small, medium, large)
- Random irregular positioning
- Smooth twinkle animation
================================ */

/* Background Kosmik Base */
body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
  radial-gradient(ellipse at top, #0a0e27 0%, #020510 40%, #000000 100%);
  pointer-events: none;
}

/* Canvas for stars */
#cosmic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Fallback if canvas is not supported - CSS stars */
.star-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Small stars */
.star-layer-1 {
  background-image:
  radial-gradient(2px 2px at 20% 30%, white, transparent),
  radial-gradient(2px 2px at 60% 70%, white, transparent),
  radial-gradient(1px 1px at 50% 50%, white, transparent),
  radial-gradient(1px 1px at 80% 10%, white, transparent),
  radial-gradient(2px 2px at 90% 60%, white, transparent),
  radial-gradient(1px 1px at 33% 80%, white, transparent),
  radial-gradient(2px 2px at 15% 90%, white, transparent),
  radial-gradient(1px 1px at 70% 20%, white, transparent);
  background-size: 200% 200%;
  animation: twinkle-1 3s ease-in-out infinite;
  opacity: 0.8;
}

/* Medium stars */
.star-layer-2 {
  background-image:
  radial-gradient(3px 3px at 40% 20%, rgba(127, 252, 255, 0.8), transparent),
  radial-gradient(2px 2px at 10% 60%, rgba(167, 139, 250, 0.8), transparent),
  radial-gradient(3px 3px at 75% 40%, rgba(120, 180, 255, 0.8), transparent),
  radial-gradient(2px 2px at 25% 75%, rgba(127, 252, 255, 0.8), transparent),
  radial-gradient(3px 3px at 85% 85%, rgba(167, 139, 250, 0.8), transparent),
  radial-gradient(2px 2px at 45% 15%, rgba(120, 180, 255, 0.8), transparent);
  background-size: 250% 250%;
  animation: twinkle-2 4s ease-in-out infinite;
  opacity: 0.6;
}

/* Large stars */
.star-layer-3 {
  background-image:
  radial-gradient(4px 4px at 30% 50%, rgba(127, 252, 255, 1), transparent),
  radial-gradient(3px 3px at 65% 25%, rgba(167, 139, 250, 1), transparent),
  radial-gradient(4px 4px at 55% 80%, rgba(120, 180, 255, 1), transparent);
  background-size: 300% 300%;
  animation: twinkle-3 5s ease-in-out infinite;
  opacity: 0.7;
}

/* Twinkle animations */
@keyframes twinkle-1 {
  0%, 100% {
    opacity: 0.8;
  }
50% {
  opacity: 0.3;
}
}

@keyframes twinkle-2 {
  0%, 100% {
    opacity: 0.6;
  }
50% {
  opacity: 0.2;
}
}

@keyframes twinkle-3 {
  0%, 100% {
    opacity: 0.7;
  }
50% {
  opacity: 0.4;
}
}

/* Nebula glow effect (optional) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
  radial-gradient(circle at 20% 30%, rgba(88, 101, 242, 0.15), transparent 40%),
  radial-gradient(circle at 80% 70%, rgba(120, 180, 255, 0.1), transparent 40%),
  radial-gradient(circle at 50% 50%, rgba(150, 100, 255, 0.08), transparent 50%);
  pointer-events: none;
  animation: nebula-drift 30s ease-in-out infinite;
}

@keyframes nebula-drift {
  0%, 100% {

    transform: translate(0, 0) scale(1);

  }
33% {

  transform: translate(-5%, 5%) scale(1.05);

}
66% {

  transform: translate(5%, -5%) scale(0.95);

}
}

/* Shooting star effect (optional) */
@keyframes shooting-star {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 1;

  }
100% {
  transform: translateX(300px) translateY(300px);
  opacity: 0;

}
}

.shooting-star {
  position: fixed;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  z-index: -1;
  animation: shooting-star 3s linear;
  pointer-events: none;
}

/* ================================================
   HEADER USER WIDGET
   ================================================ */

/* Login button (not logged in) */
.header-login-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(127,252,255,0.1), rgba(167,139,250,0.1));
  border: 1px solid rgba(127,252,255,0.28);
  color: #7ffcff; font-size: 13.5px; font-weight: 700;
  text-decoration: none; letter-spacing: .3px;
  transition: all .2s; white-space: nowrap;
}
.header-login-btn:hover {
  background: linear-gradient(135deg, rgba(127,252,255,0.2), rgba(167,139,250,0.2));
  box-shadow: 0 0 18px rgba(127,252,255,0.12);
}

/* Avatar chip (logged in) */
.header-avatar-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 6px; border-radius: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(127,252,255,0.12);
  color: white; cursor: pointer; font-family: 'Outfit', sans-serif;
  font-size: 13.5px; font-weight: 600; transition: all .2s;
  white-space: nowrap;
}
.header-avatar-btn:hover {
  background: rgba(127,252,255,0.07); border-color: rgba(127,252,255,0.25);
}
.header-avatar-img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(127,252,255,0.2);
}
.header-avatar-name {
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.header-avatar-caret {
  font-size: 11px; color: rgba(255,255,255,0.4); transition: transform .25s;
}

/* Dropdown */
.user-dropdown {
  display: none; position: fixed; top: 70px; right: 24px; z-index: 2000;
  width: 240px;
  background: rgba(8,13,30,0.97);
  border: 1px solid rgba(127,252,255,0.12);
  border-radius: 16px; padding: 8px;
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.7);
  animation: dropdownFadeIn .18s ease;
}
.user-dropdown.open { display: block; }
@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.dropdown-user-info {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 12px;
}
.dropdown-avatar {
  width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid rgba(127,252,255,0.2); flex-shrink: 0;
}
.dropdown-name  { font-size: 13.5px; font-weight: 700; color: white; }
.dropdown-email { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

.dropdown-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 4px 0; }

.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; width: 100%;
  color: rgba(255,255,255,0.65); font-size: 13.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all .15s;
  background: none; border: none; font-family: inherit; text-align: left;
}
.dropdown-item i { width: 15px; text-align: center; color: rgba(127,252,255,0.5); }
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: white; }
.dropdown-logout { color: rgba(252,165,165,0.8); }
.dropdown-logout i { color: rgba(239,68,68,0.6); }
.dropdown-logout:hover { background: rgba(239,68,68,0.08); color: #fca5a5; }

/* Hide old hamburger styles on desktop (keep for nothing now) */
.hamburger { display: none !important; }
.mobile-nav { display: none !important; }

/* Responsive */
@media (max-width: 600px) {
  .header-avatar-name { display: none; }
  .user-dropdown { right: 12px; }
}

/* ================================================
   DROPDOWN PROFILE CARD (updated)
   ================================================ */
.dropdown-profile-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 12px 12px;
}
.dropdown-profile-info { flex: 1; overflow: hidden; }
.dropdown-userid {
  font-size: 11px; color: rgba(127,252,255,0.5);
  font-family: monospace; margin-top: 1px;
}
.dropdown-role-badge {
  display: inline-block; margin-top: 5px;
  font-size: 10.5px; font-weight: 700; padding: 2px 9px;
  border-radius: 20px; letter-spacing: .3px;
}
.dropdown-role-badge.role-artist { background: rgba(167,139,250,0.12); color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }
.dropdown-role-badge.role-client { background: rgba(127,252,255,0.08); color: #7ffcff; border: 1px solid rgba(127,252,255,0.15); }

/* Inline edit row */
.dropdown-edit-row {
  display: flex; align-items: center; gap: 6px;
  padding: 0 10px 10px;
}
.dropdown-edit-input {
  flex: 1; padding: 8px 11px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(127,252,255,0.2);
  border-radius: 8px; color: white; font-family: 'Outfit', sans-serif; font-size: 13px;
  outline: none;
}
.dropdown-edit-save, .dropdown-edit-cancel {
  width: 30px; height: 30px; border-radius: 7px; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.dropdown-edit-save   { background: rgba(74,222,128,0.15); color: #4ade80; }
.dropdown-edit-save:hover { background: rgba(74,222,128,0.25); }
.dropdown-edit-cancel { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }
.dropdown-edit-cancel:hover { background: rgba(255,255,255,0.12); }

/* Username sub-line in header chip */
.header-avatar-info { display: flex; flex-direction: column; align-items: flex-start; }
.header-avatar-username { font-size: 10px; color: rgba(127,252,255,0.5); font-weight: 500; line-height: 1; margin-top: 1px; }
