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

:root {
    --primary-color: #ff0055;
    --secondary-color: #00ff88;
    --background-color: #121212;
    --text-color: #ffffff;
    --card-color: #1e1e1e;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.8;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-elements .spot {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.2;
}

.floating-elements .spot:nth-child(2) {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    animation-delay: 5s;
    animation-duration: 25s;
}

.floating-elements .spot:nth-child(3) {
    top: 60%;
    left: 80%;
    width: 250px;
    height: 250px;
    animation-delay: 10s;
    animation-duration: 30s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-1200px) rotate(360deg);
    }
}

/* Article Page Specific Styles from ED */
.article-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: var(--card-color);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.article-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.article-content h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 255, 136, 0.3);
    padding-bottom: 10px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.article-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-content ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.article-content ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.article-content strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 85, 0.4);
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.6);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

@media (max-width: 768px) {
    .article-container {
        margin: 30px auto;
        padding: 25px;
    }

    .article-title {
        font-size: 2.5rem;
    }

    .article-content h2 {
        font-size: 1.8rem;
    }

    .article-content p,
    .article-content ul li {
        font-size: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}