body {
    padding: 1rem;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.header .domain-name {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
    word-break: break-all;
}

.header .meta {
    color: var(--text-light);
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: flex-start;
}

.screenshot-viewer img {
    display: block;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.history-gallery {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 1rem;
}

.history-item {
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.2s;
    text-decoration: none;
}

.history-item:hover {
    border-color: var(--accent-color);
}

.history-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
}

.history-item img {
    display: block;
    width: 120px;
    height: auto;
    border-radius: 6px;
}

.history-item p {
    text-align: center;
    font-size: 0.8rem;
    margin: 0.5rem 0 0;
    color: var(--text-light);
}

.data-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 1rem;
    align-items: center;
    font-size: 0.95rem;
}

.info-grid dt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

.info-grid dd {
    margin: 0;
    font-weight: 500;
    word-break: break-all;
}

.info-grid dd a {
    color: var(--accent-color);
    text-decoration: none;
}

.info-grid dd a:hover {
    text-decoration: underline;
}

.details-card summary {
    cursor: pointer;
    font-weight: 700;
    outline: none;
}

.details-card dl {
    margin-top: 1rem;
}

.content-headings h4 {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
}

.content-headings ul {
    margin: 0;
    padding-left: 20px;
    color: #333;
}
.views-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    font-size: 0.9em;
    font-weight: 500;
    color: #4a5568; 
    background-color: #edf2f7; 
    padding: 4px 10px;
    border-radius: 16px; 
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.views-counter:hover {
    background-color: #e2e8f0; 
}

.views-counter svg {
    width: 16px;
    height: 16px;
    stroke: #718096; 
}
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}
 