:root {
    --bg-color: #1a1a2e;
    --primary-color: #16213e;
    --secondary-color: #0f3460;
    --accent-color: #167019;
    --text-color: #dcdcdc;
    --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --common-color: #808080;
    --uncommon-color: #4caf50;
    --rare-color: #2196f3;
    --epic-color: #9c27b0;
    --legendary-color: #ffc107;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 7px #00ffff;
    }
    50% {
        box-shadow: 0 0 16px #00ffff, 0 0 20px #00ffff44;
    }
    100% {
        box-shadow: 0 0 7px #00ffff;
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6;
}

.button {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1rem;
    text-align: center;
}

.button:hover {
    background-color: var(--common-color);
}

.button.secondary-button {
    background-color: var(--secondary-color);
}

.button.secondary-button:hover {
    background-color: #16467c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 4px solid #f3f3f330;
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}