/* 基础样式重置与全局设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 自定义动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}


.logo-icon{
    display: inline-block;
    vertical-align: text-bottom;
    width: 28px;
    height: 28px;
    color:#4245fc;
    background: url(https://stusic.pic.jhsycm.cn/ame/ame-pic/amemusic-home-logo/20250820/%E5%B7%A8%E6%A0%B8%E9%9F%B3%E4%B9%90%E3%80%8Clogo%E3%80%8D%E6%A0%87%E8%AF%86-%E6%8B%B7%E8%B4%9D-new-lan.png) no-repeat;
    background-size: auto;
    background-size: 100% 100%;
    margin-right: 0px;
    margin-bottom: -2px;

}

/* 基础工具类 */
.animate-fadeIn { animation: fadeIn 0.4s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-slideIn { animation: slideIn 0.3s ease-out forwards; }
.transition-all-300 { transition: all 0.3s ease; }

/* 按钮样式系统 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
}

/* 主要按钮 - 用于核心操作 */
.btn-primary {
  background-color: #4245fc;
  color: white;
  box-shadow: 0 4px 12px rgba(66, 69, 252, 0.3);
}

.btn-primary:hover {
  background-color: #2222f4;
  box-shadow: 0 6px 16px rgba(66, 69, 252, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(66, 69, 252, 0.2);
}

.btn-primary:disabled {
  background-color: #78787b;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

/* 次要按钮 - 用于辅助操作 */
.btn-secondary {
  background-color: #4245fc;
  color: #fff;
  box-shadow: 0 4px 12px rgba(66, 69, 252, 0.3);
}

.btn-secondary:hover {
  background-color: #2222f4;
  box-shadow: 0 6px 16px rgba(66, 69, 252, 0.4);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(66, 69, 252, 0.2);
}

.btn-secondary:disabled {
  background-color: #78787b;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

/* 中性按钮 - 用于普通操作 */
.btn-neutral {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.btn-neutral:hover {
  background-color: #e2e8f0;
  transform: translateY(-1px);
}

.btn-neutral:active {
  transform: translateY(1px);
  background-color: #cbd5e1;
}

/* 版税类型选择按钮 */
.royalty-type-btn {
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.royalty-type-btn i {
  font-size: 24px;
  transition: all 0.3s ease;
}

.royalty-type-btn span {
  font-weight: 500;
  transition: all 0.3s ease;
}

/* 表单元素样式 */
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: white;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #4245fc;
  box-shadow: 0 0 0 3px rgba(66, 69, 252, 0.1);
}

/* 下拉选择框选项选中样式 - 蓝色背景 */
select option:checked {
  background-color: #4245fc !important;
  color: white !important;
}

/* 滑块样式 */
.form-range {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4245fc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(66, 69, 252, 0.1);
}

/* 卡片组件样式 */
.card-Tip {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 50px;
}


.card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 关于弹窗样式 */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  max-width: 500px;
  animation: fadeIn 0.3s ease-out forwards;
}

/* 解决滚动抖动的关键样式 */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-right: calc(100vw - 100%);
}

/* 导航栏样式优化 */
header {
  transition: padding 0.3s ease-out;
}

/* 按钮组容器：自适应排版核心 */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 15px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .btn {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .royalty-type-btn {
    padding: 12px;
  }
  
  .royalty-type-btn i {
    font-size: 20px;
  }
  
  .card {
    border-radius: 12px;
  }
  
  /* 移动端强制垂直居中排列 */
  .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-group .btn {
    width: 100%;
    max-width: 260px;
  }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.footer-001 {
    margin-right: 4px;
}


.footer-bg {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
    border-top-width: 1px;
}
footer a {

     color: rgb(11, 71, 251);
}