/* Page Specific CSS for Lucky Everyday - Premium Version */

:root {
    --luck-gold: #f59e0b;
    --luck-gold-light: #fcd34d;
    --luck-glow: rgba(245, 158, 11, 0.4);
    --luck-bg-glass: rgba(255, 255, 255, 0.7);
}

/* Background Decoration & Rising Particles */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, #fffdfa 0%, #fff 100%);
}

.luck-particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.15;
    border-radius: 50%;
    animation: blob-move 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7dd3fc, transparent);
    top: -100px;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #fcd34d, transparent);
    bottom: -100px;
    right: -10%;
    animation-delay: -7s;
}

/* Rising Luck Bubble Effect */
.luck-bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0) 70%);
    border-radius: 50%;
    bottom: -100px;
    animation: rise var(--duration) linear infinite;
    opacity: 0;
}

@keyframes rise {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}

@keyframes blob-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.gradient-text-sub {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.4;
    margin-top: 3rem;
}

.quote-box {
    background: #fffbeb;
    border-left: 5px solid #fbbf24;
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 12px 12px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #d97706;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.concept-img {
    width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.highlight-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-weight: 700;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.law-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    margin: 4rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.law-box h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}

.law-list {
    list-style: none;
    padding: 0;
}

.law-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.law-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.law-list li:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateX(10px);
    color: #b45309;
}

/* Interactive Luck Button */
.luck-trigger-container {
    text-align: center;
    margin: 4rem 0;
    position: relative;
}

.luck-btn {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.luck-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 15px 25px rgba(245, 158, 11, 0.4);
}

.luck-btn:active {
    transform: scale(0.95);
}

.luck-message {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.luck-message.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Premium Hero Header Section */
.hero-header {
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.category-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    color: #c2410c;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero-header h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-line {
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, var(--luck-gold), #fbbf24);
    margin: 2rem auto;
    border-radius: 10px;
    position: relative;
}

.hero-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 70%);
    filter: blur(5px);
    z-index: -1;
}

.hero-subtext {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.floating-luck-icon {
    font-size: 2.5rem;
    color: #10b981;
    position: absolute;
    top: 2rem;
    right: 5%;
    opacity: 0.2;
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(15deg); }
}

/* Shimmering Text Effect */
.shimmer-text {
    position: relative;
    display: inline-block;
    color: #b45309;
    font-weight: 900;
    background: linear-gradient(90deg, #b45309 0%, #f59e0b 25%, #fffbeb 50%, #f59e0b 75%, #b45309 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.final-message-highlight {
    text-align: center;
    margin: 6rem 0;
    position: relative;
}

.final-message-highlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 100px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
    z-index: -1;
}

.final-message-highlight p {
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.2));
}

/* Premium Law Glass Cards */
.law-grid {
    display: grid;
    gap: 1.5rem;
    margin: 3rem 0;
}

.law-card {
    background: var(--luck-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.law-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: #fff;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.1);
    border-color: var(--luck-gold-light);
}

.law-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--luck-gold);
    flex-shrink: 0;
    box-shadow: inset 0 2px 5px rgba(245, 158, 11, 0.1);
}

.law-card-text {
    font-weight: 700;
    color: #334155;
    line-height: 1.5;
}

/* Sparkle Effect */
.sparkle {
    position: fixed;
    pointer-events: none;
    background: gold;
    border-radius: 50%;
    z-index: 9999;
}

/* Advice Box Specifics */
.one-point-advice {
    background: #ffffff;
    border: 1px solid #fdba74;
    border-radius: 8px;
    padding: 1.5rem;
}

.one-point-advice .advice-header {
    color: #c2410c;
    border-bottom: 2px solid #fdba74;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.one-point-advice .advice-content {
    color: #431407;
    line-height: 1.6;
}

/* Site Footer */
.site-footer {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

/* Sidebar Fixes for current Page */
.sidebar .sidebar-widget.glass-panel {
    background: rgba(255, 247, 237, 0.8);
    border: 1px solid #fed7aa;
}
