/* Page Specific CSS for Bright Future */

:root {
    --future-blue: #3b82f6;
    --future-blue-light: #f0f9ff;
    --future-blue-dark: #1d4ed8;
    --future-pink: #db2777;
    --future-pink-light: #fdf2f8;
}

/* Luck Aura & Clouds Background */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.cloud-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: white;
    filter: blur(40px);
    border-radius: 50%;
    opacity: 0.5;
    animation: flow linear infinite;
}

@keyframes flow {
    from { transform: translateX(-200px); }
    to { transform: translateX(100vw); }
}

/* Hero Parallax Elements */
.hero-parallax-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.parallax-sun {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #fde68a 0%, #f59e0b 100%);
    border-radius: 50%;
    filter: blur(10px);
    box-shadow: 0 0 50px rgba(245, 158, 11, 0.4);
    transition: transform 0.1s ease-out;
}

.parallax-horizon {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transition: transform 0.1s ease-out;
}

.hero-header {
    text-align: center;
    padding: 6rem 1rem 4rem;
    position: relative;
    z-index: 1;
}

.category-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--future-blue-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(59, 130, 246, 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(--future-blue) 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(--future-blue), #60a5fa);
    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;
}

/* Sub-headings Premium Style */
.gradient-text-sub {
    background: linear-gradient(135deg, var(--future-blue), #60a5fa);
    -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(--future-blue), #60a5fa);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.gradient-text-sub::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(to right, var(--future-blue), transparent);
    opacity: 0.3;
}

/* Quote Box */
.quote-box {
    background: #fffbeb;
    border-left: 5px solid #fbbf24;
    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);
}

.quote-author {
    font-size: 1rem;
    font-weight: normal;
    color: #64748b;
}

/* Question Box & Rain Widget */
.question-box {
    background: var(--future-blue-light);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 4rem 0;
    border: 1px solid #bae6fd;
    text-align: center;
}

.question-box h3 {
    color: #0284c7;
    margin-bottom: 1.5rem;
}

.choices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.choice-btn {
    background: white;
    border: 2px solid #e0f2fe;
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
}

.choice-btn:hover {
    border-color: #3b82f6 !important;
    background: #f0f9ff !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.choice-btn .emoji {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

#rain-feedback {
    margin-top: 2rem;
    font-weight: 700;
    color: #0369a1;
    min-height: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Law-style list for benefits */
.benefit-list-box {
    border-left: 5px solid #60a5fa;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 0 20px 20px 0;
    margin: 3rem 0;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #334155;
}

.benefit-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #60a5fa;
}

/* Transform Section */
.transform-section {
    background: var(--future-pink-light);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.transform-section h3 {
    color: var(--future-pink);
    margin-bottom: 1rem;
}

.transform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

.transform-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    perspective: 1000px;
    min-height: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.transform-card.active .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.flip-back {
    transform: rotateY(180deg);
    color: var(--future-pink);
    font-weight: bold;
}

.flip-front i {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Rainbow Particle Effect */
.rainbow-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    animation: rainbow-pop linear forwards;
}

@keyframes rainbow-pop {
    0% { transform: scale(0) translate(0, 0); opacity: 1; }
    100% { transform: scale(1) translate(var(--tx), var(--ty)); opacity: 0; }
}

.transform-card:hover {
    border-color: #f472b6;
    transform: translateY(-5px);
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* 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 #bae6fd;
    padding: 0.6rem;
    border-radius: 20px;
}

.one-point-advice {
    border: 1px solid #7dd3fc;
    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: #0369a1;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed #7dd3fc;
}

.advice-header i {
    color: #3b82f6;
}

.advice-content {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #0c4a6e;
}

.advice-content span {
    color: var(--future-blue-dark);
    font-weight: 800;
    background: linear-gradient(transparent 70%, #e0f2fe 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(--future-blue);
    color: var(--future-blue);
    background: var(--future-blue-light);
    transform: translateY(-2px);
}
