/* Base Styles */
body {
    background-color: #000;
    color: #0f0;
    font-family: 'Press Start 2P', cursive;
    min-height: 100vh;
    overflow-x: hidden;
}

/* CRT Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: scanline 6s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

/* Animations */
@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes neon {
    from { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0ff; }
    to { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #0ff, 0 0 30px #0ff, 0 0 40px #0ff; }
}

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

/* Text Effects */
.neon-text {
    color: #fff;
    text-shadow: 0 0 5px #fff,
                 0 0 10px #fff,
                 0 0 20px #0ff,
                 0 0 30px #0ff,
                 0 0 40px #0ff;
    animation: neon 1.5s ease-in-out infinite alternate;
}

/* Cards */
.card {
    background: rgba(0, 0, 0, 0.8);
    border: 4px solid #0f0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.card-header {
    background: rgba(0, 255, 0, 0.1);
    border-bottom: 2px solid #0f0;
    color: #0f0;
    font-size: 1.2em;
    text-align: center;
    padding: 1rem;
    text-transform: uppercase;
}

/* Forms */
.form-control {
    background: #000;
    border: 2px solid #0f0;
    color: #0f0;
    padding: 0.8rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8em;
}

.form-control:focus {
    background: #000;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    color: #0f0;
}

.form-label {
    color: #0f0;
    font-size: 0.8em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-check-input {
    background-color: #000;
    border: 2px solid #0f0;
}

.form-check-input:checked {
    background-color: #0f0;
    border-color: #0f0;
}

.form-check-label {
    font-size: 0.7em;
    color: #0f0;
}

.invalid-feedback {
    color: #f00;
    font-size: 0.7em;
    text-shadow: 0 0 5px #f00;
}

/* Buttons */
.btn-primary {
    background: #000;
    border: 2px solid #0f0;
    color: #0f0;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8em;
    padding: 0.8rem 1.5rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.btn-link {
    color: #0f0;
    text-decoration: none;
    font-size: 0.7em;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #0f0;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    border-bottom: 2px solid #0f0;
}

.navbar-brand {
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0;
}

.nav-link {
    color: #0f0 !important;
    text-transform: uppercase;
    font-size: 0.8em;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px #0f0;
}

/* Tables */
.table {
    color: #0f0;
    border-color: #0f0;
}

.table th {
    border-color: #0f0;
    background: rgba(0, 255, 0, 0.1);
    text-transform: uppercase;
}

.table td {
    border-color: #0f0;
}

.table tr:hover {
    background: rgba(0, 255, 0, 0.1);
}

/* Dropdown Menu */
.dropdown-menu {
    background: #000;
    border: 2px solid #0f0;
}

.dropdown-item {
    color: #0f0;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8em;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background: #0f0;
    color: #000;
}

/* Utilities */
.pixel-border {
    border: 4px solid #0f0;
    padding: 20px;
    position: relative;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.8);
}

/* Loading States */
.btn-loading::after {
    content: "...";
    animation: loading 1s infinite;
}

/* Media Queries */
@media (max-width: 768px) {
    .card-header {
        font-size: 1em;
    }
    
    .form-label {
        font-size: 0.7em;
    }
    
    .btn-primary {
        font-size: 0.7em;
        padding: 0.6rem 1.2rem;
    }
    
    .form-control {
        font-size: 0.7em;
        padding: 0.6rem;
    }
    
    .navbar-brand {
        font-size: 1em;
    }
} 