/* =========================================
   BASE & CRT EFFECT
   ========================================= */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* Efek garis monitor lama */
.crt-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 10000;
}

section { scroll-margin-top: 80px; }

.pixel-font { font-family: 'Press Start 2P', cursive; line-height: 1.6; }
.fw-bold { font-weight: 700 !important; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes blinking {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.floating { animation: floating 3s ease-in-out infinite; }
.blinking { animation: blinking 1.5s infinite; }

/* =========================================
   NAVBAR
   ========================================= */
.pixel-border-bottom {
    border-bottom: 5px solid #000 !important;
}

.nav-hover {
    transition: 0.2s steps(4);
}

.nav-hover:hover {
    color: #007bff !important;
    text-shadow: 2px 2px #ff00ff;
    transform: translateY(-3px);
}

/* =========================================
   JUMBOTRON
   ========================================= */
.jumbotron {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url('https://cdn1.epicgames.com/ue/product/Screenshot/Screenshot05-1920x1080-0f4d271d3f5c217a2a06977d706debf1.jpg?resize=1&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 8px solid #000;
}

.jumbotron h1 {
    font-size: 2.5rem;
    text-shadow: 4px 4px 0px #007bff, 8px 8px 0px #000;
}

/* =========================================
   PIXEL ELEMENTS
   ========================================= */
.btn-pixel {
    border: 4px solid #000 !important;
    border-radius: 0 !important;
    background: #fff;
    color: #000;
    box-shadow: 6px 6px 0px #000;
    transition: 0.1s;
}

.btn-pixel:hover {
    background: #007bff;
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000;
}

.btn-pixel:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px #000;
}

.img-pixel-frame {
    display: inline-block;
    border: 4px solid #000;
    padding: 10px;
    background: #fff;
    box-shadow: 10px 10px 0px #ff00ff;
    animation: floating 4s ease-in-out infinite;
}

.pixel-card {
    border: 4px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 8px 8px 0px #000;
    transition: 0.2s steps(3);
}

.pixel-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px #007bff;
}

.pixel-img-container {
    background: #222;
    padding: 10px;
    border-bottom: 4px solid #000;
}

.pixel-img-container img {
    image-rendering: pixelated;
}

.pixel-form-container {
    background: #fff;
    padding: 2rem;
    border: 4px solid #000;
    box-shadow: 12px 12px 0px #007bff;
}

.pixel-input {
    border: 4px solid #000 !important;
    border-radius: 0 !important;
}

.pixel-input:focus {
    box-shadow: 5px 5px 0px #ff00ff;
    outline: none;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 10px;
    background: #000;
    box-shadow: 10px 0 #007bff, -10px 0 #ff00ff;
}

.pixel-border-top {
    border-top: 8px solid #007bff !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .jumbotron h1 { font-size: 1.5rem; }
    .jumbotron { background-attachment: scroll; }
}