@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a1b9a;
    --secondary-color: #9c27b0;
    --accent-color: #e1bee7;
    --text-color: #222;
    --light-bg: #f7f6fb;
    --white: #fff;
    --card-shadow: 0 4px 24px rgba(106,27,154,0.08);
    --card-hover: 0 8px 32px rgba(106,27,154,0.18);
    --gradient: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%);
}

body {
    font-family: 'Nunito', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(120deg, #f7f6fb 0%, #fbc2eb 100%);
    min-height: 100vh;
    transition: background 0.8s;
    animation: bgMove 12s ease-in-out infinite alternate;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 4px 24px rgba(106,27,154,0.10);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.main-nav {
    width: 100%;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo img {
    height: 48px;
    display: block;
    margin: 0 auto;
    background: var(--primary-color);
    border-radius: 12px;
    padding: 0.25rem 1.5rem;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-bottom 0.2s;
    border-bottom: 3px solid transparent;
    position: relative;
}

.nav-links a.active, .nav-links a:focus {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    border-bottom: 3px solid #fff;
}

.nav-links a:hover {
    background: var(--gradient);
    color: var(--white);
    border-bottom: 3px solid #fff;
}

.menu-toggle {
    display: none;
}

/* Zodiac Grid Styles */
.tab-section {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 2.5rem 0 0 0;
    background: rgba(255,255,255,0.7);
    border-radius: 24px;
    box-shadow: 0 2px 24px rgba(106,27,154,0.06);
    animation: fadeInUp 1s;
}

.tab-section:first-of-type {
    padding-top: 4.5rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.zodiac-grid h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #fbc2eb44;
}

.zodiac-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.zodiac-card {
    background: var(--white);
    border-radius: 22px;
    padding: 2.2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    animation: fadeInCard 0.8s;
}

@keyframes fadeInCard {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.zodiac-card:hover {
    box-shadow: 0 8px 32px 0 #a18cd1cc, 0 2px 8px rgba(106,27,154,0.10);
    transform: translateY(-8px) scale(1.04);
    z-index: 2;
}

.zodiac-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 1.2rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    padding: 0.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.zodiac-card:hover .zodiac-logo {
    box-shadow: 0 4px 24px #a18cd1cc;
    transform: scale(1.08) rotate(-2deg);
}

.zodiac-card h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.zodiac-card p {
    margin-bottom: 0.2rem;
    font-size: 1.08rem;
}

.zodiac-desc {
    color: #555;
    font-size: 1.12rem;
    margin-top: 0.7rem;
}

/* Adventures Section */
.adventures-section {
    padding: 40px 20px;
    background: var(--gradient);
    border-radius: 22px;
    margin: 2rem auto 2rem auto;
    max-width: 1100px;
    box-shadow: 0 2px 12px rgba(106,27,154,0.10);
    animation: fadeInUp 1.2s;
}

.adventures-section h2 {
    color: var(--primary-color);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.adventure-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.adventure-card {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.adventure-card:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 32px 0 #a18cd1cc;
}

/* Fortune Cookie Section */
.fortune-section {
    padding: 48px 20px 56px 20px;
    text-align: center;
    background: var(--gradient);
    border-radius: 22px;
    margin: 2rem auto 2rem auto;
    max-width: 900px;
    box-shadow: 0 2px 12px rgba(106,27,154,0.10);
    animation: fadeInUp 1.2s;
}

.fortune-cookie-container {
    margin-top: 2rem;
}

.cookie-img {
    width: 120px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
}

.cookie-img:hover {
    transform: scale(1.08) rotate(-6deg);
    box-shadow: 0 4px 16px rgba(106,27,154,0.18);
}

.fortune-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.fortune-button:hover {
    background: var(--secondary-color);
    transform: scale(1.04);
    box-shadow: 0 8px 32px 0 #a18cd1cc;
}

.fortune-sample {
    margin-top: 1.5rem;
    color: #444;
    font-size: 1.1rem;
    font-style: italic;
}

/* Tarot Section */
.tarot-section {
    padding: 48px 20px 56px 20px;
    text-align: center;
    background: var(--gradient);
    border-radius: 22px;
    margin: 2rem auto 2rem auto;
    max-width: 900px;
    box-shadow: 0 2px 12px rgba(106,27,154,0.10);
    animation: fadeInUp 1.2s;
}

.tarot-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.tarot-section h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.tarot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.2rem;
    max-width: 800px;
    margin: 2rem auto 1rem auto;
}

.tarot-card {
    width: 80px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    margin: 0 auto;
    animation: fadeInCard 0.8s;
}

.tarot-card.selected {
    box-shadow: 0 4px 16px rgba(106,27,154,0.18);
    transform: scale(1.08) rotate(-2deg);
}

.tarot-info {
    margin-top: 1.5rem;
    color: #444;
    font-size: 1.1rem;
}

/* Q/A Section */
.qa-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    max-width: 700px;
    margin: 2rem auto;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    color: #444;
    font-size: 1.1rem;
}

/* Footer Styles */
footer {
    background: linear-gradient(90deg, #6a1b9a 0%, #9c27b0 100%);
    color: var(--white);
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 4rem;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 12px rgba(106,27,154,0.10);
    animation: fadeInUp 1.2s;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 1rem 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: text-decoration 0.2s, color 0.2s;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #fbc2eb;
}

/* Responsive Design */
@media (max-width: 900px) {
    .zodiac-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .tarot-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: var(--white);
        flex-direction: column;
        gap: 1.2rem;
        box-shadow: 0 2px 8px rgba(106,27,154,0.10);
        border-radius: 12px;
        padding: 1rem 2rem;
        z-index: 1001;
    }
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        margin-left: 1rem;
    }
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 5px 0;
        border-radius: 2px;
    }
    .adventure-options {
        flex-direction: column;
        align-items: center;
    }
    .zodiac-container {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    .tab-section:first-of-type {
        padding-top: 3.5rem;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Smooth transitions for all interactive elements */
button, a, .zodiac-card, .tarot-card, .fortune-button, .adventure-card {
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
}

/* Locked Section Styles */
.locked-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 2px 12px rgba(106,27,154,0.10);
    margin: 2rem auto;
    max-width: 600px;
    padding: 3rem 2rem;
}
.lock-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.locked-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.locked-section p {
    color: #555;
    font-size: 1.1rem;
}

.weekly-horoscope-card {
    background: rgba(255,255,255,0.92);
    border-radius: 22px;
    box-shadow: 0 2px 24px rgba(106,27,154,0.10);
    max-width: 900px;
    margin: 2.5rem auto 2.5rem auto;
    padding: 2.5rem 2rem 2.5rem 2rem;
    text-align: center;
    animation: fadeInUp 1.2s;
}
.weekly-quiz-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 900;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}
.weekly-section-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}
.weekly-links-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.weekly-links-pills a {
    display: inline-block;
    background: var(--gradient);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.2rem;
}
.weekly-links-pills a:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 16px #a18cd1cc;
}

.personal-horoscope-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.1s;
}
.personal-horoscope-card {
    background: rgba(255,255,255,0.97);
    border-radius: 22px;
    box-shadow: 0 2px 24px rgba(106,27,154,0.10);
    max-width: 500px;
    width: 100%;
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: center;
}
.personal-horoscope-card h2 {
    color: var(--primary-color);
    font-size: 1.7rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
}
#personalHoroscopeForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
#personalHoroscopeForm label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}
#personalHoroscopeForm input[type="date"] {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}
#personalHoroscopeForm input[type="date"]:focus {
    border: 1.5px solid var(--primary-color);
}
#personalHoroscopeForm button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(106,27,154,0.10);
    transition: background 0.2s, transform 0.2s;
}
#personalHoroscopeForm button:hover {
    background: var(--secondary-color);
    transform: scale(1.04);
}
.personal-horoscope-result {
    min-height: 2.5rem;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    padding: 1.2rem 1rem;
    background: var(--accent-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(106,27,154,0.06);
    display: none;
    animation: fadeInUp 0.8s;
}
.personal-horoscope-result.active {
    display: block;
}

.footer-info-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: rgba(60, 0, 80, 0.25);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s;
}
.footer-info-modal.active {
    display: flex;
    animation: fadeInUp 0.4s;
}
.footer-info-modal-content {
    background: #fff;
    margin: auto;
    padding: 2.2rem 2rem 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 #a18cd1cc, 0 2px 8px rgba(106,27,154,0.10);
    max-width: 400px;
    width: 90vw;
    text-align: center;
    position: relative;
    animation: fadeInUp 0.4s;
}
.footer-info-modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.3rem;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 900;
    transition: color 0.2s;
}
.footer-info-modal-close:hover {
    color: var(--secondary-color);
}
#footerInfoModalTitle {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}
#footerInfoModalBody {
    color: #444;
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}
#footerInfoModalBody a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
} 