:root {
    --underhost-primary: #4a6bff;
    --underhost-primary-dark: #3a56cc;
    --underhost-secondary: #00c6ff;
    --underhost-dark: #1a1e2e;
    --underhost-light: #f8f9fa;
    --underhost-gray: #6c757d;
    --underhost-border: #e0e0e0;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: var(--underhost-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
}

.underhost-nav {
    background: linear-gradient(
        145deg,
        #b0c4de, /* Light Steel Blue */
        #0091d6, /* Bright Blue */
        #434cc5, /* Dark Blue */
        #87a8c4, /* Light Blue */
        #b0c4de  /* Light Steel Blue */
    );
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-name {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-left: 0.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--underhost-secondary);
}

.nav-link.active {
    color: var(--underhost-secondary);
    font-weight: 600;
}

/* Header */
.underhost-header {
    background-color: white;
    border-bottom: 1px solid var(--underhost-border);
    margin-bottom: 1rem;
}

.current-year {
    color: var(--underhost-primary);
}

/* Ad Space */
.ad-placeholder {
    background-color: #f0f0f0;
    border: 1px dashed var(--underhost-gray);
    color: var(--underhost-gray);
    border-radius: 0.25rem;
}

/* Software List */
.software-list {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.software-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--underhost-border);
    transition: background-color 0.2s ease;
}

.software-item:last-child {
    border-bottom: none;
}

.software-item:hover {
    background-color: rgba(74, 107, 255, 0.03);
}

.software-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--underhost-dark);
}

.software-description {
    color: var(--underhost-gray);
    margin-bottom: 0;
}

/* Buttons */
.underhost-btn-primary {
    background-color: var(--underhost-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.underhost-btn-primary:hover {
    background-color: var(--underhost-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(74, 107, 255, 0.3);
}

.underhost-btn-outline {
    border: 1px solid var(--underhost-primary);
    color: var(--underhost-primary);
    background-color: transparent;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.underhost-btn-outline:hover {
    background-color: rgba(74, 107, 255, 0.1);
    border-color: var(--underhost-primary-dark);
    color: var(--underhost-primary-dark);
}


/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--underhost-primary);
}

.underhost-footer {
    background: linear-gradient(-45deg, #0d1b2a, #111827, #1c1c1c, #2a2a2a, #0d1b2a);
    background-size: 200% 200%;
    animation: gradientBMG 12s ease infinite;
    color: white;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@keyframes gradientBMG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.brand-name-small {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .software-item {
        padding: 1rem;
    }
    
    .software-title {
        font-size: 1.1rem;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
}