@import "./common.css";

.page-header {
    padding: 40px 0 20px;
    text-align: center;
}
.page-title {
    font-size: 2.8rem;
    background: linear-gradient(
        45deg,
        var(--primary),
        var(--secondary),
        var(--tertiary)
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
    margin-bottom: 15px;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.page-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.date-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.date-btn {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.date-btn:hover {
    background-color: rgba(123, 104, 238, 0.2);
}
.current-date {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--tertiary);
    padding: 8px 20px;
    background-color: var(--bg-card);
    border-radius: 30px;
}
.horoscope-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
}

.zodiac-selector {
    flex: 0 0 300px;
}
.zodiac-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.zodiac-item {
    background-color: var(--bg-card);
    border-radius: 15px;
    padding: 20px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}
.zodiac-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}
.zodiac-item.active {
    background-color: var(--bg-card-light);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.3);
}
.zodiac-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.zodiac-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-light);
}
.zodiac-date {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 5px;
}
.horoscope-content {
    flex: 1;
    min-width: 300px;
}
.horoscope-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(123, 104, 238, 0.1);
    position: relative;
    overflow: hidden;
}
.horoscope-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}
.zodiac-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.zodiac-title {
    display: flex;
    align-items: center;
    gap: 15px;
}
.zodiac-title-icon {
    font-size: 3rem;
}
.zodiac-title-text h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}
.zodiac-title-text p {
    color: var(--text-gray);
}

.overall-score {
    text-align: center;
}
.score-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.score-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}
.horoscope-summary {
    background-color: var(--bg-card-light);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary);
}
.horoscope-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.horoscope-summary p {
    color: var(--text-gray);
    line-height: 1.7;
}
.horoscope-content{
    margin: 30px 0;
    display: flex;
    justify-content: center;
}
.aspects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.aspect-card {
    background-color: var(--bg-card-light);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s;
}
.aspect-card:hover {
    transform: translateY(-5px);
}
.aspect-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.aspect-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
}
.aspect-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.love .aspect-icon {
    background-color: rgba(255, 107, 201, 0.2);
    color: var(--pink);
}
.career .aspect-icon {
    background-color: rgba(107, 231, 255, 0.2);
    color: var(--blue);
}
.wealth .aspect-icon {
    background-color: rgba(32, 227, 178, 0.2);
    color: var(--aqua);
}
.health .aspect-icon {
    background-color: rgba(255, 107, 107, 0.2);
    color: var(--red);
}
.aspect-score {
    font-size: 1.8rem;
    font-weight: 700;
}
.score-excellent {
    color: var(--aqua);
}
.score-good {
    color: var(--green);
}
.score-average {
    color: var(--orange);
}
.score-poor {
    color: var(--red);
}
.aspect-desc {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}
.lucky-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.lucky-item {
    background-color: var(--bg-card-light);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
}
.lucky-item i {
    font-size: 2rem;
    margin-bottom: 10px;
}
.lucky-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.lucky-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}
.lucky-color {
    color: #ff6bc9;
}
.lucky-number {
    color: #6be7ff;
}
.lucky-friend {
    color: #ffd700;
}
.lucky-direction {
    color: #20e3b2;
}
.share-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.share-buttons {
    display: flex;
    gap: 10px;
}
.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card-light);
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}
.share-btn:hover {
    transform: translateY(-3px);
}
.btn-facebook {
    background-color: #3b5998;
}
.btn-twitter {
    background-color: #12b7f5;
}
.btn-qrcode {
    background-color: var(--primary);
     position: relative;
}
.btn-qrcode span{ display: none;}
.btn-qrcode:hover span{display: block; position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);}
.history-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}
.history-btn {
    padding: 12px 25px;
    border-radius: 30px;
    background-color: var(--bg-card);
    color: var(--text-light);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}
.history-btn:hover {
    background-color: var(--bg-card-light);
}
.history-btn.active {
    background-color: var(--primary);
}

@media (max-width: 992px) {
    .zodiac-selector {
        flex: 0 0 100%;
    }

    .zodiac-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .zodiac-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .zodiac-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .aspects-grid {
        grid-template-columns: 1fr;
    }

    .lucky-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .share-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .page-title {
        font-size: 2.2rem;
    }
}
