/* styles/style.css */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

header {
    padding: 20px;
    background: linear-gradient(135deg, #4a00e0, #8e2de2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

h1 {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
}

.dashboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: auto;
}

.airdrop-balance-box {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 600px;
}

.airdrop-balance-box p {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
}

.solana-logo {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

.buttons {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.check-button, .claim-button {
    background-color: #8e2de2;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.check-button:hover, .claim-button:hover {
    background-color: #4a00e0;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #333;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

select, input[type="text"], textarea {
    width: calc(100% - 40px);
    padding: 10px;
    margin: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: none;
}

.loading-screen {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.loading-popup {
    background-color: #333;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.loader {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #8e2de2;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.live-claims {
    margin-top: 30px;
    width: 80%;
    max-width: 600px;
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: auto;
    max-height: 300px;
}

.live-claims h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.live-claims ul {
    list-style: none;
    padding: 0;
}

.live-claims li {
    background: rgba(142, 45, 226, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-claims li img {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    margin-right: 5px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #0f0;
    border-radius: 50%;
    margin-right: 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}

footer {
    background-color: #111;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-media {
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.social-media a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s;
}

.social-media a:hover {
    color: #8e2de2;
}

@media (max-width: 600px) {
    .check-button, .claim-button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }
}
