


.obs-guide {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;

  margin: 40px 0;
  padding: 32px;

  
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-val));
  -webkit-backdrop-filter: blur(var(--blur-val));
  
  border: 1px solid rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.8);
  border-left: 1px solid rgba(255,255,255,0.8);
  
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.obs-guide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: var(--glass-bg-hover);
}


.obs-guide::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 100%;
  background: radial-gradient(circle at top right, rgba(110, 84, 255, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.obs-guide__icon {
  position: relative;
  z-index: 1;
  width: 60px; height: 60px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8);
  color: var(--accent);
  border-radius: 20px;
  font-size: 28px;
}

.obs-guide__body {
  position: relative;
  z-index: 1;
}

.obs-guide__title {
  margin: 0 0 16px;
  font-family: 'MonumentExtended', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  line-height: 1.2;
}

.obs-guide__steps {
  margin: 0;
  padding-left: 20px;
}

.obs-guide__steps li {
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.obs-guide__steps strong {
  color: var(--text);
  font-weight: 600;
}


.code-pill {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 4px;
  font-family: 'Poppins', monospace;
  font-size: 13px;
  font-weight: 500;
  
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(110, 84, 255, 0.15);
  border-radius: 8px;
  user-select: all;
  cursor: text;
  box-shadow: 0 2px 6px rgba(110, 84, 255, 0.05);
}



.token-check-section {
  margin-bottom: 40px;
  padding: 32px;
  
  
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-val));
  -webkit-backdrop-filter: blur(var(--blur-val));
  
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.token-check__note {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
}

.token-check__form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.token-check__input {
  flex: 1;
  min-width: 280px;
  
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--text);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  font-family: 'Poppins', monospace; 
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.token-check__input:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(110, 84, 255, 0.15);
}

.token-check__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
  font-family: 'Poppins', sans-serif;
}

#checkTokenBtn {
  font-family: 'MonumentExtended', sans-serif;
  font-weight: 800;
  min-width: 160px;
  
}



.token-check__result {
  animation: fadeSlideUp 0.4s ease forwards;
}


.token-check__result .error,
.token-check__result .success,
.token-check__result .loading {
  padding: 16px 20px;
  border-radius: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}


.token-check__result .error {
  background: rgba(255, 59, 48, 0.08);
  color: var(--live);
  border: 1px solid rgba(255, 59, 48, 0.15);
}
.token-check__result .error::before {
  content: "!";
  font-weight: bold;
  font-family: 'MonumentExtended', sans-serif;
  background: var(--live);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}


.token-check__result .success {
  background: rgba(52, 199, 89, 0.08);
  color: #2d8a3e;
  border: 1px solid rgba(52, 199, 89, 0.15);
}


.token-check__result .loading {
  color: var(--muted);
  background: rgba(255,255,255,0.5);
}


.stream-key-box {
  margin-top: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.stream-key-box p {
  margin: 0 0 8px;
  font-family: 'MonumentExtended', sans-serif;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stream-key-box code {
  display: block;
  padding: 14px 16px;
  background: var(--bg-2);
  border-radius: 12px;
  font-family: 'Poppins', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  border: 1px dashed rgba(0,0,0,0.1);
  position: relative;
}


.btn-small {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 100px;
  font-family: 'MonumentExtended', sans-serif;
  margin-top: 12px;
  background: var(--bg-2);
  color: var(--text);
  box-shadow: none;
}
.btn-small:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}



.launch-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}


.launch-loading,
.launch-empty,
.launch-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 240px;
  padding: 40px;
  
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
}

.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(110, 84, 255, 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}


@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin { to { transform: rotate(360deg); } }


@media (max-width: 768px) {
  .obs-guide {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  
  .obs-guide__icon {
    width: 48px; height: 48px;
    font-size: 24px;
  }

  .token-check__form {
    flex-direction: column;
  }
  
  .token-check__input, #checkTokenBtn {
    width: 100%;
  }
}

.check-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
}

.check-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.15);
  border-radius: 16px;
  color: var(--live);
  font-family: 'Poppins', sans-serif;
}

.check-error .muted {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.check-icon {
  font-size: 1.25rem;
  line-height: 1;
}

/* ═══ Success State ═══ */

.check-success {
  padding: 24px;
  background: rgba(52, 199, 89, 0.08);
  border: 1px solid rgba(52, 199, 89, 0.2);
  border-radius: 16px;
}

.check-success__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #2d8a3e;
  font-family: 'MonumentExtended', sans-serif;
  font-weight: 800;
  font-size: 14px;
}

.stream-key-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: 12px;
}

.stream-key-value {
  flex: 1;
  font-family: 'Poppins', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.btn-copy {
  padding: 8px 16px;
  font-family: 'MonumentExtended', sans-serif;
  font-size: 11px;
  font-weight: 800;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 84, 255, 0.3);
}

.btn-copy.is-copied {
  background: #34c759;
}

.stream-key-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
}

.stream-key-hint .stream-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.stream-key-hint .stream-link:hover {
  text-decoration: underline;
}