@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

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

body {
    font-family: 'Orbitron', monospace;
    background: #000;
    color: #ff0000;
    overflow: hidden;
    height: 100vh;
}

.blocked-container {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, #000000, #1a0000, #000000, #330000);
    background-size: 400% 400%;
    animation: acidGradient 8s ease infinite;
}

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

.acid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: acidPulse 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes acidPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.pulse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 0, 0.1) 25%, 
        transparent 50%, 
        rgba(255, 0, 0, 0.1) 75%, 
        transparent 100%);
    animation: scanline 3s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

/* Cover Switch Overlay */
.cover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.cover-overlay.active {
    display: flex;
}

.cover-header {
    background: #1976d2;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cover-logo {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.cover-status {
    font-size: 12px;
    opacity: 0.8;
}

.cover-frame {
    flex: 1;
    border: none;
    background: white;
}

/* Terminal Overlay */
.terminal-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #00ff00;
    border-radius: 5px;
    z-index: 8888;
    display: none;
    flex-direction: column;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.terminal-overlay.active {
    display: flex;
}

.terminal-header {
    background: rgba(0, 255, 0, 0.1);
    border-bottom: 1px solid #00ff00;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #00ff00;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.terminal-close {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.terminal-close:hover {
    background: #ff0000;
    color: #ffffff;
    border-radius: 50%;
}

.terminal-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
}

.terminal-line {
    color: #00ff00;
    margin-bottom: 5px;
}

.terminal-prompt {
    color: #ffffff;
}

.terminal-cursor {
    animation: blink 1s infinite;
}

.terminal-input {
    background: transparent;
    border: none;
    border-top: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    outline: none;
}

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

.blocked-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    z-index: 10;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.blocked-logo {
    font-size: 24px;
    font-weight: 900;
    color: #ff0000;
    text-shadow: 
        0 0 5px #ff0000,
        0 0 10px #ff0000,
        0 0 15px #ff0000;
    animation: logoGlow 2s ease-in-out infinite alternate;
    letter-spacing: 3px;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000; }
    to { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000; }
}

.subtitle {
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 2px;
    margin-top: 2px;
    opacity: 0.8;
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cover-btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
    text-shadow: 0 0 5px #000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.cover-btn:hover {
    background: linear-gradient(45deg, #ffffff, #ff0000);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.status-indicator {
    background: #000000;
    color: #00ff00;
    padding: 5px 10px;
    border: 1px solid #00ff00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: statusBlink 1.5s infinite;
}

@keyframes statusBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.tab-bar {
    display: flex;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #ff0000;
    padding: 0 10px;
    z-index: 9;
}

.tab {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    border-bottom: none;
    margin-right: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    max-width: 200px;
}

.tab.active {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.tab-title {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 1px;
}

.tab-close {
    background: none;
    border: none;
    color: #ff0000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tab-close:hover {
    background: #ff0000;
    color: #ffffff;
    border-radius: 50%;
}

.new-tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.new-tab-btn:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.address-bar {
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 20px;
    border-bottom: 1px solid #ff0000;
    z-index: 8;
}

.address-container {
    display: flex;
    align-items: center;
    background: #000000;
    border: 2px solid #ff0000;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.protocol {
    background: #ff0000;
    color: #ffffff;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.address-input {
    flex: 1;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    outline: none;
}

.address-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.go-btn {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.go-btn:hover {
    background: linear-gradient(45deg, #ff0000, #ffffff);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.browser-viewport {
    flex: 1;
    position: relative;
    background: #000000;
    border: 2px solid #ff0000;
    margin: 0 10px 10px 10px;
    overflow: hidden;
}

.browser-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-top: 3px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-text {
    color: #ff0000;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.blocked-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid #ff0000;
    padding: 8px 20px;
    z-index: 10;
}

.footer-text {
    font-size: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.blink {
    color: #00ff00;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.separator {
    margin: 0 10px;
    color: #ff0000;
}

.acid-text {
    color: #ff0000;
    font-weight: 700;
    text-shadow: 0 0 5px #ff0000;
    animation: acidGlow 2s ease-in-out infinite alternate;
}

@keyframes acidGlow {
    from { text-shadow: 0 0 5px #ff0000; }
    to { text-shadow: 0 0 10px #ff0000, 0 0 15px #ff0000; }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #ff0000;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

/* Selection styling */
::selection {
    background: #ff0000;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blocked-header {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .tab {
        min-width: 100px;
        max-width: 120px;
    }
    
    .address-container {
        flex-direction: column;
    }
    
    .protocol {
        width: 100%;
        text-align: center;
    }
    
    .terminal-overlay {
        width: 95%;
        height: 70%;
    }
}
