/* Modern Template - Bold and Contemporary */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #6366f1;
  --secondary-color: #ec4899;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background: #f8fafc;
  --surface: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.name {
  font-size: 56px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.section-heading {
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 60px 0 40px 0;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.profile-content {
  display: grid;
  grid-template-columns: 2fr 320px;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

.profile-image {
  text-align: right;
}

.profile-photo {
  width: 180px;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-photo:hover {
  transform: translateY(0px);
}

.paper-item {
  background: var(--surface);
  padding: 30px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.paper-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.paper-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.paper-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.paper-authors {
  margin: 8px 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.paper-venue {
  margin: 8px 0;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 15px;
}

.paper-note {
  margin: 12px 0 0 0;
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
}

.year-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 30px;
  display: inline-block;
  background: var(--surface);
  padding: 8px 20px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  color: white !important;
  border-radius: 50%;
  margin-left: 12px;
  transition: transform 0.2s ease;
  border: none !important;
}

.github-link:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .profile-image {
    text-align: center;
  }
  
  .profile-photo {
    width: 220px;
    height: auto;
    max-height: 300px;
  }
  .name {
    font-size: 45px;
  }
}
