body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #fff;
}

.profile-img {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.grid-item {
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.grid-item.selected {
    border: 2px solid #00ff9d;
}

header {
    background-color: #1f1f1f;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
}

header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer {
    background-color: #1f1f1f;
    padding: 2rem 1rem;
    border-top: 1px solid #333;
    margin-top: 3rem;
}

footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

footer h4 {
    margin-bottom: 0.5rem;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a {
    color: #ccc;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

footer ul li a:hover {
    color: white;
}

@media (max-width: 768px) {
    footer > div > div {
        flex-wrap: wrap;
        gap: 2rem;
    }
    footer > div > div > div:nth-child(1) {
        flex: 0 0 100% !important;
        padding-left: 0 !important;
    }
    footer > div > div > div:nth-child(2) {
        flex: 0 0 50% !important;
        padding-left: 0 !important;
    }
    footer > div > div > div:nth-child(3) {
        flex: 0 0 25% !important;
    }
}

input,
button,
textarea {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

button {
    background-color: #00ff9d;
    color: black;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #00dd88;
}

.page-btn {
    background-color: #2b2b2b;
}

.page-btn:hover {
    background-color: #444;
}

.coin-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border: 1px solid #02d8e9;
    padding: 0.3rem 0.6 rem;
    border-radius: 6px;
    font-weight: 500;
    color: white;
    min-width: 90px;
    cursor: pointer;
}
.coin-box i {
    color: gold;
    margin: 0.4rem;
}
.coin-value {
    display: inline-block;
    min-width: 40px;
}

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

    header .nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    footer .footer-columns {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1600px) {
    .footer-ruler {
        max-width: none !important;
        margin: 0 !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}
