@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&family=Fredoka:wght@600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: url('background.jpg') center center / cover no-repeat fixed;
    background-color: #1a1a1a;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* Animated background circles */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 200, 0, 0.3) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.circle1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle2 {
    width: 400px;
    height: 400px;
    top: 50%;
    right: -150px;
    animation-delay: 5s;
}

.circle3 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    33% {
        transform: translate(50px, 50px) scale(1.1);
        opacity: 0.7;
    }
    66% {
        transform: translate(-30px, 80px) scale(0.9);
        opacity: 0.6;
    }
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 15px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 15px;
    gap: 10px;
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 700;
    color: #130f00;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.buy-btn {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #000;
    padding: clamp(10px, 2.5vw, 14px) clamp(20px, 5vw, 35px);
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: clamp(13px, 3.5vw, 16px);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 200, 0, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 200, 0, 0.7);
    background: #FFC800;
}

.main-card {
    background: #fff001;
    border-radius: 25px;
    padding: clamp(20px, 5vw, 30px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.floating-mini-cards {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #fff001;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatCard 3s infinite ease-in-out;
}

.mini-card-left {
    top: 20px;
    left: -20px;
    animation-delay: 0s;
}

.mini-card-right {
    bottom: 50px;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.mini-card-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.main-character {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px auto;
    display: block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(36px, 10vw, 52px);
    font-weight: 700;
    color: #ff0000;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.contract-section {
    background: #f5f5f5;
    padding: clamp(12px, 3vw, 15px) clamp(15px, 4vw, 20px);
    border-radius: 15px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contract-text {
    font-family: 'Poppins', sans-serif;
    color: #000;
    font-size: clamp(11px, 3vw, 14px);
    font-weight: 600;
    word-break: break-all;
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.copy-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: clamp(8px, 2vw, 10px) clamp(12px, 3vw, 15px);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(16px, 4vw, 18px);
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #333;
    transform: scale(1.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 4vw, 20px);
    margin: 25px 0;
    flex-wrap: wrap;
}

.social-btn {
    width: clamp(55px, 13vw, 65px);
    height: clamp(55px, 13vw, 65px);
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 200, 0, 0.5);
}

.social-icon {
    width: clamp(30px, 7vw, 35px);
    height: clamp(30px, 7vw, 35px);
}

footer {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding: 20px 10px;
    color: #ffffff;
    font-size: clamp(11px, 3vw, 14px);
    font-weight: 600;
    line-height: 1.5;
}

.toast {
    font-family: 'Poppins', sans-serif;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #4CAF50;
    color: white;
    padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 30px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: clamp(13px, 3.5vw, 15px);
    font-weight: 600;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 600px) {
    .container {
        padding: 12px;
    }
    
    .floating-mini-cards {
        width: 65px;
        height: 65px;
    }
    
    .mini-card-image {
        width: 50px;
        height: 50px;
    }
    
    .main-character {
        max-width: 250px;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 10px 0;
    }
    
    .floating-mini-cards {
        width: 55px;
        height: 55px;
    }
    
    .mini-card-left {
        left: -10px;
    }
    
    .mini-card-right {
        right: -10px;
    }
    
    .mini-card-image {
        width: 40px;
        height: 40px;
    }
}
