@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #00d4ff;
    text-align: center;
    margin: 40px 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: glowPulse 4s infinite alternate;
}

@keyframes glowPulse {
    0% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
    100% { text-shadow: 0 0 40px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.4); }
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #1a2338 0%, #0f172a 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.warning {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.warning h2 {
    color: #f87171;
    margin-top: 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
    animation: cardAppear 0.8s ease-out forwards;
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.staff-grid .card:nth-child(1) { animation-delay: 0.1s; }
.staff-grid .card:nth-child(2) { animation-delay: 0.2s; }
.staff-grid .card:nth-child(3) { animation-delay: 0.3s; }
.staff-grid .card:nth-child(4) { animation-delay: 0.4s; }
.staff-grid .card:nth-child(5) { animation-delay: 0.5s; }

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.card h3 {
    margin: 15px 20px 5px;
    font-size: 1.4rem;
}

.role {
    margin: 0 20px 15px;
    color: #94a3b8;
}

.tg-link {
    display: block;
    margin: 0 20px 20px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.tg-link:hover {
    color: #00ffaa;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
    display: flex;
}

.modal-content {
    background: #1e293b;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    transform: scale(0.7);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.close:hover {
    color: #fff;
    transform: rotate(90deg);
}

#modal-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

#modal-name {
    margin: 15px 0 10px;
    font-size: 2rem;
}

#modal-role {
    color: #94a3b8;
    margin-bottom: 30px;
}

.tg-button {
    display: inline-block;
    background: #00d4ff;
    color: #0f172a;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    animation: buttonPulse 2s infinite;
}

.tg-button:hover {
    background: #00ffaa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 170, 0.4);
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.7); }
}