:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --bg: #f3f4f6;
  /* Cool gray 50 */
  --surface: #ffffff;
  --text-main: #111827;
  --text-sec: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sec);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.btn {
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 9999px;
  /* Pill shape */
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Search Bar */
.search-bar {
  width: 100%;
  padding: 16px 24px;
  border: 2px solid transparent;
  background: var(--surface);
  border-radius: 9999px;
  font-size: 1.1rem;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  box-sizing: border-box;
}

.search-bar:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

/* Grid */
.celebrity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.celebrity-card {
  background-color: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.celebrity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.celebrity-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.celebrity-card:hover img {
  transform: scale(1.03);
}

.celebrity-card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.celebrity-card h3 {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  color: var(--text-main);
}

.celebrity-card p {
  color: var(--text-sec);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Detail Page */
.detail-container {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-header {
  padding: 40px;
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to bottom, #fff, #f8fafc);
}

.detail-header img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  /* Circular avatar */
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
  flex-shrink: 0;
}

.detail-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-info h2 {
  margin: 0 0 15px 0;
  font-size: 2.5rem;
  color: var(--text-main);
}

.detail-info p {
  font-size: 1.1rem;
  color: var(--text-sec);
  max-width: 600px;
}

.detail-content {
  padding: 40px;
}

.info-section {
  margin-bottom: 40px;
}

.info-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-section h3::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  margin-bottom: 10px;
  padding: 8px 16px;
  background: #eff6ff;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 9999px;
  transition: background 0.2s;
}

.social-link:hover {
  background: #dbeafe;
}

/* Forms */
.form-container {
  background: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group label {
  font-weight: 500;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  background: white;
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Admin Specific */
.admin-section {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-sec);
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.submission-item {
  border: 1px solid var(--border);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fafafa;
}

.submission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

.submission-details {
  background: white;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.action-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-approve,
.btn-reject {
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: opacity 0.2s;
  color: white;
}

.btn-approve {
  background-color: #10b981;
}

.btn-reject {
  background-color: #ef4444;
}

.btn-approve:hover,
.btn-reject:hover {
  opacity: 0.9;
}