.container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 40px;
    width: auto;
    height: 100px;
    position: relative;
    overflow: hidden;
}

.arch-link {
    background: linear-gradient(45deg, #1e88e5, #4fc3f7, #1e88e5);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
    text-decoration: none;
    font-size: 36px;
    animation: gradientFlow 3s ease infinite;
}

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

.nav-container {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.nav-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #e7f1ff;
    color: #0d6efd;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.nav-link:hover {
    background-color: #d0e3ff;
    transform: translateY(-2px);
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    color: var(--dark);
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 80%;
    width: 5px;
    background: var(--primary);
    border-radius: 5px;
}

.subsection-title {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark);
    padding-left: 10px;
    border-left: 4px solid var(--secondary);
}

.instructions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .instructions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        margin-top: 95px;
    }
}

.instruction-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: var(--primary);
    color: #1793d1;
    padding: 15px;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card-desc {
    margin-bottom: 15px;
    color: #555;
}

.command-block {
    background: #f8f9fa;
    border-left: 3px solid var(--primary);
    padding: 10px 15px;
    margin: 15px 0;
    position: relative;
    border-radius: 0 4px 4px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: var(--primary);
    background: white;
}

.tab-container {
    max-width: 1200px;
    margin: 30px auto;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    overflow-x: auto;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.accordion {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background: var(--light);
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-content {
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    text-align: center;
    transition: max-height 0.3s ease-out;
}

.accordion-content ul li {
    list-style: none;
}

.accordion-content-inner {
    padding: 15px;
}

.accordion.active .accordion-content {
    max-height: 1000px;
}

.problems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.command-wrapper {
    margin: 15px 0;
}

.command-comment {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-left: 5px;
}

.command-container {
    display: flex;
    align-items: stretch;
    background: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
}

.command-text {
    flex-grow: 1;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    background: #f1f3f5;
    border-left: 3px solid #1793d1;
}

.copy-btn-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1793d1;
    padding: 0 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn-container:hover {
    background: #1481b8;
}

.copy-icon {
    color: white;
    font-size: 1rem;
}
