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

body {
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #403b1f, #27270f);
}

body::before, body::after {
    content: "";
    position: fixed;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    z-index: -1;
}

body::before {
    top: -100px;
    left: -100px;
}

body::after {
    bottom: -120px;
    right: -120px;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 30px 20px;
}

.navbar {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.navbar .logo {
    font-size: 1.6rem;
    font-weight: bold;
}

.navbar nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    opacity: 0.8;
    font-weight: 500;
}

.navbar nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.card {
    background: rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 14px;
    text-align: center;
}

th {
    background: rgba(255,255,255,0.2);
}

tr:nth-child(even) {
    background: rgba(255,255,255,0.05);
}

.place-1 { color: gold; font-weight: bold; }
.place-2 { color: silver; font-weight: bold; }
.place-3 { color: #cd7f32; font-weight: bold; }

footer {
    text-align: center;
    opacity: 0.6;
    margin-top: 40px;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

.quiz-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quiz-card {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.quiz-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.18);
}

.quiz-date {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.quiz-info {
    opacity: 0.9;
    line-height: 1.5;
}
