* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background: linear-gradient(135deg, #8b7355 0%, #d4a574 50%, #8b7355 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.nav a {
    padding: 12px 30px;
    color: #5a4a2a;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(245, 235, 220, 0.9), rgba(255, 248, 230, 0.9));
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', serif;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.nav a:hover {
    background: linear-gradient(135deg, #d4a574, #c9a961);
    border-color: rgba(218, 165, 32, 0.8);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(218, 165, 32, 0.4);
    color: #3a2a1a;
}

.nav a:hover::before {
    left: 100%;
}

.nav a:active {
    transform: translateY(0);
}

/* Header Styling */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.3), rgba(212, 165, 116, 0.3));
    border-radius: 20px;
    border: 0px solid rgba(218, 165, 32, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotateGold 20s linear infinite;
}

@keyframes rotateGold {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.header h3 {
    font-size: 3em;
    color: #5a4a2a;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(218, 165, 32, 0.4);
    margin-bottom: 10px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.header h4 {
    font-size: 3em;
    color: #5a4a2a;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(218, 165, 32, 0.4);
    margin-bottom: 10px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 1.4em;
    color: #7a6a4a;
    font-style: normal;
    position: relative;
    z-index: 1;
    margin:18px auto 40px;
}

/* dpnluhur Wrapper */
.beranda-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    justify-content: center;
    margin: 0 auto 20px auto;
    max-width: 90%;
}

/* Depan*/
.beranda-box {
    background: linear-gradient(135deg, rgba(245, 235, 220, 0.95), rgba(255, 248, 230, 0.95));
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 0px solid rgba(218, 165, 32, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.beranda-box img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(218, 165, 32, 0.5);
    
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.beranda-box h3 {
    font-size: 1.8em;
    color: #5a4a2a;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.beranda-box p {
    font-size: 1.1em;
    color: #8b7355;
    font-style: normal;
    position: relative;
    z-index: 1;
    font-family: 'Roboto', serif;
}

/* Info Section */
.beranda-info {
    text-align: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.4), rgba(212, 165, 116, 0.4));
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    max-width: 90%;
    display: table;
    margin:0 auto 40px;
}

.beranda-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.beranda-info h3 {
    font-size: 1.7em;
    color: #5a4a2a;
    margin-bottom: 5px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.pengantar p {
    font-size: 1.2em;
    color: #5a4a2a;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Roboto', serif;
    padding:5px 20px 15px;
    line-height:1.8em;
}

.pengantar-info h5 {
    position: relative;
    z-index: 1;
}

.pengantar-info a {
    display: table;
    padding: 15px 40px;
    background: linear-gradient(135deg, #d4a574, #c9a961);
    color: #3a2a1a;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(218, 165, 32, 0.6);
    transition: all 0.3s ease;
    margin:0 auto;
}

.pengantar-info a:hover {
    background: linear-gradient(135deg, #e6b980, #dab86d);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 25px rgba(218, 165, 32, 0.5);
    border-color: rgba(218, 165, 32, 0.9);
}

.pengantar-info a:active {
    transform: translateY(-1px);
}

.login-container {
            background: white;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            width: 100%;
            max-width: 400px;
            margin:5% auto 1%;
            
    font-family: 'Roboto', sans-serif;
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .login-header h4 {
            color: #333;
            font-size: 28px;
            margin-bottom: 10px;
        }
        
        .login-header p {
            color: #666;
            font-size: 16px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 500;
        }
        
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 15px;
            transition: border-color 0.3s;
            letter-spacing:2px;
        }
        
        .form-group input:focus {
            outline: none;
            border-color: #667eea;
        }
        
        .error-message {
            background: #fee;
            color: #c33;
            padding: 12px;
            border-radius: 5px;
            margin-bottom: 20px;
            font-size: 14px;
        }
        
        .btn-login {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, #8b7355 0%, #d4a574 50%, #8b7355 100%);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .btn-login:hover {
            transform: translateY(-2px);
        }
        
        .back-link {
            text-align: center;
            margin-top: 30px;
        }
        
        .back-link a {
            color: #666;
            text-decoration: none;
            font-size: 16px;
        }
        
        .back-link a:hover {
            text-decoration: none;
            color: #333;
        }

.btn-logout {
        
        margin: 0 10px;
        
        
        text-decoration: none;
        
        
        padding: 12px 30px;
    background: linear-gradient(135deg, #ff4d4d, #b30000);
    color: #fff;
    border: 2px solid rgba(218, 165, 32, 0.6);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    }
    
    .btn-logout:hover {
        background: linear-gradient(135deg, #4CAF50, #45a049);
    }

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: #fff;
    font-size: 1.15em;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
    margin-top: 40px;
    font-style: normal;
    font-weight: 400;
    display: block;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 576px) { /* HP */
   
}  
@media (max-width: 768px) { /* Tablet */
.header {border: none; box-shadow: none;} .header h3 {font-size: 1.3em; box-shadow: none !important} .header h4 {font-size: 2.2em; box-shadow: none !important;} .header p {font-size: 0.75em;} .nav a {padding: 9px 12px; font-size: 1.0em; border: 1px solid rgba(218, 165, 32, 0.4); border-radius: 10px}
.beranda-box {padding: 30px 10px} .beranda-box img {width: 220px; height: 220px;}
.beranda-box h3 {font-size: 1.7em} .beranda-box p {font-size: 1.0em; }
.beranda-info {padding: 10px 20px; max-width: 98%; margin:0 auto 20px}
.beranda-info h3 {font-size: 1.0em}
.pengantar p {font-size: 1.0em; padding:5px 20px 10px; line-height:1.6em}
.login-container {
            padding: 40px 25px;
            width: 95%;
            max-width: 310px;
            margin:25% auto 1%;
        }
        
    
.footer {padding: 30px 0 5px; font-size: 1.0em; line-height:1.5em}

}

@media (max-width: 992px) { /* Laptop */
    
}  
@media (max-width: 1200px) { /* Desktop */
    
} 