* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container h2 {
    font-size: 1.5em;
}

.btn-admin {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.btn-admin:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1em;
    opacity: 0.9;
}

.main-container {
    max-width: 1400px;
    margin: -40px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 10;
}

.filter-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
}

#searchInput {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s;
}

#searchInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#filterTingkat {
    padding: 15px 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 200px;
}

#filterTingkat:focus {
    outline: none;
    border-color: #667eea;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.prestasi-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.prestasi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.juara-badge {
    background: rgba(255,255,255,0.9);
    color: #667eea;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
}

.tingkat-badge {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.nama-tim {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.info-row {
    display: grid;
    grid-template-columns: 30px 120px 1fr;
    gap: 10px;
    margin-bottom: 15px;
    align-items: start;
}

.info-row .icon {
    font-size: 1.2em;
}

.info-row .label {
    color: #666;
    font-weight: 600;
    font-size: 0.9em;
}

.info-row .value {
    color: #333;
    line-height: 1.5;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 5em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.no-results p {
    color: #666;
    font-size: 1.1em;
}

footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-section {
        grid-template-columns: 1fr;
    }

    #filterTingkat {
        width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: 30px 100px 1fr;
        gap: 8px;
    }

    .info-row .label {
        font-size: 0.85em;
    }

    .info-row .value {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .nav-container h2 {
        font-size: 1.2em;
    }

    .btn-admin {
        padding: 8px 18px;
        font-size: 0.9em;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .stat-number {
        font-size: 2em;
    }

    .stat-label {
        font-size: 0.9em;
    }

    .nama-tim {
        font-size: 1.1em;
    }
}
