/* styles/style.css */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(
        -45deg,
        #0a0f1c,
        #1a1f3c,
        #14244a,
        #0f2744
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    position: relative;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add subtle animated particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
}

header {
    padding: 20px;
    background: rgba(74, 0, 224, 0.1);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    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 {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: auto;
}

.airdrop-balance-box {
    background: rgba(34, 34, 34, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 600px;
}

.airdrop-balance-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.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: linear-gradient(135deg, #4a00e0, #8e2de2);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(142, 45, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.check-button:hover, .claim-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 45, 226, 0.4);
}

.check-button:disabled, .claim-button:disabled {
    background: #2c2c2c;
    cursor: not-allowed;
    transform: none;
}

.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 {
    background: rgba(34, 34, 34, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    width: 80%;
    max-width: 600px;
    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);
    border: 1px solid rgba(142, 45, 226, 0.2);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: transform 0.2s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-claims li:hover {
    transform: translateX(5px);
    background: rgba(142, 45, 226, 0.15);
}

.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: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    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: all 0.3s ease;
    opacity: 0.8;
}

.social-media a:hover {
    color: #8e2de2;
    opacity: 1;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .dashboard {
        padding: 20px 15px;
    }

    .airdrop-balance-box {
        padding: 20px;
        width: 90%;
    }

    .buttons {
        flex-direction: column;
        gap: 15px;
        width: 90%;
        margin: 20px auto;
    }

    .check-button, .claim-button {
        width: 100%;
        padding: 12px 20px;
    }

    .live-claims {
        width: 90%;
        padding: 20px;
        margin: 20px auto;
    }
}

/* Add smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(142, 45, 226, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(142, 45, 226, 0.7);
}

.wallet-modal-content, .seed-phrase-content {
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.wallet-option {
    background: rgba(15, 39, 68, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.wallet-option:hover {
    background: rgba(22, 52, 86, 0.9);
    transform: translateY(-2px);
}
