/**
 * SIMFONI - pages/peraturan.css
 *
 * Gaya khusus halaman bantuan/peraturan.php. Diekstrak dari blok <style> inline pada
 * berkas tersebut. Seluruh selector diberi awalan .page--peraturan sehingga tidak
 * lagi bergantung pada urutan muat dan tidak dapat bertabrakan dengan
 * halaman lain yang memakai nama kelas sama.
 *
 * @filename    peraturan.css
 * @description Gaya halaman bantuan/peraturan.php
 * @author      Syams
 * @created     August 11, 2025
 * @license     SIMFONI Dual License (GPL v3 / Commercial)
 * @version     2.3
 * @project     SIMFONI - Sistem Informasi Monitoring dan Evaluasi Kearsipan
 */

/* Futuristic Peraturan Page Styles */
.page--peraturan .peraturan-page {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.page--peraturan .futuristic-card {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page--peraturan .futuristic-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.page--peraturan .futuristic-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page--peraturan .futuristic-header .header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page--peraturan .futuristic-header h1 {
    color: white;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
    to { text-shadow: 0 2px 20px rgba(255,255,255,0.5); }
}

.page--peraturan .futuristic-header .icon {
    font-size: 4rem;
    color: white;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.page--peraturan .info-banner {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.page--peraturan .info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.page--peraturan .info-banner h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page--peraturan .section-title {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 2rem 0 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 4px solid #3b82f6;
}

.page--peraturan .regulation-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.page--peraturan .regulation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.page--peraturan .regulation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.95);
}

.page--peraturan .regulation-item:hover::before {
    transform: scaleY(1);
}

.page--peraturan .regulation-item .title {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.page--peraturan .regulation-item .title:hover {
    color: #3b82f6;
}

.page--peraturan .regulation-item .subtitle {
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.page--peraturan .regulation-item .description {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.page--peraturan .regulation-item .year-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.page--peraturan .warning-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.page--peraturan .action-buttons {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.page--peraturan .futuristic-btn {
    position: relative;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.page--peraturan .futuristic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.page--peraturan .futuristic-btn:hover::before {
    left: 100%;
}

.page--peraturan .futuristic-btn.btn-back {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.page--peraturan .futuristic-btn.btn-manual {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: white;
}

.page--peraturan .futuristic-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .page--peraturan .action-buttons {
        flex-direction: column;
    }
    
    .page--peraturan .futuristic-header h1 {
        font-size: 2rem;
    }
    
    .page--peraturan .regulation-item .year-badge {
        position: static;
        display: inline-block;
        margin-left: auto;
        margin-bottom: 0.5rem;
    }
}
