: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 {
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--text-color);
    flex: 1;
    /* Take up space on the left */
}

.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: 30px;
    margin: 0;
    padding: 0;
    flex: 0;
    /* Stay centered in the middle */
    justify-content: center;
}

.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.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: width;
    backface-visibility: hidden;
    flex-shrink: 0;
    overflow: hidden;
    /* Added to prevent scrollbar triggers during expansion */
}

.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, background-color 0.3s ease;
    cursor: pointer;
    will-change: opacity;
    backface-visibility: hidden;
    overflow: hidden;
}

.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 Right Group */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
    /* Take up space on the right */
}

/* Nav Dropdown */
.nav-links li {
    position: relative;
}

.nav-item-dropdown>a i {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 12px;
    padding: 20px;
    min-width: 450px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.dropdown-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
}

.dropdown-grid a span {
    font-size: 1.1rem;
}

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

@media (max-width: 1200px) {
    .dropdown-menu {
        position: static;
        transform: none;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        padding: 10px;
        margin-top: 10px;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        display: block;
        transform: none;
    }

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

/* Header Utils */
.header-utils {
    display: flex;
    align-items: center;
    gap: 15px;
}

.util-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.util-btn:hover {
    color: #fdd56a;
    background: rgba(255, 255, 255, 0.05);
}

.util-btn.active {
    color: #fdd56a;
    text-shadow: 0 0 10px rgba(253, 213, 106, 0.5);
}

@media (max-width: 1200px) {
    .header-utils {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        order: 3;
    }
}

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

.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: #a855f7;
    color: white;
    border-radius: 25px;
    padding: 10px 25px;
}

.btn-login:hover {
    background-color: #9333ea;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

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

@media (max-width: 1200px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .logo,
    .header-right {
        flex: 0;
        width: 100%;
        justify-content: center;
    }

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

    .header-utils {
        order: 3;
    }
}

/* 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;
}

/* Social Share Buttons */
.share-container {
    text-align: center;
    margin-top: 40px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.share-title {
    color: #fdd56a;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Facebook */
.social-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-btn.facebook:hover {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

/* Twitter/X */
.social-btn.twitter {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.social-btn.twitter:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

/* TikTok */
.social-btn.tiktok {
    background: linear-gradient(135deg, #000000 0%, #ff0050 50%, #00f2ea 100%);
}

.social-btn.tiktok:hover {
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.4);
}

/* Instagram */
.social-btn.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-btn.instagram:hover {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
}

/* Responsive Design */
@media (max-width: 480px) {
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .social-share-buttons {
        gap: 10px;
    }

    .share-title {
        font-size: 1rem;
    }
}


/* --- 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;
}

/* Contact Form */
.contact-form-section {
    margin-bottom: 50px;
}

.contact-form-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fdd56a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form-box>p {
    color: #a0a3b1;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

#contact-form .form-group {
    margin-bottom: 25px;
}

#contact-form label {
    display: block;
    color: #eaddcf;
    margin-bottom: 10px;
    font-weight: 600;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #1a1a2e;
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #fdd56a;
    background: #24243e;
    box-shadow: 0 0 0 4px rgba(253, 213, 106, 0.1);
}

#contact-form .form-hint {
    text-align: right;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

/* --- 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: #a855f7;
    border: none;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    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: #9333ea;
    color: white;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.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: all 0.3s ease;
    color: #d1d1d6;
    gap: 15px;
}

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

.favorite-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.favorite-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.favorite-stats .stat-item i {
    color: #fdd56a;
    font-size: 0.8rem;
}

.favorite-stats .fa-chevron-right {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 5px;
}

/* 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);
    }
}

/* ========================================
   Article Page Styles
   ======================================== */

/* Article Page Layout */
.article-page {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, rgba(229, 77, 66, 0.1) 0%, rgba(26, 26, 46, 0.3) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header .header-content h1 {
    font-size: 2.5rem;
    color: #fdd56a;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-header .header-content h1 i {
    font-size: 2rem;
}

.page-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Filter Section */
.filter-section {
    padding: 20px 20px;
    background: rgba(26, 26, 46, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Compact Filter Row */
.filter-row-compact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-toggle {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-toggle:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: rgba(253, 213, 106, 0.3);
    transform: translateY(-2px);
}

.filter-toggle i:first-child {
    color: #fdd56a;
    font-size: 1rem;
}

.filter-label {
    color: #d1d1d6;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-current {
    color: #fdd56a;
    font-weight: 600;
    margin-left: auto;
    margin-right: 10px;
}

.toggle-icon {
    color: #fdd56a;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.filter-toggle:hover .toggle-icon {
    transform: translateX(3px);
}

/* Filter Panels (Slide-out) */
.filter-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.filter-panel.active {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-panel-header h4 {
    color: #fdd56a;
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #d1d1d6;
}

.close-panel:hover {
    background: rgba(229, 77, 66, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    color: #d1d1d6;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.filter-group label i {
    color: #fdd56a;
    margin-right: 8px;
}

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

.filter-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: #fdd56a;
    color: #fdd56a;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

/* Articles Section */
.articles-section {
    padding: 40px 20px;
}

.articles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

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

/* Article Card */
.article-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 213, 106, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.article-category {
    background: rgba(229, 77, 66, 0.2);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-zodiac {
    background: rgba(253, 213, 106, 0.1);
    color: #fdd56a;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-title {
    font-size: 1.3rem;
    color: white;
    margin: 0 0 15px;
    line-height: 1.4;
    font-weight: 600;
}

.article-preview {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 15px;
    font-size: 0.95rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 30px;
}

.article-meta span {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: #fdd56a;
    font-size: 0.75rem;
}

.article-read-more {
    display: none;
}

/* Loading & No Results */
.loading-indicator,
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.loading-indicator i,
.no-results i {
    font-size: 3rem;
    color: #fdd56a;
    margin-bottom: 20px;
    display: block;
}

.no-results h3 {
    color: white;
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.no-results p {
    margin: 0;
    font-size: 1rem;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.error-message i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

/* ========================================
   Article Detail Page Styles
   ======================================== */

.article-detail-page {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

.loading-container,
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 60px 20px;
}

.loading-container i {
    font-size: 3rem;
    color: #fdd56a;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.error-container i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.error-container h2 {
    color: white;
    margin: 0 0 15px;
}

.error-container p {
    color: var(--text-muted);
    margin: 0 0 30px;
}

/* Article Detail Container */
.article-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Three Column Layout */
.article-detail-layout {
    display: grid;
    grid-template-columns: 60px 1fr 300px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 1200px) {
    .article-detail-layout {
        grid-template-columns: 60px 1fr;
    }

    .trending-sidebar {
        display: none;
    }
}

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

    .article-actions-sidebar {
        position: fixed;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }
}

/* Left Sidebar - Action Icons */
.article-actions-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d1d6;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-btn:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: #fdd56a;
    color: #fdd56a;
    transform: scale(1.1);
}

.action-icon-btn.favorited {
    background: rgba(253, 213, 106, 0.2);
    border-color: #fdd56a;
    color: #fdd56a;
}

.action-icon-btn.favorited i {
    color: #fdd56a;
}

/* Center Content */
.article-main-content {
    min-width: 0;
}

/* Article Title */
.article-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin: 0 0 20px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: 2rem;
    }
}

/* Article Meta Row */
.article-detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Keywords Section */
.article-keywords-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-keywords-section h4 {
    color: #fdd56a;
    margin: 0 0 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background: rgba(253, 213, 106, 0.1);
    color: #fdd56a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(253, 213, 106, 0.2);
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    background: rgba(253, 213, 106, 0.2);
    transform: translateY(-2px);
}

/* Right Sidebar - Trending */
.trending-sidebar {
    position: sticky;
    top: 100px;
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(253, 213, 106, 0.2);
}

.trending-header i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.trending-header h3 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trending-item:hover {
    background: rgba(253, 213, 106, 0.05);
    border-color: rgba(253, 213, 106, 0.2);
    transform: translateX(5px);
}

.trending-content {
    width: 100%;
}

.trending-title {
    color: white;
    font-size: 0.95rem;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trending-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.trending-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-meta i {
    color: #fdd56a;
    font-size: 0.7rem;
}

.trending-source {
    flex: 1 1 100%;
    margin-top: 4px;
}

.no-trending {
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Load More Comments Button */
.load-more-comments {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: #fdd56a;
    color: #fdd56a;
    transform: translateY(-2px);
}


/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fdd56a;
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb span:last-child {
    color: white;
}

/* Article Detail Header */
.article-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.article-meta-top {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-category-badge {
    background: rgba(229, 77, 66, 0.2);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-zodiac-badge {
    background: rgba(253, 213, 106, 0.1);
    color: #fdd56a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.article-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: white;
    margin: 0 0 25px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .article-detail-title {
        font-size: 2rem;
    }
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.meta-item i {
    color: #fdd56a;
}

/* Article Body */
.article-detail-body {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .article-detail-body {
        padding: 25px 20px;
    }
}

.article-text {
    color: #d1d1d6;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-text p {
    margin-bottom: 20px;
}

/* Related Zodiac Info */
.related-zodiac-info {
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.05) 0%, rgba(26, 26, 46, 0.5) 100%);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

.zodiac-quick-info {
    display: flex;
    gap: 25px;
    align-items: center;
}

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

.zodiac-icon-large {
    font-size: 4rem;
    flex-shrink: 0;
}

.zodiac-info-text h4 {
    color: white;
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.zodiac-info-text p {
    color: var(--text-muted);
    margin: 0 0 15px;
    line-height: 1.6;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 12px;
}

/* Share Section */
.article-share {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.article-share h4 {
    color: white;
    margin: 0 0 15px;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.copy {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Navigation Buttons */
.article-navigation {
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(253, 213, 106, 0.1);
    border-color: #fdd56a;
    color: #fdd56a;
    transform: translateY(-2px);
}

/* ========================================
   Forum Page Styles
   ======================================== */

.forum-page {
    min-height: calc(100vh - 200px);
    padding-bottom: 60px;
}

/* Forum Sections */
.forum-sections {
    padding: 40px 20px;
}

.forum-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Forum Tabs */
.forum-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.forum-tab {
    flex: 1;
    min-width: 200px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
}

.forum-tab i {
    font-size: 1.3rem;
}

.forum-tab:hover {
    background: rgba(253, 213, 106, 0.05);
    border-color: rgba(253, 213, 106, 0.3);
    color: #fdd56a;
    transform: translateY(-2px);
}

.forum-tab.active {
    background: linear-gradient(135deg, rgba(229, 77, 66, 0.2) 0%, rgba(253, 213, 106, 0.1) 100%);
    border-color: var(--accent-color);
    color: white;
}

.forum-tab.active i {
    color: #fdd56a;
}

.tab-count {
    background: rgba(229, 77, 66, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
}

.forum-tab.active .tab-count {
    background: var(--accent-color);
}

/* New Post Section */
.new-post-section {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-new-post {
    padding: 15px 35px;
    background: var(--accent-color);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-new-post:hover {
    background: #ff6b61;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 77, 66, 0.3);
}

.login-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-hint i {
    color: #fdd56a;
}

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

.login-hint a:hover {
    border-bottom-color: #fdd56a;
}

/* Posts Container */
.posts-container {
    margin-top: 30px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

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

/* Post Card */
.post-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 213, 106, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.post-section {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-section.section-cs {
    background: rgba(66, 153, 225, 0.2);
    color: #4299e1;
}

.post-section.section-gd {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
}

.post-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.post-zodiac-tag {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(253, 213, 106, 0.15);
    color: #fdd56a;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-zodiac-badge {
    background: rgba(253, 213, 106, 0.15);
    color: #fdd56a;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-zodiac-badge i {
    color: #fdd56a;
}

.post-likes {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-likes i {
    color: #e54d42;
}

.post-title {
    font-size: 1.3rem;
    color: white;
    margin: 0 0 15px;
    line-height: 1.4;
    font-weight: 600;
}

.post-preview {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 10px;
}

.post-meta span {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: #fdd56a;
}

.post-author {
    font-weight: 500;
}

.post-stats {
    display: flex;
    gap: 20px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-stat {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-stat i {
    color: #fdd56a;
    font-size: 0.9rem;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-posts i {
    font-size: 4rem;
    color: #fdd56a;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.no-posts h3 {
    color: white;
    margin: 0 0 10px;
    font-size: 1.5rem;
}

.no-posts p {
    margin: 0;
    font-size: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.modal-header h2 {
    margin: 0;
    color: #fdd56a;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h2 i {
    font-size: 1.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(229, 77, 66, 0.2);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.modal-form {
    padding: 30px;
}

.modal-form .form-group {
    margin-bottom: 25px;
}

.modal-form .form-group:last-of-type {
    margin-bottom: 30px;
}

.modal-form label {
    display: block;
    color: #d1d1d6;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-form label i {
    color: #fdd56a;
}

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

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
    outline: none;
    border-color: #fdd56a;
    background: rgba(0, 0, 0, 0.4);
}

.modal-form textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    display: block;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 5px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-cancel,
.btn-submit {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-submit {
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

/* Post Detail Modal */
.modal-body {
    padding: 30px;
}

.post-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-detail-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-detail-meta i {
    color: #fdd56a;
}

.post-detail-content {
    color: #d1d1d6;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.post-detail-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-like {
    padding: 12px 25px;
    background: rgba(229, 77, 66, 0.1);
    border: 1px solid rgba(229, 77, 66, 0.3);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-like:hover {
    background: rgba(229, 77, 66, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

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

.post-detail-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-item i {
    color: #fdd56a;
    font-size: 1.1rem;
}

.stat-item span {
    font-weight: 600;
    color: white;
}

.btn-favorite {
    padding: 12px 25px;
    background: rgba(253, 213, 106, 0.1);
    border: 1px solid rgba(253, 213, 106, 0.3);
    border-radius: 30px;
    color: #fdd56a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-favorite:hover {
    background: rgba(253, 213, 106, 0.2);
    border-color: #fdd56a;
    transform: translateY(-2px);
}

.btn-favorite.favorited {
    background: rgba(253, 213, 106, 0.2);
    border-color: #fdd56a;
}

.btn-favorite.favorited i {
    color: #fdd56a;
}

.btn-favorite:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #48bb78;
    color: #48bb78;
}

.notification.error {
    border-left: 4px solid var(--accent-color);
    color: var(--accent-color);
}

.notification i {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .notification {
        right: 20px;
        left: 20px;
        top: 80px;
    }
}

/* ========================================
   Replies Section Styles
   ======================================== */

.replies-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.replies-title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.replies-title i {
    color: #fdd56a;
}

/* Reply Form */
.reply-form-container {
    margin-bottom: 30px;
}

.reply-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.reply-form textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-family: var(--font-main);
    resize: vertical;
    min-height: 80px;
    margin-bottom: 12px;
}

.reply-form textarea:focus {
    outline: none;
    border-color: #fdd56a;
}

.reply-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-reply {
    padding: 10px 20px;
    background: linear-gradient(135deg, #fdd56a 0%, #e6c05a 100%);
    border: none;
    border-radius: 25px;
    color: #1a1a2e;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.btn-reply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.reply-login-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.reply-login-hint a {
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
}

.reply-login-hint a:hover {
    text-decoration: underline;
}

/* Replies List */
.replies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reply-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.reply-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reply-author {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reply-author i {
    color: #fdd56a;
}

.reply-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reply-date i {
    color: #fdd56a;
}

.reply-content {
    color: #d1d1d6;
    line-height: 1.6;
    font-size: 0.95rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* No Replies Message */
.no-replies {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.no-replies i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

.no-replies p {
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .reply-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reply-form-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .btn-reply {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Article Statistics and Actions Styles
   ======================================== */

.article-stats {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.article-stats .stat-item {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-stats .stat-item i {
    color: #fdd56a;
    font-size: 1.1rem;
}

.article-stats .stat-item span {
    color: white;
    font-weight: 600;
}

.article-actions {
    margin: 30px 0;
}

.btn-favorite {
    padding: 12px 30px;
    background: rgba(253, 213, 106, 0.1);
    border: 2px solid #fdd56a;
    border-radius: 25px;
    color: #fdd56a;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-favorite:hover {
    background: rgba(253, 213, 106, 0.2);
    border-color: #fdd56a;
    transform: translateY(-2px);
}

.btn-favorite.favorited {
    background: linear-gradient(135deg, #fdd56a 0%, #e6c05a 100%);
    color: #1a1a2e;
    border-color: #fdd56a;
}

.btn-favorite.favorited i {
    color: #1a1a2e;
}

.favorite-login-hint,
.comment-login-hint {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.favorite-login-hint a,
.comment-login-hint a {
    color: #fdd56a;
    text-decoration: none;
    font-weight: 600;
}

.favorite-login-hint a:hover,
.comment-login-hint a:hover {
    text-decoration: underline;
}

/* ========================================
   Comments Section Styles
   ======================================== */

.comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.comments-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title i {
    color: #fdd56a;
}

/* Comment Form */
.comment-form-container {
    margin-bottom: 40px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
}

.comment-form textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    padding: 15px;
    font-size: 1rem;
    font-family: var(--font-main);
    resize: vertical;
    min-height: 100px;
    margin-bottom: 15px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #fdd56a;
}

.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-comment {
    padding: 12px 30px;
    background: linear-gradient(135deg, #fdd56a 0%, #e6c05a 100%);
    border: none;
    border-radius: 25px;
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.btn-comment:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author i {
    color: #fdd56a;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-date i {
    color: #fdd56a;
}

.comment-content {
    color: #d1d1d6;
    line-height: 1.8;
    font-size: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* No Comments Message */
.no-comments {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-comments i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.no-comments p {
    font-size: 1.1rem;
}

/* Success Message Animation */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-form-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-comment {
        width: 100%;
        justify-content: center;
    }

    .article-stats {
        flex-direction: column;
        gap: 15px;
    }
}

/* Update favorite button to match share buttons */
.share-btn.favorite {
    background: rgba(253, 213, 106, 0.1);
    border: 2px solid #fdd56a;
    color: #fdd56a;
}

.share-btn.favorite:hover {
    background: rgba(253, 213, 106, 0.2);
    border-color: #fdd56a;
}

.share-btn.favorite.favorited {
    background: linear-gradient(135deg, #fdd56a 0%, #e6c05a 100%);
    color: #1a1a2e;
    border-color: #fdd56a;
}

.share-btn.favorite.favorited i {
    color: #1a1a2e;
}

/* Move favorite login hint under buttons */
.article-share .favorite-login-hint {
    margin-top: 15px;
}

/* Article Card Statistics */
.article-stats-mini {
    display: flex;
    gap: 15px;
    padding: 8px 0 0 0;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-mini {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-mini i {
    color: #fdd56a;
    font-size: 0.85rem;
}

/* ========================================
   MATCHING PAGE STYLES - REDESIGNED
   ======================================== */

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

/* Header */
.matching-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

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

.matching-header .highlight {
    color: #fdd56a;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matching-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Selection Wrapper - Compact Design */
.selection-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 35px;
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.4) 0%, rgba(26, 26, 46, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

@media (max-width: 968px) {
    .selection-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Person Selector Compact */
.person-selector-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.person-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fdd56a;
    font-weight: 600;
    font-size: 1.1rem;
}

.person-label i {
    font-size: 1.2rem;
}

.selector-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.zodiac-select,
.gender-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(30, 30, 47, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s;
    outline: none;
}

.zodiac-select:hover,
.gender-select:hover {
    border-color: #fdd56a;
    background: rgba(253, 213, 106, 0.1);
}

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

.zodiac-select option,
.gender-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px;
}

/* VS Divider */
.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f0f1a;
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.4);
    flex-shrink: 0;
}

@media (max-width: 968px) {
    .vs-divider {
        display: none;
    }
}

/* Match Type Buttons - Independent Design */
.match-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

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

.btn-match-type {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-family: var(--font-main);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-match-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(253, 213, 106, 0.1), transparent);
    transition: left 0.5s;
}

.btn-match-type:hover::before {
    left: 100%;
}

.btn-match-type i {
    font-size: 2.5rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.btn-match-type span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.3s;
}

.btn-match-type small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-match-type:hover {
    border-color: #fdd56a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 213, 106, 0.2);
}

.btn-match-type:hover i {
    color: #fdd56a;
    transform: scale(1.1);
}

.btn-match-type.active {
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.2) 0%, rgba(255, 184, 77, 0.15) 100%);
    border-color: #fdd56a;
    box-shadow: 0 5px 25px rgba(253, 213, 106, 0.3);
}

.btn-match-type.active i {
    color: #fdd56a;
}

.btn-match-type.active span {
    color: #fdd56a;
}

/* Results Wrapper - Adjusted Proportions */
.results-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

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

/* Free Content Card - Compact */
.result-card-compact {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon-small i {
    font-size: 1.2rem;
    color: #0f0f1a;
}

.card-header-compact h3 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Matching Score Compact */
.matching-score-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.score-circle-small {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.score-circle-small svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle-small .score-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.score-circle-small .score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.score-circle-small .score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-circle-small .score-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fdd56a;
    line-height: 1;
}

.score-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.score-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-weight: 600;
    font-size: 1rem;
}

.score-label i {
    font-size: 1.1rem;
}

.zodiac-pair {
    margin: 0;
}

.pair-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.brief-description {
    margin-top: 15px;
}

.brief-description p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Premium Content Card - Expanded & Special */
.result-card-premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 184, 77, 0.08) 50%, rgba(42, 42, 56, 0.6) 100%);
    border: 2px solid rgba(253, 213, 106, 0.3);
    border-radius: 20px;
    padding: 0;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(253, 213, 106, 0.15);
}

.result-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fdd56a 0%, #ffb84d 50%, #fdd56a 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.premium-badge-top {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #0f0f1a;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.premium-badge-top i {
    font-size: 1rem;
}

.card-header-premium {
    padding: 25px 30px 20px;
    text-align: center;
}

.card-icon-premium {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.4);
}

.card-icon-premium i {
    font-size: 1.8rem;
    color: #0f0f1a;
}

.card-header-premium h3 {
    font-size: 1.5rem;
    color: #fdd56a;
    margin: 0 0 5px;
    font-weight: 700;
}

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

/* Premium Locked Overlay */
.locked-overlay-premium {
    position: relative;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.lock-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(253, 213, 106, 0.2) 0%, rgba(255, 184, 77, 0.15) 100%);
    border: 2px solid rgba(253, 213, 106, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.locked-overlay-premium h4 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 700;
}

.locked-overlay-premium h5 {
    font-size: 1.2rem;
    color: #fdd56a;
    margin: 0 0 20px;
    font-weight: 600;
}

.locked-overlay-premium p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 15px;
    max-width: 500px;
}

.unlock-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-unlock-premium {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    cursor: pointer;
    color: #0f0f1a;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    box-shadow: 0 5px 25px rgba(253, 213, 106, 0.4);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-unlock-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(253, 213, 106, 0.6);
}

.btn-unlock-premium i {
    font-size: 1.2rem;
}

.premium-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
    max-width: 400px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(253, 213, 106, 0.05);
    border: 1px solid rgba(253, 213, 106, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
}

.feature-item i {
    color: #4caf50;
    font-size: 1rem;
}

.premium-content-blur {
    padding: 30px;
    filter: blur(6px);
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
}

.premium-content-blur h4 {
    color: #fdd56a;
    font-size: 1.1rem;
    margin: 20px 0 10px;
}

.premium-content-blur p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Conflict Section */
.conflict-section {
    margin-top: 50px;
}

.conflict-intro {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(238, 90, 111, 0.08) 100%);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.conflict-intro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(238, 90, 111, 0.15) 100%);
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conflict-intro-icon i {
    font-size: 1.8rem;
    color: #ff6b6b;
}

.conflict-intro-text h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 700;
}

.conflict-intro-text h4 {
    font-size: 1.1rem;
    color: #ff6b6b;
    margin: 0 0 15px;
    font-weight: 600;
}

.conflict-intro-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.conflict-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

.conflict-card {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
}

.conflict-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.7) 0%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    z-index: 1;
}

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

.conflict-header i {
    font-size: 2rem;
    color: #ff6b6b;
}

.conflict-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 600;
}

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

.conflict-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
    filter: blur(4px);
    opacity: 0.5;
}

.conflict-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.conflict-bar {
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.conflict-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-left: 5px;
}

.btn-reveal-conflicts {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
    position: relative;
    z-index: 2;
}

.btn-reveal-conflicts:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-reveal-conflicts i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .matching-header h1 {
        font-size: 2rem;
    }

    .matching-header .subtitle {
        font-size: 1rem;
    }

    .selection-wrapper {
        padding: 20px;
    }

    .results-wrapper {
        grid-template-columns: 1fr;
    }

    .result-card-compact,
    .result-card-premium {
        padding: 20px;
    }

    .matching-score-compact {
        flex-direction: column;
        text-align: center;
    }

    .conflict-intro {
        flex-direction: column;
    }
}

/* Add gradient definition for SVG */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .matching-header .highlight {
        background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

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

/* Header */
.matching-header {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 20px;
}

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

.matching-header .highlight {
    color: #fdd56a;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matching-header .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Selection Wrapper */
.selection-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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

/* Person Selector */
.person-selector {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.person-selector:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(253, 213, 106, 0.1);
}

.person-header {
    margin-bottom: 25px;
}

.person-header h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 600;
}

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

/* Zodiac Selector */
.zodiac-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.zodiac-btn {
    background: rgba(30, 30, 47, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.zodiac-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.zodiac-btn:hover {
    border-color: #fdd56a;
    background: rgba(253, 213, 106, 0.1);
    transform: translateY(-3px);
}

.zodiac-btn:hover i {
    transform: scale(1.1);
}

.zodiac-btn.active {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border-color: #fdd56a;
    color: #0f0f1a;
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.4);
}

.zodiac-btn.active i {
    color: #0f0f1a;
}

/* Gender Selector */
.gender-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(15, 15, 26, 0.5);
    padding: 8px;
    border-radius: 12px;
}

.gender-btn {
    background: transparent;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.gender-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.gender-btn.active {
    background: rgba(253, 213, 106, 0.2);
    color: #fdd56a;
}

/* Match Type Wrapper */
.match-type-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.match-type-tabs {
    display: flex;
    gap: 15px;
    background: rgba(30, 30, 47, 0.6);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.match-tab {
    background: transparent;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.match-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.match-tab.active {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    color: #0f0f1a;
    box-shadow: 0 5px 15px rgba(253, 213, 106, 0.3);
}

.match-tab.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.match-tab.locked i {
    font-size: 0.8rem;
}

.btn-analyze {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    cursor: pointer;
    color: #0f0f1a;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.3);
}

.btn-analyze:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 213, 106, 0.5);
}

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

/* Results Wrapper */
.results-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

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

/* Result Card */
.result-card {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.5rem;
    color: #0f0f1a;
}

.card-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.premium-header {
    position: relative;
}

.premium-badge {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Matching Score */
.matching-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.score-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 15px;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 12;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

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

.score-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-weight: 600;
    font-size: 1.1rem;
}

.score-label i {
    font-size: 1.2rem;
}

.zodiac-pair {
    text-align: center;
    margin-bottom: 20px;
}

.pair-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.brief-description {
    text-align: center;
}

.brief-description p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Premium Content - Locked State */
.premium-content.locked {
    position: relative;
    overflow: hidden;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.95) 0%, rgba(26, 26, 46, 0.98) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 2;
    border-radius: 20px;
}

.locked-overlay i {
    font-size: 3rem;
    color: #fdd56a;
    margin-bottom: 20px;
}

.locked-overlay h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 10px;
    font-weight: 600;
}

.locked-overlay p {
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 25px;
    line-height: 1.6;
}

.btn-unlock {
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    cursor: pointer;
    color: #0f0f1a;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    box-shadow: 0 5px 20px rgba(253, 213, 106, 0.3);
}

.btn-unlock:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 213, 106, 0.5);
}

.premium-content-blur {
    filter: blur(8px);
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
}

.premium-content-blur p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Conflict Section */
.conflict-section {
    margin-top: 40px;
}

.conflict-card {
    background: linear-gradient(135deg, rgba(42, 42, 56, 0.6) 0%, rgba(26, 26, 46, 0.8) 100%);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 20px;
    padding: 35px;
    backdrop-filter: blur(10px);
    position: relative;
}

.conflict-card.locked::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.7) 0%, rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    z-index: 1;
}

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

.conflict-header i {
    font-size: 2rem;
    color: #ff6b6b;
}

.conflict-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 5px;
    font-weight: 600;
}

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

.conflict-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    filter: blur(5px);
    opacity: 0.4;
}

.conflict-bar {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 10px;
    transition: width 1s ease;
}

.btn-reveal-conflicts {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.3);
    position: relative;
    z-index: 2;
}

.btn-reveal-conflicts:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-reveal-conflicts i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .matching-header h1 {
        font-size: 2rem;
    }

    .matching-header .subtitle {
        font-size: 1rem;
    }

    .person-selector {
        padding: 20px;
    }

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

    .result-card {
        padding: 25px;
    }

    .score-circle {
        width: 150px;
        height: 150px;
    }

    .score-number {
        font-size: 2.5rem;
    }
}

/* Add gradient definition for SVG */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .matching-header .highlight {
        background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* ===== TikTok Video Generation Modal ===== */
.tiktok-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiktok-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.tiktok-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 25px 30px;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 0, 80, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.modal-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: block;
}

.modal-header h2 {
    color: #fdd56a;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.video-description-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-description-section label {
    color: #d1d1d6;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    color: #fdd56a;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.prompt-tooltip:hover {
    color: #ffe08a;
    transform: scale(1.1);
}

.prompt-tooltip .tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: #0f0f1a;
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    white-space: pre-wrap;
    max-width: 350px;
    width: max-content;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.prompt-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #0f0f1a;
}

.prompt-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

#video-description {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #d1d1d6;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: none;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

#video-description:focus {
    outline: none;
    border-color: #fdd56a;
    background: rgba(0, 0, 0, 0.4);
}

.video-status {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    color: #81c784;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.video-status.loading {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffd54f;
}

.video-status.error {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #e57373;
}

.video-status i {
    font-size: 1.2rem;
}

.btn-share-tiktok {
    width: 100%;
    padding: 14px 25px;
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 80, 0.3);
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.btn-share-tiktok:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 0, 80, 0.4);
}

.btn-share-tiktok:active {
    transform: translateY(-1px);
}

.btn-share-tiktok.instagram-theme {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.3);
}

.btn-share-tiktok.instagram-theme:hover {
    box-shadow: 0 12px 35px rgba(220, 39, 67, 0.5);
}

.modal-icon.fab.fa-instagram {
    color: #E1306C;
}

.modal-icon.fab.fa-tiktok {
    color: #ff0050;
}

.btn-share-tiktok:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-share-tiktok i {
    font-size: 1.3rem;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-share-tiktok.loading i {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .tiktok-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .btn-share-tiktok {
        font-size: 1rem;
        padding: 15px 25px;
    }

    .prompt-tooltip .tooltip-text {
        max-width: 250px;
        font-size: 0.8rem;
    }
}

/* Video Preview Styles */
.video-preview-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
}

.video-preview-container label {
    color: #d1d1d6;
    font-weight: 600;
    font-size: 1rem;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(253, 213, 106, 0.3);
}

.video-preview-wrapper video {
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    display: block;
    object-fit: contain;
}

.btn-generate-video {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #fdd56a 0%, #ffb84d 100%);
    border: none;
    border-radius: 12px;
    color: #0f0f1a;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(253, 213, 106, 0.3);
    font-family: 'Inter', sans-serif;
}

.btn-generate-video:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(253, 213, 106, 0.4);
    background: linear-gradient(135deg, #ffe08a 0%, #ffc966 100%);
}

.btn-generate-video:active {
    transform: translateY(-1px);
}

.btn-generate-video:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-generate-video i {
    font-size: 1.3rem;
}

.btn-generate-video.loading i {
    animation: spin 1s linear infinite;
}

/* Responsive video preview */
@media (max-width: 768px) {
    .video-preview-wrapper {
        max-width: 250px;
    }
}