/* Page Specific CSS for Strong Luck */

:root {
    --luck-orange: #ea580c;
    --luck-orange-light: #fff7ed;
    --luck-orange-dark: #c2410c;
    --luck-gold: #fbbf24;
}

/* Luck Aura Background Rays */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.luck-aura-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.aura-ray {
    position: absolute;
    top: -100px;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(234, 88, 12, 0.1), transparent);
    animation: aura-fall linear infinite;
    filter: blur(2px);
}

@keyframes aura-fall {
    0% { transform: translateY(-100%) opacity(0); }
    50% { opacity: 0.8; }
    100% { transform: translateY(110vh) opacity(0); }
}

/* Hero Header */
.hero-header {
    text-align: center;
    padding: 6rem 1rem 4rem;
}

.category-badge {
    display: inline-block;
    background: rgba(234, 88, 12, 0.1);
    color: var(--luck-orange-dark);
    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(234, 88, 12, 0.2);
}

.hero-header h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, var(--luck-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-line {
    width: 80px;
    height: 6px;
    background: linear-gradient(to right, var(--luck-orange), var(--luck-gold));
    margin: 2rem auto;
    border-radius: 10px;
}

.hero-subtext {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Styles */
.quote-box {
    background: #fffbeb;
    border-left: 5px solid var(--luck-gold);
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 4px 16px 16px 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #92400e;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.05);
}

.concept-img {
    width: 100%;
    border-radius: 24px;
    margin: 3rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.highlight-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    margin: 3rem 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #334155;
    line-height: 1.6;
}

.gradient-text-sub {
    background: linear-gradient(135deg, var(--luck-orange), var(--luck-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.6rem;
    font-weight: 900;
    margin: 4rem 0 2rem;
    padding-left: 1.5rem;
    position: relative;
    display: inline-block;
}

.gradient-text-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(to bottom, var(--luck-orange), var(--luck-gold));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(234, 88, 12, 0.3);
}

.gradient-text-sub::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, var(--luck-orange), transparent);
    opacity: 0.3;
}

/* Label Peeling Component */
.label-peel-system {
    margin: 4rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.label-card {
    width: 250px;
    height: 120px;
    perspective: 1000px;
    cursor: pointer;
}

.label-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.label-card.peeled .label-inner {
    transform: rotateX(180deg);
}

.label-front, .label-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 1.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.label-front {
    background: #f1f5f9;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.label-front::after {
    content: "剥がす ➔";
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.7rem;    opacity: 0.5;
}

.label-back {
    background: linear-gradient(135deg, var(--luck-gold), var(--luck-orange));
    color: white;
    transform: rotateX(180deg);
    border: 2px solid var(--luck-orange-light);
}

/* Pen Trail Trace */
.pen-trace {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--luck-gold), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--luck-gold);
    transition: opacity 0.5s;
}

/* Interactive Luck Button */
.luck-trigger-container {
    text-align: center;
    margin: 5rem 0;
    position: relative;
}

.luck-btn {
    background: linear-gradient(135deg, var(--luck-gold), var(--luck-orange));
    color: white;
    border: none;
    padding: 1.5rem 4rem;
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 100px;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.luck-btn:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.4);
}

.luck-btn:active {
    transform: scale(0.95);
}

.luck-message {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    color: var(--luck-orange);
    font-weight: 900;
    font-size: 1.1rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid var(--luck-orange-light);
}

.luck-message.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Sparkle Effect */
.sparkle {
    position: fixed;
    pointer-events: none;
    background: gold;
    border-radius: 50%;
    z-index: 9999;
    animation: sparkle-anim 1s ease-out forwards;
}

@keyframes sparkle-anim {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0;
    }
}

/* Sidebar Advice Refine */
.sidebar {
  position: sticky !important;
  top: calc(var(--nav-height) + 2rem);
  height: fit-content;
  align-self: start;
}

.sidebar-widget.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #fed7aa;
    padding: 0.6rem;
    border-radius: 20px;
}

.one-point-advice {
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    background: #fff;
    text-align: center;
}

.advice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--luck-orange-dark);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #fdba74;
}

.advice-header i {
    color: #f59e0b;
}

.advice-content {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #431407;
}

.advice-content span {
    color: var(--luck-orange);
    font-weight: 800;
    background: linear-gradient(transparent 70%, #ffedd5 70%);
}

.btn-simple {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid #cbd5e1;
    border-radius: 50px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-simple:hover {
    border-color: var(--luck-orange);
    color: var(--luck-orange);
    background: var(--luck-orange-light);
    transform: translateY(-2px);
}
