/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #EE0000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: #f0f0f0;
}

/* 主要内容区域 */
.main-container {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    min-height: calc(100vh - 160px);
}

/* 左侧歌曲展示 */
.left-section {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.left-section h2 {
    color: #EE0000;
    margin-bottom: 1rem;
}

/* 中间轮播图 */
.center-section {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
    width: 100%;
    margin: 0;
}

.carousel-container {
    width: 100%;
    height: 400px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.carousel-caption h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
}

.carousel-caption p {
    margin: 0;
    font-size: 1em;
    opacity: 0.9;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    z-index: 10;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 右侧区域 */
.right-section {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.right-section h2 {
    color: #EE0000;
    margin-bottom: 1rem;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #EE0000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #cc0000;
}

.auth-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* 表单样式 */
.form-container {
    max-width: 400px;
    margin: 100px auto 60px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.form-header h1 {
    color: #333;
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
}

.form-group input:focus {
    outline: none;
    border-color: #EE0000;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #EE0000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #cc0000;
}

/* 消息提示样式 */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 页脚样式 */
footer {
    background-color: #EE0000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 0;
    }
    .nav-container {
        padding: 0;
    }
    .hamburger-menu {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1100;
        background: #EE0000;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    .nav-menu.desktop-menu {
        display: none !important;
    }
    .nav-menu.mobile-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100vw;
        max-width: 100vw;
        font-size: 16px;
        padding: 80px 0 20px 0;
        background: #EE0000;
        position: fixed;
        top: 0;
        left: -100vw;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s;
        overflow-y: auto;
    }
    .nav-menu.mobile-menu.active {
        left: 0;
    }
    .nav-menu.mobile-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu.mobile-menu a {
        display: block;
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
        color: #fff;
        text-decoration: none;
        letter-spacing: 1px;
    }
    .nav-menu.mobile-menu a:hover {
        background: rgba(255,255,255,0.08);
    }
    .mobile-dropdown-content a {
        padding-left: 40px;
        font-size: 15px;
    }
    .mobile-dropdown-toggle {
        padding-right: 16px;
    }
    .mobile-dropdown-content {
        background: rgba(255,255,255,0.05);
    }
    .main-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-control {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2em;
    }
    
    .carousel-caption p {
        font-size: 0.9em;
    }
    
    .form-container {
        margin: 80px 15px 40px;
    }
}

@media (min-width: 769px) {
    .nav-menu.desktop-menu {
        display: flex !important;
    }
    .nav-menu.mobile-menu {
        display: none !important;
    }
}

/* 管理后台样式 */
.admin-container {
    max-width: 1200px;
    margin: 100px auto 60px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.admin-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-header h1 {
    color: #333;
    margin: 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.admin-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.admin-card h2 {
    margin: 0 0 10px;
    color: #EE0000;
}

.admin-card p {
    margin: 0;
    color: #666;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.data-table tr:hover {
    background-color: #f8f9fa;
}

/* 状态标签样式 */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* 操作按钮样式 */
.action-buttons {
    display: flex;
    gap: 10px;
}

.edit-button,
.delete-button {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.2s;
}

.edit-button {
    background-color: #28a745;
    color: white;
}

.edit-button:hover {
    background-color: #218838;
}

.delete-button {
    background-color: #dc3545;
    color: white;
}

.delete-button:hover {
    background-color: #c82333;
}

/* 导航栏样式 */
.navbar {
    background-color: #EE0000;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

/* 汉堡菜单按钮 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 桌面端导航菜单 */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu.desktop-menu {
    display: flex;
}

.nav-menu.mobile-menu {
    display: none;
}

.nav-menu .left-links {
    display: flex;
    gap: 2rem;
}

.nav-menu .right-links {
    display: flex;
    gap: 1rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* 桌面端下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #EE0000;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 移动端导航菜单样式 */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: #EE0000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 0 20px 0;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 移动端下拉菜单 */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-dropdown.active .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content li {
    border-bottom: none;
}

.mobile-dropdown-content a {
    padding: 12px 20px 12px 40px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 右下角签名 */


/* 后台管理页面样式 */
.admin-sidebar {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.admin-sidebar h3 {
    color: #EE0000;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #EE0000;
}

.admin-menu {
    list-style: none;
}

.admin-menu li {
    margin-bottom: 0.5rem;
}

.admin-menu a {
    display: block;
    padding: 0.8rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-menu a:hover,
.admin-menu a.active {
    background-color: #EE0000;
    color: white;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-btn {
    padding: 0.5rem 1rem;
    background-color: #EE0000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.admin-btn:hover {
    background-color: #cc0000;
}

/* 后台管理样式 */
.form {
    max-width: 600px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.button:hover {
    background: #0056b3;
}

.button.delete {
    background: #dc3545;
}

.button.delete:hover {
    background: #c82333;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background: #f8f9fa;
    font-weight: bold;
}

.error {
    color: #dc3545;
    padding: 10px;
    margin-bottom: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* 底部播放器样式 */
.bottom-player {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    height: 64px;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
    transform: translateY(0);
    backdrop-filter: blur(10px);
}

.player-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.player-left, .player-center, .player-right {
    display: flex;
    align-items: center;
}

.song-cover img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    background: #eee;
}

.song-info {
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.song-title {
    font-size: 16px;
    font-weight: bold;
    color: #222;
}

.song-artist {
    font-size: 12px;
    color: #888;
}

.player-controls .control-btn {
    margin: 0 8px;
}

.volume-control {
    margin-left: 16px;
}

.song-list {
    margin-top: 20px;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.song-item h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.play-btn {
    background: none;
    border: none;
    color: #1db954;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.play-btn:hover {
    background: #e8f5e9;
}

.play-btn i {
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .bottom-player {
        height: 50px;
    }
    
    .player-container {
        padding: 8px;
    }
    
    .player-left {
        gap: 8px;
    }
    
    .song-cover {
        width: 32px;
        height: 32px;
    }
    
    .song-title {
        font-size: 12px;
    }
    
    .song-artist {
        font-size: 10px;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
    }
    
    .control-btn.play-pause {
        width: 36px;
        height: 36px;
    }
    
    .volume-control {
        display: none;
    }
    
    .song-item {
        padding: 8px 12px;
    }
    
    .song-item h3 {
        font-size: 14px;
    }
    
    .play-btn {
        width: 28px;
        height: 28px;
        padding: 6px;
    }
} 

/* 阿绫主色调美化 */
body {
    background: linear-gradient(120deg, #ee0000 0%, #fff6f6 100%);
    color: #222;
    transition: background 0.3s, color 0.3s;
}

/* 歌曲推荐区卡片美化 */
.song-item {
    background: #fff6f6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(238,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    padding: 10px 18px;
    cursor: pointer;
}
.song-item:hover {
    box-shadow: 0 6px 20px rgba(238,0,0,0.18);
    transform: translateY(-2px) scale(1.03);
}
.play-btn {
    background: linear-gradient(135deg, #ee0000 60%, #ffcc80 100%);
    border-radius: 50%;
    padding: 11px 13px;
    color: #fff;
    margin-right: 18px;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(238,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}
.play-btn:hover {
    background: linear-gradient(135deg, #ffcc80 0%, #ee0000 100%);
    color: #fffbe6;
    box-shadow: 0 4px 16px rgba(238,0,0,0.20);
}
.song-info h3 {
    margin: 0;
    font-size: 1.08em;
    font-weight: 600;
    color: #222;
}
.song-artist {
    font-size: 0.98em;
    color: #ee0000;
    margin-left: 0.3em;
}

/* 通知区美化 */
.home-notice {
    background: #fff;
    border: 1.5px solid #f3f3f3;
    color: #ee0000;
    padding: 17px 16px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 1.08em;
    box-shadow: 0 2px 8px rgba(238, 0, 0, 0.04);
    font-weight: bold;
    display: flex;
    align-items: center;
    min-height: 54px;
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
    word-break: break-all;
    justify-content: space-between;
}
.home-notice:hover {
    box-shadow: 0 4px 16px rgba(238, 0, 0, 0.10);
    border-color: #ffe0e0;
    background: #fff6f6;
}
.notice-link {
    color: #ee0000;
    text-decoration: none;
    font-size: 1.08em;
    flex: 1;
    transition: color 0.2s;
    display: block;
    font-weight: 500;
}
.notice-link:hover {
    color: #b71c1c;
    text-decoration: underline;
}
.notice-date {
    font-size: 0.96em;
    color: #adadad;
    margin-left: 1em;
    white-space: nowrap;
}

/* 签名图片 - 无任何效果 */
.signature img {
    /* 完全移除所有样式 */
}
/* 移除所有签名相关样式 */
