/* ==========================================================================
   Ayah Gaptek — Official Bio-Link & Tools Portal
   Domain: https://ayahgaptek.web.id
   By Agus Rendra | Creator Teras Depok
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Brand Colors - Royal Blue & Vibrant Accents */
  --bg-base: #1e3a8a;
  --bg-gradient: linear-gradient(180deg, #1e40af 0%, #1e3a8a 35%, #172554 100%);
  
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-bg-hover: #ffffff;
  --card-border: rgba(255, 255, 255, 0.4);
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.35), 0 8px 10px -6px rgba(15, 23, 42, 0.2);
  --card-shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.45), 0 12px 18px -6px rgba(30, 64, 175, 0.35);

  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  --text-subtle: #cbd5e1;

  --accent-blue: #2563eb;
  --accent-suno: #ff4b2b;
  --accent-green: #10b981;
  --accent-coffee: #d97706;
  --accent-pink: #ec4899;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.5;
  padding: 30px 16px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
}

/* Subtle Ambient Lighting */
.bg-glow-orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  opacity: 0.35;
}
.orb-1 {
  width: 450px;
  height: 450px;
  background: #3b82f6;
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 500px;
  height: 500px;
  background: #6366f1;
  bottom: 0;
  right: -120px;
}

/* Main Container (Mobile-first Bio Link Width) */
.portal-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==========================================================================
   Top Roadmap Banner ("Gaptek Jadi Cuan")
   ========================================================================== */
.roadmap-banner-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.85);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.roadmap-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}

.roadmap-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.roadmap-caption {
  text-align: center;
  padding: 8px 6px 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ==========================================================================
   Profile Section
   ========================================================================== */
.profile-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 14px;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.avatar-wrapper:hover .profile-avatar {
  transform: scale(1.05);
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-handle {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-tagline {
  font-size: 15px;
  line-height: 1.55;
  color: #e2e8f0;
  max-width: 480px;
  font-weight: 500;
  margin-bottom: 18px;
}

/* Social Media Buttons Row */
.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffffff;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.5);
  border-color: transparent;
}

.social-btn.tiktok:hover {
  background: #000000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

.social-btn.youtube:hover {
  background: #ff0000;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.5);
  border-color: transparent;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  border-color: transparent;
}

/* ==========================================================================
   Welcome Banner Card
   ========================================================================== */
.welcome-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.5;
  color: #f1f5f9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.welcome-card b {
  color: #fef08a;
}

/* ==========================================================================
   Link Cards Section (Core Tools & CTA)
   ========================================================================== */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.link-card:hover {
  background: var(--card-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Card Left Side (Icon + Text) */
.card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.card-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.card-icon-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.icon-suno {
  background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
  border: 1px solid rgba(255, 75, 43, 0.2);
}

.icon-yt {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
  color: #ffffff;
}

.icon-scraper {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #ffffff;
}

.icon-coffee {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
}

.icon-chat {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
}

.card-text-area {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 2px;
}

.card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Card Right Side (Badge / Pill) */
.card-badge {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-pro {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 75, 43, 0.35);
}

.badge-free {
  background: #f87171;
  color: #ffffff;
}

.badge-support {
  background: #f59e0b;
  color: #ffffff;
}

.badge-chat {
  background: #10b981;
  color: #ffffff;
}

/* Featured Glow on SunoDownPro Card */
.featured-card {
  border: 2px solid #ff4b2b;
  background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%);
}

.featured-card::before {
  content: "⭐ REKOMENDASI UTAMA";
  position: absolute;
  top: 0;
  right: 0;
  background: #ff4b2b;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 10px;
  border-bottom-left-radius: 8px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Share & Action Bar
   ========================================================================== */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Toast Alert */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.portal-footer {
  text-align: center;
  font-size: 13px;
  color: #93c5fd;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portal-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.portal-footer a:hover {
  text-decoration: underline;
}

/* Modal Popup (for tools info) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: #ffffff;
  color: #0f172a;
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  text-align: center;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
