 
.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: #1a1a1a;
    min-height: 100vh;
}

.variant {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: #2a2a2a;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.variant:hover {
    transform: translateY(-5px);
}

/* Common Elements */
.circle {
    position: absolute;
    border-radius: 50%;
}

.star {
    position: absolute;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Animation Variants */
.variant-1 .circle {
    width: 80px;
    height: 80px;
    background: #ff6b6b;
    animation: pulse 2s infinite;
}

.variant-1 .star {
    width: 40px;
    height: 40px;
    background: #fff;
    animation: rotate 4s linear infinite;
}

.variant-2 .circle {
    width: 100px;
    height: 100px;
    border: 4px solid #4ecdc4;
    animation: orbit 3s linear infinite;
}

.variant-2 .star {
    width: 30px;
    height: 30px;
    background: #ffe66d;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

.variant-3 {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.variant-3 .circle {
    width: 120px;
    height: 120px;
    border: 3px dashed #fff;
    animation: rotate 8s linear infinite;
}

.variant-3 .star {
    width: 50px;
    height: 50px;
    background: #4ecdc4;
    animation: pulse 2s ease infinite;
}

.variant-4 .circle {
    width: 90px;
    height: 90px;
    background: #ffe66d;
    animation: morph 4s ease-in-out infinite;
}

.variant-4 .star {
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    animation: spin 3s linear infinite;
}

.variant-5 {
    overflow: hidden;
}

.variant-5 .circle {
    width: 150px;
    height: 150px;
    border: 4px solid #4ecdc4;
    animation: wave 5s ease-in-out infinite;
}

.variant-5 .star {
    width: 30px;
    height: 30px;
    background: #fff;
    animation: float 3s ease-in-out infinite;
}

.variant-6 {
    background: #4ecdc4;
}

.variant-6 .circle {
    width: 100px;
    height: 100px;
    background: #fff;
    animation: bounce 2s ease infinite;
}

.variant-6 .star {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    animation: spinReverse 2s linear infinite;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes morph {
    0%, 100% { border-radius: 50%; }
    50% { border-radius: 20%; transform: scale(0.9); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes spinReverse {
    100% { transform: rotate(-360deg); }
}

@keyframes wave {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
 