/**
 * Golcam Profile CSS
 * Modern profile page design
 * Last update: October 2023
 */

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

/* Variables */
:root {
  /* Colors */
  --gc-primary: #2c539e;
  --gc-primary-dark: #204080;
  --gc-primary-light: #3d69c6;
  --gc-accent: #e63946;
  --gc-accent-light: #ff4d5e;
  --gc-success: #2ecc71;
  --gc-warning: #f39c12;
  --gc-danger: #e74c3c;
  --gc-white: #ffffff;
  --gc-light: #f8f9fa;
  --gc-light-2: #e9ecef;
  --gc-text: #333333;
  --gc-text-light: #6c757d;
  --gc-border: #dee2e6;
  
  /* Typography */
  --gc-font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
  --gc-font-size-base: 16px;
  --gc-font-size-sm: 14px;
  --gc-font-size-lg: 18px;
  
  /* Border radius */
  --gc-radius-sm: 4px;
  --gc-radius-md: 8px;
  --gc-radius-lg: 12px;
  
  /* Shadows */
  --gc-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --gc-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --gc-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --gc-transition-fast: 0.2s ease;
  --gc-transition-normal: 0.3s ease;
}

/* Base Font Application */
.gc-profile-container,
.gc-profile-container * {
  font-family: var(--gc-font-family);
}

/* Exceptions for icons */
.fa,
.fas,
.far,
.fal,
.fab,
.gc-profile-container [class^="fa-"],
.gc-profile-container [class*=" fa-"] {
  font-family: "Font Awesome 5 Free" !important;
}

.fab {
  font-family: "Font Awesome 5 Brands" !important;
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Profile Container */
.gc-profile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
}

/* Profile Sidebar */
.gc-profile-sidebar {
  flex: 0 0 300px;
}

/* Profile Content */
.gc-profile-content {
  flex: 1;
  min-width: 0;
}

/* Profile Card */
.gc-profile-card {
  background: white;
  border-radius: var(--gc-radius-lg);
  box-shadow: var(--gc-shadow-md);
  overflow: hidden;
  transition: all var(--gc-transition-normal);
  margin-bottom: 25px;
  animation: fadeIn 0.5s ease forwards;
}

.gc-profile-card:hover {
  box-shadow: var(--gc-shadow-lg);
  transform: translateY(-5px);
}

/* Profile Header */
.gc-profile-header {
  background: linear-gradient(135deg, #1a3b7d, #2c539e);
  padding: 16px;
  color: white;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 100px;
}

/* Animated Background */
.gc-profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1;
}

@keyframes backgroundPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Profile Avatar */
.gc-profile-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.gc-profile-avatar:hover img {
  transform: scale(1.1);
}

/* Profile Info Container */
.gc-profile-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gc-profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    background: #2f5398 !important;
    color: #FFF;
    padding: 4px;
}
span.gc-stat-value {
  color: #000;
  font-size: 12px;
}
.gc-profile-role {
  font-size: 0.9rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.gc-profile-role i {
  font-size: 1rem;
}

/* Stats Container */
.gc-profile-stats.classification {
  display: flex;
  gap: 12px;
  margin: 0;
  height: auto;
  background: #011012;
  justify-content: space-evenly;
}

.gc-stat-card {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 4px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.gc-stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.gc-stat-icon {
  font-size: 1rem;
  color: white;
  opacity: 0.9;
}

.gc-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gc-stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Level Badge */
.gc-level-badge {
  position: relative;
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gc-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
  margin-left: auto;
}

.gc-level-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid rgba(44, 83, 158, 0.3);
  animation: spin 10s linear infinite;
}

.gc-level-badge::after {
  content: "LVL";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  color: white;
  background: var(--gc-primary);
  padding: 2px 6px;
  border-radius: 8px;
}

/* Profile Body */
.gc-profile-body {
  padding: 20px;
}

.gc-profile-section {
  margin-bottom: 20px;
}

.gc-profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gc-primary);
  margin: 0 0 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gc-border);
  display: flex;
  align-items: center;
}

.gc-profile-section-title i {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Player Skills */
.gc-skill-item {
  margin-bottom: 15px;
}

.gc-skill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gc-skill-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gc-text);
  display: flex;
  align-items: center;
}

.gc-skill-name i {
  margin-right: 8px;
  font-size: 1rem;
}

.gc-skill-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--gc-primary);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.gc-skill-progress {
  height: 8px;
  background: var(--gc-light-2);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gc-skill-bar {
  height: 100%;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.gc-skill-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

/* Skill bar colors */
.gc-skill-bar.skill-videos {
  background: linear-gradient(90deg, #3498db, #2980b9);
}

.gc-skill-bar.skill-experience {
  background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.gc-skill-bar.skill-social {
  background: linear-gradient(90deg, #2ecc71, #27ae60);
}

.gc-skill-bar.skill-popularity {
  background: linear-gradient(90deg, #f39c12, #d35400);
}

.gc-skill-bar.skill-fitness {
  background: linear-gradient(90deg, var(--fitness-color-light, #2ecc71), var(--fitness-color-dark, #27ae60));
}

/* Animation keyframes */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Activity Stats */
.gc-activity-stats {
  display: flex;
  background: var(--gc-light);
  border-radius: var(--gc-radius-md);
  overflow: hidden;
  margin-top: 20px;
  flex-wrap: nowrap; /* Impedisce il wrapping su schermi piccoli */
}

.gc-activity-stat {
  flex: 1;
  padding: 12px 5px;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.05);
  transition: all var(--gc-transition-normal);
  min-width: 0; /* Permette lo shrinking su mobile */
}

.gc-activity-stat:last-child {
  border-right: none;
}

.gc-activity-stat:hover {
  background: white;
  box-shadow: var(--gc-shadow-sm);
  transform: translateY(-3px);
}

.gc-activity-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.gc-activity-value img {
  margin-left: 5px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gc-activity-label {
  font-size: 0.75rem;
  color: var(--gc-text-light);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Social Links */
.gc-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 10px;
}

.gc-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gc-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc-text-light);
  font-size: 1rem;
  transition: all var(--gc-transition-normal);
}

.gc-social-link:hover {
  background: var(--gc-primary);
  color: white;
  transform: translateY(-3px);
}

/* Profile Stats Footer */
.gc-profile-footer {
  background: var(--gc-light);
  padding: 15px;
  border-top: 1px solid var(--gc-border);
  display: flex;
  text-align: center;
}

.gc-footer-stat {
  flex: 1;
  padding: 0 10px;
}

.gc-footer-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gc-primary);
}

.gc-footer-label {
  font-size: 0.75rem;
  color: var(--gc-text-light);
  margin-top: 3px;
}

/* Subscribers Section */
.gc-subscribers {
  margin-top: 25px;
}

.gc-subscribers-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gc-text);
  display: flex;
  align-items: center;
}

.gc-subscribers-title i {
  margin-right: 8px;
  color: var(--gc-primary);
}

.gc-subscriber-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gc-subscriber-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gc-border);
  transition: all var(--gc-transition-normal);
}

.gc-subscriber-item:hover {
  background: var(--gc-light);
  padding-left: 10px;
}

.gc-subscriber-item:last-child {
  border-bottom: none;
}

.gc-subscriber-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}

.gc-subscriber-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-subscriber-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gc-text);
}

.gc-view-all {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--gc-light);
  border-radius: var(--gc-radius-md);
  margin-top: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gc-primary);
  transition: all var(--gc-transition-normal);
}

.gc-view-all:hover {
  background: var(--gc-primary);
  color: white;
  text-decoration: none;
}

/* Profile Navigation */
.gc-profile-nav {
  background: white;
  border-radius: var(--gc-radius-md);
  box-shadow: var(--gc-shadow-sm);
  margin-bottom: 25px;
  overflow: hidden;
  display: flex;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.gc-nav-item {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  color: var(--gc-text);
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all var(--gc-transition-normal);
  position: relative;
  overflow: hidden;
}

.gc-nav-item:hover {
  color: var(--gc-primary);
  text-decoration: none;
}

.gc-nav-item.active {
  color: var(--gc-primary);
  border-bottom-color: var(--gc-primary);
  background: rgba(44, 83, 158, 0.05);
}

.gc-nav-item i, .gc-nav-item img {
  margin-right: 8px;
  font-size: 1.1rem;
}

.gc-nav-item img {
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
}

/* Profile Panel */
.gc-profile-panel {
  background: white;
  border-radius: var(--gc-radius-md);
  box-shadow: var(--gc-shadow-sm);
  overflow: hidden;
  animation: fadeIn 0.5s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.gc-panel-header {
  padding: 20px;
  border-bottom: 1px solid var(--gc-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gc-panel-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gc-text);
  margin: 0;
}

/* Category Filter */
.gc-category-filter {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--gc-light);
  border-radius: var(--gc-radius-md);
}

.gc-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.gc-filter-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gc-text);
  margin: 0;
}

.gc-filter-reset {
  font-size: 0.85rem;
  color: var(--gc-primary);
  text-decoration: none;
}

.gc-filter-reset:hover {
  text-decoration: underline;
}

.gc-category-select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--gc-border);
  border-radius: var(--gc-radius-md);
  background: white;
  font-size: 0.9rem;
  color: var(--gc-text);
  appearance: none;
  cursor: pointer;
}

.gc-filter-select-wrapper {
  position: relative;
}

.gc-filter-select-wrapper::after {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gc-text-light);
}

/* Profile Video Grid */
.gc-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  width: 100%;
  margin: 0;
  padding: 0 20px 20px;
  list-style: none;
  min-height: 100px;
}

/* Fix Bootstrap conflicts */
.gc-video-grid::before,
.gc-video-grid::after {
  display: none !important;
  content: none !important;
}

/* Video card styling */
.gc-video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  width: 100%;
  margin-bottom: 0 !important;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.gc-video-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.gc-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Thumbnail with overlays */
.gc-video-thumb-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #000;
  width: 100%;
  height: auto;
}

.gc-video-thumb {
  display: block;
  width: 100%;
  height: 100%;
}

.gc-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gc-video-card:hover .gc-video-thumb img {
  transform: scale(1.05);
}

/* Play button overlay */
.gc-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0,0,0,0.3);
  z-index: 2;
}

.gc-video-card:hover .gc-video-play-overlay {
  opacity: 1;
}

.gc-video-play-button {
  width: 60px;
  height: 60px;
  background: rgba(44, 83, 158, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gc-video-card:hover .gc-video-play-button {
  transform: scale(1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Field and category overlays */
.gc-video-overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 3;
}

.gc-video-tag, 
.gc-video-category {
  background: rgba(44, 83, 158, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
  display: inline-block;
  backdrop-filter: blur(4px);
}

.gc-video-category {
  background: rgba(255, 87, 51, 0.85);
}

/* Video title */
.gc-video-title {
  padding: 15px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  height: 60px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  background-color: #fff;
}

.gc-video-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gc-video-title a:hover {
  color: #2c539e;
}

/* Video stats */
.gc-video-stats {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
  margin-top: auto;
}

/* Video Admin Actions */
.gc-video-admin-actions {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  gap: 8px;
}

.gc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px !important;
  border-radius: 8px;
  border: none;
  font-size: 12px !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-btn i {
  margin-right: 6px;
  font-size: 16px;
}

.gc-btn-edit {
  background-color: #2c539e;
  color: white;
}

.gc-btn-edit:hover {
  background-color: #1a3b7d;
  transform: translateY(-2px);
}

.gc-btn-delete {
  background-color: #e74c3c;
  color: white;
}

.gc-btn-delete:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .gc-video-admin-actions {
    flex-direction: row;
    gap: 6px;
    padding: 6px;
  }
  
  .gc-profile-card {
    border-radius: 0px !important;
}
  
  .gc-btn {
    padding: 6px 10px !important;
    font-size: 13px !important;
  }
  
  .gc-btn i {
    margin-right: 4px;
    font-size: 14px;
  }
}

.gc-stat-item {
  display: flex;
  align-items: center;
  color: #666;
  font-size: 14px;
  margin-right: 15px;
}

.gc-stat-item i {
  margin-right: 5px;
}

.gc-video-views i {
  color: #2c539e;
}

.gc-video-likes i {
  color: #ff5733;
}

.gc-stat-value {
  font-weight: 500;
}

.gc-like-button {
  margin-left: auto;
}

.gc-video-like {
  background: #2c539e;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.gc-video-like i {
  margin-right: 3px;
}

.gc-video-like:hover {
  background: #1a3b7d;
  transform: translateY(-2px);
}

.gc-already-liked {
  color: #4CAF50;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.gc-already-liked i {
  margin-right: 5px;
}

/* Watched indicator */
.gc-video-watched {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(76, 175, 80, 0.9);
  color: white;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 4px;
  z-index: 3;
}

/* Subscribers sections */
.gc-subscribers-desktop {
  margin-top: 20px;
}

.gc-profile-subscribers-section {
  display: none; /* Nascondiamo la sezione duplicata su desktop */
}

/* Responsive styles */
@media (max-width: 1200px) {
  .gc-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .gc-profile-container {
    display: block;
  }
  
  .gc-profile-sidebar {
    width: 100%;
    margin-bottom: 25px;
  }
  
  .gc-profile-content {
    width: 100%;
  }
  
  .gc-profile-header {
    grid-template-columns: 1fr;
    grid-template-areas: 
      "avatar"
      "info"
      "stats";
    text-align: center;
    gap: 12px;
    padding: 12px;
  }

  .gc-profile-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    grid-area: avatar;
  }

  .gc-profile-info {
    grid-area: info;
    align-items: center;
  }

  .gc-profile-role {
    justify-content: center;
    margin-bottom: 4px;
  }

  .gc-profile-stats.classification {
    grid-area: stats;
    justify-content: center;
    flex-wrap: wrap;
  }

  .gc-level-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .gc-profile-nav {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
  }
  
  .gc-nav-item {
    display: inline-block;
    padding: 15px 20px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }
  
  .gc-nav-item.active {
    border-left-color: var(--gc-primary);
    border-bottom-color: transparent;
  }
  
  .gc-video-grid {
    grid-template-columns: 1fr;
  }
  
  .gc-profile-stats {
    gap: 10px;
    margin-top: 15px;
  }
  
  .gc-stat-card {
    padding: 12px;
  }
  
  .gc-stat-icon {
    font-size: 1.5rem;
  }
  
  .gc-stat-value {
    font-size: 1.1rem;
  }
  
  .gc-stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .gc-profile-header {
    padding: 20px;
    gap: 8px;
  }
  
  .gc-profile-avatar {
    width: 50px;
    height: 50px;
  }
  
  .gc-profile-name {
    font-size: 1.2rem;
  }
  
  .gc-profile-role {
    font-size: 0.8rem;
  }
  
  .gc-stat-card {
    padding: 6px 10px;
    gap: 6px;
  }
  
  .gc-stat-icon {
    font-size: 0.9rem;
  }
  
  .gc-stat-value {
    font-size: 0.8rem;
  }
  
  .gc-level-badge {
    width: 35px;
    height: 35px;
  }
  
  .gc-level-badge::after {
    font-size: 8px;
    padding: 1px 4px;
    top: -10px;
  }
}

.gc-playlist-button {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.gc-video-playlist {
    background: transparent;
    border: none;
    color: #ffaf0d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-video-playlist:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gc-primary, #2c539e);
}

.gc-video-playlist i {
    font-size: 16px;
}

/* Modal Playlist */
.gc-playlist-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.gc-playlist-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gc-playlist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.gc-playlist-modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.gc-playlist-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.gc-playlist-modal-close:hover {
    color: #333;
}

.gc-playlist-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gc-playlist-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.gc-playlist-select:hover {
    border-color: #999;
}

.gc-playlist-select:focus {
    outline: none;
    border-color: var(--gc-primary, #2c539e);
    box-shadow: 0 0 0 2px rgba(44, 83, 158, 0.1);
}

.gc-playlist-submit {
    background-color: var(--gc-primary, #2c539e);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gc-playlist-submit:hover {
    background-color: var(--gc-primary-dark, #204080);
}

.gc-playlist-submit:active {
    transform: translateY(1px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .gc-playlist-modal-content {
        margin: 20% auto;
        width: 95%;
    }
    
    .gc-playlist-select {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .gc-playlist-submit {
        padding: 10px 15px;
        font-size: 13px;
    }
}