/* style */
* {
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

:root {
    font-size: calc(100vw / 37.5);
}

@media (min-width: 600px) {
    :root {
        font-size: 10px;
    }
}

body {
    margin: 0;
    background: #0f0c29;
    color: #fff;
    font-size: 1.4rem;
}

ul,
li,
dl,
dt,
dd {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 128rem;
    margin: auto;
}
.link-button a {
    display: inline-block;
    background-color: blueviolet;
    color: #fff;
    padding: 1.5rem 3rem;
    text-decoration: none;
}
.breadcrumb {
    margin: 0.5rem 0;
}
.breadcrumb a {
    color: #ffff66;
    text-decoration: none;
    margin-right: 1.5rem;
    position: relative;
}
.breadcrumb a::after {
    content: ">";
    position: absolute;
    right: -1.4rem;
    color: #ffff66;
    top: 50%;
    transform: translateY(-50%);
}
/* nav */
.navbar {
    background: linear-gradient(to right, #24243e, #302b63);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    font-size: 2rem;
    text-decoration: none;
    color: #fff;
    user-select: none;
}

.navbar .nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 1rem;
}

/* main */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: url("/assets/images/stars-bg.jpg") no-repeat center/cover;
}

.hero h1 {
    font-size: 3rem;
    margin: 2rem;
}

.hero p.slogan {
    font-size: 1.6rem;
    margin: 1rem;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.zodiac-grid li {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zodiac-grid li .name {
    font-size: 1.4rem;
}

.zodiac-grid li .date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.zodiac-grid li:hover {
    transform: translateY(-5px);
}

.daily-horoscope {
    padding: 2rem 1rem;
}

.daily-horoscope h2 {
    padding: 2rem;
}

.daily-horoscope .content {
    margin: 2rem;
    line-height: 1.6;
}

.daily-horoscope .content a {
    color: #ffff66;
}

footer {
    background: #16213e;
    padding: 2rem;
    text-align: center;
    line-height: 1.6;
}
footer a {
    color: #ffff66;
}
/* not found page */
.not-found-page {
    padding: 2rem;
}
.not-found-page .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}
.not-found-page h1 {
    font-size: 3rem;
    color: #fff;
}
.daily-list .container {
    display: flex;
}
.daily-list .main {
    padding: 3rem 1.5rem;
    flex: 1;
}
.daily-list .side {
    width: 32rem;
}
.daily-list .main ul {
    display: flex;
    flex-wrap: wrap;
}
.daily-list .main ul li {
    width: 20%;
    margin: 1rem 0;
}
.daily-list .main ul li a {
    color: #fff;
}
.daily-detail .container {
    display: flex;
}
.daily-detail .main {
    flex: 1;
    padding: 2rem 1.5rem;
}
.daily-detail .side {
    width: 32rem;
}
.daily-detail .main .title {
    display: flex;
    align-items: center;
}
.daily-detail .main .title h1 {
    font-size: 2.6rem;
    white-space: nowrap;
}
.daily-detail .main .title .change {
    margin-left: 2rem;
    border: 0.1rem solid #fff;
    padding: 0 1rem;
    height: 3rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.daily-detail .main .title .change label {
    line-height: 3rem;
}
.daily-detail .main .title .change .sign-list {
    display: none;
}

.daily-detail .main .title .change:hover .sign-list {
    display: block;
    border: 0.1rem solid #fff;
    position: absolute;
    left: -0.1rem;
    right: -0.1rem;
    top: 2.9rem;
    background-color: #000;
    border-top: none;
}
.daily-detail .main .title .change:hover .sign-list li a {
    height: 3rem;
    line-height: 3rem;
    display: block;
    color: #fff;
    padding: 0 1rem;
}
.daily-detail .main .title .change:hover .sign-list li a:hover {
    background-color: #24243e;
}
.daily-detail .main .index {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 0 0;
}
.daily-detail .main .index dl {
    flex: 0 0 49%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #d9eed3;
    color: #000;
    height: 4rem;
    border-radius: 0.4rem;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}
.daily-detail .main .index dl dd {
    color: rgba(#000, 0.8);
}
.daily-detail .main .summary {
    font-size: 1.6rem;
    line-height: 1.75;
}
.daily-detail .main .summary .image {
    width: 15rem;
    height: 15rem;
    float: left;
    margin-right: 1.5rem;
}
.daily-detail .main .summary .image img {
    width: 100%;
    height: 100%;
}
.daily-detail .main .share {
    text-align: center;
    margin: 2rem 0;
}
.daily-detail .main .share a {
    display: inline-block;
    background-color: #24243e;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    position: relative;
}
.daily-detail .main .share a.qrcode span {
    display: none;
}
.daily-detail .main .share a.qrcode:hover span {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    z-index: 999;
}
.daily-detail .main .share a.facebook {
    background-color: #3b5998;
}
.daily-detail .main .share a.twitter {
    background-color: #1da1f2;
}
.daily-detail .main .relate {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}
.daily-detail .main .relate a {
    margin: 0.5rem 0;
    color: #ffff66;
}
.calendar-container {
    width: 100%;
    margin: 3rem auto;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.1rem;
}
.calendar-day {
    text-align: center;
    border-radius: 0.2rem;
}
.calendar-day .weekday {
    padding: 1rem 0;
    background: linear-gradient(to right, #24243e, rgb(48, 43, 99));
    color: #fff;
}
.calendar-day .date {
    background-color: #16213e;
    height: 6rem;
}
.calendar-day .date a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
}
.calendar-day.today .date a {
    background: rgba(48, 43, 99, 0.5);
    color: #00aeff;
}
.calendar-day.weekend .date a {
    background: rgba(48, 43, 99, 0.8);
}
.calendar-day.today.weekend .date a {
    background: rgba(48, 43, 99, 0.9);
}
/* Media Queries */
@media (max-width: 1024px) {
    .daily-list .container {
        flex-direction: column;
    }
}
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar .nav-links {
        margin-top: 1rem;
        display: flex;
        flex-wrap: wrap;
    }

    .navbar .nav-links a {
        margin: 0.5rem 1rem;
    }

    .zodiac-grid {
        grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    }

    .daily-list .main ul li {
        width: 50%;
    }
    .daily-detail .container {
        flex-direction: column;
    }
    .daily-detail .main .title {
        flex-direction: column;
    }
    .daily-detail .main .title .change {
        margin-left: 0;
    }
    .daily-detail .main .summary .image {
        width: 100%;
        height: auto;
        float: none;
        margin: 1rem 0;
    }
    .daily-detail .main .share a.qrcode {
        display: none;
    }
    .daily-detail .side {
        width: 100%;
    }
}
