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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --accent: #fbbf24;
    --success: #10b981;
    --warning: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
    color: var(--text-primary);
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tags {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

header pre {
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    overflow-x: auto;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-top: 1rem;
}

/* Section Styles */
section {
    padding: 3rem 0;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

section h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--secondary-color);
}

section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Safety Notice */
.safety-notice {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    margin: 2rem 0;
}

.safety-notice h3 {
    color: var(--success);
    margin-bottom: 1rem;
}

.safety-notice ul {
    list-style: none;
    padding-left: 0;
}

.safety-notice li {
    padding: 0.75rem 0;
    border-left: 4px solid var(--success);
    padding-left: 1rem;
    margin: 0.5rem 0;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 5px;
}

.safety-notice strong {
    color: var(--text-primary);
}

/* List Cards */
.list-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.list-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.list-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.group-url {
    font-family: 'Courier New', monospace;
    margin-bottom: 1rem;
}

.group-url a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.group-url a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Safe Score */
.safe-score {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--success);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--success);
}

.safe-score .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

/* Reviews Section */
.group-reviews {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

.group-reviews h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review {
    background: rgba(236, 72, 153, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.review blockquote {
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
    border: none;
}

.disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.faq h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
}

.faq h4:first-child {
    margin-top: 0;
}

.faq p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--light-bg);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-color);
}

footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

footer em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

footer time {
    color: var(--accent);
    font-weight: 500;
}

/* Note/Alert Box */
.note {
    background: rgba(251, 191, 36, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.6rem;
    }

    .list-card {
        padding: 1.5rem;
    }

    .safety-notice {
        padding: 1.5rem;
    }

    .faq {
        padding: 1.5rem;
    }

    header pre {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.4rem;
    }

    .list-card h3 {
        font-size: 1.2rem;
    }

    .list-card {
        padding: 1rem;
    }
}