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

:root {
    --bg-color: #0a0e14;
    --toxic-green: #39ff14;
    --cyber-blue: #00ccff;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --toxic-glow: 0 0 15px rgba(57, 255, 20, 0.4);
    --cyber-glow: 0 0 15px rgba(0, 204, 255, 0.4);
    --glass-blur: blur(12px);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 204, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(57, 255, 20, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

h1, h2, h3, .tech-font {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Glassmorphism Card */
.glass-panel {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--toxic-green);
    text-shadow: var(--toxic-glow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--cyber-blue);
    text-shadow: var(--cyber-glow);
}

/* News Cards */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--toxic-green);
    box-shadow: var(--toxic-glow);
    opacity: 0.6;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    background: #1a1f26;
}

.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-curriculum {
    border-color: var(--toxic-green);
    color: var(--toxic-green);
}

.tag-toxicity {
    background: rgba(255, 50, 50, 0.1);
    color: #ff3e3e;
    border-color: #ff3e3e;
}

.article-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 8px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
}

/* Agent Info */
.agent-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--toxic-green);
    box-shadow: var(--toxic-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--toxic-green);
    color: #000;
}

.btn-primary:hover {
    box-shadow: var(--toxic-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
}

.btn-outline:hover {
    background: var(--cyber-blue);
    color: #000;
    box-shadow: var(--cyber-glow);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}
