/* =======================================================
   ZIPLOOT - COLAB BYPASS GATEWAY STYLE SYSTEM
   ======================================================= */

:root {
  --bg-main: #090c13;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-card: rgba(255, 255, 255, 0.06);
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-yellow: #eab308;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --glow-cyan: rgba(6, 182, 212, 0.15);
  --glow-purple: rgba(168, 85, 247, 0.15);
  --glow-yellow: rgba(234, 179, 8, 0.12);
  --font-family: 'Outfit', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Background Ambient Glows */
.decor-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}

.glow-1 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  opacity: 0.4;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
  opacity: 0.3;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Header */
.app-header {
  text-align: center;
  margin-bottom: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--accent-cyan);
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px var(--accent-cyan));
  animation: sparkles 3s infinite ease-in-out;
}

.accent-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
  font-weight: 350;
}

/* Layout Grid */
.app-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 25px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.section-title i {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--accent-cyan);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 25px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  animation: pulse 1.5s infinite ease-out;
  opacity: 0;
}

/* Primary Button */
.btn-group {
  margin-bottom: 25px;
}

.primary-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  border: none;
  color: #ffffff;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

/* Warning alert box */
.warning-box {
  background: var(--glow-yellow);
  border-left: 4px solid var(--accent-yellow);
  padding: 15px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.88rem;
  line-height: 1.6;
}

.warning-title {
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.warning-title i {
  color: var(--accent-yellow);
  width: 16px;
  height: 16px;
}

.warning-desc {
  color: #cbd5e1;
}

.warning-desc strong {
  color: #ffffff;
}

/* Right side panel layout */
.right-panel-group {
  display: flex;
  flex-direction: column;
}

/* Tabs & Code Snippet styling */
.tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 15px;
  gap: 10px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 10px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
  font-family: var(--font-family);
  font-weight: 500;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.tab-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.tab-content {
  position: relative;
  width: 100%;
}

pre {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 18px;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: #a5b4fc;
  overflow-x: auto;
  max-height: 380px;
}

code {
  font-family: inherit;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.copy-btn i {
  width: 12px;
  height: 12px;
}

/* Footer */
.app-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
}

.app-footer a {
  color: var(--accent-cyan);
  text-decoration: none;
}

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

/* Helper Utilities */
.hidden {
  display: none !important;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes sparkles {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px var(--accent-cyan)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 16px var(--accent-purple)); }
}

/* Responsive Breakpoints */
@media (max-width: 950px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 20px 10px;
  }
}
