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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1A1A1A;
    background-image: 
        linear-gradient(rgba(51, 51, 51, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 51, 51, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    min-height: 100vh;
    color: #FFFFFF;
}

/* Main Container */
.main-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    overflow: hidden;
}

/* Terminals Wrapper */
.terminals-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 380px;
    position: relative;
}

/* Terminal Window */
.terminal-window {
    background-color: #000000;
    border: 1px solid #555555;
    border-radius: 8px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.2s;
}

/* When terminal is being dragged */
.terminal-window[style*="position: absolute"] {
    transition: none;
}

.terminal-window:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.terminal-window:active {
    z-index: 10;
}

/* Window Controls */
.window-controls {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background-color: #1A1A1A;
    border-bottom: 1px solid #333333;
    user-select: none;
    -webkit-user-select: none;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.control-btn.close {
    background-color: #FF5F57;
}

.control-btn.minimize {
    background-color: #FFBD2E;
}

.control-btn.maximize {
    background-color: #28CA42;
}

/* Terminal Content */
.terminal-content {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-section {
    margin-bottom: 16px;
}

.terminal-section:last-child {
    margin-bottom: 0;
}

/* Command Prompt */
.command-prompt {
    color: #00FF00;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Name and Title */
.name {
    color: #FFFFFF;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.2;
}

.title {
    color: #AAAAAA;
    font-size: 16px;
    margin-bottom: 6px;
}

.subtitle {
    color: #888888;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Skills Container */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-tag {
    background-color: #006400;
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.skill-tag:hover {
    transform: translateY(-2px) scale(1.05);
    background-color: #008000;
    box-shadow: 0 4px 8px rgba(0, 100, 0, 0.4);
}

/* About Me Text */
.about-text {
    color: #CCCCCC;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}

.about-text p {
    margin-bottom: 6px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Projects Container */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.project-item {
    padding: 10px;
    background-color: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 4px;
}

.project-name {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s, transform 0.2s;
}

.project-name:hover {
    color: #00FF00;
    transform: translateX(4px);
}

.project-description {
    color: #AAAAAA;
    font-size: 12px;
    line-height: 1.4;
}

/* Work History Container */
.work-history-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.work-item {
    padding: 10px;
    background-color: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 4px;
}

.work-title {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.work-company {
    color: #CCCCCC;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
}

.work-period {
    color: #888888;
    font-size: 11px;
    font-style: italic;
    margin-bottom: 6px;
}

.work-description {
    color: #AAAAAA;
    font-size: 12px;
    line-height: 1.4;
}

/* Social Links Container */
.social-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    color: #FFFFFF;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link:active {
    transform: translateY(0);
}

.social-icon {
    font-size: 18px;
    display: inline-block;
}

.social-text {
    font-family: 'Courier New', Courier, monospace;
}

/* Platform-specific colors */
.social-link.youtube {
    background-color: #FF0000;
}

.social-link.github {
    background-color: #181717;
}

.social-link.linkedin {
    background-color: #0077B5;
}

.social-link.x {
    background-color: #000000;
    border: 1px solid #333333;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.email {
    background-color: #1eb1a5;
}

.social-link.discord {
    background-color: #5865F2;
}

/* Large Screen Layout - Spread terminals horizontally */
@media (min-width: 1200px) {
    .terminals-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1400px;
        width: 100%;
    }
    
    .terminal-window {
        max-width: 100%;
    }
}

@media (min-width: 1600px) {
    .terminals-wrapper {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1600px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-content {
        padding: 24px;
    }

    .name {
        font-size: 36px;
    }

    .title {
        font-size: 18px;
    }

    .skills-container {
        gap: 8px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .social-links-container {
        gap: 8px;
    }

    .social-link {
        font-size: 12px;
        padding: 8px 14px;
    }

    .social-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 28px;
    }

    .title {
        font-size: 16px;
    }

    .command-prompt {
        font-size: 14px;
    }
}

