@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
  /* Rich Dark Theme Palette */
  --bg-color: #050505;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --accent-1: #ff0080;
  --accent-2: #7928ca;
  --accent-3: #00b4d8;
  
  /* Advanced Glassmorphism Tokens */
  --glass-bg: rgba(20, 20, 25, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-highlight: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0,0,0,0.5);
  --blur: blur(20px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
  position: relative;
}

/* Stunning Animated Background Orbs */
body::before, body::after {
  content: '';
  position: fixed;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

body::before {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
}

body::after {
  bottom: -10vw;
  right: -10vw;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 15vh) scale(1.2); }
  100% { transform: translate(-10vw, -10vh) scale(0.9); }
}

.container {
  width: 100%;
  max-width: 650px;
  padding: 4rem 2rem 10rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* Ultra Glass Utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Profile Section */
.profile-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  margin-bottom: 3rem;
  animation: slideDownFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.profile-avatar-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2), var(--accent-3));
  background-size: 200% 200%;
  animation: gradientSpin 4s linear infinite;
  box-shadow: 0 0 30px rgba(121, 40, 202, 0.6);
}

@keyframes gradientSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-color);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-avatar:hover {
  transform: scale(1.08) rotate(-5deg);
}

.profile-name {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.5rem;
}

.profile-bio {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 85%;
  font-weight: 400;
}

/* Links Section */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.2rem 2rem;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpSpring 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 10px 20px rgba(0,0,0,0.3);
}

.link-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.link-btn:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255, 255, 255, 0.1);
  color: #fff;
}

.link-btn:hover::before {
  left: 200%;
}

/* IP Checker Widget */
.ip-widget {
  margin-top: 2rem;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(20,20,25,0.8), rgba(0,0,0,0.4));
  animation: slideDownFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ip-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.ip-icon {
  color: var(--accent-3);
}

.ip-search-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.ip-search-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.ip-search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(0, 0, 0, 0.5);
}

.ip-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.ip-search-btn {
  background: var(--accent-color);
  border: none;
  border-radius: 8px;
  color: white;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.ip-search-btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.ip-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.ip-label {
  color: var(--text-secondary);
}

.ip-value {
  color: #fff;
  font-weight: 600;
  text-align: right;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animations */
@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Spotify-Style Floating Player */
.spotify-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(24, 24, 24, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideUpSp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(100%);
  display: flex;
  flex-direction: column;
}

@keyframes slideUpSp {
  to { transform: translateY(0); }
}

.sp-progress-container {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  position: relative;
}

.sp-progress-container:hover .sp-progress-bar {
  background: #1db954; /* Spotify Green on hover */
}

.sp-progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear, background 0.2s;
  position: relative;
}

.sp-progress-bar::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -4px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.sp-progress-container:hover .sp-progress-bar::after {
  opacity: 1;
}

.sp-controls-wrapper {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
}

.sp-album-art {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  background: #282828;
}

.sp-music-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: center;
}

.sp-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-artist {
  color: #b3b3b3;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 2px;
}

.sp-actions {
  display: flex;
  align-items: center;
}

.sp-play-btn {
  background: transparent;
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.sp-secondary-btn {
  width: 32px;
  height: 32px;
  color: #b3b3b3;
}

.sp-secondary-btn:hover {
  color: #fff;
}

.sp-play-btn:hover:not(.sp-secondary-btn) {
  transform: scale(1.1);
  color: #1db954;
}

/* Playlist Queue Menu */
.queue-menu {
  position: absolute;
  bottom: 80px;
  right: 15px;
  width: 320px;
  max-height: 400px;
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  animation: slideUpFade 0.3s ease forwards;
  z-index: 1000;
}

.queue-menu.active {
  display: flex;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.queue-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

#close-queue-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s;
}

#close-queue-btn:hover {
  color: #fff;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

/* Scrollbar for queue */
.queue-list::-webkit-scrollbar {
  width: 6px;
}
.queue-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.queue-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.queue-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.queue-item.active {
  background: rgba(29, 185, 84, 0.15);
}

.queue-item.active .qi-title {
  color: #1db954;
}

.qi-cover {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

.qi-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.qi-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qi-artist {
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Admin Styles (SaaS Dashboard Vibe) */
.admin-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
}

.admin-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #fff, var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.admin-nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-nav-link:hover { 
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

.card {
  padding: 2rem;
  border-radius: 24px;
  margin-bottom: 2rem;
  background: rgba(20,20,25,0.6);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent-3);
  background: rgba(0,0,0,0.6);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
  color: white;
  width: 100%;
  box-shadow: 0 10px 20px rgba(255, 0, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(255, 0, 128, 0.5);
  filter: brightness(1.1);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: #ef4444;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

/* Link List Admin */
.admin-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s;
}

.admin-link-item:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

.admin-link-info { flex: 1; }
.admin-link-title { font-weight: 700; margin-bottom: 0.3rem; font-size: 1.1rem; color: #fff;}
.admin-link-url { font-size: 0.85rem; color: var(--text-secondary); }

/* Notification */
#notification {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 1.2rem 2rem;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 700;
  transform: translateX(150%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
#notification.show {
  transform: translateX(0);
}

/* --- Themes --- */
body.theme-cyberpunk {
  --bg-color: #fce300;
  --text-primary: #000000;
  --text-secondary: #222222;
  --accent-1: #00f0ff;
  --accent-2: #ff003c;
  --accent-3: #000000;
  --glass-bg: rgba(0, 0, 0, 0.8);
  --glass-border: #00f0ff;
  --glass-border-highlight: #ff003c;
}

body.theme-neon {
  --bg-color: #090014;
  --text-primary: #ffffff;
  --text-secondary: #e0b3ff;
  --accent-1: #ff00ff;
  --accent-2: #00ffff;
  --accent-3: #ff00aa;
  --glass-bg: rgba(20, 0, 40, 0.6);
  --glass-border: rgba(255, 0, 255, 0.4);
}

body.theme-light {
  --bg-color: #f3f4f6;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --accent-1: #3b82f6;
  --accent-2: #8b5cf6;
  --accent-3: #10b981;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.theme-forest {
  --bg-color: #0f1712;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --accent-1: #22c55e;
  --accent-2: #14b8a6;
  --accent-3: #84cc16;
  --glass-bg: rgba(10, 20, 15, 0.6);
  --glass-border: rgba(34, 197, 94, 0.2);
}

/* Light & Cyberpunk theme text overrides */
body.theme-light .profile-name {
  background: linear-gradient(to right, #111827, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-light .admin-header h1 {
  background: linear-gradient(45deg, #111827, var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-light .link-btn { color: #111827; }
body.theme-light .link-btn:hover { color: #fff; }

body.theme-cyberpunk .profile-name {
  background: linear-gradient(to right, #000, #ff003c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-cyberpunk .admin-header h1 {
  background: linear-gradient(45deg, #000, var(--accent-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-cyberpunk .link-btn { color: #fff; }

/* --- Verified Badge --- */
.verified-badge {
  color: #1d9bf0;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* --- Contact Button --- */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.contact-btn:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
}

/* --- Instagram Stalker Widget --- */
.ig-widget {
  margin-top: 2rem;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(20,20,25,0.8), rgba(0,0,0,0.4));
  animation: slideDownFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ig-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.ig-icon {
  color: #e1306c; /* Instagram Pink/Red */
}

.ig-terminal {
  background: #000;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #0f0;
  margin-top: 1rem;
  min-height: 80px;
  max-height: 150px;
  overflow-y: auto;
  display: none;
}

.ig-terminal p {
  margin: 0 0 5px 0;
  opacity: 0;
  animation: typeLine 0.1s forwards;
}

@keyframes typeLine {
  to { opacity: 1; }
}

.ig-result {
  margin-top: 1.5rem;
  display: none;
  animation: fadeUpSpring 0.5s forwards;
}

.ig-profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ig-profile-pic {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e1306c;
  padding: 2px;
}

.ig-stats-container {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.ig-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ig-stat-value {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.ig-stat-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.ig-bio {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.ig-post-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s;
}

.ig-post-img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  z-index: 10;
}

/* --- Maintenance Overlay --- */
.maintenance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-color);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeUpSpring 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.maintenance-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 0, 128, 0.1), transparent 60%);
  z-index: -1;
}

.maintenance-icon {
  color: var(--accent-1);
  margin-bottom: 1.5rem;
  animation: float 4s ease-in-out infinite;
}

.maintenance-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.maintenance-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 400px;
  line-height: 1.6;
  padding: 0 1rem;
}
