* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    background: #0a0a0a;
    color: #00ff00;
    overflow-x: hidden;
    height: 100vh;
}

.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #00ff00;
    color: #000;
    font-weight: bold;
}

.container {
    display: flex;
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Left Panel - Profile Section */
.left-panel {
    width: 40%;
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    border-right: 2px solid #00ff00;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.profile-image {
    margin-bottom: 1.5rem;
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    animation: pulse 2s infinite 2s, badgeFall 2s ease-out forwards;
    position: relative;
    transform: translateY(-100vh);
}

/* Badge hanging effect */
.avatar::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #00ff00;
    box-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.avatar::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

@keyframes badgeFall {
    0% {
        transform: translateY(-100vh) rotate(-10deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    60% {
        transform: translateY(10px) rotate(5deg);
    }
    80% {
        transform: translateY(-5px) rotate(-2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

.avatar i {
    font-size: 4rem;
    color: #0a0a0a;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.3); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 0, 0.6); }
}

.name {
    font-size: 2rem;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.title {
    font-size: 1.2rem;
    color: #00cc00;
    margin-bottom: 1rem;
    font-weight: normal;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.status-text {
    color: #00ff00;
    font-size: 0.9rem;
}

.system-info {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.label {
    color: #00cc00;
    font-weight: bold;
}

.value {
    color: #00ff00;
}

.skills-section {
    position: relative;
    z-index: 1;
}

.skills-section h3 {
    color: #00ff00;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

.skill-item i {
    font-size: 1.2rem;
    color: #00ff00;
}

.skill-item span {
    color: #00cc00;
    font-size: 0.9rem;
}

/* Profile Social Links */
.social-links-profile {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-btn-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.social-btn-profile.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn-profile.linkedin:hover {
    background: #005885;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.social-btn-profile.hackthebox {
    background: #9fef00;
    color: #1a1a1a;
}

.social-btn-profile.hackthebox:hover {
    background: #7bc700;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(159, 239, 0, 0.4);
}

.social-btn-profile.email {
    background: #ea4335;
    color: white;
}

.social-btn-profile.email:hover {
    background: #d33b2c;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

/* HackTheBox logo styling */
.htb-logo {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(0); /* Keeps the logo in its original colors */
    transition: all 0.3s ease;
}

.social-btn-profile.hackthebox:hover .htb-logo {
    filter: brightness(1.2) contrast(1.1); /* Slightly brighter on hover */
}

/* Project screenshot styling */
.project-screenshot {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
    background: #0a0a0a;
}

.project-screenshot:hover {
    border-color: #00ff00;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
}

/* Software Download Section */
.software-section {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.software-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    border: 2px solid #00ff00;
}

.software-btn:hover {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
    color: #0a0a0a;
    text-decoration: none;
}

.software-btn i {
    font-size: 1.2rem;
}

.software-btn span {
    font-size: 1rem;
    font-weight: bold;
}

/* Right Panel - Terminal Section */
.right-panel {
    width: 60%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    position: relative;
}

.terminal-header {
    background: #1a1a1a;
    border-bottom: 2px solid #00ff00;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control-btn.close {
    background: #ff5f56;
}

.control-btn.minimize {
    background: #ffbd2e;
}

.control-btn.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #00ff00;
    font-weight: bold;
    font-size: 0.9rem;
}

.terminal-body {
    flex: 1;
    padding: 1rem;
    background: #0a0a0a;
    overflow-y: auto;
    position: relative;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    font-size: 0.85rem;
    line-height: 1.3;
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 0, 0.02) 50%, transparent 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    pointer-events: none;
}

.terminal-output {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.output-line {
    margin-bottom: 0.5rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.output-line strong {
    font-weight: bold;
    font-size: 1.05em;
}

.output-line .title {
    font-weight: bold;
    color: #00ff00;
    text-transform: uppercase;
}

.prompt {
    color: #00ff00;
    font-weight: bold;
    margin-right: 0.5rem;
}

.text {
    color: #00cc00;
    line-height: 1.6;
}

/* Enhanced text colors for different content types */
.command-output .text {
    color: #00ff00;
}

.success-output .text {
    color: #51cf66;
}

.info-output .text {
    color: #74c0fc;
}

.error-output .text {
    color: #ff6b6b;
}

.warning-output .text {
    color: #ffd43b;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: inherit;
    font-size: inherit;
    outline: none;
    flex: 1;
    caret-color: #00ff00;
    min-height: 20px;
    padding: 2px;
    cursor: text;
}

.terminal-input::placeholder {
    color: rgba(0, 255, 0, 0.5);
}

/* Terminal Command Styles */
.command-output {
    margin: 0.5rem 0;
    padding: 0.8rem;
    background: rgba(0, 255, 0, 0.05);
    border-left: 3px solid #00ff00;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.command-output:hover {
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.15);
}

.error-output {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

.error-output:hover {
    background: rgba(255, 107, 107, 0.15);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.success-output {
    color: #51cf66;
    background: rgba(81, 207, 102, 0.1);
    border-left-color: #51cf66;
    box-shadow: 0 2px 8px rgba(81, 207, 102, 0.1);
}

.success-output:hover {
    background: rgba(81, 207, 102, 0.15);
    box-shadow: 0 4px 12px rgba(81, 207, 102, 0.2);
}

.info-output {
    color: #74c0fc;
    background: rgba(116, 192, 252, 0.1);
    border-left-color: #74c0fc;
    box-shadow: 0 2px 8px rgba(116, 192, 252, 0.1);
}

.info-output:hover {
    background: rgba(116, 192, 252, 0.15);
    box-shadow: 0 4px 12px rgba(116, 192, 252, 0.2);
}

.warning-output {
    color: #ffd43b;
    background: rgba(255, 212, 59, 0.1);
    border-left-color: #ffd43b;
    box-shadow: 0 2px 8px rgba(255, 212, 59, 0.1);
}

.warning-output:hover {
    background: rgba(255, 212, 59, 0.15);
    box-shadow: 0 4px 12px rgba(255, 212, 59, 0.2);
}

/* Special styling for help command */
.success-output .text {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    white-space: pre;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced terminal output animations */
.output-line {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .left-panel {
        width: 100%;
        min-height: 50vh;
        padding: 1.5rem;
    }
    
    .right-panel {
        width: 100%;
        min-height: 50vh;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar i {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .left-panel {
        padding: 1rem;
    }
    
    .terminal-body {
        padding: 0.5rem;
    }
    
    .name {
        font-size: 1.3rem;
    }
    
    .title {
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Animation for typing effect */
.typing {
    border-right: 2px solid #00ff00;
    animation: blink-cursor 1s infinite;
}

@keyframes blink-cursor {
    0%, 50% { border-color: #00ff00; }
    51%, 100% { border-color: transparent; }
}

/* Software Download Page Styles */
.software-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #00ff00;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
}

.software-header {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 100%);
    border-bottom: 2px solid #00ff00;
    padding: 2rem;
    position: relative;
}

.software-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
    transform: translateY(-2px);
    color: #00ff00;
    text-decoration: none;
}

.page-title {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: #00cc00;
    margin-bottom: 0;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.software-card {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.software-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.software-card:hover {
    border-color: #00ff00;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.software-image {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.software-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00ff00, #00cc00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    animation: pulse 2s infinite;
}

.software-icon i {
    font-size: 2rem;
    color: #0a0a0a;
}

.software-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.software-info h3 {
    color: #00ff00;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.software-description {
    color: #00cc00;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.software-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item .label {
    color: #00cc00;
    font-weight: bold;
}

.detail-item .value {
    color: #00ff00;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
    padding-top: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-btn.primary {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    color: #0a0a0a;
    border-color: #00ff00;
}

.download-btn.primary:hover {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    color: #0a0a0a;
    text-decoration: none;
}

.download-btn.secondary {
    background: transparent;
    color: #00ff00;
    border-color: #00ff00;
}

.download-btn.secondary:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
    color: #00ff00;
    text-decoration: none;
}

/* Disabled button styles - high specificity */
.software-card .download-btn.disabled,
.software-card .download-btn.disabled:hover,
.software-card .download-btn.disabled:focus,
.software-card .download-btn.disabled:active,
.software-card .download-btn.disabled:visited {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #333 !important;
    color: #666 !important;
    border-color: #555 !important;
    transform: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.software-card .download-btn.primary.disabled,
.software-card .download-btn.primary.disabled:hover,
.software-card .download-btn.primary.disabled:focus,
.software-card .download-btn.primary.disabled:active,
.software-card .download-btn.primary.disabled:visited {
    background: #333 !important;
    color: #666 !important;
    border-color: #555 !important;
}

.software-card .download-btn.secondary.disabled,
.software-card .download-btn.secondary.disabled:hover,
.software-card .download-btn.secondary.disabled:focus,
.software-card .download-btn.secondary.disabled:active,
.software-card .download-btn.secondary.disabled:visited {
    background: #333 !important;
    color: #666 !important;
    border-color: #555 !important;
}

.software-footer {
    background: #0a0a0a;
    border-top: 2px solid #00ff00;
    padding: 2rem;
    text-align: center;
    color: #00cc00;
}

.software-footer p {
    margin: 0.5rem 0;
}

/* Responsive Design for Software Page */
@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .software-card {
        padding: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-btn {
        justify-content: center;
    }
}
