@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
}
:root {
    --primary: #7b68ee;
    --primary-dark: #5d4fdb;
    --secondary: #ff6bc9;
    --tertiary: #6be7ff;
    --bg-dark: #0f0b28;
    --bg-card: #1a153c;
    --bg-card-light: #241f4a;
    --text-light: #f5f5ff;
    --text-gray: #b0a9d6;
    --aqua: #20e3b2;
    --purple: #8a2be2;
    --gold: #ffd700;
    --red: #ff6b6b;
    --orange: #ffa726;
    --green: #4caf50;
    --aries: #ff3838;
    --taurus: #20e3b2;
    --gemini: #6be7ff;
    --cancer: #ffd700;
    --leo: #ff9f1a;
    --virgo: #20e3b2;
    --libra: #ff6bc9;
    --scorpio: #8a2be2;
    --sagittarius: #ff3838;
    --capricorn: #7b68ee;
    --aquarius: #6be7ff;
    --pisces: #7b68ee;
}
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    background-image:
        radial-gradient(
            circle at 10% 20%,
            rgba(123, 104, 238, 0.15) 0%,
            transparent 20%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 107, 201, 0.1) 0%,
            transparent 20%
        );
    overflow-x: hidden;
    min-height: 100vh;
}
a {
    text-decoration: none;
    outline: none;
}
/* 星座颜色定义 */
.bg-aries {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}
.bg-taurus {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.bg-gemini {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}
.bg-cancer {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}
.bg-leo {
    background: linear-gradient(135deg, #f97316, #fb923c);
}
.bg-virgo {
    background: linear-gradient(135deg, #84cc16, #a3e635);
}
.bg-libra {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}
.bg-scorpio {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}
.bg-sagittarius {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}
.bg-capricorn {
    background: linear-gradient(135deg, #475569, #64748b);
}
.bg-aquarius {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}
.bg-pisces {
    background: linear-gradient(135deg, #6366f1, #818cf8);
}
.tag-aries {
    background-color: rgba(255, 56, 56, 0.2);
    color: var(--aries);
}
.tag-taurus {
    background-color: rgba(32, 227, 178, 0.2);
    color: var(--taurus);
}
.tag-gemini {
    background-color: rgba(107, 231, 255, 0.2);
    color: var(--gemini);
}
.tag-cancer {
    background-color: rgba(255, 215, 0, 0.2);
    color: var(--cancer);
}
.tag-leo {
    background-color: rgba(255, 159, 26, 0.2);
    color: var(--leo);
}
.tag-virgo {
    background-color: rgba(32, 227, 178, 0.2);
    color: var(--virgo);
}
.tag-libra {
    background-color: rgba(255, 107, 201, 0.2);
    color: var(--libra);
}
.tag-scorpio {
    background-color: rgba(138, 43, 226, 0.2);
    color: var(--scorpio);
}
.tag-sagittarius {
    background-color: rgba(255, 56, 56, 0.2);
    color: var(--sagittarius);
}
.tag-capricorn {
    background-color: rgba(123, 104, 238, 0.2);
    color: var(--capricorn);
}
.tag-aquarius {
    background-color: rgba(107, 231, 255, 0.2);
    color: var(--aquarius);
}
.tag-pisces {
    background-color: rgba(123, 104, 238, 0.2);
    color: var(--pisces);
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}
@keyframes twinkle {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 导航栏 */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(15, 11, 40, 0.9);
    border-bottom: 1px solid rgba(123, 104, 238, 0.2);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    width: 120px;
}
.logo img {
    width: 100%;
}
.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--tertiary);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}
.user-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
.user-actions a {
    color: var(--text-light);
}
.btn {
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(123, 104, 238, 0.3);
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background-color: rgba(123, 104, 238, 0.1);
}

/* 页脚 */
footer {
    background-color: rgba(10, 8, 28, 0.9);
    padding: 50px 0 20px;
    margin-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer-desc {
    color: var(--text-gray);
    line-height: 1.6;
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.75;
}
.copyright a {
    color: var(--text-light);
    text-decoration: none;
}
.not-found-page {
    padding: 4rem 0;
}
.not-found-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 33vh;
}
.not-found-page h1 {
    font-size: 3rem;
    color: #fff;
}
.not-found-page .action {
    margin-top: 3rem;
}
.static-page .container {
    padding: 20px;
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(123, 104, 238, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    box-sizing: border-box;
}
.static-page .container h1 {
    font-size: 20px;
    margin-bottom: 30px;
}
.static-page .container h2 {
    font-size: 16px;
    margin-bottom: 1em;
}
.static-page .container .content {
    line-height: 1.6;
    font-size: 14px;
}
.static-page .container .content p {
    margin-bottom: 1em;
}
.static-page .container .content ul li {
    margin-left: 2em;
}
.static-page .container .content a {
    color: var(--primary);
}
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
}
