/* Profile Page Specific Styles */

/* Profile Hero Section */
.profile_hero {
  background: linear-gradient(135deg, #022762 0%, #1a4a8a 100%);
  padding: 80px 50px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.profile_hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.profile_hero_content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.profile_avatar {
  position: relative;
  flex-shrink: 0;
}

.avatar_img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #00E6FB;
  box-shadow: 0 10px 30px rgba(0, 230, 251, 0.3);
  object-fit: cover;
}

.avatar_badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #022762;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.profile_info {
  flex: 1;
}

.profile_name {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 48px;
  line-height: 110%;
  color: #FFFFFF;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile_title {
  font-family: var(--text-font);
  font-weight: 500;
  font-size: 20px;
  color: #00E6FB;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile_stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.profile_stats .stat_item {
  text-align: center;
  color: #FFFFFF;
}

.profile_stats .stat_number {
  display: block;
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
  color: #00E6FB;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile_stats .stat_label {
  font-family: var(--text-font);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile_actions {
  display: flex;
  gap: 16px;
}

.profile_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.profile_btn.primary {
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  color: #022762;
  box-shadow: 0 4px 15px rgba(0, 230, 251, 0.3);
}

.profile_btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 251, 0.4);
}

.profile_btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.profile_btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00E6FB;
}

.profile_hero_background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.achievement_showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.achievement_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: slideInRight 0.6s ease forwards;
  opacity: 0;
  transform: translateX(50px);
}

.achievement_item:nth-child(1) { animation-delay: 0.2s; }
.achievement_item:nth-child(2) { animation-delay: 0.4s; }
.achievement_item:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.achievement_item i {
  color: #00E6FB;
  font-size: 18px;
}

/* Main Profile Content */
.profile_main {
  background: #f8fafc;
  min-height: 100vh;
}

.profile_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 50px;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
}

/* Sidebar Styles */
.profile_sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.sidebar_card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.card_title i {
  color: #00E6FB;
  font-size: 20px;
}

/* Personal Info */
.personal_info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info_item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info_label {
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info_value {
  font-family: var(--text-font);
  font-weight: 500;
  font-size: 14px;
  color: #1e293b;
}

/* Skills */
.skills_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skill_item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill_name {
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  min-width: 120px;
}

.skill_bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.skill_progress {
  height: 100%;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  border-radius: 4px;
  transition: width 0.8s ease;
}

.skill_percentage {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 12px;
  color: #00E6FB;
  min-width: 40px;
  text-align: right;
}

/* Quick Stats */
.quick_stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat_card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.stat_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat_icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #022762;
  font-size: 18px;
}

.stat_content {
  display: flex;
  flex-direction: column;
}

.stat_content .stat_number {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 20px;
  color: #1e293b;
  line-height: 1;
}

.stat_content .stat_label {
  font-family: var(--text-font);
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Main Content */
.profile_content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Section Headers */
.section_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.section_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 28px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section_title i {
  color: #00E6FB;
  font-size: 24px;
}

.section_btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  color: #022762;
  border: none;
  border-radius: 50px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 251, 0.4);
}

/* Achievement Section */
.achievements_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.achievement_card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.achievement_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
}

.achievement_card.gold::before {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.achievement_card.silver::before {
  background: linear-gradient(135deg, #C0C0C0 0%, #A9A9A9 100%);
}

.achievement_card.bronze::before {
  background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
}

.achievement_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.achievement_icon {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #00E6FB;
  flex-shrink: 0;
}

.achievement_card.gold .achievement_icon {
  color: #FFD700;
}

.achievement_card.silver .achievement_icon {
  color: #C0C0C0;
}

.achievement_card.bronze .achievement_icon {
  color: #CD7F32;
}

.achievement_content {
  flex: 1;
}

.achievement_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 8px;
  line-height: 1.3;
}

.achievement_description {
  font-family: var(--text-font);
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.achievement_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.achievement_date,
.achievement_score {
  font-family: var(--text-font);
  font-size: 12px;
  color: #64748b;
}

.achievement_badge {
  font-size: 24px;
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Activity Section */
.activity_filters {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
}

.filter_btn {
  padding: 8px 16px;
  border: none;
  background: none;
  border-radius: 8px;
  font-family: var(--text-font);
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.filter_btn.active {
  background: #FFFFFF;
  color: #00E6FB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter_btn:hover:not(.active) {
  color: #1e293b;
}

.activity_timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline_item {
  display: flex;
  gap: 20px;
  position: relative;
}

.timeline_item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: -24px;
  width: 2px;
  background: #e2e8f0;
}

.timeline_item:last-child::before {
  display: none;
}

.timeline_marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  z-index: 2;
}

.timeline_item.completed .timeline_marker {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #FFFFFF;
}

.timeline_item.upcoming .timeline_marker {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #FFFFFF;
}

.timeline_content {
  flex: 1;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.timeline_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 8px;
}

.timeline_description {
  font-family: var(--text-font);
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.timeline_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline_date {
  font-family: var(--text-font);
  font-size: 12px;
  color: #64748b;
}

.timeline_type {
  font-family: var(--text-font);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline_type.olympiad {
  background: #ef4444;
  color: #FFFFFF;
}

.timeline_type.workshop {
  background: #3b82f6;
  color: #FFFFFF;
}

.timeline_type.tournament {
  background: #10b981;
  color: #FFFFFF;
}

/* Portfolio Section */
.portfolio_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio_card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.portfolio_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio_image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.portfolio_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio_card:hover .portfolio_image img {
  transform: scale(1.05);
}

.portfolio_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio_card:hover .portfolio_overlay {
  opacity: 1;
}

.portfolio_btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: #022762;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio_btn:hover {
  transform: scale(1.1);
  background: #00E6FB;
  color: #022762;
}

.portfolio_content {
  padding: 20px;
}

.portfolio_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 8px;
}

.portfolio_description {
  font-family: var(--text-font);
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.portfolio_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portfolio_tech,
.portfolio_date {
  font-family: var(--text-font);
  font-size: 12px;
  color: #64748b;
}

.portfolio_tech {
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 8px;
}

/* Goals Section */
.goals_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.goal_card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.goal_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.goal_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.goal_title {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 16px;
  color: #1e293b;
}

.goal_percentage {
  font-family: var(--text-font);
  font-weight: 700;
  font-size: 18px;
  color: #00E6FB;
}

.goal_progress {
  margin-bottom: 16px;
}

.progress_bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress_fill {
  height: 100%;
  background: linear-gradient(135deg, #00E6FB 0%, #00D4E6 100%);
  border-radius: 4px;
  transition: width 0.8s ease;
}

.goal_description {
  font-family: var(--text-font);
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}

.goal_deadline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--text-font);
  font-size: 12px;
  color: #64748b;
}

.goal_deadline i {
  color: #00E6FB;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile_container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .profile_sidebar {
    position: static;
    order: -1;
  }
  
  .profile_hero_content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .profile_hero_background {
    display: none;
  }
  
  .achievements_grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .profile_hero {
    padding: 60px 30px;
  }
  
  .profile_name {
    font-size: 36px;
  }
  
  .profile_title {
    font-size: 18px;
  }
  
  .profile_stats {
    gap: 30px;
  }
  
  .profile_actions {
    flex-direction: column;
    align-items: center;
  }
  
  .profile_container {
    padding: 40px 30px;
  }
  
  .section_header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .activity_filters {
    width: 100%;
    justify-content: center;
  }
  
  .achievements_grid,
  .portfolio_grid,
  .goals_grid {
    grid-template-columns: 1fr;
  }
  
  .timeline_item {
    flex-direction: column;
    gap: 16px;
  }
  
  .timeline_item::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .profile_hero {
    padding: 40px 20px;
  }
  
  .profile_name {
    font-size: 28px;
  }
  
  .profile_stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .profile_container {
    padding: 30px 20px;
  }
  
  .sidebar_card {
    padding: 20px;
  }
  
  .achievement_card,
  .portfolio_card,
  .goal_card {
    padding: 20px;
  }
  
  .section_title {
    font-size: 24px;
  }
}

@media (max-width: 375px) {
  .profile_hero {
    padding: 30px 15px;
  }
  
  .profile_name {
    font-size: 24px;
  }
  
  .profile_title {
    font-size: 16px;
  }
  
  .avatar_img {
    width: 120px;
    height: 120px;
  }
  
  .profile_container {
    padding: 20px 15px;
  }
  
  .sidebar_card {
    padding: 15px;
  }
  
  .achievement_card,
  .portfolio_card,
  .goal_card {
    padding: 15px;
  }
  
  .section_title {
    font-size: 20px;
  }
  
  .profile_btn {
    padding: 10px 16px;
    font-size: 12px;
  }
  
  .section_btn {
    padding: 10px 16px;
    font-size: 12px;
  }
} 