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

body {
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    font-family: 'Arial', sans-serif;
}

/* Contract Info Panel */
.contract-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 1000;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 300px;
}

.contract-address {
    margin-bottom: 15px;
    text-align: center;
}

.contract-address .label {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.contract-address .address {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.links {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contract-panel {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        padding: 12px 15px;
    }

    .contract-address .address {
        font-size: 11px;
    }

    .links {
        gap: 8px;
    }

    .link {
        width: 36px;
        height: 36px;
    }

    .link img {
        width: 20px;
        height: 20px;
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.unicorn {
    position: absolute;
    width: 200px;
    height: 200px;
    transition: left 0.1s ease-out, top 0.1s ease-out;
    z-index: 10;
}

.unicorn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Floating particles for extra magic */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
    .unicorn {
        width: 150px;
        height: 150px;
    }

    .unicorn img {
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
    }
}

@media (max-width: 480px) {
    .unicorn {
        width: 120px;
        height: 120px;
    }

    .unicorn img {
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
    }
}

@media (max-width: 320px) {
    .unicorn {
        width: 100px;
        height: 100px;
    }
}

/* Ensure touch targets are large enough */
.unicorn {
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}