/* ============================================
   BROBILLIONAIRE - PREMIUM ENHANCEMENTS
   Modern Glassmorphism, Advanced Animations & Polish
   Add this file AFTER styles.css in your HTML
   ============================================ */

/* ============================================
   PREMIUM GLASSMORPHISM EFFECTS
   ============================================ */

/* Enhanced Navbar with Glassmorphism */
.navbar {
    background: rgba(13, 13, 13, 0.75) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15) !important;
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 1px rgba(201, 162, 39, 0.2);
}

/* Premium Card Glassmorphism */
.daily-article-card {
    background: rgba(22, 22, 22, 0.7) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border: 1px solid rgba(201, 162, 39, 0.08) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(201, 162, 39, 0.05),
        inset 0 0 20px rgba(201, 162, 39, 0.02);
}

.daily-article-card:hover {
    background: rgba(26, 26, 26, 0.85) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(201, 162, 39, 0.25) !important;
    box-shadow:
        0 20px 60px rgba(201, 162, 39, 0.15),
        0 0 0 1px rgba(201, 162, 39, 0.1),
        inset 0 0 40px rgba(201, 162, 39, 0.04);
    transform: translateY(-8px) scale(1.01) !important;
}

/* ============================================
   ADVANCED BUTTON EFFECTS
   ============================================ */

/* Ultra Premium Gold Button */
.gold-btn {
    background: linear-gradient(135deg,
            #C9A227 0%,
            #E8D5A3 25%,
            #F5E6C8 50%,
            #E8D5A3 75%,
            #C9A227 100%) !important;
    box-shadow:
        0 4px 20px rgba(201, 162, 39, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 -2px 2px rgba(0, 0, 0, 0.1) !important;
    position: relative;
    overflow: hidden;
}

.gold-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gold-btn:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.gold-btn:hover {
    background: linear-gradient(135deg,
            #C9A227 0%,
            #F5E6C8 25%,
            #FFFFFF 50%,
            #F5E6C8 75%,
            #C9A227 100%) !important;
    box-shadow:
        0 12px 40px rgba(201, 162, 39, 0.5),
        0 6px 15px rgba(0, 0, 0, 0.25),
        inset 0 -2px 2px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(201, 162, 39, 0.3) !important;
    transform: translateY(-4px) scale(1.02) !important;
}

/* Outline Button Enhancement */
.outline-btn {
    background: rgba(13, 13, 13, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(201, 162, 39, 0.03);
    position: relative;
    overflow: hidden;
}

.outline-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(201, 162, 39, 0.1),
            rgba(201, 162, 39, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.outline-btn:hover {
    background: rgba(201, 162, 39, 0.15) !important;
    border: 1px solid rgba(201, 162, 39, 0.6) !important;
    box-shadow:
        0 8px 25px rgba(201, 162, 39, 0.25),
        0 0 30px rgba(201, 162, 39, 0.15),
        inset 0 0 40px rgba(201, 162, 39, 0.08) !important;
    transform: translateY(-3px) scale(1.01) !important;
}

/* ============================================
   PREMIUM TYPOGRAPHY ENHANCEMENTS
   ============================================ */

.hero-title {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(201, 162, 39, 0.1);
    letter-spacing: -0.02em;
}

.hero-title .gold-text {
    background: linear-gradient(135deg,
            #C9A227 0%,
            #F5E6C8 50%,
            #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(201, 162, 39, 0.4));
}

.section-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-title .gold-text {
    background: linear-gradient(135deg,
            #C9A227 0%,
            #E8D5A3 30%,
            #F5E6C8 50%,
            #E8D5A3 70%,
            #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: goldShine 3s linear infinite;
}

@keyframes goldShine {
    0% {
        background-position: 0% center;
    }

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

/* ============================================
   ADVANCED SHADOW SYSTEM
   ============================================ */

/* Premium Shadow Layers */
.shadow-premium {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.1);
}

.shadow-gold {
    box-shadow:
        0 4px 20px rgba(201, 162, 39, 0.2),
        0 8px 40px rgba(201, 162, 39, 0.15),
        0 0 60px rgba(201, 162, 39, 0.1);
}

/* ============================================
   MICRO-INTERACTIONS & ANIMATIONS
   ============================================ */

/* Smooth Card Reveal Animation */
.daily-article-card {
    animation: cardReveal 0.6s ease-out backwards;
}

.daily-article-card:nth-child(1) {
    animation-delay: 0.1s;
}

.daily-article-card:nth-child(2) {
    animation-delay: 0.2s;
}

.daily-article-card:nth-child(3) {
    animation-delay: 0.3s;
}

.daily-article-card:nth-child(4) {
    animation-delay: 0.4s;
}

.daily-article-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }

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

/* Enhanced Badge Pulse */
.article-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
    }
}

/* Smooth Icon Rotation */
.article-cta:hover i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateX(4px);
    }

    50% {
        transform: translateX(8px);
    }
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */

.hero-feature {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-feature:hover {
    transform: translateY(-5px) scale(1.02);
}

.hero-feature .feature-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-feature:hover .feature-icon {
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.3);
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   TICKER ENHANCEMENTS
   ============================================ */

.ticker-item {
    transition: all 0.3s ease;
}

.ticker-track:hover .ticker-item {
    animation-play-state: paused;
}

.market-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(10, 10, 10, 1) 0%,
            transparent 5%,
            transparent 95%,
            rgba(10, 10, 10, 1) 100%);
    pointer-events: none;
}

/* ============================================
   ARTICLE OF THE DAY SECTION
   ============================================ */

.story-showcase {
    background: rgba(22, 22, 22, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 162, 39, 0.08);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 0 40px rgba(201, 162, 39, 0.02);
}

.story-chart {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-showcase:hover .story-chart {
    transform: scale(1.03);
}

.chart-badge {
    animation: chartBadgeFloat 3s ease-in-out infinite;
}

@keyframes chartBadgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   QUOTES SECTION PREMIUM
   ============================================ */

.quote-card {
    background: rgba(22, 22, 22, 0.7) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(201, 162, 39, 0.08) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(201, 162, 39, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.quote-card.featured {
    border: 1px solid rgba(201, 162, 39, 0.2) !important;
    box-shadow:
        0 12px 40px rgba(201, 162, 39, 0.15),
        inset 0 0 30px rgba(201, 162, 39, 0.04) !important;
}

.quote-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    box-shadow:
        0 20px 60px rgba(201, 162, 39, 0.2),
        inset 0 0 40px rgba(201, 162, 39, 0.06) !important;
}

.author-avatar {
    background: linear-gradient(135deg, #C9A227, #E8D5A3) !important;
    box-shadow:
        0 4px 15px rgba(201, 162, 39, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* ============================================
   JOURNEY TIMELINE ENHANCEMENTS
   ============================================ */

.journey-stage {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.journey-stage:hover {
    transform: translateX(10px) scale(1.02);
}

.stage-marker {
    position: relative;
}

.marker-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.2);
}

.journey-stage:hover .marker-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 8px 40px rgba(201, 162, 39, 0.4);
}

.marker-pulse {
    animation: markerPulseEffect 2s ease-in-out infinite;
}

@keyframes markerPulseEffect {

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

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   MONEY KILLERS SECTION
   ============================================ */

.killer-card {
    background: rgba(22, 22, 22, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
    box-shadow:
        0 8px 32px rgba(239, 68, 68, 0.15),
        inset 0 0 20px rgba(239, 68, 68, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.killer-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    box-shadow:
        0 20px 60px rgba(239, 68, 68, 0.25),
        inset 0 0 40px rgba(239, 68, 68, 0.05) !important;
}

.danger-pulse {
    animation: dangerPulseEffect 2s ease-in-out infinite;
}

@keyframes dangerPulseEffect {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
    }
}

/* ============================================
   FOOTER ENHANCEMENTS
   ============================================ */

.footer {
    background: linear-gradient(180deg,
            var(--bg-secondary) 0%,
            var(--bg-primary) 50%,
            #000000 100%) !important;
    border-top: 1px solid rgba(201, 162, 39, 0.15);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE PREMIUM ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .navbar {
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    }

    .daily-article-card {
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }

    .gold-btn:hover,
    .outline-btn:hover {
        transform: scale(1.02) !important;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            rgba(201, 162, 39, 0.5),
            rgba(201, 162, 39, 0.8));
    border-radius: 8px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            rgba(201, 162, 39, 0.7),
            rgba(201, 162, 39, 1));
}

/* ============================================
   PREMIUM GLOW EFFECTS
   ============================================ */

.premium-glow {
    position: relative;
}

.premium-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(201, 162, 39, 0.3) 50%,
            transparent 70%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
    filter: blur(10px);
}

.premium-glow:hover::before {
    opacity: 1;
    animation: glowRotate 2s linear infinite;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   END OF PREMIUM ENHANCEMENTS
   ============================================ */