/* 
  Twitch Stream Title Optimizer
  Tool-specific layout ONLY
  Global design comes from homepage CSS
*/

.container {
  max-width: 720px;
  margin: auto;
  padding: 80px 20px;
}

/* Form layout */
.form-group {
  margin-bottom: 16px;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
}

/* Results section */
/*
#results {
  margin-top: 30px;
}

#results div {
  padding: 14px;
  margin-top: 12px;
  border-radius: 10px;
}
*/
/* Utility spacing */
/*.mt-20 {
  margin-top: 20px;
}*/


#results {
      display: none;
      margin-top: 30px;
    }
    
    .results-header {
        
      text-align: center;
      margin-bottom: 25px;
    }
    
    .results-header h2 {
      font-size: 2rem;
      color: var(--text-primary);
      margin-bottom: 10px;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .results-header p {
      color: var(--text-secondary);
      font-size: 1.1rem;
    }
    
    .results-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .result-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 24px;
      backdrop-filter: blur(10px);
      transition: all var(--transition-medium);
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    
    .result-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
      transition: left 0.7s ease;
    }
    
    .result-card:hover::before {
      left: 100%;
    }
    
    .result-card:hover {
      transform: translateY(-5px);
      border-color: var(--accent-purple);
      box-shadow: var(--shadow-medium);
    }
    
    .result-card h3 {
      color: var(--accent-cyan);
      font-size: 1.1rem;
      margin-bottom: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .result-card h3::before {
      content: '🎯';
      font-size: 1.3rem;
    }
    
    .result-title {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.4;
      margin-bottom: 16px;
      padding: 12px;
      background: rgba(0, 0, 0, 0.2);
      border-radius: 8px;
      border-left: 3px solid var(--accent-purple);
    }
    
    .result-meta {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
    
    .meta-tag {
      background: rgba(139, 92, 246, 0.15);
      color: var(--accent-purple);
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.85rem;
      font-weight: 600;
    }
    
    .meta-tag.vibe {
      background: rgba(34, 211, 238, 0.15);
      color: var(--accent-cyan);
    }
    
    .copy-btn {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-primary);
      border: 2px solid rgba(255, 255, 255, 0.1);
      padding: 10px 16px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.95rem;
      transition: all var(--transition-medium);
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    
    .copy-btn:hover {
      background: var(--accent-gradient);
      border-color: transparent;
      color: white;
      transform: translateY(-2px);
    }
    
    .copy-btn.copied {
      background: linear-gradient(135deg, #10b981, #059669);
      color: white;
    }
    
    .copy-btn.copied::after {
      content: '✓ Copied!';
    }
    
    .copy-btn::after {
      content: '📋 Copy';
    }
    
    .result-card.copied .result-title {
      border-left-color: #10b981;
      background: rgba(16, 185, 129, 0.1);
      animation: pulse 0.5s ease;
    }
    
    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.02); }
    }
    
    .no-results {
      text-align: center;
      padding: 40px;
      background: var(--card-bg);
      border-radius: 16px;
      border: 1px solid var(--card-border);
      color: var(--text-secondary);
    }
    
    .no-results h3 {
      color: var(--text-primary);
      margin-bottom: 12px;
    }
    
    .stats-bar {
        
      display: flex;
      justify-content: space-around;
      margin-top: 20px;
      padding: 15px;
      background: rgba(30, 41, 59, 0.5);
      border-radius: 12px;
      border: 1px solid var(--card-border);
    }
    
    .stat-item {
      text-align: center;
    }
    
    .stat-value {
      font-size: 1.8rem;
      font-weight: 700;
      background: var(--accent-gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .stat-label {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 4px;
    }
    
    @media (max-width: 768px) {
      .results-grid {
        grid-template-columns: 1fr;
      }
      
      .stats-bar {
        flex-direction: column;
        gap: 12px;
      }
    }

