body {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: #000;
  }
  
  .main-container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
  }
  
  /* 헤더 스타일링 */
  .header {
    width: 100%;
    height: 90px;
    position: relative;
    background: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 53px;
    z-index: 1000;
    box-sizing: border-box;
  }
  
  .logo-container {
    width: 186px;
    height: 90px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .logo {
    width: 203.06px;
    height: 67.26px;
    margin-left: -17.06px;
    margin-top: 5px;
    max-width: 100%;
    height: auto;
  }
  
  .nav-menu {
    display: flex;
    gap: 50px;
    margin-left: 10px;
    flex: 1;
    justify-content: flex-start;
    max-width: 1300px;
    overflow: hidden;
  }
  
  .nav-item {
    text-decoration: none;
    color: #c7c7c7;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.43px;
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
  }
  
  .nav-item:hover {
    color: white;
  }
  
  .auth-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
  }
  
  .signup-btn {
    width: 83.95px;
    height: 35.09px;
    background: #fe153c;
    border: none;
    border-radius: 3px;
    color: white;
    font-size: 16.9px;
    font-weight: 400;
    line-height: 19.43px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .signup-btn:hover {
    background: #e01236;
  }
  
  .login-btn {
    width: 65.14px;
    height: 35.09px;
    background: #3b3b3b;
    border: none;
    border-radius: 3px;
    color: #d8d8d8;
    font-size: 16.9px;
    font-weight: 400;
    line-height: 19.43px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .login-btn:hover {
    background: #4b4b4b;
  }
  
  /* 햄버거 버튼 */
  .hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 3px;
    margin-left: 10px;
    position: relative;
    z-index: 999;
  }
  
  .hamburger-line {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
    display: block;
    box-sizing: border-box;
  }
  
  /* 모바일 메뉴 오버레이 */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* 모바일 메뉴 */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #1a1a1a;
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    left: 0;
  }
  
  .mobile-menu-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    border-bottom: 1px solid #333;
  }
  
  .mobile-menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
  }
  
  .mobile-menu-close:hover {
    color: #fe153c;
  }
  
  .mobile-menu-items {
    padding: 30px 0;
  }
  
  .mobile-nav-item {
    display: block;
    padding: 15px 30px;
    color: #c7c7c7;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-nav-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 40px;
  }
  
  /* 레이아웃 */
  .content-wrapper {
    display: flex;
    min-height: calc(100vh - 90px);
  }
  
  /* 사이드바 (원본 유지) */
  .sidebar {
    width: 200px;
    background: #111;
    padding: 50px 40px;
    border-right: 1px solid #212121;
    flex-shrink: 0;
  }
  
  .sidebar-profile {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #333;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
  }
  
  .profile-image img {
    width: 100%;
    border-radius: 50%;
  }
  
  .profile-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
  }
  
  .sidebar-menu {
    margin-bottom: 40px;
  }
  
  .menu-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .menu-item {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .menu-item:hover {
    color: white;
  }
  
  .sidebar-section {
    margin-bottom: 30px;
  }
  
  .section-title {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
  }
  
  .section-subtitle {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  /* 메인 콘텐츠 */
  .main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
  }
  
  /* ───── 랭킹보드 스타일 ───── */
  .ranking-section {
    max-width: 1820px;
    margin: 0 auto;
    padding: 40px 50px 80px;
    background-color: #000;
  }
  
  .section-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 40px;
    text-align: center;
  }
  
  /* 상위 3명 */
  .top-three {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    min-height: 300px;
  }
  
  .top-rank-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }
  
  .top-rank-card.first { order: 2; margin-top: -60px; }
  .top-rank-card.second { order: 1; margin-top: 20px; }
  .top-rank-card.third { order: 3; margin-top: 20px; }
  
  .top-profile-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
  }
  
  .first .top-profile-circle {
    background: linear-gradient(135deg, #fe153c, #d40b2c);
    width: 140px;
    height: 140px;
  }
  
  .top-profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #666;
  }
  
  .top-profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  
  .first .top-profile-img {
    width: 92%;
    height: 92%;
  }
  
  .top-rank-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .top-rank-score {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .first .top-rank-score {
    font-size: 28px;
  }
  
  .top-rank-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
  }
  
  .stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  /* 랭킹 리스트 */
  .ranking-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .ranking-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .rank-item {
    flex: 1;
    min-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .rank-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(254, 21, 60, 0.3);
    transform: translateY(-2px);
  }
  
  .rank-number {
    font-size: 20px;
    font-weight: 700;
    color: #999;
    width: 30px;
    text-align: center;
  }
  
  .profile-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .profile-img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    background: #555;
  }
  
  .profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
  
  .rank-info {
    flex: 1;
    min-width: 0;
  }
  
  .rank-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .rank-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    align-items: center;
  }
  
  .rank-stats img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 4px;
  }
  
  .rank-score {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-align: right;
    min-width: 60px;
  }
  
  .rank-unit {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
  }
  
  /* 반응형 */
  @media (max-width: 1200px) {
    .nav-menu { gap: 25px; margin-left: 0; max-width: 600px; }
    .nav-item { font-size: 16px; }
    .ranking-section { padding: 40px 30px 60px; }
  }
  
  @media (max-width: 1000px) {
    .header { padding: 0 30px; }
    .nav-menu { display: none; }
    .hamburger-btn { display: flex !important; }
    .top-three { gap: 30px; }
    .rank-item { min-width: 280px; }
  }
  
  /* 태블릿 */
  @media (max-width: 768px) {
    .header { padding: 0 20px; height: 70px; }
    .content-wrapper { flex-direction: column; }
    .sidebar { width: 100%; padding: 20px; order: 2; }
    .main-content { order: 1; padding: 20px; }
  
    .ranking-section { padding: 30px 20px 60px; }
    .top-three {
      flex-direction: column;
      gap: 20px;
      margin-bottom: 40px;
      min-height: auto;
    }
    .top-rank-card { margin-top: 0 !important; width: 100%; max-width: 300px; }
    .top-rank-card.first { order: 1; }
    .top-rank-card.second { order: 2; }
    .top-rank-card.third { order: 3; }
  
    .rank-item { padding: 15px; margin: 0; }
    .ranking-row { flex-direction: column; margin: 0 -5px; }
    .ranking-list { margin: 0 5px; }
  }
  
  /* 모바일 */
  @media (max-width: 480px) {
    .header { padding: 0 15px; }
    .ranking-section { padding: 20px 15px 40px; }
    .section-title { font-size: 20px; margin-bottom: 30px; }
  
    .top-three { gap: 15px; margin-bottom: 30px; }
    .top-profile-circle { width: 100px; height: 100px; margin-bottom: 15px; }
    .first .top-profile-circle { width: 110px; height: 110px; }
  
    .top-rank-name { font-size: 16px; margin-bottom: 6px; }
    .top-rank-score { font-size: 20px; margin-bottom: 8px; }
    .first .top-rank-score { font-size: 22px; }
  
    .top-rank-stats { gap: 10px; font-size: 11px; }
  
    .ranking-list { margin: 0 5px; }
    .ranking-row { margin: 0 -5px; }
    .rank-item { padding: 12px; gap: 12px; margin: 0; }
    .rank-number { font-size: 18px; width: 25px; }
    .profile-circle { width: 45px; height: 45px; }
    .rank-name { font-size: 14px; margin-bottom: 6px; }
    .rank-stats { gap: 10px; font-size: 11px; flex-wrap: wrap; }
    .rank-stats img { width: 12px; height: 12px; }
    .rank-score { font-size: 16px; min-width: 50px; }
    .rank-unit { font-size: 10px; }
  }
  
  /* 초소형 모바일 */
  @media (max-width: 360px) {
    .header { padding: 0 10px; }
    .ranking-section { padding: 15px 10px 30px; }
    .top-profile-circle { width: 90px; height: 90px; }
    .first .top-profile-circle { width: 100px; height: 100px; }
    .top-rank-name { font-size: 14px; }
    .top-rank-score { font-size: 18px; }
    .first .top-rank-score { font-size: 20px; }
    .rank-item { padding: 10px; gap: 10px; }
    .profile-circle { width: 40px; height: 40px; }
    .rank-name { font-size: 13px; }
    .rank-score { font-size: 14px; }
  }
  