/* 
   Style for JAYAPAY | Premium Payment Generator
   Hacker Aesthetic / Premium Dark Mode
*/

:root {
    --primary-color: #00f3ff; /* Neon Cyan */
    --secondary-color: #00ff41; /* Hacker Green */
    --accent-color: #ff00ff; /* Magenta */
    --bg-dark: #050505;
    --card-bg: rgba(20, 20, 25, 0.8);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --border-glow: rgba(0, 243, 255, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 243, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    z-index: -2;
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { bottom: 100%; }
    100% { bottom: -100px; }
}

/* Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 5px;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--border-glow);
}

.logo .highlight {
    color: var(--primary-color);
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 10px;
    letter-spacing: 3px;
    opacity: 0.7;
}

/* Terminal Card */
.terminal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    box-shadow: var(--shadow-glow);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 30px;
}

/* Form Styles */
.hacker-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    opacity: 0.9;
}

.helper-text {
    display: block;
    margin-top: 10px;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    opacity: 0.8;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.prefix {
    position: absolute;
    left: 15px;
    color: var(--text-dim);
    font-weight: 600;
}

input[type="number"], select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 15px;
    padding-left: 45px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

select {
    padding-left: 15px;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--border-glow);
    background: rgba(0, 0, 0, 0.6);
}

/* Button */
.glow-on-hover {
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    color: #000;
    background: var(--primary-color);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.glow-on-hover:before { 
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #fff;
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    left: 0;
    top: 0;
    border-radius: 4px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

/* Terminal Log */
.terminal-log {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    padding: 15px;
    font-family: 'monospace';
    font-size: 0.85rem;
    color: var(--secondary-color);
    min-height: 100px;
}

.log-entry {
    margin-bottom: 8px;
    animation: fadeIn 0.3s ease;
}

.log-entry.success { color: var(--secondary-color); }
.log-entry.error { color: #ff5f56; }
.log-entry.system { color: #888; }

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

/* Result Box */
.link-box {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-color);
}

.link-box .label {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.pay-link {
    color: var(--primary-color);
    word-break: break-all;
    display: block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-decoration: none;
}

.pay-link:hover {
    text-decoration: underline;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    font-size: 0.7rem;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-color);
    color: #000;
}

/* Footer & Status Bar */
.footer {
    margin-top: 30px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.status-item i {
    margin-right: 5px;
    color: var(--secondary-color);
}

/* Loader */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
