:root {
    --bg-color: #0f0f1a;
    --card-bg: #1a1a2e;
    --text-color: #ffffff;
    --text-muted: #a0a3b1;
    --accent-color: #e54d42;
    --card-img-bg: #eaddcf;
    --font-main: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--bg-color);
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #000;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fdd56a;
}

/* Header Search */
.header-search {
    position: relative;
    width: 40px;
    height: 40px;
    transition: width 0.3s ease;
}

.header-search:hover,
.header-search:focus-within {
    width: 300px;
}

.header-search input {
    width: 100%;
    height: 100%;
    padding: 10px 15px 10px 35px;
    border-radius: 20px;
    border: none;
    background-color: #1e1e2f;
    color: white;
    font-size: 0.9rem;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.header-search:hover input {
    opacity: 1;
    cursor: text;
}

.header-search input:focus {
    box-shadow: 0 0 0 2px var(--accent-color);
    opacity: 1;
}

.header-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

.header-search:hover .search-icon {
    color: #fdd56a;
}

/* Header Auth */
.header-auth {
    display: flex;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-login {
    background-color: #1e1e2f;
    color: white;
}

.btn-register {
    background-color: var(--accent-color);
    color: white;
}

@media (max-width: 1200px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }

    .header-search {
        width: 40px;
    }

    .header-search:hover,
    .header-search:focus-within {
        width: 100%;
        max-width: 400px;
    }

    .header-auth {
        order: 4;
    }
}

/* Grid */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .zodiac-grid {
        padding: 20px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

.zodiac-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

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

.card-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--card-img-bg);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image img {
    width: 80%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s;
}

.zodiac-card:hover .card-image img {
    transform: scale(1.05);
}

.zodiac-card h3 {
    margin: 5px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.zodiac-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #1e1e2f;
    margin-top: 40px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--text-muted);
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.copyright {
    color: #555;
    font-size: 0.8rem;
}

/* --- Detail Page Styles --- */

.detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.zodiac-circle-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    margin: 0 auto 20px;
    background: var(--card-img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zodiac-circle-img img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.zodiac-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fdd56a;
    /* Gold */
    margin: 10px 0 5px;
}

.chinese-char {
    font-size: 3rem;
    color: #fdd56a;
    opacity: 0.8;
    margin-bottom: -10px;
    font-family: "KaiTi", "STKaiti", serif;
    /* Traditional Chinese font style */
}

.earthly-branch {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

.years {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0.7;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #eaddcf;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h2 i {
    color: #fdd56a;
    font-size: 1.2rem;
}

.detail-section hr {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.detail-section p {
    line-height: 1.8;
    color: #d1d1d6;
    font-size: 1rem;
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-wrapper {
        padding: 20px;
    }
}

/* Personality Grid */
.personality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    text-align: center;
}

.p-col h3 {
    color: #fdd56a;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.p-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-col li {
    color: #d1d1d6;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* Attributes Grid */
.attributes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.attr-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.attr-label {
    display: block;
    font-size: 0.7rem;
    color: #a0a3b1;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.attr-value {
    display: block;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

/* Share Button */
.share-container {
    text-align: center;
    margin-top: 40px;
}

.btn-share {
    background: #fdd56a;
    color: #0f0f1a;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-share:hover {
    transform: translateY(-2px);
    background: #ffe08a;
}

/* --- Admin Page Styles --- */

.admin-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: #1e1e2f;
    padding: 20px;
    border-radius: 12px;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #fdd56a;
}

.selector-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.selector-group select {
    padding: 10px;
    border-radius: 6px;
    background: #0f0f1a;
    color: white;
    border: 1px solid #333;
    font-size: 1rem;
}

.btn-primary {
    background: #e54d42;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary:hover {
    background: #ff6b61;
}

.admin-form {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 12px;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.form-section h2 {
    color: #a0a3b1;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0f0f1a;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fdd56a;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-save {
    background: #fdd56a;
    color: #0f0f1a;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #ffe08a;
    transform: translateY(-2px);
}

.status-msg {
    color: #4caf50;
    font-weight: 500;
}

/* --- About Page Styles --- */

.about-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fdd56a;
    margin: 0 0 20px;
}

.about-intro {
    font-size: 1.3rem;
    color: #d1d1d6;
    line-height: 1.8;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px 20px;
    }
}

.about-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-section h2 i {
    color: #fdd56a;
    font-size: 1.5rem;
}

.about-section p {
    line-height: 1.9;
    color: #d1d1d6;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.section-note {
    margin-top: 25px;
    padding: 20px;
    background: rgba(253, 213, 106, 0.05);
    border-left: 3px solid #fdd56a;
    border-radius: 4px;
}

.wings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .wings-grid {
        grid-template-columns: 1fr;
    }
}

.wing-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.wing-card:hover {
    transform: translateY(-5px);
    border-color: #fdd56a;
}

.wing-card h3 {
    color: #fdd56a;
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wing-card h3 i {
    font-size: 1.2rem;
}

.wing-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.mission-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.mission-list li {
    padding: 15px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #d1d1d6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.mission-list i {
    color: #fdd56a;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #d1d1d6;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-link:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: #fdd56a;
    color: #fdd56a;
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.3rem;
    color: #fdd56a;
}

.website-link {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1rem;
}

.website-link a {
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.website-link a:hover {
    border-bottom-color: #fdd56a;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.1) 0%, rgba(229, 77, 66, 0.1) 100%);
    padding: 50px 40px !important;
    border-radius: 12px;
    border: 1px solid rgba(253, 213, 106, 0.3) !important;
}

.cta-section h2 {
    justify-content: center;
    font-size: 2.2rem;
}

.cta-section p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta,
.btn-cta-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta {
    background: #fdd56a;
    color: #0f0f1a;
}

.btn-cta:hover {
    background: #ffe08a;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(253, 213, 106, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: #fdd56a;
    border: 2px solid #fdd56a;
}

.btn-cta-secondary:hover {
    background: rgba(253, 213, 106, 0.1);
    transform: translateY(-3px);
}

/* --- Contact Page Styles --- */

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fdd56a;
    margin: 0 0 15px;
}

.contact-intro {
    font-size: 1.5rem;
    color: #eaddcf;
    margin: 0 0 20px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #d1d1d6;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .contact-content {
        padding: 30px 20px;
    }
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #fdd56a;
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.2), rgba(229, 77, 66, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2rem;
    color: #fdd56a;
}

.contact-card h3 {
    color: #eaddcf;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-link {
    color: #fdd56a;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
}

.contact-link:hover {
    color: #ffe08a;
    text-decoration: underline;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-label {
    color: #a0a3b1;
    font-size: 0.9rem;
}

/* Addresses Section */
.addresses-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.addresses-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.addresses-section h2 i {
    color: #fdd56a;
    font-size: 1.5rem;
}

.addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .addresses-grid {
        grid-template-columns: 1fr;
    }
}

.address-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.address-card:hover {
    transform: translateY(-5px);
    border-color: #fdd56a;
}

.address-flag {
    font-size: 3rem;
    margin-bottom: 15px;
}

.address-card h3 {
    color: #fdd56a;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.address-label {
    color: #a0a3b1;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.address-card address {
    font-style: normal;
    color: #d1d1d6;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Message Section */
.message-section {
    margin-bottom: 50px;
}

.message-box {
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.1) 0%, rgba(229, 77, 66, 0.1) 100%);
    padding: 50px 40px;
    border-radius: 12px;
    border: 1px solid rgba(253, 213, 106, 0.3);
    text-align: center;
}

.message-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(253, 213, 106, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-icon i {
    font-size: 2.5rem;
    color: #fdd56a;
}

.message-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    margin-bottom: 20px;
}

.message-box p {
    color: #d1d1d6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.message-box strong {
    color: #fdd56a;
}

.message-footer {
    font-size: 1.2rem;
    margin-top: 25px;
}

.team-signature {
    font-style: italic;
    color: #fdd56a;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* Contact Social Section */
.contact-social-section {
    text-align: center;
}

.contact-social-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.contact-social-section h2 i {
    color: #fdd56a;
    font-size: 1.5rem;
}

.contact-social-section>p {
    color: #d1d1d6;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* --- Privacy Policy Page Styles --- */

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

.privacy-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fdd56a;
    margin: 0 0 15px;
}

.effective-date {
    font-size: 1.1rem;
    color: #a0a3b1;
    font-style: italic;
}

.privacy-content {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 30px 20px;
    }
}

.privacy-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #eaddcf;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-section h2 i {
    color: #fdd56a;
    font-size: 1.4rem;
}

.privacy-section p {
    line-height: 1.9;
    color: #d1d1d6;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.privacy-section a {
    color: #fdd56a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.privacy-section a:hover {
    border-bottom-color: #fdd56a;
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.privacy-list>li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.8;
    color: #d1d1d6;
    font-size: 1.05rem;
}

.privacy-list>li::before {
    content: "•";
    position: absolute;
    left: 15px;
    color: #fdd56a;
    font-size: 1.5rem;
    line-height: 1.2;
}

.privacy-list strong {
    color: #fdd56a;
    font-weight: 600;
}

.sub-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.sub-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.sub-list li::before {
    content: "◦";
    position: absolute;
    left: 0;
    color: #a0a3b1;
}

.privacy-note {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(253, 213, 106, 0.05);
    border-left: 3px solid #fdd56a;
    border-radius: 4px;
    font-style: italic;
}

.contact-section {
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.1) 0%, rgba(229, 77, 66, 0.1) 100%);
    padding: 40px !important;
    border-radius: 12px;
    border: 1px solid rgba(253, 213, 106, 0.3) !important;
}

.contact-info-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    color: #d1d1d6;
    font-size: 1.05rem;
}

.contact-info-item i {
    color: #fdd56a;
    font-size: 1.2rem;
    width: 20px;
}

.contact-info-item a {
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

.closing-message {
    font-size: 1.1rem;
    margin-top: 25px;
    text-align: center;
}

.team-signature {
    font-style: italic;
    color: #fdd56a;
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
}

/* --- Archive Page Styles --- */

.archive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.archive-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #fdd56a;
    margin: 0 0 15px;
}

.archive-subtitle {
    font-size: 1.2rem;
    color: #d1d1d6;
    margin-bottom: 40px;
}

/* Zodiac Selector */
.zodiac-selector {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.zodiac-selector label {
    display: block;
    color: #eaddcf;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.zodiac-selector label i {
    color: #fdd56a;
    margin-right: 8px;
}

.zodiac-selector select {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    background: #1e1e2f;
    color: white;
    border: 2px solid rgba(253, 213, 106, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.zodiac-selector select:hover {
    border-color: #fdd56a;
}

.zodiac-selector select:focus {
    outline: none;
    border-color: #fdd56a;
    box-shadow: 0 0 0 3px rgba(253, 213, 106, 0.1);
}

.zodiac-selector option {
    padding: 10px;
    background: #1e1e2f;
    color: white;
}

/* Zodiac Content */
.zodiac-content {
    margin-top: 50px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    margin-top: 50px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.2), rgba(229, 77, 66, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.empty-icon i {
    font-size: 4rem;
    color: #fdd56a;
}

.empty-state h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 1.1rem;
    color: #a0a3b1;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Authentication Pages Styles --- */

.auth-container {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 50px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.register-box {
    max-width: 600px;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fdd56a;
    margin: 0 0 10px;
}

.auth-header p {
    color: #a0a3b1;
    font-size: 1rem;
    margin: 0;
}

.auth-form {
    margin-bottom: 25px;
}

.form-section-title {
    color: #fdd56a;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 25px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(253, 213, 106, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title.optional-section {
    color: #a0a3b1;
    border-bottom-color: rgba(160, 163, 177, 0.2);
}

.form-section-title i {
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #d1d1d6;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label i {
    color: #fdd56a;
    margin-right: 6px;
    width: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: #1e1e2f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #fdd56a;
    box-shadow: 0 0 0 3px rgba(253, 213, 106, 0.1);
}

.form-hint {
    display: block;
    color: #a0a3b1;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d1d6;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.checkbox-group {
    margin-top: 25px;
}

.checkbox-group .checkbox-label {
    line-height: 1.6;
}

.checkbox-group a {
    color: #fdd56a;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: #fdd56a;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #fdd56a 0%, #e5a84d 100%);
    color: #0f0f1a;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    background: rgba(229, 77, 66, 0.1);
    border: 1px solid rgba(229, 77, 66, 0.3);
    color: #ff6b61;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.success-message {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 0.95rem;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
}

.auth-footer p {
    color: #a0a3b1;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    background: rgba(26, 26, 46, 1);
    padding: 0 15px;
    color: #a0a3b1;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.social-auth {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.google-btn:hover {
    border-color: #4285f4;
}

.facebook-btn:hover {
    border-color: #1877f2;
}

/* --- Updated Register Page Styles --- */

.form-section-header {
    color: #fdd56a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.optional-section {
    margin: 30px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.optional-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fdd56a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: color 0.3s;
}

.optional-toggle:hover {
    color: #e5a84d;
}

.optional-toggle i {
    transition: transform 0.3s ease;
}

.optional-content {
    padding-top: 20px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- User Dropdown Menu Styles --- */

.user-menu-container {
    position: relative;
}

.user-menu-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #eaddcf;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fdd56a;
    color: #fdd56a;
}

.user-menu-btn i {
    font-size: 1.1rem;
}

.user-menu-btn .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.user-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 200px;
    background: #1e1e2f;
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #d1d1d6;
    text-decoration: none;
    transition: all 0.2s;
}

.user-dropdown a:hover {
    background: rgba(253, 213, 106, 0.1);
    color: #fdd56a;
}

.user-dropdown i {
    width: 20px;
    text-align: center;
    color: #fdd56a;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* --- Dashboard Styles --- */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.profile-warning {
    background: rgba(229, 77, 66, 0.15);
    border: 1px solid rgba(229, 77, 66, 0.3);
    color: #ff6b61;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.profile-warning a {
    color: #fdd56a;
    text-decoration: underline;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    /* Widened left column from 350px */
    gap: 30px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        /* Stack on smaller screens */
    }

    .fortune-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Fortune Card (Left Column) */
.fortune-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
}

.fortune-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #eaddcf;
    margin-bottom: 20px;
}

.fortune-date-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#current-date {
    color: #a0a3b1;
    font-size: 0.9rem;
}

#current-day {
    color: #ff6b61;
    font-weight: 600;
    font-size: 1.1rem;
}

.zodiac-sign-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

#user-zodiac-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #eaddcf;
    line-height: 1;
}

.gender-icon {
    background: rgba(255, 192, 203, 0.2);
    color: #ff9eb5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.zodiac-thumb img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.fortune-tabs {
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping */
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1 1 auto;
    /* Allow grow and shrink */
    background: none;
    border: none;
    color: #a0a3b1;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    text-align: center;
}

.tab-btn.active {
    background: #e54d42;
    color: #fff;
}

.fortune-score-card {
    background: linear-gradient(135deg, #e54d42 0%, #ff8f85 100%);
    border-radius: 16px;
    padding: 25px;
    color: white;
}

.score-header {
    display: flex;
    flex-direction: column;
    /* Stack vertically to avoid overlap */
    gap: 15px;
    margin-bottom: 25px;
}

.score-top-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.big-score {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fdd56a;
    line-height: 1;
}

.score-text {
    flex: 1;
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.stars {
    color: #fdd56a;
    font-size: 0.9rem;
}

.fortune-quote {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    text-align: center;
    width: 100%;
    /* Full width */
}

.progress-bars {
    margin-bottom: 25px;
}

.p-bar-item {
    margin-bottom: 15px;
}

.p-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.p-track-row {
    display: flex;
    gap: 10px;
}

.p-track {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.p-fill {
    height: 100%;
    background: #fdd56a;
    border-radius: 4px;
}

.lucky-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.lucky-val {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
    word-break: break-word;
    /* Prevent overflow */
}

.lucky-lbl {
    font-size: 0.7rem;
    opacity: 0.8;
}

.dos-donts {
    display: flex;
    flex-direction: column;
    /* Stack vertically for better fit */
    gap: 10px;
    margin-top: 20px;
}

.do-item,
.dont-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    min-width: 50px;
    text-align: center;
}

.badge.do {
    background: #fdd56a;
    color: #333;
}

.badge.dont {
    background: #333;
    color: #fff;
}

/* Right Column Cards */
.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.2rem;
    color: #eaddcf;
    font-weight: 600;
}

.edit-link,
.view-all {
    color: #fdd56a;
    text-decoration: none;
    font-size: 0.9rem;
}

/* User Info Styles */
.user-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.u-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.u-item.full-width {
    grid-column: span 2;
}

.u-label {
    color: #a0a3b1;
    font-size: 0.9rem;
}

.u-value {
    color: #eaddcf;
    font-size: 1.05rem;
    font-weight: 500;
}

.tier-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #d1d1d6;
    width: fit-content;
}

.tier-badge.gold {
    background: linear-gradient(135deg, #fdd56a 0%, #e5a84d 100%);
    color: #0f0f1a;
    font-weight: 600;
}

/* List Styles */
.list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
    color: #d1d1d6;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fdd56a;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.data-table th {
    text-align: left;
    color: #a0a3b1;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table td {
    padding: 15px;
    color: #d1d1d6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

/* --- Settings Page Styles --- */

.settings-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.settings-header {
    margin-bottom: 40px;
}

.settings-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #fdd56a;
    margin-bottom: 10px;
}

.settings-header p {
    color: #a0a3b1;
    font-size: 1.1rem;
}

.settings-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.settings-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-nav-btn {
    background: transparent;
    border: none;
    text-align: left;
    padding: 15px 20px;
    color: #a0a3b1;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #eaddcf;
}

.settings-nav-btn.active {
    background: rgba(253, 213, 106, 0.1);
    color: #fdd56a;
    font-weight: 600;
}

/* Content Area */
.settings-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    min-height: 400px;
}

.settings-section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.settings-section.active {
    display: block;
}

.section-header {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #eaddcf;
    margin-bottom: 10px;
}

.section-header p {
    color: #a0a3b1;
    font-size: 0.95rem;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fdd56a;
}

.input-with-icon input {
    padding-left: 45px;
}

.form-actions {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-save {
    background: linear-gradient(135deg, #fdd56a 0%, #e5a84d 100%);
    color: #0f0f1a;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 213, 106, 0.3);
}

.btn-save:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.status-message {
    font-size: 0.95rem;
    display: none;
}

.status-message.success {
    color: #4caf50;
}

.status-message.error {
    color: #ff6b61;
}

/* Payment Methods */
.payment-methods-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-icon {
    font-size: 2rem;
    color: #eaddcf;
    width: 50px;
}

.card-details {
    flex: 1;
    margin-left: 15px;
}

.card-number {
    color: #eaddcf;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-expiry {
    color: #a0a3b1;
    font-size: 0.9rem;
}

.btn-remove-card {
    background: none;
    border: none;
    color: #ff6b61;
    cursor: pointer;
    font-size: 1rem;
    padding: 10px;
    transition: color 0.3s;
}

.btn-remove-card:hover {
    color: #ff4d4d;
}

.btn-add-card {
    background: transparent;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: #fdd56a;
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-add-card:hover {
    background: rgba(253, 213, 106, 0.05);
    border-color: #fdd56a;
}

/* Security Buttons */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #eaddcf;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn-outline:hover {
    border-color: #eaddcf;
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline.danger {
    border-color: rgba(229, 77, 66, 0.5);
    color: #ff6b61;
}

.btn-outline.danger:hover {
    background: rgba(229, 77, 66, 0.1);
    border-color: #ff6b61;
}

/* --- Query Page Styles --- */

.query-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.query-header {
    text-align: center;
    margin-bottom: 40px;
}

.query-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #e54d42;
    /* Red accent */
    margin: 0 0 10px;
}

.query-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.query-card {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

/* Form Styles */
.form-card {
    background: #232336;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    color: #d1d1d6;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    background: #131320;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

/* Date and Time Picker Styling */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover,
.form-group input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Firefox date/time picker */
.form-group input[type="date"]::-moz-calendar-picker-indicator,
.form-group input[type="time"]::-moz-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
}

.form-group input:focus {
    outline: none;
    border-color: #e54d42;
}

.button-group {
    flex: 0 0 auto;
}

.btn-query {
    background: #b93a32;
    /* Darker red */
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    height: 45px;
    /* Match input height approx */
}

.btn-query:hover {
    background: #d6443b;
}

.bottom-row {
    margin-top: 20px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.gender-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gender-group .label {
    color: #d1d1d6;
    font-size: 0.9rem;
    margin-right: 5px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #555;
    border-radius: 50%;
    position: relative;
}

.radio-label input:checked+.radio-custom {
    border-color: white;
}

.radio-label input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Toggle Switch */
.toggle-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d1d6;
    font-size: 0.9rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #e54d42;
}

input:checked+.slider:before {
    transform: translateX(18px);
}

/* Result Card Styles */
.result-card {
    padding: 0;
    overflow: hidden;
}

.card-header-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
}

.card-header-line h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #eaddcf;
}

.free-info-content {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

@media (max-width: 768px) {
    .free-info-content {
        flex-direction: column;
        text-align: center;
    }
}

.zodiac-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #eaddcf;
    border: 4px solid #b93a32;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zodiac-circle img {
    width: 80%;
    height: auto;
}

.zodiac-text {
    flex: 1;
}

.zodiac-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0a3b1;
    margin-bottom: 5px;
}

.zodiac-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #e54d42;
    margin: 0 0 10px;
}

.lunar-info {
    font-size: 1rem;
    color: #d1d1d6;
    margin-bottom: 20px;
    font-style: italic;
}

.zodiac-desc {
    line-height: 1.6;
    color: #d1d1d6;
}

/* Unlock Section */
.unlock-card {
    background: linear-gradient(135deg, #2a1a1a 0%, #1a0f0f 100%);
    border: 1px solid #5a2a2a;
    text-align: center;
    padding: 50px 30px;
}

.unlock-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #e54d42;
    margin-bottom: 15px;
}

.unlock-header p {
    color: #d1d1d6;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon {
    font-size: 1.5rem;
    color: #e54d42;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #eaddcf;
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.feature-item p {
    color: #a0a3b1;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.btn-purchase {
    background: #b93a32;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(185, 58, 50, 0.3);
}

.btn-purchase:hover {
    background: #d6443b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 58, 50, 0.4);
}

/* Paid Content Styles */
.paid-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-card {
    text-align: center;
    padding: 40px;
    background: linear-gradient(to bottom, #4a4a4a, #2a2a2a);
    /* Greyish background as in design */
    border: 1px solid #666;
}

.chart-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fdd56a;
    /* Gold title */
    margin-bottom: 10px;
}

.chart-card .subtitle {
    color: #ccc;
    margin-bottom: 30px;
}

.chart-placeholder {
    font-size: 5rem;
    color: #fdd56a;
    opacity: 0.5;
    padding: 40px;
}

.section-icon {
    text-align: center;
    color: #fdd56a;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.paid-card h3 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fdd56a;
    margin-bottom: 30px;
}

.two-col-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .two-col-text {
        grid-template-columns: 1fr;
    }
}

.two-col-text p {
    color: #d1d1d6;
    line-height: 1.8;
    margin: 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.elements-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 8px;
}

.intro-text {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 25px;
}

.elements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elements-list li {
    margin-bottom: 15px;
    color: #d1d1d6;
    line-height: 1.6;
}

.e-name {
    font-weight: 700;
    margin-right: 5px;
}

.e-name.wood {
    color: #4caf50;
}

.e-name.fire {
    color: #e54d42;
}

.e-name.earth {
    color: #a1887f;
}

.e-name.metal {
    color: #e0e0e0;
}

.e-name.water {
    color: #2196f3;
}

/* --- Fortune Page Styles --- */

.fortune-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.fortune-header {
    text-align: center;
    margin-bottom: 40px;
}

.fortune-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    margin: 0;
}

/* Zodiac Selector */
.zodiac-selector {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 10px 20px 20px;
    /* Bottom padding for hover effects */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    /* Fade effect on edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.zodiac-selector::-webkit-scrollbar {
    display: none;
}

.zodiac-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 12px;
    border: 2px solid transparent;
    flex: 0 0 auto;
    /* Prevent shrinking */
    width: 90px;
    /* Fixed width for consistency */
}

.zodiac-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.zodiac-item.active {
    border-color: #fdd56a;
    background: rgba(253, 213, 106, 0.05);
}

.zodiac-item img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #2a2a2a;
    padding: 8px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.zodiac-item.active img {
    background: #fdd56a;
    box-shadow: 0 0 20px rgba(253, 213, 106, 0.5);
}

.zodiac-item span {
    color: #d1d1d6;
    font-size: 0.85rem;
    font-weight: 500;
}

.zodiac-item.active span {
    color: #fdd56a;
    font-weight: 600;
}

/* Time Period Selector */
.time-period-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.period-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d1d6;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-btn:hover {
    border-color: #fdd56a;
    color: #fdd56a;
}

.period-btn.active {
    background: #fdd56a;
    color: #0f0f1a;
    border-color: #fdd56a;
    font-weight: 600;
}

/* Fortune Content */
.fortune-content {
    animation: fadeIn 0.5s ease-out;
}

.fortune-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 968px) {
    .fortune-grid {
        grid-template-columns: 1fr;
    }
}

/* Fortune Overview Card (Free) */
.fortune-overview-card {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.fortune-overview-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #eaddcf;
    margin: 0 0 20px;
}

.fortune-overview-card h2 span {
    color: #fdd56a;
}

.overview-text {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Fortune Aspects */
.fortune-aspects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .fortune-aspects {
        grid-template-columns: 1fr;
    }
}

.aspect-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.aspect-icon {
    font-size: 1.5rem;
    color: #fdd56a;
    flex-shrink: 0;
}

.aspect-content h4 {
    margin: 0 0 8px;
    color: #eaddcf;
    font-size: 1.1rem;
}

.aspect-content p {
    margin: 0;
    color: #a0a3b1;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Lucky Elements Section */
.lucky-elements-section {
    background: rgba(253, 213, 106, 0.05);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.lucky-elements-section h3 {
    margin: 0 0 15px;
    color: #fdd56a;
    font-size: 1.2rem;
}

.lucky-items {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.lucky-items span {
    color: #d1d1d6;
    font-size: 0.95rem;
}

.lucky-items strong {
    color: #fdd56a;
    font-weight: 600;
}

/* Do's & Don'ts Section */
.dos-donts-section h3 {
    margin: 0 0 15px;
    color: #eaddcf;
    font-size: 1.2rem;
}

.dos-donts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.do-item,
.dont-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.do-item i {
    color: #4caf50;
    font-size: 1.2rem;
}

.dont-item i {
    color: #ff6b61;
    font-size: 1.2rem;
}

.do-item span,
.dont-item span {
    color: #d1d1d6;
}

/* Unlock Fortune Card */
.unlock-fortune-card {
    background: linear-gradient(135deg, #2a1a1a 0%, #1a0f0f 100%);
    border: 1px solid rgba(253, 213, 106, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}

.unlock-icon {
    font-size: 3rem;
    color: #fdd56a;
    margin-bottom: 20px;
}

.unlock-fortune-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fdd56a;
    margin: 0 0 15px;
}

.unlock-fortune-card p {
    color: #d1d1d6;
    line-height: 1.6;
    margin-bottom: 25px;
}

.unlock-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.unlock-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d1d1d6;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.unlock-features i {
    color: #fdd56a;
    font-size: 1rem;
}

.btn-unlock {
    background: linear-gradient(135deg, #fdd56a 0%, #e5a84d 100%);
    color: #0f0f1a;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 213, 106, 0.3);
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 213, 106, 0.4);
}

/* Paid User View */
.paid-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

@media (max-width: 768px) {
    .paid-selectors {
        grid-template-columns: 1fr;
    }
}

.selector-group label {
    display: block;
    color: #d1d1d6;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.custom-select {
    width: 100%;
    padding: 12px 15px;
    background: #131320;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

.custom-select:focus {
    outline: none;
    border-color: #fdd56a;
}

.period-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.period-btn-small {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d1d6;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
}

.period-btn-small:hover {
    border-color: #fdd56a;
    color: #fdd56a;
}

.period-btn-small.active {
    background: #fdd56a;
    color: #0f0f1a;
    border-color: #fdd56a;
    font-weight: 600;
}

/* Detailed Fortune Card */
.detailed-fortune-card {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.fortune-title-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fortune-title-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 15px;
}

.fortune-title-section h2 span {
    color: #fdd56a;
}

.fortune-subtitle {
    color: #a0a3b1;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Detailed Aspects */
.detailed-aspects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 968px) {
    .detailed-aspects {
        grid-template-columns: 1fr;
    }
}

.detailed-aspect-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
}

.aspect-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.aspect-header i {
    font-size: 1.5rem;
    color: #fdd56a;
}

.aspect-header h3 {
    margin: 0;
    color: #eaddcf;
    font-size: 1.3rem;
}

.aspect-description {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 20px;
}

.personalized-advice {
    background: rgba(253, 213, 106, 0.05);
    border-left: 3px solid #fdd56a;
    padding: 15px;
    border-radius: 6px;
}

.personalized-advice h4 {
    margin: 0 0 10px;
    color: #fdd56a;
    font-size: 1rem;
}

.personalized-advice p {
    margin: 0;
    color: #d1d1d6;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Lucky Elements Detailed */
.lucky-elements-detailed {
    background: rgba(253, 213, 106, 0.05);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.lucky-elements-detailed h3 {
    text-align: center;
    margin: 0 0 25px;
    color: #fdd56a;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.lucky-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 968px) {
    .lucky-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.lucky-element {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lucky-element i {
    font-size: 2rem;
    color: #fdd56a;
    margin-bottom: 10px;
}

.lucky-element h4 {
    margin: 0 0 8px;
    color: #eaddcf;
    font-size: 0.9rem;
}

.lucky-element p {
    margin: 0;
    color: #d1d1d6;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Detailed Do's and Don'ts */
.detailed-dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .detailed-dos-donts {
        grid-template-columns: 1fr;
    }
}

.dos-card,
.donts-card {
    border-radius: 12px;
    padding: 25px;
}

.dos-card {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.donts-card {
    background: rgba(229, 77, 66, 0.1);
    border: 1px solid rgba(229, 77, 66, 0.3);
}

.dos-card h3 {
    margin: 0 0 20px;
    color: #4caf50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.donts-card h3 {
    margin: 0 0 20px;
    color: #ff6b61;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dos-card ul,
.donts-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dos-card li,
.donts-card li {
    color: #d1d1d6;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.dos-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-size: 1.5rem;
    line-height: 1.2;
}

.donts-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6b61;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}