body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; 
    padding: 0; 
    background-color: #f4f4f4; 
    overflow-x: hidden;
    display: flex;
    width: 100%;
    flex-direction: column;
    min-height: 100vh;
}
.container {
            width: 250px;
            height: 50px;
            overflow: hidden;
            position: relative;
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
        }
        .animated-text {
            position: absolute;
            white-space: nowrap;
            font-size: 24px;
            font-weight: bold;
            color: #333;
            animation: slide 25s infinite linear;
        }
        @keyframes slide {
            0% {
                transform: translateX(-100%);
            }
            100% {
                transform: translateX(100%);
            }
        }
        .animated-text:hover {
            animation-play-state: paused;
        }
main {
    opacity: 1;
    align-items: center;
    transition: opacity 1s ease-in-out; 
    margin-top: 50px; 
    padding: 20px;
    flex: 1;
    width: 97%;
    max-width: 100%;
}

nav { 
    background: rgba(5, 4, 4, 0.151);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 20px;
    position: fixed; 
    top: 0;
    width: 100%; 
    z-index: 10; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative; 
}

/* Indikator login pada border bottom nav utama */
.container-warpper {
    display: flex;
    max-width: 100%;
    gap: 20px;
    align-items: flex-start;
    background-color: #2989c9;
    width: 100%;
    padding: 10px;
}

.wrap {
    background: rgba(247, 247, 247, 0.726);
    padding: 40px;
    align-items: flex-start;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(48, 45, 45, 0.6);
    width: 90px;
    height: 300px; /* Diperbaiki: Dari fixed 300px ke auto agar fit content */
    text-align: center;
    /* justify-content: space-between; dihapus karena .wrap bukan flex container */
    flex: 1; 
    max-width: 100%;
    transition: padding 0.4s ease;
}

.wrap:hover {
    padding: 50px 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1px;
}

.nav-logo {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-text {
    color: #333;
    font-weight: 600;
    font-size: 1.5em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.nav-right {
    display: flex;
    gap: 0.5px;
    align-items: center;
    margin-right: 30px;
}

nav a { 
    text-decoration: none; /* Diperbaiki: 'solid none' tidak valid, cukup 'none' */
    background-color: #918f8f4b;
    color: #333;
    font-weight: 500;
    padding: 3% 15px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: rgba(129, 128, 125, 0.185) 2px solid;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(40deg, transparent, rgba(0, 123, 255, 0.2), transparent);
    transition: left 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover { 
    padding: 15px 20px;
    border-bottom: #007bff solid 5px;
}

nav a.active { 
    background: rgba(0, 123, 255, 0.2);
    color: #007bff; 
    border-bottom: #007bff solid 2px;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.2);
}

.warpper {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

button, input[type="button"], .btn {
    background-color: #6d6d6d;
    color: #fffdfd;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

input[type="button"]:hover {
    background-color: #555555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#logo {
    width: 150px;
    height: auto;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    margin-bottom: 20px;
}

#text_walikelas {
    font-weight: bold;
    color: #28a745;
}

#text_pengurus {
    font-weight: bold;
    margin-top: 10px;
    color: #cf0808;
}

#text_commingsoon {
    font-size: 24px;
    font-weight: bold;
    color: #555;
    text-align: center;
    margin-top: 150px;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

main h2 {
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    display: inline-block;
    animation: fadeIn 0.7s ease-in-out 1ms both;
}

footer {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    margin-top: auto;
}

.footerkuadrat {
    width: 100%;
    height: 50px;
    background-color: #f1f1f1;
    text-align: center;
    line-height: 50px;
    color: #8d8d8d;
    border-top: 1px solid #ddd;
}

.prestasi-list {
    list-style: none;
    padding: 0;
}

.prestasi-item {
    background: #f9f9f9;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.prestasi-item h3 {
    margin: 0 0 10px 0;
    color: #007bff;
}

.prestasi-item p {
    margin: 0;
    color: #555;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

.abf {
    margin-left: 10px;
    background-color: #d33b3b;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.abf:hover {
    background: rgba(255, 115, 0, 0.418);
    color: #000000; 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(153, 10, 10, 0.3);
}

.subnav {
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

.tombol-admin {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
