body {
    background-color: var(--page-bg, #0e1724);
}

.events-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3.5rem;
    color: var(--text-color, #f3f6fb);
}

.events-container h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.events-container h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
}

.events-container h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.section-intro p,
.meta-guidance p,
.usage-notes p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.alert-note {
    background: rgba(255, 200, 80, 0.1);
    border: 1px solid rgba(255, 200, 80, 0.4);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

.field-table,
.event-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
    background: rgba(10, 16, 28, 0.35);
    border-radius: 12px;
    overflow: hidden;
}

.field-table thead,
.event-table thead {
    background: rgba(64, 119, 255, 0.08);
}

.field-table th,
.field-table td,
.event-table th,
.event-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.field-table th,
.event-table th {
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.field-table tbody tr:last-child td,
.event-table tbody tr:last-child td {
    border-bottom: none;
}

.field-table code,
.event-table code,
.platform-card code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    font-size: 0.92rem;
}

.platform-card {
    background: rgba(8, 14, 26, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.75rem 1.5rem 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.platform-card .source-note {
    font-size: 0.9rem;
    color: rgba(225, 232, 255, 0.72);
    margin-bottom: 0.65rem;
}

.platform-card .requirements {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
    line-height: 1.6;
}

.platform-card .requirements li {
    margin: 0.2rem 0;
}

.platform-card .field-highlights {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(225, 232, 255, 0.78);
}

.event-table .status-event {
    color: #4ec1ff;
    font-weight: 600;
}

.event-table .donation-event {
    color: #ff8bb5;
    font-weight: 600;
}

.event-table .membership-event {
    color: #8fffb8;
    font-weight: 600;
}

.meta-guidance ul,
.usage-notes ul {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}

.meta-guidance li,
.usage-notes li {
    margin: 0.35rem 0;
}

@media (max-width: 900px) {
    .events-container {
        padding: 2rem 1rem 3rem;
    }

    .field-table th,
    .field-table td,
    .event-table th,
    .event-table td {
        padding: 0.75rem 0.8rem;
    }

    .platform-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .events-container h1 {
        font-size: 1.9rem;
    }

    .events-container h2 {
        font-size: 1.4rem;
    }

    .events-container h3 {
        font-size: 1.15rem;
    }

    .event-table,
    .field-table {
        font-size: 0.88rem;
    }
}
