
/* Base styles and variables */
:root {
    --borderlands-yellow: #ffa500;
    --borderlands-orange: #ff6b00;
    --borderlands-red: #ff2d2d;
    --borderlands-black: #000000;
    --borderlands-bg: #1a1a1a;
    --terminal-green: #00ff00;
    --terminal-blue: #0066ff;
    --neon-glow: #ff6b00;
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--borderlands-bg);
    font-family: 'Share Tech Mono', monospace;
    color: white;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Screen overlay effect */
.screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.15) 0px,
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px
    );
    pointer-events: none;
    z-index: 999;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Styles */
.borderlands-nav {
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(20, 20, 20, 0.95) 100%
    );
    border: 2px solid var(--borderlands-orange);
    padding: 1rem;
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo {
    color: var(--borderlands-yellow);
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--neon-glow);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--borderlands-orange);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(
            to bottom,
            rgba(255, 107, 0, 0.1) 0%,
            rgba(255, 107, 0, 0.2) 100%
    );
    border: 2px solid var(--borderlands-orange);
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-block;
    clip-path: polygon(
            10px 0,
            100% 0,
            100% calc(100% - 10px),
            calc(100% - 10px) 100%,
            0 100%,
            0 10px
    );
}

.nav-item:hover,
.nav-item.active {
    color: var(--borderlands-yellow);
    background: linear-gradient(
            to bottom,
            rgba(255, 107, 0, 0.3) 0%,
            rgba(255, 107, 0, 0.4) 100%
    );
    text-shadow: 0 0 10px var(--neon-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* Terminal Container */
.terminal-container {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--borderlands-orange);
    padding: 1.5rem;
    margin-top: 1rem;
    position: relative;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--borderlands-orange);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.terminal-title {
    color: var(--borderlands-yellow);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.terminal-status {
    color: var(--terminal-green);
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 300px;
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 3px solid var(--borderlands-orange);
    filter: contrast(1.2) saturate(1.2);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 255, 0, 0.5);
    animation: scan 2s linear infinite;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-box {
    border: 1px solid var(--borderlands-orange);
    padding: 1rem;
    background: rgba(255, 107, 0, 0.1);
}

.stat-label {
    color: var(--borderlands-yellow);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.2rem;
    color: white;
}

/* Skills Section */
.terminal-section {
    margin-top: 2rem;
}

.section-header {
    color: var(--borderlands-yellow);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--borderlands-orange);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
}

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

.skill-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border: 1px solid var(--borderlands-orange);
}

.skill-name {
    color: var(--borderlands-yellow);
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background: var(--borderlands-orange);
    position: relative;
    margin-top: 0.5rem;
}

.skill-bar[data-level]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var();
    background: var(--borderlands-orange);
}

.skill-bar[data-level]::after {
    content: attr(data-level) '%';
    position: absolute;
    right: -29px;
    top: -2px;
    color: var(--borderlands-yellow);
    font-size: 0.8rem;
}

/* Mission Log */
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--borderlands-orange);
    background: rgba(0, 0, 0, 0.3);
}

.mission-status {
    color: var(--terminal-green);
    font-size: 1.2rem;
}

.mission-status.in-progress {
    color: var(--borderlands-yellow);
}

.mission-title {
    color: white;
    font-size: 1rem;
}

/* System Info */
.system-info {
    color: var(--borderlands-orange);
    font-size: 0.8rem;
    position: absolute;
    bottom: -25px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2px 8px;
    border: 1px solid var(--borderlands-orange);
}

/* Animations */
@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .profile-section {
        grid-template-columns: 1fr;
    }

    .profile-image-container {
        margin: 0 auto;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.95) 0%,
                rgba(20, 20, 20, 0.95) 100%
        );
        padding: 1rem;
        border: 2px solid var(--borderlands-orange);
        border-top: none;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-item {
        display: block;
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .system-info {
        position: static;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        border-top: 1px solid var(--borderlands-orange);
        padding-top: 1rem;
    }

    .terminal-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }
}