/* === BASE BACKGROUND STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #0a0a0f;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e8;
    line-height: 1.6;
}

/* BACKGROUND ELEMENTS */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* PARTICLES */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    animation: float linear infinite;
}

.particle:nth-child(1) { width: 3px; height: 3px; left: 10%; top: 20%; animation-duration: 8s; animation-delay: 0s; }
.particle:nth-child(2) { width: 2px; height: 2px; left: 60%; top: 80%; animation-duration: 12s; animation-delay: 2s; }
.particle:nth-child(3) { width: 4px; height: 4px; left: 80%; top: 30%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { width: 2px; height: 2px; left: 30%; top: 60%; animation-duration: 15s; animation-delay: 1s; }
.particle:nth-child(5) { width: 3px; height: 3px; left: 90%; top: 70%; animation-duration: 9s; animation-delay: 3s; }
.particle:nth-child(6) { width: 2px; height: 2px; left: 15%; top: 90%; animation-duration: 11s; animation-delay: 5s; }
.particle:nth-child(7) { width: 4px; height: 4px; left: 70%; top: 15%; animation-duration: 13s; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 3px; height: 3px; left: 45%; top: 40%; animation-duration: 14s; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* ACCENT LINES */
.accent-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    height: 1px;
    width: 100%;
    animation: lineMove 8s ease-in-out infinite;
}

.accent-line:nth-child(1) { top: 30%; animation-delay: 0s; }
.accent-line:nth-child(2) { top: 70%; animation-delay: 4s; }

@keyframes lineMove {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* === MAIN CONTENT === */
.content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 100px auto;
    background: rgba(20, 20, 35, 0.6);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #a5b4fc;
}

h2 {
    color: #c7d2fe;
    margin-top: 20px;
    font-size: 1.4rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding-bottom: 6px;
}

p, li {
    font-size: 1rem;
    margin-top: 10px;
    color: #d4d4d8;
}

ul {
    list-style-type: disc;
    padding-left: 25px;
}

strong { color: #a5b4fc; }
