:root {
    --primary-color: #d4af37;
    --primary-glow: rgba(212, 175, 55, 0.4);
    --secondary-color: #0d0907;
    --accent-color: #8b6b0e;
    --text-color: #f4e9d1;
    --font-main: 'Cinzel', serif;
    --glass-bg: rgba(20, 15, 12, 0.7);
    --glass-border: rgba(212, 175, 55, 0.2);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #8b6b0e 100%);
    --dark-gradient: linear-gradient(135deg, #1a0f0a 0%, #000000 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--secondary-color);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 107, 14, 0.05) 0%, transparent 50%);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
}

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--secondary-color) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--secondary-color), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--primary-glow);
    margin-bottom: 1.5rem;
    animation: fadeInDown 2s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: 0.5s;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-color);
    transition: all 0.5s ease;
    z-index: -1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.btn-primary:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary:hover {
    color: var(--secondary-color);
    box-shadow: 0 0 40px var(--primary-glow);
    transform: translateY(-5px);
}

.main-nav {
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 5, 3, 0.98);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.main-nav ul li {
    margin: 0 2rem;
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul li a i {
    color: var(--primary-color);
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-title {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 3rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.product-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    transition: transform 0.6s ease;
}

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

.product-img-placeholder {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 20px var(--primary-glow);
}

.rating {
    margin: 1rem 0;
    color: var(--primary-color);
}

.price {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-view {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-family: var(--font-main);
    letter-spacing: 1px;
    transition: all 0.4s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-view:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.history-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    color: #fff;
}

.history-book {
    max-width: 900px;
    margin: 4rem auto;
    padding: 4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(212, 175, 55, 0.05);
    position: relative;
    color: #e6d5b8;
    line-height: 2;
    font-size: 1.1rem;
}

.history-book::before,
.history-book::after {
    content: '◈';
    position: absolute;
    color: var(--primary-color);
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.history-book::before {
    top: 1.5rem;
}

.history-book::after {
    bottom: 1.5rem;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: var(--glass-bg);
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(10px);
}

.principle-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.principle-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 15px var(--primary-glow);
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.consultation-card {
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1), transparent);
    border: 1px solid var(--primary-color);
    padding: 3rem;
    text-align: center;
}

.btn-accent {
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    opacity: 0.8;
}

.iniciados-list {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.iniciado-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem;
    width: 200px;
    text-align: center;
    position: relative;
}

.iniciado-card.premium {
    border: 1px solid #ffcc00;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.status-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #444;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.premium .status-badge {
    background: var(--primary-color);
    color: #000;
    font-weight: bold;
}

/* CONSULTAS SECTION REFINED */
.consultation-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
}

.decorative-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.dec-icon {
    width: 30px;
    height: 30px;
    filter: sepia(1) saturate(5) hue-rotate(-10deg);
}

.subtitle-gold {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.consultation-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.consult-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 30px;
    text-align: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.consult-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent 70%);
}

.consult-card:hover {
    transform: translateY(-10px) rotate(1deg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-glow);
}

.card-inner h4 {
    margin-top: 15px;
    color: #fff;
    font-size: 1.2rem;
}

.card-inner p {
    color: var(--primary-color);
    font-size: 1rem;
    opacity: 0.8;
}

.card-icon {
    width: 80px;
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.consult-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 40px auto 0;
}

.btn-gold-wide,
.btn-dark-wide {
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-gold-wide {
    background: linear-gradient(to right, #d4af37, #8b6b0e);
    color: #000;
}

.btn-dark-wide {
    background: linear-gradient(to right, #4a1c11, #2d0f0a);
    color: #fff;
    border: 1px solid var(--primary-color);
}

/* INICIADOS SECTION REFINED */
.iniciados-section-new {
    background-size: cover;
    padding: 100px 0;
}

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

.iniciados-header h2 {
    font-size: 3rem;
    color: #fff;
}

.iniciados-header i {
    font-style: italic;
    color: var(--primary-color);
}

.user-rank {
    font-size: 1.2rem;
    opacity: 0.8;
}

.iniciados-content-box {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.iniciados-list-new {
    background: url('assets/img/parchment_bg.png');
    background-size: cover;
    padding: 2rem;
}

.iniciado-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
    transition: background 0.3s;
}

.iniciado-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.avatar-circle img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.item-info h4 {
    font-size: 1.1rem;
    color: #2d1b0d;
}

.item-info p {
    font-size: 0.9rem;
    color: #4a3728;
}

/* Light version for the list like in image */
.iniciados-list-new {
    background-color: #f7ead3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('assets/img/parchment_bg.png');
    background-size: cover;
    background-blend-mode: overlay;
    padding: 3rem;
    border: 15px solid #2d1b0d;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
}

.iniciados-list-new::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(45, 27, 13, 0.2);
    pointer-events: none;
}

.item-stat {
    margin-left: auto;
    color: #2d1b0d;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.decoration-bottom {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: #000;
}

.square-dec {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    transform: rotate(45deg);
    display: block;
    position: relative;
}

.square-dec::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.8rem;
    opacity: 0.6;
}

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

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

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

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

/* REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for children to create a sequence effect */
.product-grid>.reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.product-grid>.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.product-grid>.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.product-grid>.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.4s;
}

.principles-grid>.reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.principles-grid>.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.principles-grid>.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.consultation-grid-new>.reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.consultation-grid-new>.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

/* CONSULTATION SECTION OVERHAUL */
.section-header-mystic {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 10px;
}

.section-header-mystic .ornament {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.consultation-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.consult-card-v2 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.consult-card-v2:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 20px var(--primary-glow);
}

.card-image-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.consult-card-v2:hover .card-img-main {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, var(--secondary-color) 100%);
}

.card-body-mystic {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
}

.card-body-mystic h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-body-mystic p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-footer-mystic {
    margin-top: auto;
}

.btn-mystic-gold,
.btn-mystic-dark {
    display: inline-block;
    padding: 12px 30px;
    width: 100%;
    text-decoration: none;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-mystic-gold {
    background: var(--gold-gradient);
    color: #000;
}

.btn-mystic-gold:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.05);
}

.btn-mystic-dark {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

.btn-mystic-dark:hover {
    background: var(--primary-color);
    color: #000;
}

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

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

/* TAROT ANIMATIONS */
.tarot-scene {
    perspective: 1000px;
    width: 250px;
    height: 400px;
    margin: 0 auto 2rem;
}

.tarot-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.tarot-card.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border: 3px solid #d4af37;
}

.card-face--front {
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
}

.card-face--back {
    background-image: url('assets/img/tarot_back.png');
    /* Pattern needed */
    background-size: cover;
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.reading-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.5s;
}

.reading-text.visible {
    opacity: 1;
    transform: translateY(0);
}


/* USER PROFILE DASHBOARD */
.profile-container {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    padding: 20px;
}

.profile-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.user-card-profile {
    background: rgba(10, 5, 3, 0.95);
    border: 1px solid var(--primary-color);
    padding: 30px 20px;
    text-align: center;
    border-radius: 5px;
}

.avatar-large img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 20px;
}

.user-card-profile h2 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.user-email {
    color: var(--text-color);
    opacity: 0.7;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.status-box {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #444;
    border-radius: 20px;
    margin-bottom: 20px;
}

.status-box.premium {
    border-color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.status-box .value {
    color: #fff;
    font-weight: bold;
}

.status-box.premium .value {
    color: var(--primary-color);
}

.btn-upgrade {
    display: block;
    background: linear-gradient(to right, #d4af37, #8b6b0e);
    color: #000;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-upgrade:hover {
    transform: scale(1.05);
}

.profile-content {
    flex-grow: 1;
}

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

.dashboard-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 5px;
}

.dashboard-card.full-width {
    grid-column: span 2;
}

.dashboard-card h3 {
    color: var(--primary-color);
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

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

.data-table th,
.data-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.data-table th {
    color: var(--primary-color);
    font-weight: normal;
}

.badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.badge.premium {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
}

.badge.free {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.empty-state {
    color: #777;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.auth-form-inline .form-group-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-form-inline input {
    background: transparent;
    border: 1px solid #444;
    padding: 8px;
    color: #fff;
    flex-grow: 1;
}

.btn-save {
    background: var(--primary-color);
    border: none;
    padding: 9px 20px;
    cursor: pointer;
    font-weight: bold;
}

.alert {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert.success {
    background: rgba(0, 128, 0, 0.2);
    border: 1px solid green;
    color: #aaffaa;
}

/* PROFESSIONAL PROFILE UPGRADE */
.page-background {
    background-size: cover;
    background-position: center;
    min-height: calc(100vh - 80px);
    /* Adjust for header */
}

.mystical-border {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
    background: rgba(10, 5, 3, 0.85);
    /* Darker, slightly transparent */
    backdrop-filter: blur(5px);
}

.mystical-border::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    pointer-events: none;
}

.cinzel-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.glow-text {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Elegant Table */
.elegant-table {
    border-collapse: separate;
    border-spacing: 0 5px;
    /* Spacing between rows */
}

.elegant-table th {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

.elegant-table td {
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.elegant-table tr:hover td {
    background: rgba(212, 175, 55, 0.05);
}

/* Mystic Inputs */
.input-mystic {
    background: rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 0 !important;
    transition: all 0.3s ease;
    padding: 10px 5px !important;
}

.input-mystic:focus {
    border-bottom-color: var(--primary-color) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    outline: none;
}

/* Enhancing existing overrides */
.dashboard-card {
    background: transparent;
    /* Let mystical-border handle bg */
    border: none;
    /* Let mystical-border handle border */
}

.user-card-profile {
    background: transparent;
    border: none;
}

.alert.error {
    background: rgba(128, 0, 0, 0.2);
    border: 1px solid red;
    color: #ffaaaa;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }

    .profile-sidebar {
        width: 100%;
    }

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

    .dashboard-card.full-width {
        grid-column: span 1;
    }

    .auth-form-inline .form-group-row {
        flex-direction: column;
    }

    .auth-form-inline input,
    .btn-save {
        width: 100%;
    }
}

/* FORM STYLES FOR PROFILE */
.edit-profile-form {
    padding: 10px;
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
}

.input-file-mystic {
    color: #ccc;
    font-size: 0.9rem;
}

.input-file-mystic::file-selector-button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 10px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.input-file-mystic::file-selector-button:hover {
    background: var(--primary-color);
    color: #000;
}

.form-actions {
    text-align: right;
    margin-top: 20px;
}

.auth-form-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.membership-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

/* FIX PROFILE COLORS */
.profile-container {
    color: #fff;
    /* Default white text for profile */
}

.profile-container h2,
.profile-container h3,
.profile-container h4 {
    color: var(--primary-color) !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.user-card-profile p,
.user-email {
    color: #ddd !important;
    text-shadow: 0 0 2px #000;
}

.form-group label {
    color: var(--primary-color) !important;
    text-shadow: 0 0 2px #000;
}

.input-mystic {
    color: #fff !important;
    /* Text inside inputs */
}

.input-mystic::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Fix Status Box */
.status-box .label {
    color: #ccc;
}

.status-box .value {
    color: var(--primary-color);
}

/* Fix Nav for Profile Page if needed */
.main-nav ul li a {
    color: #ddd !important;
    /* Ensure nav is visible */
    text-shadow: 0 0 2px #000;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color) !important;
}

/* FORUM STYLES */
.forum-container {
    padding-top: 20px;
}

.forum-actions-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
}

.cat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.cat-info h3 a {
    color: #fff;
    text-decoration: none;
}

.cat-info p {
    font-size: 0.8rem;
    color: #ccc;
    margin: 0;
}

.topics-wrapper {
    padding: 20px;
}

.topic-table th {
    color: var(--primary-color);
    letter-spacing: 1px;
}

.topic-title a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
}

.topic-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.topic-author {
    color: #ccc;
}

.select-mystic {
    background: #000;
    color: #fff;
    border: 1px solid var(--primary-color);
}

.textarea-mystic {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
    padding: 10px;
}

.text-gold {
    color: var(--primary-color) !important;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.p-5 {
    padding: 3rem;
}

@media (max-width: 768px) {
    .forum-actions-bar {
        justify-content: center;
    }

    .topic-table thead {
        display: none;
        /* Hide headers on mobile */
    }

    .topic-table tr {
        display: flex;
        flex-direction: column;
        padding: 15px;
        border-bottom: 1px solid #444;
    }

    .topic-table td {
        border: none;
        padding: 5px 0;
    }
}

/* ===== ENHANCED PROFESSIONAL FORUM STYLES ===== */

/* Forum Header */
.forum-header {
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forum-title-area h1 {
    margin: 0;
    font-size: 2.5rem;
}

.forum-subtitle {
    color: #ccc;
    font-size: 1.1rem;
    margin-top: 5px;
}

.forum-stats-mini {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
}

.stat-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Section Dividers */
.section-divider {
    text-align: center;
    position: relative;
    margin: 40px 0 30px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.divider-text {
    background: #0a0503;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
}

/* Enhanced Category Cards */
.categories-list-enhanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.category-card-pro {
    padding: 25px;
    transition: all 0.3s;
}

.category-card-pro:hover {
    transform: translateX(5px);
    background: rgba(212, 175, 55, 0.05);
}

.cat-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.cat-icon-large {
    font-size: 3rem;
    color: var(--primary-color);
    width: 70px;
    text-align: center;
}

.cat-main-info {
    flex-grow: 1;
}

.cat-main-info h3 {
    margin: 0 0 8px 0;
}

.cat-main-info h3 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
}

.cat-main-info h3 a:hover {
    color: var(--primary-color);
}

.cat-desc {
    color: #aaa;
    margin: 0;
    font-size: 0.95rem;
}

.cat-stats {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.cat-last-activity {
    margin-top: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
    font-size: 0.85rem;
}

.cat-last-activity i {
    color: var(--primary-color);
    margin-right: 5px;
}

.by-user {
    color: #888;
    margin-left: 5px;
}

/* Enhanced Topics List */
.topics-list-pro {
    padding: 20px;
}

.topic-row-pro {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.topic-row-pro:hover {
    background: rgba(212, 175, 55, 0.05);
}

.topic-row-pro:last-child {
    border-bottom: none;
}

.topic-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.topic-main-info {
    flex-grow: 1;
}

.topic-main-info h4 {
    margin: 0 0 8px 0;
}

.topic-main-info h4 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.topic-main-info h4 a:hover {
    color: var(--primary-color);
}

.topic-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
}

.badge-cat {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.topic-author strong {
    color: var(--primary-color);
}

.topic-stats-small {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.stat-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #aaa;
    font-size: 0.9rem;
}

.stat-mini i {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb-nav {
    margin: 20px 0;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #aaa;
}

.breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav i {
    margin: 0 8px;
    font-size: 0.7rem;
}

/* Topic Header */
.topic-header-pro {
    padding: 30px;
    margin-bottom: 20px;
}

.topic-title-section h1 {
    margin: 10px 0;
    font-size: 2rem;
}

.topic-meta-line {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 10px;
}

.topic-meta-line strong {
    color: var(--primary-color);
}

/* Enhanced Posts */
.posts-stream-pro {
    margin-bottom: 30px;
}

.post-container-pro {
    display: flex;
    gap: 20px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
}

.post-number-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.post-author-panel {
    width: 180px;
    text-align: center;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    padding-right: 20px;
}

.author-avatar-large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    margin-bottom: 10px;
}

.author-username {
    margin: 5px 0;
    font-size: 1.1rem;
}

.user-rank-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    margin-bottom: 15px;
}

.user-stats-mini {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.user-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #aaa;
}

.user-stat-item i {
    color: var(--primary-color);
}

.post-content-area {
    flex-grow: 1;
}

.post-meta-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.post-date {
    color: #888;
    font-size: 0.85rem;
}

.post-date i {
    color: var(--primary-color);
}

.post-text-content {
    color: #ddd;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

.post-actions-bar {
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.post-action-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color);
    padding: 5px 15px;
    cursor: not-allowed;
    font-size: 0.85rem;
}

/* Reply Box */
.reply-box-pro {
    padding: 30px;
}

.reply-box-pro h3 {
    margin-bottom: 20px;
}

.reply-textarea {
    width: 100%;
    min-height: 150px;
}

.login-prompt-box {
    padding: 40px;
    text-align: center;
}

.login-prompt-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-prompt-box a {
    color: var(--primary-color);
    font-weight: bold;
}

/* New Topic Form */
.new-topic-container {
    padding: 40px;
    margin-top: 20px;
}

.form-header-pro {
    text-align: center;
    margin-bottom: 30px;
}

.form-header-pro i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-header-pro h1 {
    margin: 10px 0;
}

.form-subtitle {
    color: #aaa;
    font-size: 1.1rem;
}

.form-row-enhanced {
    margin-bottom: 25px;
}

.select-mystic-pro {
    padding: 12px;
    width: 100%;
    font-size: 1rem;
}

.input-enhanced {
    padding: 12px;
    width: 100%;
    font-size: 1rem;
}

.textarea-enhanced {
    width: 100%;
    font-size: 1rem;
    line-height: 1.6;
}

.form-actions-pro {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-cancel {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid #666;
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-cancel:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .forum-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cat-header {
        flex-direction: column;
        text-align: center;
    }

    .topic-row-pro {
        flex-direction: column;
    }

    .post-container-pro {
        flex-direction: column;
    }

    .post-author-panel {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        padding-right: 0;
        padding-bottom: 20px;
    }
}

/* ===== IMPROVED FORUM COLOR SCHEME ===== */

/* Better Forum Header */
.forum-header {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.forum-title-area h1 {
    color: var(--primary-color) !important;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 2px 4px #000;
}

.forum-subtitle {
    color: #e0d5c0 !important;
    text-shadow: 0 1px 3px #000;
}

/* Improved Category Cards */
.category-card-pro {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(10, 5, 3, 0.95) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.category-card-pro:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.cat-main-info h3 a {
    color: #fff !important;
    text-shadow: 0 2px 4px #000;
}

.cat-desc {
    color: #c0b098 !important;
}

/* Better Stats Visibility */
.stat-number {
    color: #fff !important;
    text-shadow: 0 0 10px var(--primary-color);
}

.stat-label {
    color: var(--primary-color) !important;
}

.cat-last-activity {
    background: rgba(212, 175, 55, 0.1);
    color: #e0d5c0 !important;
}

.cat-last-activity strong {
    color: #fff !important;
}

/* Enhanced Topics List */
.topics-list-pro {
    background: rgba(0, 0, 0, 0.6);
}

.topic-row-pro {
    background: rgba(26, 15, 10, 0.5);
}

.topic-row-pro:hover {
    background: rgba(212, 175, 55, 0.15);
    border-left: 3px solid var(--primary-color);
}

/* Better Post Containers */
.post-container-pro {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.9) 0%, rgba(10, 5, 3, 0.9) 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.post-text-content {
    color: #e8e8e8 !important;
}

/* Improved Dividers */
.section-divider::before,
.section-divider::after {
    background: linear-gradient(to right, transparent, #d4af37, var(--primary-color), #d4af37, transparent);
    height: 2px;
}

.divider-text {
    background: rgba(10, 5, 3, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 30px;
    color: var(--primary-color) !important;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

/* New Topic Button Enhancement */
.btn-gold-wide {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.btn-gold-wide:hover {
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* Better Login Prompt */
.login-prompt {
    background: rgba(212, 175, 55, 0.1);
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.login-prompt a {
    color: #f4d03f !important;
    font-weight: bold;
}

/* Enhanced User Stats in Posts */
.user-stat-item {
    color: #c0b098 !important;
}

.post-meta-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    margin: -10px -10px 15px -10px;
}

/* Forum Stats Mini */
.forum-stats-mini {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 25px;
    border-radius: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.stat-item span {
    color: #fff !important;
    font-weight: bold;
}

/* Reply Box */
.reply-box-pro {
    background: rgba(26, 15, 10, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.4);
}

/* New Topic Container */
.new-topic-container {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(10, 5, 3, 0.95) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.form-header-pro i {
    filter: drop-shadow(0 0 10px var(--primary-color));
}

/* Breadcrumb Enhancement */
.breadcrumb-nav {
    background: rgba(0, 0, 0, 0.5);
    padding: 12px 20px;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

/* Topic Header Enhancement */
.topic-header-pro {
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.95) 0%, rgba(10, 5, 3, 0.95) 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.3);
}

.badge-cat {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ===== ALL FORUM ICONS IN GOLD ===== */

/* Forum Header Icons */
.forum-stats-mini i,
.forum-header i {
    color: var(--primary-color) !important;
}

/* Category Icons */
.cat-icon-large i,
.cat-last-activity i {
    color: var(--primary-color) !important;
}

/* Topic List Icons */
.topic-avatar i,
.topic-stats-small i,
.stat-mini i {
    color: var(--primary-color) !important;
}

/* Breadcrumb Icons */
.breadcrumb-nav i {
    color: var(--primary-color) !important;
}

/* Topic Header Icons */
.topic-header-pro i,
.topic-meta-line i {
    color: var(--primary-color) !important;
}

/* Post Icons */
.post-number-badge i,
.post-date i,
.post-actions-bar i,
.user-stat-item i {
    color: var(--primary-color) !important;
}

/* Reply Box Icons */
.reply-box-pro i,
.login-prompt-box i {
    color: var(--primary-color) !important;
}

/* New Topic Form Icons */
.form-header-pro i,
.form-group label i,
.btn-gold-wide i,
.btn-cancel i {
    color: var(--primary-color) !important;
}

/* Action Buttons Icons */
.post-action-btn i {
    color: var(--primary-color) !important;
}

/* Forum Actions Bar */
.forum-actions-bar i {
    color: var(--primary-color) !important;
}

/* Section Divider Icons */
.section-divider i {
    color: var(--primary-color) !important;
}

/* General Forum Icons Override */
.forum-container i,
.forum-topic-container i,
.new-topic-container i {
    color: var(--primary-color) !important;
}

/* ===== FORCE ALL FORUM ICONS TO GOLD - HIGHEST PRIORITY ===== */

/* All FontAwesome icons in forum pages */
.forum-container .fas,
.forum-container .far,
.forum-container .fab,
.forum-topic-container .fas,
.forum-topic-container .far,
.forum-topic-container .fab,
.new-topic-container .fas,
.new-topic-container .far,
.new-topic-container .fab {
    color: #d4af37 !important;
}

/* Specific overrides for all forum icon contexts */
.forum-header .fas,
.forum-stats-mini .fas,
.cat-icon-large .fas,
.cat-last-activity .fas,
.stat-item .fas,
.topic-row-pro .fas,
.stat-mini .fas,
.breadcrumb-nav .fas,
.topic-header-pro .fas,
.post-container-pro .fas,
.user-stat-item .fas,
.post-date .fas,
.post-actions-bar .fas,
.reply-box-pro .fas,
.login-prompt-box .fas,
.form-header-pro .fas,
.form-group .fas,
.btn-gold-wide .fas,
.forum-actions-bar .fas {
    color: #d4af37 !important;
}

/* Category icons - extra specific */
.category-card-pro i.fas,
.categories-list-enhanced i.fas {
    color: #d4af37 !important;
}

/* Stats icons - extra specific */
.forum-stats-mini i,
.stat-box i,
.cat-stats i {
    color: #d4af37 !important;
}

/* Premium Forum Elements */
.premium-star {
    font-size: 0.9rem;
    margin-left: 5px;
    vertical-align: middle;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.8));
}

.premium-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.new-topic-form-pro .text-gold {
    font-weight: 600;
}

/* PRINCIPLES SECTION OVERHAUL */
.principles-section-premium {
    padding: 100px 0;
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.principles-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 60px;
}

.principle-card-v2 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
}

.principle-card-v2:hover {
    transform: translateY(-20px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 15px var(--primary-glow);
}

.principle-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-icon-wrap i {
    font-size: 3.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    filter: drop-shadow(0 0 5px var(--primary-glow));
    transition: all 0.5s ease;
}

.principle-card-v2:hover .principle-icon-wrap i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.icon-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    z-index: 1;
    transition: all 0.5s ease;
}

.principle-card-v2:hover .icon-glow {
    opacity: 0.7;
    transform: scale(1.3);
}

.principle-card-v2 h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.principle-divider {
    width: 40px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 0 auto;
    transition: width 0.5s ease;
}

.principle-card-v2:hover .principle-divider {
    width: 80px;
}

/* Delay for principles stagger */
.principles-grid-premium>.reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.principles-grid-premium>.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.principles-grid-premium>.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

/* PREMIUM PROFILE OVERHAUL */
.user-card-profile-v2 {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.mystical-border-pro {
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px var(--primary-glow);
}

.avatar-aura {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
}

.avatar-large {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.avatar-large img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    display: block;
}

.aura-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--primary-glow);
    border-radius: 50%;
    filter: blur(25px);
    opacity: 0.5;
    animation: aura-pulse 4s infinite alternate ease-in-out;
}

@keyframes aura-pulse {
    from {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.profile-divider-gold {
    height: 1px;
    background: var(--gold-gradient);
    margin: 20px 0;
    opacity: 0.5;
}

.status-box-v2 {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.status-box-v2.premium .value {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.premium-status-badge {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 0 10px var(--primary-glow);
    margin-bottom: 10px;
}

.membership-expiry {
    font-size: 0.85rem;
    color: #ccc;
}

.link-gold {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s;
}

.link-gold:hover {
    color: #fff;
    border-bottom-style: solid;
}

.dashboard-card-pro {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin-bottom: 30px;
}

.card-header-mystic {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.card-header-mystic i {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
}

.card-header-mystic h3 {
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.input-mystic-pro {
    width: 100%;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid var(--glass-border) !important;
    padding: 12px 15px !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-mystic-pro:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px var(--primary-glow);
    background: rgba(0, 0, 0, 0.6) !important;
}

.btn-wide {
    width: 100%;
}

.elegant-table-pro {
    width: 100%;
    border-collapse: collapse;
}

.elegant-table-pro th {
    text-align: left;
    padding: 12px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--glass-border);
    font-family: var(--font-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.elegant-table-pro td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-mystic {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: bold;
}

.badge-mystic.premium {
    background: var(--gold-gradient);
    color: #000;
}

.badge-mystic.free {
    border: 1px solid #555;
    color: #aaa;
}

.empty-state-pro {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state-pro i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.custom-file-upload {
    position: relative;
}

.custom-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
}

.gold-text {
    color: var(--primary-color);
}

/* Delay for profile dashboard stagger */
.dashboard-grid>.reveal-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.dashboard-grid>.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.dashboard-grid>.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.inverse-col {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
}

.avatar-upload-group {
    width: 200px;
}

/* Activity List Styles */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-title {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.activity-title:hover {
    color: var(--primary-color);
}

.activity-text {
    color: #ccc;
    font-style: italic;
    font-size: 0.9rem;
}

.activity-meta {
    font-size: 0.8rem;
    color: #888;
}

.activity-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.activity-stat {
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
}


@media (max-width: 992px) {
    .inverse-col {
        flex-direction: column;
    }

    .avatar-upload-group {
        width: 100%;
    }
}/* Shop Section Premium Enhancements */
.shop-section-premium {
    position: relative;
    padding: 6rem 0;
    background-color: var(--secondary-color);
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.shop-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

.product-card-mystic {
    background: rgba(20, 15, 12, 0.4);
    /* Glass dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.product-card-mystic:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #000;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

.product-card-mystic:hover .card-img-wrapper img {
    transform: scale(1.1);
    opacity: 1;
}

.card-overlay-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-mystic:hover .card-overlay-actions {
    opacity: 1;
}

.btn-quick-view {
    background: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-card-mystic:hover .btn-quick-view {
    transform: translateY(0);
}

.card-info-mystic {
    text-align: center;
}

.card-info-mystic h4 {
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.rating-stars-gold {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.price-tag-floating {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.placeholder-mystic {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

.btn-gold-outline {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-main);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.mystic-glow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.blob-left {
    top: -100px;
    left: -100px;
}

.blob-right {
    bottom: -100px;
    right: -100px;
}