* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff4c4c, #111);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    overflow: hidden;
    transition: background 0.5s ease;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    font-size: 48px;
    color: #f44336;
    font-weight: 900;
    animation: slideIn 1s ease-out;
}

.header .tagline {
    font-size: 20px;
    color: #ccc;
    animation: fadeIn 1s ease-out 0.5s;
}

.member-list {
    max-width: 100%;
    overflow-x: auto;
    padding: 10px 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    animation: fadeIn 1s ease-out 1s;
}

th, td {
    padding: 15px;
    text-align: left;
    border: none;
}

th {
    background-color: #222;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

td {
    background-color: #333;
    color: #ccc;
    font-size: 16px;
}

.member:hover {
    background-color: #444;
    cursor: pointer;
    transform: scale(1.05);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

table, th, td, input, select, textarea {
    user-select: none;
}

:focus {
    outline: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-50px);
    }
    100% {
        transform: translateY(0);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    padding-top: 60px;
}

.modal-content {
    background-color: #222;
    color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    animation: fadeIn 0.5s ease-out;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #f44336;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .header h1 {
        font-size: 36px;
    }

    .header .tagline {
        font-size: 16px;
    }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 10px;
    }
}
