
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    background-color: #0a0a0a;
    color: #0f0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Efek matrix di background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid #0f0;
    margin-bottom: 40px;
    position: relative;
}

.logo {
    font-size: 2.5rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.subtitle {
    color: #8f8;
    font-size: 1.2rem;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%;

{
    opacity: 1;
}

51%, 100% {
    opacity: 0.3;
}

}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .main-content;

{
    flex-direction: row;
}

}

.panel {
    background-color: rgba(0, 20, 0, 0.7);
    border: 1px solid #0f0;
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    flex: 1;
}

.input-panel {
    flex: 1;
}

.result-panel {
    flex: 1;
}

.panel-title {
    color: #0f0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #0f0;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #8f8;
}

input, select {
    width: 100%;
    padding: 12px;
    background-color: #111;
    border: 1px solid #0a0;
    color: #0f0;
    border-radius: 3px;
    font-size: 1rem;
}

    input:focus, select:focus {
        outline: none;
        border-color: #0f0;
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

button {
    background-color: #0a0;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

    button:hover {
        background-color: #0f0;
        box-shadow: 0 0 15px #0f0;
    }

.result-container {
    padding: 20px;
    background-color: #111;
    border-radius: 3px;
    margin-top: 20px;
    min-height: 150px;
    border: 1px solid #0a0;
}

.password-display {
    font-size: 1.1rem;
    padding: 18px;
    color: #0f0;
    background-color: #000;
    border-radius: 3px;
    margin-bottom: 20px;
    border: 1px dashed #0a0;

    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;

    text-align: left;
    letter-spacing: normal;
    line-height: 1.6;

    max-width: 100%;
}



.password-strength {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.strength-bar {
    height: 10px;
    flex: 1;
    background-color: #111;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background-color: #f00;
    transition: width 0.5s;
}

.hint {
    color: #8f8;
    font-size: 0.9rem;
    margin-top: 5px;
}

.hacking-animation {
    text-align: center;
    padding: 10px;
    display: none;
}

    .hacking-animation.active {
        display: block;
    }

.hacking-text {
    color: #0f0;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #0f0;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

    .dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.status-log {
    background-color: #111;
    border: 1px solid #0a0;
    border-radius: 3px;
    padding: 15px;
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
}

.log-entry {
    color: #8f8;
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #222;
}

    .log-entry:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #0a0;
    color: #8f8;
    font-size: 0.9rem;
}

/* Efek terminal */
.terminal {
    position: relative;
}

    .terminal::before {
        content: ">_";
        position: absolute;
        top: -12px;
        left: 10px;
        background-color: #0a0a0a;
        padding: 0 10px;
        color: #0f0;
        font-size: 1.2rem;
    }

/* Responsif untuk mobile */
@media (max-width: 767px) {
    .logo {
        font-size: 1.8rem;
    }

    .panel {
        padding: 15px;
    }

    .password-display {
        font-size: 1.4rem;
        padding: 15px;
    }

    .password-strength {
        flex-direction: column;
    }

    .strength-bar {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/*Loading Bar*/

.loading-bar {
    width: 100%;
    height: 12px;
    background: #111;
    border: 1px solid #0a0;
    margin-top: 15px;
    border-radius: 3px;
    overflow: hidden;
    display: none;
}

.loading-fill {
    height: 100%;
    width: 0%;
    background: #0f0;
    box-shadow: 0 0 10px #0f0;
    transition: width 0.2s linear;
}


/*CSS ADBLOCK*/
.adblock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2147483647; /* MAX */
    pointer-events: all;
}

.adblock-box {
    max-width: 420px;
    width: 90%;
    background: rgba(0,20,0,0.97);
    border: 1px solid #0f0;
    box-shadow: 0 0 40px rgba(0,255,0,.4);
    padding: 25px;
    text-align: center;
}

.adblock-text {
    color: #8f8;
    margin: 15px 0;
    line-height: 1.6;
}

.adblock-warning {
    color: #f33;
    font-size: 0.85rem;
}
body.adblock-lock {
    overflow: hidden !important;
    user-select: none;
}

/*END CSS ADBLOCK*/

/*Informasi Wifi FH*/
.fh-link{
    display:inline-block;
    margin-top:12px;
    padding:10px 18px;
    background:#0f0;
    color:#000;
    font-weight:bold;
    text-decoration:none;
    border-radius:3px;
}
.fh-link:hover{
    box-shadow:0 0 15px #0f0;
}

.notice-warning {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2.5vw, 14px);

    border: 1px solid #f00;
    background: #200;
    color: #f33;

    padding: clamp(10px, 3vw, 16px);
    margin: 15px 0;

    font-size: clamp(0.85rem, 3vw, 1rem);
    line-height: 1.6;

    border-radius: 4px;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.3);
}

.warning-icon {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    flex-shrink: 0;
}

.warning-text {
    text-align: justify;
    text-justify: inter-word;

    word-spacing: normal;
    letter-spacing: normal;

    overflow-wrap: break-word;
    word-break: break-word;

    hyphens: auto;
}

@media (max-width: 600px) {
    .notice-warning {
        flex-direction: column;
        align-items: center;
    }
    .warning-text {
        text-align: left;
    }
}
