/* Navigation Container - Ensure it's above slider */
nav {
    position: relative !important;
    z-index: 10000 !important;
}

/* Ensure Swiper slider is below navigation */
.swiper-container,
.header-slider {
    position: relative !important;
    z-index: 1 !important;
}

.swiper-slide {
    z-index: 1 !important;
}

/* Ensure any slider elements are below navigation */
.relative:has(.swiper-container) {
    z-index: 1 !important;
}

/* Hero Logo and Running Messages should be below nav but above slider */
.hero-logo-section {
    z-index: 5000 !important;
}

.running-messages-section {
    z-index: 5001 !important;
}

/* Swiper specific elements */
.swiper-pagination,
.swiper-button-next,
.swiper-button-prev {
    z-index: 2 !important;
}

/* Main slider wrapper */
.relative .swiper-container,
.relative .header-slider {
    z-index: 1 !important;
}

/* Luxury Navigation Styles */
.nav-link {
    @apply inline-flex items-center px-6 py-4 border-b-2 border-transparent font-medium transition-all duration-300 ease-in-out;
    font-family: "Crimson Text", "Garamond", "Georgia", serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
    color: #2c1810;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #8b4513;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 8px;
}

.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: #8b4513;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.03),
        rgba(160, 82, 45, 0.03)
    );
    border-radius: 10px;
    transform: translateY(-1px);
}

/* Luxury Dropdown Arrow Styling */
.nav-link .fa-chevron-down {
    transition: all 0.3s ease;
    opacity: 0.6;
    color: #8b4513;
    font-weight: 600;
}

.nav-link:hover .fa-chevron-down {
    opacity: 1;
    color: #a0522d;
    transform: translateY(1px);
}

/* Rotate arrow when dropdown is open */
.nav-link .fa-chevron-down.rotate-180 {
    transform: rotate(180deg);
    color: #8b4513;
}

/* Remove dropdown specific styling */

/* Luxury Dropdown Container - Vertical Layout */
.dropdown-menu {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 69, 19, 0.15);
    box-shadow: 0 25px 50px -12px rgba(44, 24, 16, 0.3),
        0 15px 25px -5px rgba(139, 69, 19, 0.1),
        0 0 0 1px rgba(139, 69, 19, 0.05);
    border-radius: 16px;
    min-width: 260px;
    max-width: 280px;
    overflow: hidden;
    margin-top: 12px;
    transform-origin: top;
    position: absolute;
    z-index: 999999 !important;
}

/* Show state for dropdown */
.dropdown-menu[data-show="true"] {
    display: flex !important;
    flex-direction: column !important;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Luxury Dropdown Items - Force Vertical Layout */
.dropdown-item {
    display: block !important;
    width: 100% !important;
    text-align: left;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Crimson Text", "Garamond", "Georgia", serif;
    color: #2c1810;
    border-bottom: 1px solid rgba(139, 69, 19, 0.08);
    text-decoration: none;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.dropdown-item:first-child {
    border-radius: 16px 16px 0 0;
}

/* Force vertical layout for dropdown items */
.dropdown-menu .dropdown-item {
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    flex: none !important;
}

/* Ensure dropdown container doesn't have flex-row */
.dropdown-menu * {
    box-sizing: border-box;
}

/* Override any conflicting Tailwind styles */
.dropdown-menu {
    flex-wrap: nowrap !important;
}

/* Basic Alpine.js support */
[x-cloak] {
    display: none !important;
}

/* Ensure dropdown shows when Alpine.js sets display */
.dropdown-menu[style*="display: block"],
.dropdown-menu[style*="display: flex"] {
    display: flex !important;
    flex-direction: column !important;
}

/* Remove this rule as it's preventing dropdowns from showing */

.dropdown-menu .dropdown-item {
    display: block !important;
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    z-index: 99999 !important;
}

/* Ensure dropdown is above all other elements */
.dropdown-menu * {
    z-index: 99999 !important;
}

.dropdown-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 69, 19, 0.1),
        rgba(160, 82, 45, 0.1)
    );
    transition: width 0.3s ease;
    z-index: -1;
}

.dropdown-item:hover::before {
    width: 100%;
}

.dropdown-item:hover {
    color: #8b4513;
    transform: translateX(4px);
    background: transparent;
}

.dropdown-item i {
    color: #8b4513;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 20px;
}

.dropdown-item:hover i {
    color: #a0522d;
    transform: scale(1.1);
}

/* Ultra Luxury Cart Button */
.cart-button {
    @apply relative px-6 py-4 transition-all duration-500;
    background: #f1dcc4;
    border-radius: 8px; /* สี่เหลี่ยมจัตุรัสขอบมน */
    border: 3px solid #f1dcc4;
    color: #3c4d59;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
        0 8px 25px rgba(241, 220, 196, 0.3), 0 0 30px rgba(241, 220, 196, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(241, 220, 196, 0.2);
    position: relative;
    overflow: visible; /* ให้ดาวแสดงออกมานอกขอบ */
    animation: starlight 3s ease-in-out infinite;

    /* ขยายพื้นที่รอบ ๆ ด้วย pseudo-element */
}

/* เพิ่มพื้นหลังขยายรอบ ๆ ตะกร้า 20% */
.cart-button::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: rgba(241, 220, 196, 0.3);
    border-radius: 12px;
    z-index: -2;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(241, 220, 196, 0.2);
}

/* Main first star - removed, replaced by floating star field */

@keyframes continuousShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Main second star */
.cart-button::after {
    content: "★";
    position: absolute;
    top: 25%;
    left: 20%;
    width: 6px;
    height: 6px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: sparkle2 2.5s ease-in-out infinite 0.5s;
    z-index: 10;
}

@keyframes pulseGlow {
    0% {
        width: 20px;
        height: 20px;
        opacity: 0.3;
    }
    100% {
        width: 40px;
        height: 40px;
        opacity: 0.6;
    }
}

.cart-button:hover {
    background: #f1dcc4;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 25px 70px rgba(241, 220, 196, 0.6),
        0 15px 40px rgba(241, 220, 196, 0.4), 0 0 50px rgba(241, 220, 196, 0.5),
        0 0 100px rgba(241, 220, 196, 0.4), 0 0 0 12px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(241, 220, 196, 0.3);
    border: 3px solid rgba(241, 220, 196, 0.8);
    animation: starlightHover 1.5s ease-in-out infinite;
}

.cart-button:hover::before {
    animation: sparkle1Hover 1s ease-in-out infinite;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 1),
        0 0 20px rgba(234, 200, 165, 0.8);
}

.cart-button:hover::after {
    animation: sparkle2Hover 1s ease-in-out infinite 0.3s;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 1),
        0 0 20px rgba(234, 200, 165, 0.8);
}

/* Create magical floating stars around cart */
.cart-button {
    position: relative;
    overflow: visible !important;
}

/* Add floating star field around button using multiple pseudo-elements */
.cart-button:hover::before {
    animation: sparkle1Hover 1s ease-in-out infinite;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 1),
        0 0 20px rgba(234, 200, 165, 0.8);
}

.cart-button:hover::after {
    animation: sparkle2Hover 1s ease-in-out infinite 0.3s;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 12px rgba(255, 255, 255, 1),
        0 0 20px rgba(234, 200, 165, 0.8);
}

/* Floating stars field - ใช้ดาวแยกชั้น */
.cart-button {
    position: relative;
}

/* เพิ่มดาวที่ตำแหน่งต่าง ๆ */
.cart-button .cart-star-1 {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
    animation: sparkle1 2s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.cart-button .cart-star-2 {
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
    animation: sparkle2 2.5s ease-in-out infinite 0.5s;
    z-index: 2;
    pointer-events: none;
}

.cart-button .cart-star-3 {
    position: absolute;
    bottom: -12px;
    right: -8px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.65);
    animation: floatingStars 3s ease-in-out infinite 1s;
    z-index: 2;
    pointer-events: none;
}

.cart-button .cart-star-4 {
    position: absolute;
    bottom: -8px;
    left: -12px;
    font-size: 7px;
    color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.55);
    animation: sparkle1 3.5s ease-in-out infinite 1.5s;
    z-index: 2;
    pointer-events: none;
}

.cart-button .fas {
    position: relative;
    z-index: 5;
}

@keyframes floatingStars {
    0%,
    100% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.4;
    }
    25% {
        transform: rotate(90deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
    75% {
        transform: rotate(270deg) scale(1);
        opacity: 0.8;
    }
}

.cart-badge {
    @apply absolute -top-1 -right-1 font-bold rounded-full h-8 w-8 flex items-center justify-center;
    background: linear-gradient(
        135deg,
        #eac8a5 0%,
        #d4b896 30%,
        #c8a882 70%,
        #eac8a5 100%
    );
    color: #3c4d59;
    border: none;
    box-shadow: 0 4px 15px rgba(234, 200, 165, 0.5),
        0 2px 8px rgba(200, 168, 130, 0.4), 0 0 20px rgba(234, 200, 165, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(200, 168, 130, 0.4);
    animation: modernPulse 2s ease-in-out infinite;
    font-family: "Source Sans Pro", "Helvetica", "Arial", sans-serif;
    font-weight: 900;
    letter-spacing: 0.3px;
    font-size: 0.85rem;
    line-height: 1;
    padding: 0;
    min-width: 32px;
    min-height: 32px;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    z-index: 100;
}

.cart-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: badgeShimmer 3s ease-in-out infinite;
    border-radius: 50%;
    z-index: -1;
}

.cart-badge span,
.cart-badge::after {
    position: relative;
    z-index: 10;
}

@keyframes badgeShimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

@keyframes modernPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(234, 200, 165, 0.5),
            0 2px 8px rgba(200, 168, 130, 0.4),
            0 0 20px rgba(234, 200, 165, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5),
            inset 0 -1px 0 rgba(200, 168, 130, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(234, 200, 165, 0.6),
            0 3px 12px rgba(212, 184, 150, 0.5),
            0 0 30px rgba(234, 200, 165, 0.4), 0 0 50px rgba(240, 220, 192, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            inset 0 -1px 0 rgba(200, 168, 130, 0.5);
    }
}

/* Cart Bounce Animation */
.cart-bounce {
    animation: cartBounce 0.6s ease-in-out;
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.4);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

/* Cart Glow Animation */
/* Starlight Main Animation - สีใหม่ #F1DCC4 */
@keyframes starlight {
    0% {
        background: #f1dcc4;
        box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
            0 8px 25px rgba(241, 220, 196, 0.3),
            0 0 30px rgba(241, 220, 196, 0.3), 0 0 0 0 rgba(255, 255, 255, 0),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        background: #f1dcc4;
        box-shadow: 0 25px 70px rgba(241, 220, 196, 0.6),
            0 12px 35px rgba(241, 220, 196, 0.5),
            0 0 50px rgba(241, 220, 196, 0.5), 0 0 80px rgba(241, 220, 196, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.6);
    }
    100% {
        background: #f1dcc4;
        box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
            0 8px 25px rgba(241, 220, 196, 0.3),
            0 0 30px rgba(241, 220, 196, 0.3), 0 0 0 0 rgba(255, 255, 255, 0),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
}

/* Sparkle Animations */
@keyframes sparkle1 {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes sparkle2 {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.6) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.4) rotate(-180deg);
    }
}

/* Hover Animations */
@keyframes starlightHover {
    0%,
    100% {
        filter: brightness(1.1) saturate(1.2);
        transform: translateY(-2px) scale(1.05);
    }
    50% {
        filter: brightness(1.3) saturate(1.5);
        transform: translateY(-4px) scale(1.08);
    }
}

@keyframes sparkle1Hover {
    0%,
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(360deg);
    }
}

@keyframes sparkle2Hover {
    0%,
    100% {
        opacity: 0.7;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.6) rotate(-360deg);
    }
}

/* Cart Dropdown Styles */
.cart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 440px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(139, 69, 19, 0.1);
    z-index: 999999;
    margin-top: 12px;
    animation: slideInFromRight 0.3s ease-out;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
}

.cart-dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.1));
}

/* Cart Item Styles */
.cart-item-summary {
    @apply flex items-start border-b border-gray-100 hover:bg-gray-50 transition-colors;
    padding: 16px 20px;
    gap: 16px;
    margin: 0 8px;
}

.cart-item-image {
    @apply w-20 h-20 object-cover rounded-xl border border-gray-200 flex-shrink-0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cart-item-no-image {
    @apply w-20 h-20 flex-shrink-0;
}

.no-image-placeholder-dropdown {
    @apply w-20 h-20 rounded-xl border border-gray-200 flex items-center justify-center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.no-image-placeholder-dropdown:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #8b4513;
    color: #8b4513;
    transform: scale(1.05);
}

.cart-item-details {
    @apply flex-1 min-w-0;
    padding: 8px 0;
}

.cart-item-name {
    @apply font-semibold text-gray-900 text-base leading-tight mb-2;
    line-height: 1.3;
}

.cart-item-price {
    @apply text-amber-600 font-bold text-lg mb-1;
}

.cart-item-quantity {
    @apply text-gray-600 text-sm font-medium;
    margin-bottom: 8px;
}

.cart-item-actions {
    @apply flex flex-col items-end space-y-3;
    padding: 8px 0;
}

.cart-item-remove {
    @apply text-red-500 hover:text-red-700 text-sm transition-colors cursor-pointer font-medium;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.cart-item-remove:hover {
    background-color: rgba(239, 68, 68, 0.1);
}

/* Cart Inner Container */
.cart-inner {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Cart Header Styles */
.cart-header {
    background: #fff;
    color: #914e20;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(145, 78, 32, 0.1);
    position: relative;
    overflow: hidden;
}

.cart-header::before {
    display: none;
}

.cart-header h3 {
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #914e20;
    position: relative;
    z-index: 1;
}

.cart-header h3 i {
    color: #914e20;
    font-size: 16px;
}

.cart-header .cart-count {
    color: #914e20;
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 800;
    text-shadow: none;
    background: rgba(145, 78, 32, 0.1);
}

/* Cart Items Container */
#cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
}

/* Cart Footer Styles */
.cart-footer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(139, 69, 19, 0.1);
}

.cart-footer a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.cart-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Cart Summary Animations */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.cart-item-enter {
    animation: fadeInUp 0.3s ease-out;
}

/* Empty Cart Animation */
@keyframes cartBob {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

#cart-empty .fas {
    animation: cartBob 2s ease-in-out infinite;
}

/* Scrollbar Styling for Cart Items */
#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#cart-items::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Ultra Luxury Authentication Links - Sparkling Star Style */
.auth-link {
    @apply relative inline-flex items-center px-6 py-4 transition-all duration-500;
    background: linear-gradient(
        135deg,
        #f1dcc4 0%,
        #e8c9a8 30%,
        #f1dcc4 70%,
        #e8c9a8 100%
    );
    border-radius: 15px;
    border: 2px solid transparent;
    color: #3c4d59;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
        0 8px 25px rgba(241, 220, 196, 0.3), 0 0 30px rgba(241, 220, 196, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(241, 220, 196, 0.2);
    position: relative;
    overflow: visible;
    animation: authSparklingStar 4s ease-in-out infinite;
    font-family: "Crimson Text", "Garamond", "Georgia", serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1rem;
    text-decoration: none;
}

/* Sparkling background effect */
.auth-link::before {
    content: "";
    position: absolute;
    top: -25%;
    left: -25%;
    right: -25%;
    bottom: -25%;
    background: radial-gradient(
        circle,
        rgba(241, 220, 196, 0.4) 0%,
        rgba(241, 220, 196, 0.2) 50%,
        transparent 70%
    );
    border-radius: 20px;
    z-index: -2;
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 40px rgba(241, 220, 196, 0.3);
    animation: authSparkleBackground 3s ease-in-out infinite;
}

.auth-link:hover {
    background: linear-gradient(
        135deg,
        #e8c9a8 0%,
        #f1dcc4 30%,
        #e8c9a8 70%,
        #f1dcc4 100%
    );
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 30px 80px rgba(241, 220, 196, 0.7),
        0 20px 50px rgba(241, 220, 196, 0.5), 0 0 60px rgba(241, 220, 196, 0.6),
        0 0 120px rgba(241, 220, 196, 0.5), 0 0 0 15px rgba(255, 255, 255, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(241, 220, 196, 0.4);
    border: 2px solid rgba(241, 220, 196, 0.9);
    animation: authSparklingStarHover 2s ease-in-out infinite;
}

.auth-link:hover::before {
    animation: authSparkleBackgroundHover 1.5s ease-in-out infinite;
    background: radial-gradient(
        circle,
        rgba(241, 220, 196, 0.6) 0%,
        rgba(241, 220, 196, 0.3) 50%,
        transparent 70%
    );
}

/* Enhanced floating stars for login - Sparkling effect */
.auth-link .auth-star-1 {
    position: absolute;
    top: -20px;
    right: -15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 255, 255, 0.7);
    animation: authSparkle1 2.5s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8));
}

.auth-link .auth-star-2 {
    position: absolute;
    bottom: -15px;
    left: -10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6);
    animation: authSparkle2 3s ease-in-out infinite 0.8s;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
}

.auth-link .fas {
    position: relative;
    z-index: 5;
    text-shadow: 0 0 5px rgba(60, 77, 89, 0.3);
}

/* Ultra Luxury Register Button - Shooting Star Style */
.auth-btn {
    @apply relative inline-flex items-center px-6 py-4 transition-all duration-500;
    background: linear-gradient(
        135deg,
        #ffd700 0%,
        #ffed4e 30%,
        #fff200 70%,
        #ffed4e 100%
    );
    border-radius: 15px;
    border: 2px solid transparent;
    color: #2c3e50;
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4),
        0 8px 25px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(255, 237, 78, 0.2);
    position: relative;
    overflow: visible;
    animation: authShootingStar 4s ease-in-out infinite;
    font-family: "Crimson Text", "Garamond", "Georgia", serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 1rem;
    text-decoration: none;
}

/* Shooting star background effect */
.auth-btn::before {
    content: "";
    position: absolute;
    top: -25%;
    left: -25%;
    right: -25%;
    bottom: -25%;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(255, 215, 0, 0.2) 50%,
        transparent 70%
    );
    border-radius: 20px;
    z-index: -2;
    backdrop-filter: blur(8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    animation: authShootingBackground 3s ease-in-out infinite;
}

.auth-btn:hover {
    background: linear-gradient(
        135deg,
        #ffed4e 0%,
        #ffd700 30%,
        #ffed4e 70%,
        #ffd700 100%
    );
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 30px 80px rgba(255, 215, 0, 0.7),
        0 20px 50px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.6),
        0 0 120px rgba(255, 215, 0, 0.5), 0 0 0 15px rgba(255, 255, 255, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(255, 237, 78, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.9);
    animation: authShootingStarHover 2s ease-in-out infinite;
}

.auth-btn:hover::before {
    animation: authShootingBackgroundHover 1.5s ease-in-out infinite;
    background: radial-gradient(
        circle,
        rgba(255, 215, 0, 0.6) 0%,
        rgba(255, 215, 0, 0.3) 50%,
        transparent 70%
    );
}

/* Enhanced floating stars for register - Shooting star effect */
.auth-btn .auth-star-3 {
    position: absolute;
    top: -15px;
    left: -20px;
    font-size: 11px;
    color: rgba(255, 215, 0, 0.9);
    text-shadow: 0 0 7px rgba(255, 215, 0, 1), 0 0 14px rgba(255, 215, 0, 0.8);
    animation: authShootingStar1 3s ease-in-out infinite 1s;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.9));
}

.auth-btn .auth-star-4 {
    position: absolute;
    bottom: -12px;
    right: -15px;
    font-size: 9px;
    color: rgba(255, 215, 0, 0.8);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.9), 0 0 10px rgba(255, 215, 0, 0.7);
    animation: authShootingStar2 3.5s ease-in-out infinite 1.5s;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
}

.auth-btn .fas {
    position: relative;
    z-index: 5;
    text-shadow: 0 0 5px rgba(44, 62, 80, 0.4);
}

/* User Dropdown */
.user-dropdown-btn {
    @apply flex items-center px-4 py-2 text-gray-700 hover:text-gray-900 transition duration-300 rounded-lg hover:bg-gray-50;
    font-family: "Source Sans Pro", "Helvetica Neue", "Arial", sans-serif;
    font-weight: 500;
}

/* Mobile Navigation */
.mobile-nav-link {
    @apply block pl-3 pr-4 py-3 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300 transition duration-200;
    font-family: "Source Sans Pro", "Helvetica Neue", "Arial", sans-serif;
    font-weight: 500;
    letter-spacing: 0.025em;
    font-size: 1rem;
}

.mobile-nav-link.active {
    @apply border-blue-500 text-blue-700 bg-blue-50;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    @apply inline-flex items-center justify-center p-3 rounded-lg text-gray-400 hover:text-gray-500 hover:bg-gray-100 transition duration-200;
}

/* Animations */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Clean Navigation Container */
.nav-container {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Enhanced Auth Button Animations - Sparkling Star & Shooting Star */
@keyframes authSparklingStar {
    0% {
        background: linear-gradient(
            135deg,
            #f1dcc4 0%,
            #e8c9a8 30%,
            #f1dcc4 70%,
            #e8c9a8 100%
        );
        box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
            0 8px 25px rgba(241, 220, 196, 0.3),
            0 0 30px rgba(241, 220, 196, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
        filter: brightness(1) saturate(1);
    }
    25% {
        background: linear-gradient(
            135deg,
            #e8c9a8 0%,
            #f1dcc4 30%,
            #e8c9a8 70%,
            #f1dcc4 100%
        );
        box-shadow: 0 20px 60px rgba(241, 220, 196, 0.5),
            0 10px 30px rgba(241, 220, 196, 0.4),
            0 0 40px rgba(241, 220, 196, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.5);
        filter: brightness(1.1) saturate(1.2);
    }
    50% {
        background: linear-gradient(
            135deg,
            #f1dcc4 0%,
            #e8c9a8 30%,
            #f1dcc4 70%,
            #e8c9a8 100%
        );
        box-shadow: 0 25px 70px rgba(241, 220, 196, 0.6),
            0 12px 35px rgba(241, 220, 196, 0.5),
            0 0 50px rgba(241, 220, 196, 0.5), 0 0 80px rgba(241, 220, 196, 0.4),
            0 0 0 8px rgba(255, 255, 255, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.6);
        filter: brightness(1.2) saturate(1.3);
    }
    75% {
        background: linear-gradient(
            135deg,
            #e8c9a8 0%,
            #f1dcc4 30%,
            #e8c9a8 70%,
            #f1dcc4 100%
        );
        box-shadow: 0 20px 60px rgba(241, 220, 196, 0.5),
            0 10px 30px rgba(241, 220, 196, 0.4),
            0 0 40px rgba(241, 220, 196, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.5);
        filter: brightness(1.1) saturate(1.2);
    }
    100% {
        background: linear-gradient(
            135deg,
            #f1dcc4 0%,
            #e8c9a8 30%,
            #f1dcc4 70%,
            #e8c9a8 100%
        );
        box-shadow: 0 15px 50px rgba(241, 220, 196, 0.4),
            0 8px 25px rgba(241, 220, 196, 0.3),
            0 0 30px rgba(241, 220, 196, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
        filter: brightness(1) saturate(1);
    }
}

@keyframes authSparklingStarHover {
    0%,
    100% {
        filter: brightness(1.2) saturate(1.3);
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        filter: brightness(1.4) saturate(1.5);
        transform: translateY(-5px) scale(1.08);
    }
}

@keyframes authSparkleBackground {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes authSparkleBackgroundHover {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

@keyframes authShootingStar {
    0% {
        background: linear-gradient(
            135deg,
            #ffd700 0%,
            #ffed4e 30%,
            #fff200 70%,
            #ffed4e 100%
        );
        box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4),
            0 8px 25px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
        filter: brightness(1) saturate(1);
    }
    25% {
        background: linear-gradient(
            135deg,
            #ffed4e 0%,
            #ffd700 30%,
            #ffed4e 70%,
            #ffd700 100%
        );
        box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5),
            0 10px 30px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
        filter: brightness(1.1) saturate(1.2);
    }
    50% {
        background: linear-gradient(
            135deg,
            #ffd700 0%,
            #ffed4e 30%,
            #fff200 70%,
            #ffed4e 100%
        );
        box-shadow: 0 25px 70px rgba(255, 215, 0, 0.6),
            0 12px 35px rgba(255, 215, 0, 0.5), 0 0 50px rgba(255, 215, 0, 0.5),
            0 0 80px rgba(255, 215, 0, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.5);
        filter: brightness(1.2) saturate(1.3);
    }
    75% {
        background: linear-gradient(
            135deg,
            #ffed4e 0%,
            #ffd700 30%,
            #ffed4e 70%,
            #ffd700 100%
        );
        box-shadow: 0 20px 60px rgba(255, 215, 0, 0.5),
            0 10px 30px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
        filter: brightness(1.1) saturate(1.2);
    }
    100% {
        background: linear-gradient(
            135deg,
            #ffd700 0%,
            #ffed4e 30%,
            #fff200 70%,
            #ffed4e 100%
        );
        box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4),
            0 8px 25px rgba(255, 215, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
        filter: brightness(1) saturate(1);
    }
}

@keyframes authShootingStarHover {
    0%,
    100% {
        filter: brightness(1.2) saturate(1.3);
        transform: translateY(-3px) scale(1.05);
    }
    50% {
        filter: brightness(1.4) saturate(1.5);
        transform: translateY(-5px) scale(1.08);
    }
}

@keyframes authShootingBackground {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes authShootingBackgroundHover {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1.05);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

@keyframes authShootingStar1 {
    0%,
    100% {
        opacity: 0.6;
        transform: translateX(0) translateY(0) scale(0.8) rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: translateX(5px) translateY(-5px) scale(1.1) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: translateX(10px) translateY(-10px) scale(1.3) rotate(180deg);
    }
    75% {
        opacity: 0.9;
        transform: translateX(5px) translateY(-5px) scale(1.1) rotate(270deg);
    }
}

@keyframes authShootingStar2 {
    0%,
    100% {
        opacity: 0.5;
        transform: translateX(0) translateY(0) scale(0.7) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: translateX(-3px) translateY(3px) scale(1) rotate(-90deg);
    }
    50% {
        opacity: 1;
        transform: translateX(-6px) translateY(6px) scale(1.2) rotate(-180deg);
    }
    75% {
        opacity: 0.8;
        transform: translateX(-3px) translateY(3px) scale(1) rotate(-270deg);
    }
}

@keyframes authBtnStarlight {
    0% {
        background: linear-gradient(
            135deg,
            #8b4513 0%,
            #a0522d 50%,
            #8b4513 100%
        );
        box-shadow: 0 15px 50px rgba(139, 69, 19, 0.4),
            0 8px 25px rgba(139, 69, 19, 0.3), 0 0 30px rgba(139, 69, 19, 0.3),
            0 0 0 0 rgba(255, 255, 255, 0),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        background: linear-gradient(
            135deg,
            #a0522d 0%,
            #8b4513 50%,
            #a0522d 100%
        );
        box-shadow: 0 25px 70px rgba(139, 69, 19, 0.6),
            0 12px 35px rgba(139, 69, 19, 0.5), 0 0 50px rgba(139, 69, 19, 0.5),
            0 0 80px rgba(139, 69, 19, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.15),
            inset 0 2px 0 rgba(255, 255, 255, 0.6);
    }
    100% {
        background: linear-gradient(
            135deg,
            #8b4513 0%,
            #a0522d 50%,
            #8b4513 100%
        );
        box-shadow: 0 15px 50px rgba(139, 69, 19, 0.4),
            0 8px 25px rgba(139, 69, 19, 0.3), 0 0 30px rgba(139, 69, 19, 0.3),
            0 0 0 0 rgba(255, 255, 255, 0),
            inset 0 2px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes authSparkle1 {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes authSparkle2 {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.6) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.4) rotate(-180deg);
    }
}

@keyframes authFloatingStars {
    0%,
    100% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.4;
    }
    25% {
        transform: rotate(90deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
    75% {
        transform: rotate(270deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes authStarlightHover {
    0%,
    100% {
        filter: brightness(1.1) saturate(1.2);
        transform: translateY(-2px) scale(1.05);
    }
    50% {
        filter: brightness(1.3) saturate(1.5);
        transform: translateY(-4px) scale(1.08);
    }
}

@keyframes authBtnStarlightHover {
    0%,
    100% {
        filter: brightness(1.1) saturate(1.2);
        transform: translateY(-2px) scale(1.05);
    }
    50% {
        filter: brightness(1.3) saturate(1.5);
        transform: translateY(-4px) scale(1.08);
    }
}

@keyframes authSparkle1Hover {
    0%,
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(360deg);
    }
}

@keyframes authBtnSparkle1Hover {
    0%,
    100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .auth-link,
    .auth-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Golden Sun User Icon - Sparkling Sun Style */
.user-sun-icon {
    background: linear-gradient(
        135deg,
        #ffd700 0%,
        #ffed4e 25%,
        #fff200 50%,
        #ffed4e 75%,
        #ffd700 100%
    ) !important;
    border: 2px solid rgba(255, 215, 0, 0.8) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(255, 180, 0, 0.3) !important;
    position: relative;
    overflow: visible;
    animation: sunGlow 3s ease-in-out infinite;
}

.user-sun-icon:hover {
    background: linear-gradient(
        135deg,
        #fff200 0%,
        #ffd700 25%,
        #ffed4e 50%,
        #ffd700 75%,
        #fff200 100%
    ) !important;
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.6),
        0 0 100px rgba(255, 215, 0, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -2px 0 rgba(255, 180, 0, 0.5) !important;
    animation: sunGlowHover 2s ease-in-out infinite;
}

.user-sun-icon .fas.fa-user {
    color: #2c3e50 !important;
    font-size: 16px !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    z-index: 5;
}

/* Sun sparkle effects */
.sun-sparkle {
    position: absolute;
    font-size: 8px;
    pointer-events: none;
    z-index: 3;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.8);
}

.sun-sparkle-1 {
    top: -8px;
    left: -8px;
    color: #ffd700;
    animation: sparkle1 2.5s ease-in-out infinite;
}

.sun-sparkle-2 {
    top: -8px;
    right: -8px;
    color: #ffed4e;
    animation: sparkle2 3s ease-in-out infinite 0.5s;
}

.sun-sparkle-3 {
    bottom: -8px;
    left: -8px;
    color: #fff200;
    animation: sparkle3 2.8s ease-in-out infinite 1s;
}

.sun-sparkle-4 {
    bottom: -8px;
    right: -8px;
    color: #ffd700;
    animation: sparkle4 3.2s ease-in-out infinite 1.5s;
}

/* Sun glow animation */
@keyframes sunGlow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
            0 0 40px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 215, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.4),
            inset 0 -2px 0 rgba(255, 180, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6), 0 0 90px rgba(255, 215, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.5),
            inset 0 -2px 0 rgba(255, 180, 0, 0.4);
    }
}

@keyframes sunGlowHover {
    0%,
    100% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.6), 0 0 100px rgba(255, 215, 0, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.6),
            inset 0 -2px 0 rgba(255, 180, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 215, 0, 1),
            0 0 100px rgba(255, 215, 0, 0.8), 0 0 150px rgba(255, 215, 0, 0.6),
            inset 0 2px 0 rgba(255, 255, 255, 0.8),
            inset 0 -2px 0 rgba(255, 180, 0, 0.7);
    }
}

/* Sun rotation animation */
@keyframes sunRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Sparkle animations */
@keyframes sparkle1 {
    0%,
    100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes sparkle2 {
    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(-180deg);
    }
}

@keyframes sparkle3 {
    0%,
    100% {
        opacity: 0.2;
        transform: scale(0.7) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) rotate(90deg);
    }
}

@keyframes sparkle4 {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.4) rotate(-90deg);
    }
}

/* Responsive adjustments for sun icon */
@media (max-width: 768px) {
    .user-sun-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .user-sun-icon .fas.fa-user {
        font-size: 14px !important;
    }

    .sun-sparkle {
        font-size: 6px;
    }
}
