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

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Source Code Pro', 'Menlo', 'Courier New', monospace;
    background: #0a0a0a;
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 149, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 149, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
    position: relative;
}

.header {
    margin-bottom: 3rem;
}

.name {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6495ed, #4169e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(100, 149, 237, 0.4)); }
    to { filter: drop-shadow(0 0 35px rgba(65, 105, 225, 0.4)); }
}

.tagline {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.specialty {
    font-size: 1rem;
    color: #4169e1;
    margin-bottom: 2rem;
}

.about {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.about h3 {
    color: #4169e1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about p {
    line-height: 1.6;
    color: #ccc;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.skill-tag {
    background: rgba(100, 149, 237, 0.1);
    border: 1px solid #6495ed;
    color: #6495ed;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(100, 149, 237, 0.2);
    transform: translateY(-2px);
}

.projects {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.projects h3 {
    color: #4169e1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.project-item {
    text-align: left;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    border-left: 3px solid #6495ed;
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.project-desc {
    color: #aaa;
    font-size: 0.9rem;
}

.contact-section {
    margin-top: 2rem;
}

.contact-title {
    color: #888;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-title .highlight {
    color: #4169e1;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 149, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    border-color: #6495ed;
    background: rgba(100, 149, 237, 0.05);
    transform: translateY(-2px);
}

.contact-text {
    font-size: 1rem;
}

.contact-icon {
    font-size: 1.2rem;
    color: #6495ed;
}

.footer {
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #555;
}

.cursor {
    display: inline-block;
    background: #4169e1;
    width: 6px;
    height: 1.1em;
    vertical-align: middle;
    margin-left: 3px;
    border-radius: 3px;
    animation: blink 1s infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .contact-links {
        max-width: 100%;
    }
}

.software {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.software h3 {
    color: #4169e1;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.software-categories {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.software-category {
    text-align: left;
}

.category-title {
    color: #6495ed;
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(100, 149, 237, 0.3);
    padding-bottom: 0.3rem;
}

.software-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.software-tag {
    background: rgba(100, 149, 237, 0.08);
    border: 1px solid rgba(100, 149, 237, 0.3);
    color: #ccc;
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.software-tag:hover {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
    transform: translateY(-1px);
}

.hardware {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hardware h3 {
    color: #4169e1;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hardware-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.hardware-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid #6495ed;
    transition: all 0.3s ease;
}

.hardware-item:hover {
    background: rgba(100, 149, 237, 0.05);
    transform: translateY(-2px);
}

.hardware-icon {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.hardware-details {
    flex: 1;
    text-align: left;
}

.hardware-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.hardware-desc {
    color: #aaa;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hardware-items {
        grid-template-columns: 1fr;
    }
    
    .hardware-item {
        padding: 0.8rem;
    }
}

.wallpaper {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.wallpaper h3 {
    color: #4169e1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.wallpaper-desc {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.wallpaper-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.2rem;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wallpaper-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 149, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.wallpaper-link:hover::before {
    left: 100%;
}

.wallpaper-link:hover {
    border-color: #6495ed;
    background: rgba(100, 149, 237, 0.05);
    transform: translateY(-2px);
}

.wallpaper-icon {
    font-size: 1.1rem;
    color: #6495ed;
}

.server {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    text-align: left;
}

.server h3 {
    color: #4169e1;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.server-desc {
    color: #ccc;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.server-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.server-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(100, 149, 237, 0.15);
    border-radius: 8px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.server-item:hover {
    border-color: rgba(100, 149, 237, 0.5);
    transform: translateY(-2px);
}

.server-name {
    font-weight: 600;
    color: #e6e8f5;
}

.server-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6495ed;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.server-meta:hover {
    color: #8bb7ff;
}
