/* General Styling */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #1c1e21;
    line-height: 1.6;
}
.container {
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}
a {
    color: #1877f2;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
    color: #d10000;
}

/* Header */
header {
    background: #d10000;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 4px solid #a80000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
}
header nav a {
    color: #fff;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.2s;
}
header nav a:hover {
    background-color: rgba(255,255,255,0.2);
    text-decoration: none;
}

/* Main Content */
main {
    padding: 20px 0;
}
.block-title {
    background: linear-gradient(to right, #0056b3, #007bff);
    color: white;
    padding: 12px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

/* Table Styling */
.kqxs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    overflow: hidden; /* Important for border-radius on tables */
}
.kqxs-table th, .kqxs-table td {
    border: 1px solid #e9ebee;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}
.kqxs-table thead th {
    background-color: #f0f2f5;
    font-weight: bold;
    color: #606770;
}
.kqxs-table .prize-name {
    font-weight: bold;
    background-color: #f5f6f7;
    width: 120px;
    color: #333;
}
.kqxs-table .prize-number {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1c1e21;
    letter-spacing: 1px;
}
.kqxs-table .prize-number span,
.kqxs-table .prize-number div {
    display: inline-block;
    margin: 0 10px;
}
.giai-db {
    font-size: 2.2rem !important;
    color: #d10000 !important;
    font-weight: 900 !important;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 30px;
}

/* Realtime Blinker Animation */
@keyframes blinker {
  50% { background-color: #fffde7; }
}

/* Page Specific Titles */
h1 {
    text-align: center;
    color: #333;
    font-size: 2rem;
}