@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #000409;
    --bg-gradient: linear-gradient(135deg, #010a1f 0%, #000000 100%);
    --accent-red: #0088ff;
    --accent-gradient: linear-gradient(90deg, #0088ff 0%, #00ffff 100%);
    --accent-pink: #00ffff;
    --surface: #030a12;
    --surface-border: #0e1f3b;
    --text-main: #f5f5f5;
    --text-muted: #a39595;
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.circle-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    object-fit: cover;
}

.circle-logo:hover {
    transform: scale(1.15) rotate(15deg);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), 0 0 35px rgba(0, 255, 255, 0.4);
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-red);
}

/* Main Container */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 15px;
}

/* Card Component */
.verify-card {
    background: rgba(18, 3, 3, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 136, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.verify-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.icon-globe {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 10px;
}

.card-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Inputs & Buttons */
.input-group {
    margin-bottom: 15px;
}

.input-field {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align: center;
}

.input-field:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.3);
}

.btn {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--surface-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752C4;
}

.checkbox-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-group input {
    accent-color: var(--accent-pink);
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.checkbox-group a {
    color: var(--accent-red);
    text-decoration: none;
}

.small-btn-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-small {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
}

.contact-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-text a {
    color: var(--accent-red);
    text-decoration: none;
}

/* Steps Loader UI */
.steps-container {
    display: none;
}

.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-muted);
    position: relative;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.dot.completed {
    background: #00e676;
    color: #121212;
}

.dot-connector {
    height: 2px;
    width: 15px;
    background: rgba(255, 255, 255, 0.1);
}

.step-info {
    text-align: center;
    margin-bottom: 20px;
}

.step-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-info p {
    color: var(--accent-pink);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    transition: width 0.3s linear;
}

.timer-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.tip-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Success UI */
.success-container {
    display: none;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00e676, #00b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.expires-box {
    background: rgba(0, 136, 255, 0.1);
    border: 1px solid var(--accent-red);
    padding: 10px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: bold;
    color: #ffcccc;
}

/* Social Share in Tool */
.social-share-tool {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
}

.share-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15);
}

.share-whatsapp {
    background: #25D366 !important;
}

.share-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.share-facebook {
    background: #1877F2 !important;
}

.share-x {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.share-telegram {
    background: #0088cc !important;
}

/* Content Sections */
.content-section {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.content-heading {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    background: linear-gradient(90deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: fit-content;
}

.content-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.hook-box {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.08) 0%, rgba(0, 0, 0, 0.6) 100%);
    border: 1px solid rgba(255, 51, 51, 0.35);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 35px;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.1), inset 0 0 15px rgba(255, 51, 51, 0.05);
    position: relative;
    overflow: hidden;
    animation: border-pulse 3s infinite alternate;
}

@keyframes border-pulse {
    0% { border-color: rgba(255, 51, 51, 0.35); box-shadow: 0 0 15px rgba(255, 51, 51, 0.1); }
    100% { border-color: rgba(255, 51, 51, 0.6); box-shadow: 0 0 25px rgba(255, 51, 51, 0.25); }
}

.hook-tag {
    font-family: monospace;
    background: #ff3333;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.hook-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #fca5a5;
}

.hook-text strong {
    color: #ff5555;
    text-shadow: 0 0 8px rgba(255, 85, 85, 0.3);
}

.article-box {
    background: linear-gradient(135deg, rgba(8, 24, 58, 0.5) 0%, rgba(4, 8, 20, 0.75) 50%, rgba(30, 8, 48, 0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 4px solid #00ffff;
    border-right: 1px solid rgba(0, 136, 255, 0.15);
    border-top: 1px solid rgba(0, 136, 255, 0.15);
    border-bottom: 1px solid rgba(0, 136, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 35px;
    line-height: 1.7;
    color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 255, 255, 0.03), inset 0 0 20px rgba(0, 255, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.article-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 136, 255, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.article-box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.35);
    border-left-color: #00ff66;
    background: linear-gradient(135deg, rgba(12, 36, 88, 0.7) 0%, rgba(6, 12, 30, 0.85) 50%, rgba(46, 12, 72, 0.7) 100%);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.12), 0 0 30px rgba(99, 102, 241, 0.08), inset 0 0 25px rgba(0, 255, 255, 0.05);
}

.article-box.glow {
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.12), 0 0 50px rgba(99, 102, 241, 0.06), inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.article-box h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #00ffff 0%, #0088ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.article-box h3::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    display: inline-block;
    transition: transform 0.3s ease;
}

.article-box:hover h3::before {
    transform: scale(1.15) rotate(-10deg);
    color: #00ff66;
}

#overview h3::before {
    content: "\f05a"; /* fa-info-circle */
}

#how-it-works h3::before {
    content: "\f085"; /* fa-cogs */
}

#features h3::before {
    content: "\f005"; /* fa-star */
}

#benefits h3::before {
    content: "\f560"; /* fa-check-double */
}

#why-prefer h3::before {
    content: "\f004"; /* fa-heart */
}

.article-box h3:first-child {
    margin-top: 0;
}

/* Toggles / Accordion */
.accordion {
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.7) 0%, rgba(3, 1, 1, 0.95) 60%, rgba(35, 8, 8, 0.6) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.accordion:hover {
    border-color: rgba(255, 51, 51, 0.4);
    box-shadow: 0 8px 32px rgba(255, 51, 51, 0.08);
}

.accordion-header {
    padding: 18px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, rgba(255, 51, 51, 0.05) 0%, rgba(255, 51, 51, 0.02) 100%);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 51, 51, 0.12);
    color: #ff5555;
}

.accordion-header i {
    color: #ff3333;
    transition: transform 0.3s ease;
}

.accordion.active {
    border-color: rgba(255, 51, 51, 0.45);
}

.accordion.active .accordion-header i {
    transform: rotate(180deg);
    color: #ff5555;
}

/* Red and Black Gradient Override for Overview Section */
#overview {
    background: linear-gradient(135deg, rgba(20, 5, 5, 0.6) 0%, rgba(3, 1, 1, 0.85) 60%, rgba(35, 8, 8, 0.6) 100%);
    border-left: 4px solid #ff3333;
    border-right: 1px solid rgba(255, 51, 51, 0.15);
    border-top: 1px solid rgba(255, 51, 51, 0.15);
    border-bottom: 1px solid rgba(255, 51, 51, 0.15);
}

#overview:hover {
    background: linear-gradient(135deg, rgba(30, 8, 8, 0.7) 0%, rgba(5, 2, 2, 0.9) 60%, rgba(55, 12, 12, 0.7) 100%);
    border-color: rgba(255, 51, 51, 0.35);
    border-left-color: #ff5555;
    box-shadow: 0 15px 40px rgba(255, 51, 51, 0.12), inset 0 0 25px rgba(255, 51, 51, 0.05);
}

#overview h3 {
    background: linear-gradient(90deg, #ff8888 0%, #ff3333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#overview h3::before {
    color: #ff3333;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
}

#overview:hover h3::before {
    color: #ff5555;
}

.accordion-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), padding 0.4s ease;
    color: #cbd5e1;
    line-height: 1.7;
}

.accordion.active .accordion-content {
    padding: 20px 24px;
    max-height: 800px;
}

.accordion-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    padding-top: 5px !important;
}

.accordion-content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.accordion-content li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-size: 0.8rem;
    top: 2px;
    transition: transform 0.2s;
}

.accordion-content li:hover::before {
    transform: translateX(4px) scale(1.2);
}

.accordion-content a {
    color: #e2e8f0 !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-block;
}

.accordion-content a:hover {
    color: #00ffff !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Ending Text */
.ending-text {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 60px 0 25px;
    background: linear-gradient(90deg, #00ffff 0%, #0088ff 50%, #00ffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Footer */
footer {
    background: linear-gradient(180deg, #020000 0%, #1c0505 50%, #000000 100%);
    border-top: 2px solid rgba(255, 51, 51, 0.35);
    padding: 40px 5% 20px;
    box-shadow: 0 -10px 30px rgba(255, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ff3333;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
}

.footer-social-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-wrap .share-btn {
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-social-wrap .share-btn:hover {
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.5);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #777;
    font-size: 0.9rem;
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Enhanced Features Grid & Glow Effects */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    position: relative;
    padding-left: 35px;
    margin-top: 30px;
}

/* Glowing central tree branch trunk line */
.features-grid::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    background: linear-gradient(to bottom, #00ffff, #0088ff, #6366f1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.feature-card {
    background: linear-gradient(135deg, rgba(8, 24, 58, 0.5) 0%, rgba(4, 8, 20, 0.75) 50%, rgba(30, 8, 48, 0.5) 100%);
    border: 1px solid rgba(0, 136, 255, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: 15px;
    text-align: left;
}

/* The branch connector line */
.feature-card::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 50%;
    width: 50px;
    height: 2px;
    background: transparent;
    border-top: 2px dashed rgba(0, 255, 255, 0.4);
    pointer-events: none;
}

/* The node on the main trunk */
.feature-card::after {
    content: '';
    position: absolute;
    left: -56px;
    top: calc(50% - 6px);
    width: 12px;
    height: 12px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 12px #00ffff;
    transition: all 0.3s ease;
    animation: node-pulse 2.5s infinite;
}

.feature-card:hover {
    transform: translateX(10px);
    border-color: #00ffff;
    box-shadow: 0 12px 30px rgba(0, 255, 255, 0.12);
}

.feature-card:hover::after {
    background: #00ff66;
    box-shadow: 0 0 15px #00ff66;
    transform: scale(1.3);
}

.icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #fff;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

.icon-wrap::after {
    content: '';
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0088ff);
    filter: blur(6px);
    z-index: -1;
    opacity: 0.5;
}

.feature-card:hover .icon-wrap {
    transform: scale(1.1) rotate(15deg);
}

.feature-card-content {
    display: flex;
    flex-direction: column;
}

.feature-card h4 {
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.15rem;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Red Background Gradient Ending Box Style */
.ending-box {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.65) 0%, rgba(63, 0, 0, 0.85) 50%, rgba(184, 15, 10, 0.55) 100%);
    border: 1px solid rgba(255, 51, 51, 0.25);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 50px auto 30px;
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(255, 0, 0, 0.15), inset 0 0 20px rgba(255, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.ending-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 51, 51, 0.45);
    box-shadow: 0 20px 45px rgba(255, 0, 0, 0.25), inset 0 0 25px rgba(255, 0, 0, 0.08);
}

.ending-heading {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff9999 0%, #ff3333 50%, #ff9999 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    animation: shine 4s linear infinite;
}

.ending-desc {
    color: #fca5a5;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ending-desc:last-child {
    margin-bottom: 0;
}

.font-bold {
    font-weight: 600;
    color: #fff;
}

/* Tree Branch Lists */
.tree-list {
    list-style: none;
    padding-left: 10px;
    position: relative;
    margin-top: 25px;
}

.tree-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, #00ffff, #0088ff);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.tree-list li {
    font-size: 1rem;
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
    color: #e2e8f0;
    line-height: 1.6;
}

.tree-list li::before {
    display: none;
}

.tree-list li::after {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 12px #00ffff;
    transition: all 0.3s ease;
    animation: node-pulse 2s infinite;
}

@keyframes node-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 255, 0);
    }
}

.tree-list li:hover::after {
    background: #00ff66;
    box-shadow: 0 0 15px #00ff66;
    transform: scale(1.2);
}

.tree-list li:last-child {
    margin-bottom: 0;
}

.tree-list li strong {
    color: #00ffff;
    font-weight: 600;
}