.carousel_container {
    max-width: 1220px;
    margin: 50px auto;
    padding: 20px;
    position: relative;
}

.carousel_container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
}

.carousel_wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel_track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
    padding: 10px 0;
}

.card {
    position: relative;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card_img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card_content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.097);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover .card_content {
    transform: translateY(0);
    opacity: 1;
}

.card:hover .card_img {
    filter: brightness(0.7);
}

.card_user_id {
    margin-top: 5px;
    font-size: 18px;
    color: #ffffff;
}

.card_heat {
    font-size: 14px;
    color: #ff0000;
    margin-bottom: 2px;
}

.card_adoption {
    font-weight: bold;
    color: #000000;
}

.card_trample {
    font-weight: bold;
    color: #000000;
    margin-left: 50%;
}

.adoption_trample {
    display: flex;
}

.carousel_controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

.carousel_controls button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: rgb(0, 229, 255);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel_controls button:hover {
    background: #2980b9;
}

.carousel_controls button:disabled {
    background: #8d8e8e;
    cursor: not-allowed;
}

.card_imgage {
    color: red;
    font-size: 20px;
    padding-right: 5px;
}

.card_imgage_ad {
    color: #00f7ff;
    font-size: 20px;
    padding-right: 5px;
    padding-top: 5px;

}

.card_imgage_tr {
    color: #fffcfc;
    font-size: 20px;
    padding-right: 5px;
    padding-top: 5px;
}

#resume_box {
    width: 1360px;
    margin: 20px auto;
    padding: 20px;
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25), black);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border-radius: 18px;
    border: transparent;
}

.resume_box_button {
    width: 100%;
    height: 100px;
    display: flex;
}

.resume_box_btn_size {
    width: 150px;
    height: 50px;
    font-size: 15px;
    margin-right: 20px;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 0 15px;
}

.model_heat_adoption {
    display: flex;
}

.card_imgage_model {
    color: red;
    font-size: 20px;
    padding-right: 5px;
}

.card_heat_model {
    font-size: 14px;
    color: #ff0000;
    margin-bottom: 2px;
}

.card_imgage_ad_model {
    color: #00f7ff;
    font-size: 20px;
    padding-right: 5px;
}

.card_adoption_model {
    margin-left: 50%;
    font-weight: bold;
    color: #fffefe;
}


.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.page-btn-num {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: transparent;
    border: transparent;
    border-radius: 50%;
    transition: background 0.3s;
    font-size: 20px;
    color: #00f7ff;
}

.page-btn-num:hover:not(:disabled) {
    background: #00ffff;
}

.page-btn-num.active {
    background: #00ff1a61;
    color: white;
    border-color: #007bff;
}

.page-btn {
    cursor: pointer;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: rgb(0, 229, 255);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.page-btn:hover:not(:disabled) {
    background: #eee;
}

.page-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}


/* 图片预览样式 */
.img-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img-preview-container {
    width: 500px;
    height: 800px;
    background: white;
    position: relative;
}

.img-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.preview-use-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1001;
}

.model_loader{
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: #000000;
  }
  
  .loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: not-allowed;
    scale: 0.7;
    margin: 270px auto;
  }
  
  .central {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 10em;
    height: 10em;
    border-radius: 50%;
    box-shadow: 0.5em 1em 1em blueviolet,
      -0.5em 0.5em 1em blue,
      0.5em -0.5em 1em purple,
      -0.5em -0.5em 1em cyan;
  }
  
  .external-shadow {
    width: 10em;
    height: 10em;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0.5em 0.5em 3em blueviolet,
      -0.5em 0.5em 3em blue,
      0.5em -0.5em 3em purple,
      -0.5em -0.5em 3em cyan;
    z-index: 999;
    animation: rotate 2s linear infinite;
    background-color: #212121;
  }
  
  .intern {
    position: absolute;
    color: white;
    z-index: 9999;
  }
  
  .intern::before {
    content: "100%";
    animation: percent 2s ease-in-out infinite;
  }
  
  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
  
    50% {
      transform: rotate(180deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes percent {
    0% {
      content: '0%';
    }
  
    25% {
      content: '25%';
    }
  
    33% {
      content: '33%';
    }
  
    42% {
      content: '42%';
    }
  
    51% {
      content: '51%';
    }
  
    67% {
      content: '67%';
    }
  
    74% {
      content: '74%';
    }
  
    75% {
      content: '75%';
    }
  
    86% {
      content: '86%';
    }
  
    95% {
      content: '95%';
    }
  
    98% {
      content: '98%';
    }
  
    99% {
      content: '99%';
    }
  }