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

:root {
    --bg-color: #0c0714;
    --card-bg: rgba(22, 13, 34, 0.6);
    --border-color: rgba(169, 88, 255, 0.2);
    --primary: #A958FF; /* Cosmic Purple */
    --accent: #57F287;  /* Kindness Green */
    --text-primary: #f5f0fa;
    --text-secondary: #c2b5d2;
    --shadow: 0 8px 32px 0 rgba(169, 88, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas */
canvas#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-container {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
    animation: float 4s ease-in-out infinite;
}

.soul {
    font-size: 3rem;
    color: var(--accent);
    filter: drop-shadow(0 0 15px var(--accent));
    display: inline-block;
    transition: transform 0.3s ease;
}

.soul:hover {
    transform: scale(1.2) rotate(15deg);
    color: var(--primary);
    filter: drop-shadow(0 0 20px var(--primary));
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Search Bar */
.search-container {
    position: relative;
    margin-bottom: 40px;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(169, 88, 255, 0.25);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-secondary);
    pointer-events: none;
}

/* Card layout */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.last-updated {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
    display: inline-block;
    border-bottom: 1px solid rgba(87, 242, 135, 0.2);
    padding-bottom: 4px;
}

/* Legal Sections */
.section {
    margin-bottom: 35px;
    transition: all 0.3s ease;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.3s ease;
}

.section-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 300;
}

.section-content p {
    margin-bottom: 15px;
}

.section-content ul {
    list-style: none;
    padding-left: 10px;
    margin-bottom: 15px;
}

.section-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.section-content li::before {
    content: "💚";
    position: absolute;
    left: 0;
    font-size: 0.75rem;
    top: 3px;
}

/* Highlights */
.highlight {
    background: rgba(169, 88, 255, 0.1);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(169, 88, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

.footer-links a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 40px auto;
    }
    .card {
        padding: 24px;
    }
    h1 {
        font-size: 2.2rem;
    }
}
