:root {

  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    #ffda6b 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */
  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);

  /**
   * typography
   */
  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size - Standardized hierarchy */
  --fs-1: 24px;  /* Main headings */
  --fs-2: 20px;  /* Section headings */
  --fs-3: 18px;  /* Subsection headings */
  --fs-4: 16px;  /* Large text */
  --fs-5: 14px;  /* Body text */
  --fs-6: 13px;  /* Small text */
  --fs-7: 12px;  /* Smaller text */
  --fs-8: 11px;  /* Smallest text */
  --fs-9: 10px;  /* Micro text */

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

  /**
   * spacing - Standardized spacing system
   */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 30px;
  --space-4xl: 40px;
  --space-5xl: 50px;

  /**
   * component sizes - Standardized component dimensions
   */
  --btn-height-sm: 32px;
  --btn-height-md: 40px;
  --btn-height-lg: 48px;
  --btn-padding-sm: 8px 16px;
  --btn-padding-md: 12px 24px;
  --btn-padding-lg: 16px 32px;
  
  --card-padding-sm: 12px;
  --card-padding-md: 20px;
  --card-padding-lg: 30px;
  
  --icon-size-sm: 16px;
  --icon-size-md: 24px;
  --icon-size-lg: 32px;
  --icon-size-xl: 48px;
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
}

/*-----------------------------------*\
  #SKIP LINKS
\*-----------------------------------*/

.skip-link {
  position: absolute;
  top: -60px;
  left: 6px;
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: var(--fw-600);
  z-index: 10000;
  transition: top var(--transition-1);
}

.skip-link:focus {
  top: 6px;
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

/* Only show focus outline when using keyboard navigation */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 1px solid rgba(255, 193, 7, 0.6);
  outline-offset: 1px;
  transition: all 0.15s ease;
}

/* Enhanced focus indicators for better accessibility */
.navbar-link:focus-visible,
.social-link:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 1px solid rgba(255, 193, 7, 0.6);
  outline-offset: 1px;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.1);
  transition: all 0.15s ease;
}

/* Focus indicators for interactive elements */
.service-item:focus-within:focus-visible,
.player-card:focus-within:focus-visible,
.owner-card:focus-within:focus-visible {
  outline: 1px solid rgba(255, 193, 7, 0.4);
  outline-offset: 1px;
  transition: all 0.15s ease;
}

html { font-family: var(--ff-poppins); }

body { 
  background: radial-gradient(circle at top left,rgba(26, 26, 26, 0.93), #000);
  background-attachment: fixed;
  background-size: cover;
  color: var(--white-2);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: var(--border-radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: var(--space-lg) 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
  border-radius: var(--border-radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--icon-size-sm);
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.socials-icons{
  color: var(--orange-yellow-crayola);
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.icon-box ion-icon { --ionicon-stroke-width: 35px; }

article { display: none; }

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 { font-size: var(--fs-1); }

.h3 { font-size: var(--fs-2); }

.h4 { font-size: var(--fs-4); }

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
}


.has-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}

/*-----------------------------------*\
  #SIDEBAR - Enhanced Design
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
  position: relative;
  border-top: 3px solid var(--orange-yellow-crayola);
}

.sidebar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange-yellow-crayola), transparent);
  opacity: 0.5;
}

.sidebar.active { max-height: 405px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-1);
}


/* Reduced motion support - disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sidebar:hover .avatar-box::before {
  opacity: 1;
}

.avatar-box img {
  transition: all var(--transition-1);
}

.sidebar:hover .avatar-box img {
  transform: scale(1.05);
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--white-2), var(--orange-yellow-crayola));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-content .title {
  color: var(--white-1);
  background: var(--bg-gradient-yellow-2);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 5px 15px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-1);
}

.info-content .title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.sidebar:hover .info-content .title::before {
  left: 100%;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

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

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus { 
  background: var(--bg-gradient-yellow-1);
  animation: none;
  transform: scale(1.1);
}

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }

/* دوگمەی Show Contacts - چارەسەری تەواو */
.info_more-btn {
  display: block;
}

/* لە مۆبایلدا (≤579px) - دوگمەکە نیشان دەدرێت بەڵام نووسین شاردەکرێتەوە */
@media (max-width: 579px) {
  .info_more-btn {
    display: block !important;
  }
  .info_more-btn span {
    display: none !important;
  }
}

/* لە tablet دا (580px - 1249px) - دوگمەکە و نووسین نیشان دەدرێن */
@media (min-width: 580px) and (max-width: 1249px) {
  .info_more-btn {
    display: block !important;
  }
  .info_more-btn span {
    display: block !important;
    font-size: var(--fs-6);
    margin-right: var(--space-xs);
  }
}

/* لە desktop گەورەدا (≥1250px) - دوگمەکە شاردەکرێتەوە */
@media (min-width: 1250px) {
  .info_more-btn {
    display: none !important;
  }
}
.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
  animation: slideInUp 0.5s ease;
}

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

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  padding: 1px;
  border-radius: 12px;
  transition: all var(--transition-1);
}

.contact-item:hover {
  background: var(--border-gradient-onyx);
  transform: translateX(5px);
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
  transition: color var(--transition-1);
}

.contact-info .contact-link:hover {
  color: var(--orange-yellow-crayola);
}

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
  transition: all var(--transition-1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 8px;
}

.social-item .social-link:hover { 
  color: var(--orange-yellow-crayola);
  background: var(--bg-gradient-yellow-2);
  transform: translateY(-3px);
}

/*-----------------------------------*\
  #NAVBAR - Fixed Design
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--orange-yellow-crayola), transparent);
  opacity: 0.5;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 var(--space-md);
}

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: var(--space-xl) var(--space-sm);
  transition: all var(--transition-1);
  position: relative;
  overflow: hidden;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.navbar-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: var(--text-gradient-yellow);
  transition: transform var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus { 
  color: var(--white-1);
  transform: translateY(-2px);
}

.navbar-link:hover::before,
.navbar-link:focus::before {
  transform: translateX(-50%) scaleX(0.5);
}

.navbar-link.active { 
  color: var(--orange-yellow-crayola);
}

.navbar-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

@media (max-width: 480px) {
  .navbar-link {
    padding: var(--space-lg) var(--space-xs);
    font-size: calc(var(--fs-9) + 4px);



  }
}

@media (min-width: 580px) {
  :root {
    --fs-1: 28px;  /* Main headings */
    --fs-2: 22px;  /* Section headings */
    --fs-3: 20px;  /* Subsection headings */
    --fs-4: 18px;  /* Large text */
    --fs-5: 16px;  /* Body text */
    --fs-6: 14px;  /* Small text */
    --fs-7: 13px;  /* Smaller text */
    --fs-8: 12px;  /* Smallest text */
    --fs-9: 11px;  /* Micro text */
  }

  .sidebar, article {
    width: 520px;
    margin-inline: auto;
    padding: var(--space-3xl);
  }

  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: var(--space-lg);
  }

  .article-title::after {
    width: var(--space-4xl);
    height: 5px;
  }

  .icon-box {
    width: var(--icon-size-xl);
    height: var(--icon-size-xl);
    border-radius: var(--border-radius-md);
    font-size: var(--icon-size-md);
  }

  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }

  .sidebar {
    max-height: 180px;
    margin-bottom: var(--space-3xl);
  }

  .sidebar.active { max-height: 584px; }

  .sidebar-info { gap: var(--space-2xl); }

  .avatar-box { border-radius: var(--space-3xl); }

  .info-content .name { margin-bottom: var(--space-lg); }

  .info-content .title { padding: var(--space-xs) var(--space-lg); }

  .info_more-btn {
    top: -var(--space-3xl);
    right: -var(--space-3xl);
    padding: var(--space-md) var(--space-lg);
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-6);
    margin-right: var(--space-xs);
  }

  .info_more-btn ion-icon { 
    display: inline-block;
    font-size: var(--fs-5);
    vertical-align: middle;
  }

  .separator { margin: var(--space-3xl) 0; }

  .navbar { border-radius: var(--space-xl) var(--space-xl) 0 0; }

  .navbar-list { gap: var(--space-xl); }

  .navbar-link { font-size: var(--fs-5); }
}

@media (min-width: 768px) {
  .sidebar, article { width: 700px; }

  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }

  .navbar-link { font-size: var(--fs-5); }

  .article-title { padding-bottom: var(--space-xl); }
}

@media (min-width: 1024px) {
  :root {
    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  }

  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 var(--space-xl);
    box-shadow: none;
  }

  .navbar-list {
    padding: 0 var(--space-xl);
  }

  .navbar-link { font-weight: var(--fw-500); }
}

@media (min-width: 1250px) {
  body::-webkit-scrollbar { width: 20px; }

  body::-webkit-scrollbar-track { background: var(--smoky-black); }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
                inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  }

  body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }

  body::-webkit-scrollbar-button { height: 60px; }

  .sidebar, article { width: auto; }

  article { min-height: 100%; }

  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-2xl);
  }
  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }
  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 1;
  }
  .sidebar-info { flex-direction: column; }

  .avatar-box img { width: 150px; }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }
  .info-content .title { margin: auto; }

  .info_more-btn { 
    display: none !important;
  }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }
  .sidebar.active .sidebar-info_more {
    opacity: 1;
    visibility: visible;
    animation: slideInUp 0.5s ease;
  }
  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }
  .social-list { justify-content: center; }
}

/* Background effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle farthest-corner at 40% 40%, rgba(255,255,255,0.05), transparent 70%);
  z-index: -1;
  pointer-events: none;
  will-change: auto;
}

/* Performance optimizations */
.sidebar,
article,
.navbar {
  will-change: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Optimize animations for better performance */
.service-item,
.player-card,
.owner-card {
  will-change: transform;
  transform: translateZ(0);
}

/* Reduce repaints on hover */
.service-item:hover,
.player-card:hover,
.owner-card:hover {
  will-change: transform, box-shadow;
}
