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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #ff0000;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#warning-banner {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: bannerPulse 2s infinite;
}

@keyframes bannerPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#eye-popup {
    position: fixed;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    z-index: 200;
    text-align: center;
    animation: eyeAppear 0.3s ease-out;
}

@keyframes eyeAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes eyeDisappear {
    from {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
    }
}

.eye {
    font-size: 120px;
    animation: eyeBlink 3s infinite;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8));
}

.eye-container {
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eye-white {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.2);
    border: 3px solid #ff0000;
}

.eye-pupil {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, #ff0000, #8b0000);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.eye-pupil::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset -5px -5px 10px rgba(255, 0, 0, 0.5);
}

@keyframes eyeBlink {
    0%, 45%, 55%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
}

.eye-text {
    font-size: 32px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 1);
    margin-top: 20px;
    letter-spacing: 5px;
}

#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#loading-screen {
    position: relative;
    z-index: 10;
    animation: fadeIn 0.5s ease-in;
}

#main-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff0000;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    min-width: 500px;
    max-width: 600px;
}

.terminal-header {
    background: #ff0000;
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}

.terminal-body {
    padding: 30px;
    min-height: 200px;
}

#loading-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #1a0000;
    border: 1px solid #ff0000;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #cc0000);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.glitch-text {
    font-size: 48px;
    font-weight: bold;
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    margin-bottom: 40px;
    position: relative;
    animation: glitch 2s infinite;
    cursor: pointer;
    user-select: none;
}

@keyframes glitch {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
    25% {
        text-shadow: -2px 0 20px rgba(255, 0, 0, 0.8), 2px 2px 0 rgba(0, 255, 0, 0.3);
        transform: translate(-2px, 0);
    }
    50% {
        text-shadow: 2px 0 20px rgba(255, 0, 0, 0.8), -2px -2px 0 rgba(0, 0, 255, 0.3);
        transform: translate(2px, 0);
    }
    75% {
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
}

.profile-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff0000;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    min-width: 400px;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.card-header {
    background: rgba(255, 0, 0, 0.1);
    padding: 15px 20px;
    border-bottom: 1px solid #ff0000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-counter {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.counter-label-small {
    font-size: 11px;
    opacity: 0.7;
}

.counter-number-small {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 1);
    }
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hack-button {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hack-button:hover {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transform: translateX(5px);
}

.button-icon {
    font-weight: bold;
    font-size: 20px;
}

#view-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.counter-label {
    opacity: 0.7;
    font-size: 12px;
    margin-bottom: 5px;
}

.counter-number {
    font-size: 20px;
    letter-spacing: 2px;
}

#view-counter {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    display: none;
}

.counter-label {
    opacity: 0.7;
    font-size: 12px;
    margin-bottom: 5px;
}

.counter-number {
    font-size: 20px;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .terminal, .profile-card {
        min-width: 90vw;
        margin: 0 20px;
    }
    
    .glitch-text {
        font-size: 32px;
    }
    
    #warning-banner, #view-counter {
        font-size: 12px;
        padding: 8px 15px;
    }
}

.profile-card {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}

#ip-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.ip-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #ff0000;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.6);
    min-width: 400px;
    max-width: 500px;
    animation: slideUp 0.3s ease;
}

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

.ip-modal-header {
    background: rgba(255, 0, 0, 0.2);
    padding: 15px 20px;
    border-bottom: 1px solid #ff0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.ip-modal-close {
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
}

.ip-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.ip-modal-body {
    padding: 30px;
}

.ip-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 4px;
}

.ip-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 8px;
}

.ip-value {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

#ip-check-btn {
    cursor: pointer;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
}

#ip-check-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transform: translateX(5px);
}

.ip-input-section {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.ip-input-field {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 12px 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    border-radius: 4px;
    outline: none;
}

.ip-input-field::placeholder {
    color: rgba(255, 0, 0, 0.5);
}

.ip-input-field:focus {
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.ip-check-button {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 12px 25px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ip-check-button:hover {
    background: rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}
