:root {
    --primary-magenta: rgba(200, 15, 80, 0.85);
    --secondary-purple: rgba(90, 20, 80, 0.9);
    --neon-green: #9acd32; /* Warna hijau stabilo */
    --text-white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: #111;
    color: var(--text-white);
    overflow-x: hidden;
}

/* Background & Overlays */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    /* Ganti URL di bawah dengan gambar orang berlari */
    background: url('runner.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-magenta) 0%, var(--secondary-purple) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

/* Animasi Looping Dekorasi Garis */
.pattern-lines {
    position: absolute;
    top: 10%;
    left: 30%;
    width: 200px;
    height: 400px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 12px
    );
    z-index: 2;
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Navigasi */
header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    font-family: var(--font-heading);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--neon-green);
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    width: 250px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    margin-left: 10px;
    width: 100%;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.email {
    color: var(--text-white);
    text-decoration: none;
}

.social-icons a {
    color: #333;
    background: white;
    width: 30px;
    height: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    background: var(--neon-green);
}

/* Konten Utama */
main {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    padding: 4rem;
    align-items: center;
}

.content-left {
    max-width: 600px;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 8rem);
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.text-block {
    background: rgba(0, 0, 0, 0.2);
    padding: 1rem;
    border-left: 4px solid var(--neon-green);
    margin-bottom: 1.5rem;
}

.text-block p {
    font-size: 0.9rem;
    line-height: 1.6;
}

h2.neon-text {
    font-family: var(--font-heading);
    color: var(--neon-green);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Form Interaktif */
.action-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 80%;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--neon-green);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.input-group input:focus {
    box-shadow: 0 0 10px rgba(154, 205, 50, 0.5);
    background: rgba(154, 205, 50, 0.1);
}

.input-group input::placeholder {
    color: var(--neon-green);
}

.btn-more {
    background: var(--neon-green);
    color: #000;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-weight: bold;
    width: fit-content;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-more:hover {
    transform: translateY(-3px);
    background: #8bbb28;
}

/* Konten Kanan */
.content-right {
    align-self: flex-start;
    margin-top: 5rem;
}

.timer-box h3 {
    font-family: var(--font-heading);
    color: var(--neon-green);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timer {
    font-family: var(--font-heading);
    color: var(--neon-green);
    font-size: 3rem;
    font-weight: bold;
}

/* Responsivitas Layar Monitor / Tablet / Mobile */
@media screen and (max-width: 1024px) {
    header {
        flex-wrap: wrap;
        padding: 1.5rem 2rem;
    }
    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
    main {
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {
    main {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .content-left {
        width: 100%;
    }
    .text-block {
        border-left: none;
        border-bottom: 4px solid var(--neon-green);
    }
    .action-form {
        width: 100%;
        align-items: center;
    }
    .content-right {
        margin-top: 3rem;
        align-self: center;
    }
    .search-bar {
        display: none; /* Sembunyikan search di mobile agar tidak penuh */
    }
    .email {
        display: none;
    }
}