* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background-image: url('images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #00ff88;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.title {
    font-family: 'Bungee', 'Orbitron', cursive;
    font-size: 2.5rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 255, 136, 0.5);
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.wheel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.wheel {
    width: 100%;
    height: 100%;
    transition: transform 0.1s linear;
    transform-origin: center;
}

.wheel.spinning {
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.arrow-wrapper {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
}

.arrow-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 40px solid #fff;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.arrow-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 32px solid #FFD700;
    margin-top: 2px;
}

.spin-button {
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    transition: all 0.3s;
    z-index: 20;
    min-width: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.spin-button:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 255, 255, 0.5);
}

.spin-button:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.2);
}

.spin-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.spin-text {
    font-family: 'Bungee', 'Orbitron', cursive;
    font-size: 2rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 136, 0.8), 0 0 30px rgba(0, 255, 136, 0.5);
    pointer-events: none;
    display: block;
    letter-spacing: 3px;
}

.result {
    font-family: 'Bungee', 'Orbitron', cursive;
    min-height: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #00ff88;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 136, 0.8), 0 0 30px rgba(0, 255, 136, 0.5);
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    display: none;
    animation: fadeIn 0.5s ease-in;
    letter-spacing: 1px;
}

.result.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.social-link {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00ff88;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: all 0.3s;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.contract-address {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    justify-content: center;
    letter-spacing: 0.5px;
}

.contract-label {
    font-weight: bold;
    color: #00ff88;
}

.contract-value {
    font-family: 'Orbitron', 'Courier New', monospace;
    font-weight: 400;
    color: #00ff88;
    word-break: break-all;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.copy-button {
    background: rgba(0, 255, 136, 0.2);
    border: none;
    color: #00ff88;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.copy-button:hover {
    background: rgba(0, 255, 136, 0.3);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

@media (max-width: 600px) {
    .title {
        font-size: 1.8rem;
    }

    .wheel-container {
        width: 350px;
        height: 350px;
    }

    .spin-button {
        min-width: 100px;
        min-height: 100px;
        padding: 15px 30px;
    }

    .spin-text {
        font-size: 1.5rem;
    }

    .result {
        font-size: 1.4rem;
    }

    .contract-address {
        font-size: 0.8rem;
    }
}