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

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

body {
    background-color: #0a0a0a;
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    padding: 20px;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03),
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: -1;
}

.terminal {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid #0f0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    position: relative;
    z-index: 2;
}

.terminal-header {
    background-color: #0a200a;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #0f0;
}

.header-buttons {
    display: flex;
    gap: 8px;
}

.header-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.header-button.close {
    background-color: #ff5f56;
}

.header-button.minimize {
    background-color: #ffbd2e;
}

.header-button.maximize {
    background-color: #27c93f;
}

.header-title {
    color: #0f0;
    font-size: 14px;
}

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

.hacker-intro {
    margin-bottom: 40px;
}

.hacker-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
}

.hacker-intro h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #0f0;
}

.social-links {
    margin-top: 20px;
}

.social-links p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.social-links a {
    color: #0f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px #0f0;
}

.achievements {
    margin-top: 40px;
}

.achievements h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.achievement-card {
    background-color: rgba(15, 30, 15, 0.3);
    border: 1px solid #0f0;
    border-radius: 5px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: ">";
    position: absolute;
    left: 10px;
    top: 10px;
    color: #0f0;
}

.achievement-card h3 {
    margin-left: 20px;
    margin-bottom: 10px;
    color: #0f0;
}

.achievement-card p {
    margin-left: 20px;
    color: #afa;
    font-size: 0.9rem;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
    background-color: rgba(15, 30, 15, 0.5);
}

.terminal-footer {
    padding: 15px 30px;
    background-color: #0a200a;
    border-top: 1px solid #0f0;
}

.command-input {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.prompt {
    margin-right: 10px;
    color: #0f0;
}

#command-input {
    background: transparent;
    border: none;
    color: #0f0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    width: 100%;
    outline: none;
}

.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .terminal-body {
        padding: 20px;
    }
    
    .hacker-intro h1 {
        font-size: 2rem;
    }
    
    .hacker-intro h2 {
        font-size: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}
