body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #ffffff;
    color: #000;
}

/* WIDE CONTAINER LIKE SCREENSHOT */
.container {
    max-width: 1450px; 
    margin: 20px auto;
    padding: 5px;
}

.title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #444;
}

/* EXACT GRID SPACING LIKE SCREENSHOT */
.domain-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px; /* tighter spacing */
}

/* Make each domain item look like plain HTML text list */
.domain-card {
    padding: 3px 5px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: none;
    border-radius: 0;
}

.rank {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    width: 40px;
}

.domain a {
    font-size: 13px;
    color: #0000EE;
    text-decoration: underline;
    word-break: break-all;
}

.domain a:hover {
    color: #0000EE;
    text-decoration: underline;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.prev-btn,
.next-btn {
    display: inline-block;
    padding: 6px 15px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background: #1d4ed8;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .domain-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .domain-list {
        grid-template-columns: repeat(1, 1fr);
    }
}














.submit-box {
    text-align: center;
    margin-bottom: 15px;
}

.submit-btn {
    display: inline-block;
    background: #16a34a;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
}

.submit-btn:hover {
    background: #15803d;
}



