/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --primary-color: #00ff00;
    --secondary-color: #00aa00;
    --background-color: #0a0a0a;
    --container-color: rgba(20, 20, 20, 0.8);
    --text-color: #c0c0c0;
    --header-color: #ffffff;
    --highlight-color: #00ff00;
    --border-color: #333333;
    --glow-color: rgba(0, 255, 0, 0.5);
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Share Tech Mono', monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 14px;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(rgba(0, 80, 0, 0.1) 2px, transparent 2px),
        radial-gradient(rgba(0, 80, 0, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
}

/* CRT and Scanline Effects */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.3;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at center,
            transparent 30%,
            rgba(0, 0, 0, 0.3) 90%
        );
    pointer-events: none;
    z-index: 998;
}

.container {
    background-color: var(--container-color);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7),
                0 0 30px var(--glow-color);
    position: relative;
    z-index: 1;
    animation: powerOn 1s ease-in-out;
    backdrop-filter: blur(3px);
}

@keyframes powerOn {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    20% {
        opacity: 0.5;
    }
    40% {
        opacity: 0.2;
    }
    60% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Header Styles */
header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo-text {
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--glow-color);
    letter-spacing: 2px;
    font-weight: bold;
}

.access-text {
    font-size: 1.2em;
    color: var(--text-color);
    letter-spacing: 3px;
}

.terminal-line {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.terminal-prompt {
    color: var(--primary-color);
    margin-right: 8px;
    font-weight: bold;
}

.terminal-text {
    color: var(--text-color);
}

.terminal-cursor {
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

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

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    background-color: rgba(40, 40, 40, 0.7);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 3px;
    padding: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 255, 0, 0) 0%,
        rgba(0, 255, 0, 0.05) 50%,
        rgba(0, 255, 0, 0) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.link-item:hover {
    transform: translateX(5px);
    background-color: rgba(50, 50, 50, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.link-item:hover::before {
    opacity: 1;
    animation: scanEffect 2s infinite;
}

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

.link-icon {
    width: 35px;
    height: 35px;
    margin-right: 15px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 3px var(--glow-color));
    transition: all 0.3s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.1);
}

.link-text {
    flex: 1;
}

.link-text h2 {
    font-size: 1.2em;
    margin: 0 0 5px 0;
    color: var(--header-color);
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.85em;
    color: var(--text-color);
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.status-label {
    color: var(--text-color);
}

.status-value {
    color: var(--primary-color);
    font-weight: bold;
}

.copyright {
    text-align: center;
    color: var(--text-color);
    opacity: 0.7;
    margin-top: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    
    .logo-text {
        font-size: 2em;
    }
    
    .link-item {
        padding: 12px;
    }
    
    .link-icon {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    
    .link-text h2 {
        font-size: 1em;
    }
}