﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6 !important;
}

.btn-primary {
    color: #fff !important;
    background-color: #1b6ec2 !important;
    border-color: #1861ac !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff !important;
    background-color: #1b6ec2 !important;
    border-color: #1861ac !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}



/* === Pink 3D Button === */
.btn-pink-3d {
    color: #fff;
    background: linear-gradient(180deg, #fbb6ff 0%, #b45cff 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    min-width: 160px;
    font-weight: 600;
    box-shadow: 0 6px 0 #8a46c4;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    font-size: 20px;
}

    .btn-pink-3d:hover {
        filter: brightness(1.05);
    }

    .btn-pink-3d:active {
        transform: translateY(4px);
        box-shadow: 0 2px 0 #8a46c4;
    }

.btn-pink-3d.equinox-btn{
    padding: .375rem 1rem;
    font-size:16px;
    line-height:1;
    height:28px;
    vertical-align: middle;
}

.equinox-inline{vertical-align: middle;}

/* Large gap between two buttons equal to 2 button widths */
.btn-group-wide > *:not(:last-child) {
    margin-right: calc(2 * 160px); /* 2*min-width */
}

/* Minor section background */
.tarot-section {
    background: url('/images/Minor_bg.jpg') no-repeat center/cover;
    border-radius: 12px;
    width: 100%;
}

.result-area {
    background: url('/images/Minor_bg.jpg') center/cover no-repeat;
    padding: 2rem;
    border-radius: 12px;
    max-width: 1000px;
    color: #d4af37 !important; /* 金色文字 */
}

    .result-area h2, .result-area p {
        color: #d4af37 !important;
    }

.topic-select {
    color: #b784a7 !important; /* 紫金 */
    font-size: 16px;
}

.topic-label {
    color: #d4af37 !important; /* 金色 */
    font-size: 20px;
}

/* Custom pagination active color */
.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* === Rainbow Text === */
.rainbow-text {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === Move Up 50px === */
.move-up-50 {
    margin-top: -50px !important;
}

/* === Move Up 20px === */
.move-up-20 {
    margin-top: -20px !important;
}

/* === Four Season Spread Layout === */
.season-spread {
    display: grid;
    grid-template-areas:
        ".... up ...."
        "left center right"
        ".... down ....";
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    justify-items: center;
    align-items: center;
}
.season-left { grid-area: left; }
.season-down { grid-area: down; }
.season-right { grid-area: right; }
.season-up { grid-area: up; }
.season-center { grid-area: center; }

/* === Equinox Block === */
.equinox-block {
    background: none !important;
    padding: 2rem;
    margin-top: 150px;
    color: #d4af37; /* 金色，同 topic-label */
}
.equinox-block h3, .equinox-block div {
    color: #d4af37;
}