/* Studio Builder - Frontend CSS */
:root {
  --tb-black: #0a0a0a;
  --tb-surface: #141414;
  --tb-rose: #b76e79;
  --tb-gold: #c5a028;
  --tb-text: #f5f5f5;
  --tb-muted: #888888;
}

/* Metallic Backgrounds */
.tb-metallic-rosegold {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0c0e 30%, #2a1015 50%, #1a0c0e 70%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.tb-metallic-rosegold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(183,110,121,0.35) 0%, transparent 70%);
  animation: tb-shimmer-rose 6s ease-in-out infinite alternate;
}
.tb-metallic-goldiron {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1500 30%, #2a1e00 50%, #1a1500 70%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}
.tb-metallic-goldiron::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 30% 40%, rgba(197,160,40,0.3) 0%, transparent 70%);
  animation: tb-shimmer-gold 8s ease-in-out infinite alternate;
}
@keyframes tb-shimmer-rose {
  0% { transform: translate(-20%, -20%) scale(1); opacity: 0.7; }
  100% { transform: translate(20%, 20%) scale(1.1); opacity: 1; }
}
@keyframes tb-shimmer-gold {
  0% { transform: translate(20%, -10%) scale(1); opacity: 0.6; }
  100% { transform: translate(-20%, 20%) scale(1.15); opacity: 0.9; }
}

/* Hero Block */
.tb-hero { padding: 6rem 2rem; text-align: center; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.tb-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.tb-hero h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.02em; }
.tb-hero p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.8; }
.tb-cta-btn { display: inline-block; padding: 0.875rem 2rem; background: linear-gradient(135deg, var(--tb-rose), var(--tb-gold)); color: #0a0a0a; font-weight: 700; border-radius: 6px; text-decoration: none; transition: opacity 0.2s; }
.tb-cta-btn:hover { opacity: 0.9; }

/* Fluid Card */
.tb-fluid-card { position: relative; border-radius: 12px; overflow: hidden; padding: 2rem; background: #141414; border: 1px solid #2a2a2a; }
.tb-fluid-bg { position: absolute; inset: 0; z-index: 0; filter: url(#tb-fluid-filter); }
.tb-fluid-content { position: relative; z-index: 1; }
.tb-fluid-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--tb-text); margin-bottom: 0.5rem; }
.tb-fluid-content p { color: var(--tb-muted); }

/* Skill Bar */
.tb-skill-bar { margin-bottom: 1.5rem; }
.tb-skill-label { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--tb-text); }
.tb-skill-track { background: #2a2a2a; border-radius: 999px; height: 8px; overflow: hidden; }
.tb-skill-fill { height: 100%; border-radius: 999px; width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
.tb-animated .tb-skill-fill { animation: tb-skill-animate 1.2s forwards; }
@keyframes tb-skill-animate { from { width: 0; } to { width: var(--target-width, 80%); } }

/* Service Card */
.tb-service-card { padding: 2rem; background: #141414; border: 1px solid #2a2a2a; border-radius: 12px; transition: border-color 0.2s, transform 0.2s; }
.tb-service-card:hover { border-color: var(--tb-accent, var(--tb-rose)); transform: translateY(-2px); }
.tb-service-icon { width: 48px; height: 48px; border-radius: 10px; margin-bottom: 1rem; }
.tb-service-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--tb-text); margin-bottom: 0.5rem; }
.tb-service-card p { color: var(--tb-muted); font-size: 0.875rem; }

/* Dashboard Block */
.tb-dashboard { display: flex; min-height: 500px; border-radius: 12px; overflow: hidden; border: 1px solid #2a2a2a; }
.tb-dashboard-nav { width: 220px; background: var(--tb-sidebar-bg, #0f0f0f); border-right: 1px solid #2a2a2a; padding: 1.5rem 0; }
.tb-dashboard-nav ul { list-style: none; margin: 0; padding: 0; }
.tb-dashboard-nav a { display: block; padding: 0.75rem 1.5rem; color: #888; text-decoration: none; font-size: 0.875rem; transition: color 0.2s, background 0.2s; }
.tb-dashboard-nav a:hover, .tb-dashboard-nav a.active { color: var(--tb-accent, var(--tb-rose)); background: rgba(183,110,121,0.1); border-left: 2px solid var(--tb-accent, var(--tb-rose)); }
.tb-dashboard-content { flex: 1; padding: 2rem; background: #0a0a0a; }

/* Profile Card */
.tb-profile-card { padding: 2rem; border-radius: 12px; text-align: center; border: 1px solid #2a2a2a; }
.tb-profile-card img { border-radius: 50%; width: 80px; height: 80px; margin: 0 auto 1rem; display: block; }
.tb-profile-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--tb-text); margin-bottom: 0.25rem; }
.tb-role { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--tb-rose); }
.tb-meta { margin-top: 1rem; text-align: left; }
.tb-meta-field { display: flex; gap: 0.5rem; padding: 0.25rem 0; border-bottom: 1px solid #1e1e1e; font-size: 0.75rem; }
.tb-meta-key { color: var(--tb-muted); flex: 0 0 40%; }
.tb-meta-val { color: var(--tb-text); }

/* Spotlight */
.tb-spotlight { position: absolute; pointer-events: none; }
.tb-spotlight-beam { border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); }
.tb-spotlight-animated .tb-spotlight-beam { animation: tb-spotlight-move 8s ease-in-out infinite; }
@keyframes tb-spotlight-move { 0%,100% { transform: translate(0,0); } 25% { transform: translate(50px,-30px); } 50% { transform: translate(-30px, 50px); } 75% { transform: translate(40px, 40px); } }

/* Button */
.tb-button { display: inline-block; padding: 0.75rem 1.75rem; border-radius: 6px; font-weight: 600; text-decoration: none; transition: opacity 0.2s, transform 0.15s; }
.tb-button:hover { opacity: 0.9; transform: translateY(-1px); }
.tb-anim-pulse { animation: tb-pulse 2s ease-in-out infinite; }
@keyframes tb-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(183,110,121,0.5); } 50% { box-shadow: 0 0 0 12px rgba(183,110,121,0); } }

/* Fluid Filter SVG */
.tb-fluid-svg { position: absolute; width: 0; height: 0; }
