section[id] {
    scroll-margin-top: 85px;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #63b3ed, #b794f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html {
  scroll-behavior: smooth;
}

#mol-container {
    width: 100%;
    height: 270px;
    position: relative;
    overflow: hidden;
    max-width: 440px;
    background-color: rgba(31, 41, 55, 0.3);
    border: 1px solid rgba(55, 65, 81, 0.5);
}

.visualization-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #1a253a;
    border-radius: 0.375rem;
    border: 1px solid #3c4c64;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.control-group-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9abed7;
    margin-bottom: 0.1rem;
    text-align: center;
}

.control-buttons-container {
    display: flex;
    gap: 0.2rem;
}

.control-button {
    background-color: #2c3e5a;
    color: #e6f1ff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
    border: none;
    flex-grow: 1;
}

.control-button:hover {
    background-color: #3b5072;
    transform: translateY(-0.5px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.control-button.active {
    background-color: #0c356a;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.pdb-id-overlay {
    position: absolute;
    bottom: 0.5rem;
    left: 0.75rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #e6f1ff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 10;
}

.tool-card {
    display: block;
    text-align: center;
    background-color: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(55, 65, 81, 0.5);
    border-radius: 0.5rem;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(60, 130, 240, 0.2), 0 0 15px rgba(60, 130, 240, 0.15);
    border-color: rgba(96, 165, 250, 0.5);
}
