/* ===================================================================
   ADAM'S SITE - DISCORD / ONESHOT AESTHETIC THEME
   =================================================================== */

:root {
  --bg-primary: #0a0614;
  --bg-secondary: #130a24;
  --card-bg: #151022;
  --card-surface: #1e172e;
  --card-border: rgba(180, 140, 255, 0.22);
  --accent-purple: #9b59b6;
  --accent-glow: #bd73ff;
  --accent-pink: #ff7ebb;
  --discord-blurple: #5865f2;
  --text-main: #f3f3f8;
  --text-sub: #b5bac1;
  --text-muted: #80848e;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  width: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background Canvas & Ambient Orbs */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #5b21b6, #8b5cf6, transparent 70%);
  top: -100px;
  left: 10%;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #ff6584, #7928ca, transparent 70%);
  bottom: -80px;
  right: 15%;
  animation-duration: 15s;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Main Container */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 650px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sparkle-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(189, 115, 255, 0.12);
  border: 1px solid rgba(189, 115, 255, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2caff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(189, 115, 255, 0); }
  50% { transform: scale(1.03); box-shadow: 0 0 16px 2px rgba(189, 115, 255, 0.25); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.5px;
  max-width: 580px;
}

.glow-text {
  color: #bd73ff;
  text-shadow: 0 0 24px rgba(189, 115, 255, 0.8), 0 0 45px rgba(189, 115, 255, 0.4);
  position: relative;
  display: inline-block;
}

.feed-highlight {
  background: linear-gradient(135deg, #ffd369 0%, #ff7ebb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

/* Discord Profile Card Wrapper */
.profile-wrapper {
  perspective: 1200px;
  width: 100%;
  max-width: 440px;
}

.discord-card {
  width: 100%;
  background: var(--card-bg);
  border-radius: 18px;
  border: 1px solid var(--card-border);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.85),
    0 0 28px 0 rgba(189, 115, 255, 0.18);
  overflow: hidden;
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease;
  backdrop-filter: blur(14px);
}

.discord-card:hover {
  box-shadow: 
    0 24px 55px -10px rgba(0, 0, 0, 0.95),
    0 0 40px 2px rgba(189, 115, 255, 0.35);
}

/* Photo Frame */
.discord-photo-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  background: #0f091d;
}

.discord-profile-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Action Buttons */
.card-footer-actions {
  display: flex;
  padding: 2px 4px 4px 4px;
  width: 100%;
}

.btn-discord {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  border: none;
}

.btn-discord.primary {
  background: #5865f2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-discord.primary:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.5);
}

.btn-discord.primary:active {
  transform: translateY(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  background: #241c38;
  border: 1px solid #7c4dff;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(124, 77, 255, 0.3);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast i {
  color: #a855f7;
}

/* Footer */
.footer-section {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .container {
    padding: 24px 16px;
    gap: 24px;
  }
  .profile-wrapper {
    max-width: 100%;
  }
}
