:root {
    --bg-color: #050505;
    --card-bg: rgba(22, 22, 26, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f0f0f0;
    --text-secondary: #9ea4b0;
    --accent-primary: #6366f1;
    --accent-secondary: #c084fc;
    --gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --radius: 24px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

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

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    padding-bottom: 100px;
}

.session-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.session-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(26, 26, 30, 0.8);
}

.card-header .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header .date {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.icon-faded {
    color: var(--text-secondary);
    opacity: 0.5;
}

.card-header h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlights {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2.5rem;
}

.highlights li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.4;
}

.highlights li i {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
    width: fit-content;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Detail View */
.detail-view {
    padding-top: 60px;
    padding-bottom: 100px;
}

.detail-header {
    margin-bottom: 60px;
}

.badges {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.badge {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-blue {
    background: #2563eb;
    color: white;
}

.session-id {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.detail-header h1 {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.meta-row {
    display: flex;
    gap: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.meta-item i {
    width: 18px;
    height: 18px;
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
}

.section-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-title .decorator {
    width: 40px;
    height: 4px;
    background: var(--accent-secondary);
    border-radius: 2px;
}

.section-title h2 {
    font-size: 2rem;
}

.prose {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.7;
}

.prose p {
    margin-bottom: 1.5rem;
}

.overview-section {
    margin-bottom: 80px;
}

.decisions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.decision-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

.decision-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

.status-pritarta {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-svarstoma {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-pending {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.decision-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.decision-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

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

.participants-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.participants-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.p-info {
    display: flex;
    flex-direction: column;
}

.p-info .name {
    font-weight: 700;
    font-size: 0.95rem;
}

.p-info .role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-more {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.docs-list {
    list-style: none;
}

.docs-list li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background 0.3s;
}

.docs-list li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 240px;
}

.sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.6);
}

.image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    white-space: nowrap;
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .hero h1, .detail-header h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    .grid, .decisions-grid {
        grid-template-columns: 1fr;
    }
}
