/* Base elements, section titles, and shared buttons */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #020617;
    color: #e5e7eb;
    cursor: none;
}

button, a {
    cursor: none;
}

* {
    cursor: none !important;
}

/* soften background only on specific pages */
.page-soft #particles-js {
    filter: blur(2px);
    opacity: 0.5;
}

.page-soft .icon {
    filter: blur(2.5px) drop-shadow(0 0 4px #38bdf8);
    opacity: 0.30;
    transform: scale(0.7);
}

/* Sections & Titles */
section {
    padding: 60px;
    max-width: 1000px;
    margin: auto;
}

.section-header {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 50px;

    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 🔥 LEFT aligned */

    position: relative;
}

/* TITLE */
.section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #38bdf8;

    text-shadow:
        0 0 10px rgba(56,189,248,0.4),
        0 0 20px rgba(56,189,248,0.2);
}

/* LINE UNDER TITLE */
.section-line {
    width: 120px;
    height: 3px;
    margin-top: 10px;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #a78bfa,
        transparent
    );

    box-shadow:
        0 0 10px #38bdf8,
        0 0 20px rgba(167,139,250,0.4);

    animation: sectionPulse 2s infinite;
}

@keyframes sectionPulse {
    0% { opacity: 0.6; width: 80px; }
    50% { opacity: 1; width: 140px; }
    100% { opacity: 0.6; width: 80px; }
}

.title-wrapper {
    display: inline-block;
    padding: 10px 25px;
    margin-bottom: 40px;

    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);

    border-radius: 10px;

    border: 1px solid rgba(56, 189, 248, 0.2);

    box-shadow:
        0 0 10px rgba(56,189,248,0.2),
        inset 0 0 10px rgba(56,189,248,0.1);
}

.title-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;

    background: linear-gradient(90deg, transparent, #38bdf8, transparent);

    opacity: 0;
    animation: titleScan 4s infinite;
}

@keyframes titleScan {
    0% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 0.4; }
    100% { opacity: 0; transform: translateX(100%); }
}

