/* style.css - 반응형 고급 스타일 */

body {
  background-color: #121212; /* 아주 진한 다크그레이 */
  color: #e0e0e0;            /* 옅은 회색 글자 */
}
.card {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
}

  
  /* 기본 입력 요소 */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="file"],
  textarea {
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid #cbd5e1; /* gray-300 */
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  input:focus,
  textarea:focus {
    border-color: #6366f1; /* indigo-500 */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
  }
  
  /* 버튼 스타일 */
  button {
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    border: none;
  }
  
  button:hover {
    transform: scale(1.03);
  }
  
  button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  /* 커스텀 버튼 컬러 */
  .custom-button.yellow {
    background-color: #facc15; /* yellow-400 */
    color: #1f2937;
  }
  
  .custom-button.gray {
    background-color: #6b7280; /* gray-500 */
    color: white;
  }
  
  .custom-button.red {
    background-color: #ef4444; /* red-500 */
    color: white;
  }
  
  .custom-button.green {
    background-color: #22c55e; /* green-500 */
    color: white;
  }
  
  .custom-button.blue {
    background-color: #3b82f6; /* blue-500 */
    color: white;
  }
  
  /* 비디오 */
  video {
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
  }
  
  /* 카드 스타일 */
  .card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  }
  
  /* 댓글 영역 */
  #videoFeed > div {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b; /* slate-800 */
  }
  
  /* 반응형 개선 */
  @media (max-width: 640px) {
    body {
      padding: 1rem;
    }
  
    .max-w-xl,
    .max-w-sm {
      width: 100% !important;
      padding: 1rem !important;
    }
  
    .rounded-xl {
      border-radius: 1rem;
    }
  }
  .transition-toggle {
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
  
  .transition-toggle.open {
    opacity: 1;
    max-height: 500px; /* 적절히 조정 */
  }
  
/* 팀 영상 피드용 스타일 */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

.video-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  padding: 1rem;
}
.glow-crown {
  color: #facc15; /* yellow-400 */
  text-shadow: 0 0 8px rgba(255, 193, 7, 0.9),
               0 0 12px rgba(255, 193, 7, 0.7);
  animation: crown-glow 1.2s infinite alternate;
}

@keyframes crown-glow {
  from { text-shadow: 0 0 8px rgba(255, 193, 7, 0.9); }
  to   { text-shadow: 0 0 20px rgba(255, 193, 7, 1); }
}
