:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
  filter: drop-shadow(0 0 2em #f7df1eaa);
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

/* PR Contributors Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --snd-bg-color: #c4c8f9;
    --text-color: #fff;
    --main-color: #491a02;
    --bg-color: #a6cde5;
    --white-4345: #f7f7f7;
    --bg-shade: #f0d8eb;
    --img-bg-shade: rgba(242, 227, 241, 0.6);
    --primary-text-color: #38393a;
    --secondary-text-color: #926f57;
    --nav-bgcolor: rgb(242, 208, 135);
    --accent-color: #d2bf80f0;
    --accent-color-dark: #856113;
    --padding-inline-section: 20px;
    --footer-bgColor: #ec9999;
    --placeholder-color: #6c757d;
    --input-bg-color: #dad6d9;
}

.dark-mode {
    --nav-bgcolor: rgb(165, 139, 82);
    --bg-shade: rgb(131, 127, 127);
    --img-bg-shade: rgba(104, 102, 102, 0.6);
    --primary-text-color: rgb(0, 0, 0);
    --tertiary-color: rgb(174, 174, 241);
    --footer-bgColor: #dbb0b0;
    --placeholder-color: #adb5bd;
    --input-bg-color: #495057;
}

/* Navigation Styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--nav-bgcolor);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .logo a {
    color: var(--primary-text-color);
    font-size: 35px;
    font-weight: 600;
    text-decoration: none;
}

nav #mitra {
    color: var(--accent-color-dark);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    color: var(--primary-text-color);
    font-size: 18px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a#active {
    color: var(--accent-color-dark);
    background: rgba(255, 255, 255, 0.1);
}

nav #mode {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

nav #mode:hover {
    transform: scale(1.1);
}

nav .menu-btn {
    display: none;
}

nav #click {
    display: none;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
}

.hero-section {
    background: var(--bg-shade);
    padding: 60px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(210, 191, 128, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(133, 97, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.content-wrapper {
    flex: 1;
    background: var(--bg-shade);
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--padding-inline-section);
    position: relative;
    z-index: 1;
}

/* Service Heading */
.service-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.service-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-dark), var(--main-color));
    border-radius: 2px;
    animation: expandWidth 0.8s ease 0.3s forwards;
    width: 0;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes expandWidth {
    to {
        width: 100px;
    }
}

/* Paragraph */
.para {
    color: var(--primary-text-color);
    font-weight: 500;
    text-align: center;
    padding: 30px 40px;
    margin: 0 auto;
    max-width: 900px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease 0.2s forwards;
}

.para span {
    color: var(--accent-color-dark);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* PR Container */
.pr-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.8s ease 0.4s forwards;
    margin: 40px 0;
}

/* PR Header */
.pr-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pr-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

.pr-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.pr-header p {
    opacity: 0.95;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* Main Content Area */
.main-content-area {
    padding: 0;
}

/* Loading */
.loading {
    text-align: center;
    padding: 80px 40px;
    font-size: 1.3rem;
    color: var(--secondary-text-color);
    position: relative;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    border-top-color: var(--accent-color-dark);
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

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

/* Stats Grid */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 50px;
    background: linear-gradient(135deg, var(--bg-shade) 0%, rgba(240, 216, 235, 0.8) 100%);
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-dark), var(--main-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--secondary-text-color);
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contributors Section */
.contributors-section {
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-text-color);
    font-weight: 700;
    position: relative;
    text-align: center;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    border-radius: 2px;
}

/* Enhanced Ranking Podium - REPLACE the existing .ranking-podium section */
.ranking-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin: 60px 0;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(192, 192, 192, 0.1) 50%, rgba(205, 127, 50, 0.1) 100%);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.ranking-podium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(192, 192, 192, 0.2) 0%, transparent 50%);
    pointer-events: none;
    animation: podiumGlow 4s ease-in-out infinite alternate;
}

@keyframes podiumGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.podium-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Desktop podium positioning - 2nd, 1st, 3rd layout */
@media (min-width: 769px) {
    .ranking-podium {
        align-items: flex-end;
        justify-content: center;
        gap: 50px;
        flex-wrap: nowrap;
    }
    
    .podium-item {
        flex-shrink: 0;
    }
    
    /* 2nd place (left side) */
    .position-2 {
        order: 1;
        min-height: 400px;
        margin-bottom: 100px;
        transform: translateY(0);
    }
    
    /* 1st place (center, tallest) */
    .position-1 {
        order: 2;
        min-height: 550px;
        margin-bottom: 0;
        transform: translateY(-50px); /* Elevate the winner */
    }
    
    /* 3rd place (right side) */
    .position-3 {
        order: 3;
        min-height: 350px;
        margin-bottom: 180px;
        transform: translateY(30px);
    }
}

/* Mobile podium - stack vertically in 1st, 2nd, 3rd order */
@media (max-width: 768px) {
    .ranking-podium {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        min-height: auto;
    }
    
    .podium-item {
        width: 260px;
        min-height: 380px;
        padding: 30px 20px;
        margin-bottom: 0 !important;
        transform: translateY(0) !important;
    }
    
    /* Mobile order: 1st, 2nd, 3rd */
    .position-1 { order: 1; }
    .position-2 { order: 2; }
    .position-3 { order: 3; }
}

/* First Place - Gold (keep existing styles but add transform) */
.position-1 {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.3), rgba(255, 193, 7, 0.2));
    border: 3px solid #FFD700;
    box-shadow: 
        0 25px 50px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: goldShine 3s ease-in-out infinite;
}

@keyframes goldShine {
    0%, 100% { box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 30px 60px rgba(255, 215, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
}

.position-1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: goldSparkle 2s linear infinite;
}

@keyframes goldSparkle {
    0% { transform: translateX(-100%) translateY(-100%) rotate(30deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(30deg); }
}

/* Second Place - Silver */
.position-2 {
    background: linear-gradient(145deg, rgba(192, 192, 192, 0.3), rgba(169, 169, 169, 0.2));
    border: 3px solid #C0C0C0;
    box-shadow: 
        0 20px 40px rgba(192, 192, 192, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Third Place - Bronze */
.position-3 {
    background: linear-gradient(145deg, rgba(205, 127, 50, 0.3), rgba(184, 115, 51, 0.2));
    border: 3px solid #CD7F32;
    box-shadow: 
        0 15px 30px rgba(205, 127, 50, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.podium-item:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Special hover for 1st place to maintain elevation */
@media (min-width: 769px) {
    .position-1:hover {
        transform: translateY(-60px) scale(1.02);
    }
}



.podium-avatar {
    position: relative;
    margin-bottom: 25px;
}

.podium-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.podium-item:hover .podium-avatar img {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.crown {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: crownFloat 2s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    0% { transform: translateX(-50%) translateY(0px); }
    100% { transform: translateX(-50%) translateY(-5px); }
}

.crown.gold {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.crown.silver {
    color: #C0C0C0;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.6);
}

.crown.bronze {
    color: #CD7F32;
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.6);
}

.podium-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-text-color);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.podium-score {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color-dark);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.podium-level {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text-color);
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.podium-prs {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.podium-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
}

.podium-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(133, 97, 19, 0.3);
}

.podium-links a:hover {
    transform: translateY(-3px) scale(1.15);
    box-shadow: 0 8px 25px rgba(133, 97, 19, 0.5);
}

/* Contributors Ranking List */
.contributors-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.contributor-rank-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    border-left: 6px solid #3498db;
    position: relative;
    overflow: hidden;
}

.contributor-rank-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color-dark), var(--main-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contributor-rank-item:hover::before {
    transform: scaleX(1);
}

.contributor-rank-item:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.rank-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-color-dark);
    min-width: 50px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color), rgba(210, 191, 128, 0.3));
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(133, 97, 19, 0.2);
}

.contributor-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.contributor-rank-item:hover .contributor-avatar img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contributor-details {
    flex: 1;
}

.contributor-details .contributor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-text-color);
    margin-bottom: 10px;
}

.contributor-level {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.level-1-badge { 
    background: linear-gradient(135deg, #e74c3c, #c0392b); 
    color: white; 
}
.level-2-badge { 
    background: linear-gradient(135deg, #f39c12, #e67e22); 
    color: white; 
}
.level-3-badge { 
    background: linear-gradient(135deg, #27ae60, #229954); 
    color: white; 
}

.contributor-bio {
    font-size: 0.95rem;
    color: var(--secondary-text-color);
    font-style: italic;
    line-height: 1.4;
    margin: 8px 0;
}

.contributor-stats {
    text-align: center;
    padding: 0 25px;
}

.contributor-stats .score {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color-dark);
    margin-bottom: 8px;
}

.contributor-stats .pr-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text-color);
    margin-bottom: 10px;
}

.contributor-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color-dark), var(--main-color));
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(133, 97, 19, 0.3);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(133, 97, 19, 0.4);
}

/* PRs Section */
.prs-section {
    padding: 40px 50px;
    background: rgba(255, 255, 255, 0.8);
    position: relative;
}

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

.pr-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #3498db;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards;
}

.pr-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.pr-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-text-color);
    margin-bottom: 10px;
}

.pr-header-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.pr-number {
    color: #3498db;
    text-decoration: none;
    font-weight: 700;
    padding: 5px 12px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.pr-number:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.05);
}

.pr-meta {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-weight: 500;
}

.pr-labels {
    margin-top: 15px;
}

.label {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 8px;
    margin-bottom: 5px;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.label:hover {
    transform: translateY(-2px);
}

/* Error */
.error {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 30px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(238, 90, 82, 0.3);
}

/* Footer Styles */
footer {
    margin-top: auto;
}

/* Contact Section */
.contact-section {
    min-height: 30vh;
    background-color: var(--footer-bgColor);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border: var(--primary-text-color) 5px solid;
    padding: 40px 20px;
}

.Contact-heading {
    margin-bottom: 20%;
    text-align: center;
    color: #fff;
    bottom: 25px;
    font-family: "Playwrite SK", cursive;
    font-size: 1.5rem;
    width: 100%;
}

.contact-section .contact-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section .contact-item:hover {
    background: var(--bg-color);
    color: var(--snd-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.contact-section .contact-item-inner {
    width: 70%;
    padding: 5px 5px;
    text-align: center;
    border-radius: 5px;
    align-items: center;
}

.contact-section .contact-item-inner i {
    font-size: 25px;
    color: var(--main-color);
}

.contact-section .contact-item-inner a span,
.contact-section .contact-item-inner span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color-dark);
    margin: 2px 0 5px;
    text-transform: capitalize;
    word-wrap: break-word;
}

.contact-section .contact-item-inner a p,
.contact-section .contact-item-inner p {
    font-size: 16px;
    color: var(--accent-color-dark);
    line-height: 26px;
    margin: 0;
    word-wrap: break-word;
}

.contact-row {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 20px;
}


.social-media {
    text-align: center;
    width: 100%;
    margin-top: 30px;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 1.5rem 1.5rem 0 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--snd-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-links {
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

.footer-links a {
    color: var(--accent-color-dark);
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: var(--main-color);
}

#copyright {
    position: relative;
    top: 10%;
    padding: 0;
    text-align: center;
    color: #0b0b8b;
    width: 100%;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ranking-podium {
        gap: 30px;
        padding: 50px 30px;
    }
    
    .stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        padding: 40px 30px;
    }
    
    .contributors-section,
    .prs-section {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0 20px;
    }
    
    nav .menu-btn {
        display: block;
        color: var(--primary-text-color);
        font-size: 20px;
        cursor: pointer;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--nav-bgcolor);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    nav #click:checked ~ ul {
        left: 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-heading {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    
    .para {
        padding: 25px 20px;
        font-size: 1rem;
    }
    
    .pr-header h2 {
        font-size: 2rem;
    }
    
    .pr-header {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    @media (max-width: 768px) {
    /* ... existing nav styles ... */
    
    .ranking-podium {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        min-height: auto;
    }
    
    .podium-item {
        width: 260px;
        min-height: 380px;
        padding: 30px 20px;
        margin-bottom: 0 !important;
    }
    
    .position-1,
    .position-2,
    .position-3 {
        order: unset;
        min-height: 380px;
    }
}
    .contributor-rank-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    
    .contributor-stats {
        padding: 0;
    }
    
    .rank-number {
        order: -1;
        font-size: 1.5rem;
        min-width: 40px;
        padding: 8px;
    }
    
    .contributors-section,
    .prs-section {
        padding: 30px 20px;
    }
    
    .contact-section .contact-item {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .social-media a {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        margin: 2rem 1rem 0 0;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .pr-header-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .stats {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .service-heading {
        font-size: 2rem;
    }
    
    .para {
        padding: 20px 15px;
        font-size: 0.95rem;
    }
    
    .podium-item {
        width: 240px;
        min-height: 360px;
        padding: 25px 15px;
    }
    
    .podium-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .crown {
        font-size: 2rem;
        top: -15px;
    }
    
    .contributor-rank-item {
        padding: 20px 15px;
    }
    
    .rank-number {
        font-size: 1.3rem;
    }
    
    .contributor-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .pr-item {
        padding: 20px 15px;
    }
    
    .contributors-section,
    .prs-section {
        padding: 25px 15px;
    }
    
    .stats {
        padding: 25px 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
}
/* Desktop podium specific adjustments */
/* Desktop podium specific adjustments */
@media (min-width: 769px) {
    .ranking-podium {
        align-items: flex-end;
        justify-content: center;
        gap: 50px;
        flex-wrap: nowrap;
    }
    
    .podium-item {
        flex-shrink: 0;
    }
    
    /* 2nd place (left side, shorter) */
    .position-2 {
        order: 1;
        margin-bottom: 80px;
    }
    
    /* 1st place (center, tallest) */
    .position-1 {
        order: 2;
        margin-bottom: 0;
    }
    
    /* 3rd place (right side, shortest) */
    .position-3 {
        order: 3;
        margin-bottom: 120px;
    }
}