:root {
  --bg-deep: #0a0a0f;
  --bg-surface: #14141f;
  --bg-elevated: #1e1e2e;
  --primary: #f97316;
  --primary-glow: #fb923c;
  --secondary: #22d3ee;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --border: #2e2e3e;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f97316 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

.header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-content {
  flex: 1;
  position: relative;
  z-index: 10;
  padding: 40px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 32px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  animation: ringRotate 4s linear infinite;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.folders-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 220px));
  justify-content: center;
  gap: 32px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (max-width: 900px) {
  .folders-grid {
    grid-template-columns: repeat(2, minmax(180px, 220px));
  }
}

@media (max-width: 600px) {
  .folders-grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 16px 24px;
  }
  .main-content {
    padding: 24px;
  }
  .hero-title {
    font-size: 2rem;
  }
}

.booking-section {
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.booking-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.booking-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

.booking-embed {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  padding: 16px;
}

.booking-embed iframe {
  filter: invert(1) hue-rotate(180deg);
}

.folder-card {
  background: linear-gradient(135deg, #020617, #0f172a);
  border: 8px solid #1e293b;
  border-bottom: 12px solid #0f172a;
  border-radius: 4px;
  padding: 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: inset 0 0 30px rgba(0,0,0,1), 
              0 15px 30px -5px rgba(0,0,0,0.6),
              0 0 0 2px #0f172a;
  aspect-ratio: 3 / 4;
}

.folder-card::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -20px;
  right: -20px;
  height: 15px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.window-glass {
  position: absolute;
  inset: 0;
  background: #0b1120;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}



.folder-card:hover {
  transform: translateY(-5px);
  border-color: #334155;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(56, 189, 248, 0.15);
}

.folder-card:hover .folder-content-wrapper {
  background: transparent;
  z-index: 20;
}

.folder-card:hover .folder-icon {
  transform: translateY(-15px) scale(1.35);
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.6));
}

.folder-card:hover .folder-name {
  transform: translateY(-5px) scale(1.15);
  text-shadow: 0 10px 15px rgba(0,0,0,1);
}

.folder-card:hover .folder-count {
  transform: scale(1.1);
  text-shadow: 0 5px 10px rgba(0,0,0,1);
}

.folder-content-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.window-mullion-v {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 6px; margin-left: -3px;
  background: #1e293b;
  box-shadow: inset 1px 0 2px rgba(255,255,255,0.05), inset -1px 0 3px rgba(0,0,0,0.8);
  z-index: 10;
}

.window-mullion-h {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 6px; margin-top: -3px;
  background: #1e293b;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.05), inset 0 -1px 3px rgba(0,0,0,0.8);
  z-index: 10;
}

.folder-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.folder-icon svg {
  width: 100%;
  height: 100%;
}

.folder-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.folder-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.folder-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 24px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.breadcrumb-item:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.breadcrumb-item.current {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb-separator {
  color: var(--text-secondary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
  background: var(--bg-surface);
}

.modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.link-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-item:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

.link-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon svg {
  width: 20px;
  height: 20px;
  color: white;
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-url {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-folder {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-secondary);
}

.empty-folder svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-folder p {
  font-size: 1rem;
}

.folder-card {
  animation: fadeInUp 0.6s ease-out both;
}

.folder-card:nth-child(1) { animation-delay: 0.1s; }
.folder-card:nth-child(2) { animation-delay: 0.2s; }
.folder-card:nth-child(3) { animation-delay: 0.3s; }
.folder-card:nth-child(4) { animation-delay: 0.4s; }
.folder-card:nth-child(5) { animation-delay: 0.5s; }
.folder-card:nth-child(6) { animation-delay: 0.6s; }
.folder-card:nth-child(7) { animation-delay: 0.7s; }
.folder-card:nth-child(8) { animation-delay: 0.8s; }
.folder-card:nth-child(9) { animation-delay: 0.9s; }

.link-item {
  animation: fadeInUp 0.4s ease-out both;
}
