/* ========================================
   DREAMWONDER STARTER KIT STYLES - ENHANCED
======================================== */

/* ========================================
   ENHANCED HERO SECTION - MORE STANDOUT
======================================== */
.kit-hero {
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, 
        var(--light-pink) 0%, 
        var(--lavender-pink) 20%, 
        var(--mint-green) 40%,
        var(--pastel-aqua) 60%,
        var(--bubblegum-pink) 80%,
        var(--light-pink) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(248, 165, 218, 0.3);
}

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

.kit-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(248, 165, 218, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(200, 167, 241, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(134, 221, 220, 0.3) 0%, transparent 60%);
    z-index: 1;
}

.kit-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.6)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.5)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite" begin="0.5s"/></circle><circle cx="60" cy="70" r="2.5" fill="rgba(255,255,255,0.4)"><animate attributeName="opacity" values="0;1;0" dur="2.5s" repeatCount="indefinite" begin="1s"/></circle></svg>') repeat;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
    margin: 0 auto;
}

.price-highlight {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 60px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(248, 165, 218, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(1);
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        box-shadow: 
            0 20px 40px rgba(248, 165, 218, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% { 
        transform: translateY(-8px) scale(1.02); 
        box-shadow: 
            0 25px 50px rgba(248, 165, 218, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.price-main {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: var(--font-weight-bold);
    background: linear-gradient(45deg, var(--bubblegum-pink), var(--lavender-pink), var(--mint-green));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(248, 165, 218, 0.5);
}

@keyframes textShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.price-sub {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Section - Mobile Responsive */
@media (max-width: 768px) {
    .kit-hero {
        padding: 50px 0 40px;
    }
    
    .price-highlight {
        padding: 20px 25px;
        gap: 12px;
    }
    
    .price-main {
        font-size: 2.2rem;
    }
    
    .price-sub {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .kit-hero {
        padding: 40px 0 35px;
    }
    
    .price-highlight {
        padding: 18px 22px;
        gap: 10px;
    }
    
    .price-main {
        font-size: 1.9rem;
    }
    
    .price-sub {
        font-size: 0.85rem;
    }
}

/* ========================================
   KIT BUILDER SECTION
======================================== */
.kit-builder {
    padding: 40px 0 0px;
    background: var(--primary-bg);
}

.kit-step {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    border: 2px solid var(--light-pink);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.step-header {
    text-align: center;
    margin-bottom: 25px;
}

.step-number {
    display: inline-block;
    background: var(--gradient-button);
    color: var(--primary-bg);
    padding: 8px 16px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.step-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-text);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-subtitle {
    font-size: 1rem;
    color: var(--primary-text);
    opacity: 0.7;
    margin: 10px 0 0 0;
}

/* ========================================
   PHONE MODEL SELECTOR (STEP 1)
======================================== */
.model-selector {
    max-width: 400px;
    margin: 0 auto;
}

.form-select {
    padding: 15px 20px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    background: var(--primary-bg);
    border: 2px solid var(--muted-cyan);
    border-radius: 15px;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--bubblegum-pink);
    box-shadow: 0 0 0 3px rgba(248, 165, 218, 0.2);
    outline: none;
}

/* ========================================
   CASE COLOR SELECTOR (STEP 2)
======================================== */
.case-color-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0px;
}

.case-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-color-item input[type="radio"] {
    display: none;
}

.case-color-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.case-color-preview {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--muted-cyan);
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.case-color-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-color-name {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-text);
    text-align: center;
    transition: all 0.3s ease;
}

/* Selected state */
.case-color-item input[type="radio"]:checked + .case-color-label .case-color-preview {
    border-color: var(--bubblegum-pink);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(248, 165, 218, 0.4);
}

.case-color-item input[type="radio"]:checked + .case-color-label .case-color-img {
    transform: scale(1.05);
}

.case-color-item input[type="radio"]:checked + .case-color-label .case-color-name {
    color: var(--bubblegum-pink);
    font-weight: var(--font-weight-bold);
}

/* Hover state */
.case-color-label:hover .case-color-preview {
    border-color: var(--lavender-pink);
    transform: scale(1.05);
}

.case-color-label:hover .case-color-name {
    color: var(--lavender-pink);
}

/* Case Color - Responsive Design */
@media (max-width: 768px) {
    .case-color-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        max-width: 400px;
    }
    
    .case-color-preview {
        width: 70px;
        height: 70px;
    }
    
    .case-color-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .case-color-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        max-width: 350px;
    }
    
    .case-color-preview {
        width: 60px;
        height: 60px;
    }
    
    .case-color-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .case-color-container {
        gap: 6px;
        max-width: 320px;
    }
    
    .case-color-preview {
        width: 55px;
        height: 55px;
    }
    
    .case-color-name {
        font-size: 0.7rem;
    }
}

/* ========================================
   FUNZ CONTROLS (STEP 3)
======================================== */
.funz-controls {
    margin-bottom: 30px;
}

/* Search Bar */
.funz-search {
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lavender-pink);
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--muted-cyan);
    border-radius: 25px;
    background: var(--primary-bg);
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--primary-text);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--bubblegum-pink);
    box-shadow: 0 0 0 3px rgba(248, 165, 218, 0.2);
}

.search-input::placeholder {
    color: var(--primary-text);
    opacity: 0.5;
}

/* Category Slider */
.category-slider-wrapper {
    margin-bottom: 20px;
    overflow: hidden;
}

.category-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-tag {
    flex-shrink: 0;
    padding: 8px 16px;
    border: 2px solid var(--muted-cyan);
    border-radius: 20px;
    background: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-tag:hover {
    border-color: var(--lavender-pink);
    background: var(--light-pink);
}

.category-tag.active {
    border-color: var(--bubblegum-pink);
    background: var(--bubblegum-pink);
    color: var(--primary-bg);
    font-weight: var(--font-weight-bold);
}

/* Counter */
.funz-counter {
    text-align: center;
    padding: 15px;
    background: var(--light-pink);
    border-radius: 15px;
    border: 2px solid var(--muted-cyan);
}

.counter-text {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--primary-text);
}

.extra-cost {
    display: block;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--bubblegum-pink);
    font-weight: var(--font-weight-bold);
    margin-top: 5px;
}

/* ========================================
   FUNZ GRID
======================================== */
.funz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.funz-item {
    position: relative;
    cursor: pointer;
}

.funz-card {
    background: var(--primary-bg);
    border: 2px solid var(--muted-cyan);
    border-radius: 15px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.funz-preview {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.funz-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.funz-name {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.funz-count {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--bubblegum-pink);
    color: var(--primary-bg);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--primary-bg);
    z-index: 10;
}

.funz-item:hover .funz-card {
    border-color: var(--lavender-pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200, 167, 241, 0.3);
}

.funz-item.selected .funz-card {
    border-color: var(--bubblegum-pink);
    background: var(--light-pink);
    box-shadow: 0 8px 25px rgba(248, 165, 218, 0.4);
}

.funz-item.selected {
    position: relative;
}

.funz-remove-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    border: 2px solid var(--primary-bg);
    transition: all 0.3s ease;
    z-index: 10;
}

.funz-remove-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

/* ========================================
   SELECTED FUNZ DISPLAY
======================================== */
.selected-funz {
    margin-top: 40px;
    padding: 25px;
    background: var(--light-pink);
    border-radius: 20px;
    border: 2px solid var(--muted-cyan);
}

.selected-funz h4 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-text);
    font-family: var(--font-primary);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.selected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    justify-items: center;
}

.selected-item {
    position: relative;
    background: var(--primary-bg);
    border: 2px solid var(--bubblegum-pink);
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.selected-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 165, 218, 0.4);
}

.selected-item .funz-preview {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.selected-item .funz-name {
    font-size: 0.7rem;
    line-height: 1.1;
    margin-top: auto;
}

.selected-item .funz-count {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--bubblegum-pink);
    color: var(--primary-bg);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: var(--font-weight-bold);
    border: 2px solid var(--primary-bg);
    z-index: 5;
}

.remove-funz {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    cursor: pointer;
    border: 2px solid var(--primary-bg);
    transition: all 0.3s ease;
}

.remove-funz:hover {
    background: #ff5252;
    transform: scale(1.1);
}

/* ========================================
   UNIQUE DREAM KIT BUTTON
======================================== */
.order-section {
    margin-top: 50px;
    text-align: center;
    padding: 30px;
    background: var(--light-pink);
    border-radius: 25px;
    border: 2px solid var(--muted-cyan);
}

.price-summary {
    margin-bottom: 25px;
}

.total-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary);
}

.price-label {
    font-size: 1.2rem;
    color: var(--primary-text);
    font-weight: var(--font-weight-medium);
}

.price-value {
    font-size: 2rem;
    color: var(--bubblegum-pink);
    font-weight: var(--font-weight-bold);
}

.dream-kit-btn {
    position: relative;
    padding: 20px 50px;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    border: none;
    border-radius: 35px;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(135deg, 
        #667eea 0%, 
        #764ba2 33%, 
        #f093fb 66%,
        #4facfe 100%);
    background-size: 400% 400%;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.dream-kit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.7s;
}

.dream-kit-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.dream-kit-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(102, 126, 234, 0.6),
        0 10px 20px rgba(0, 0, 0, 0.2);
    background-position: 100% 0;
    animation: gradientPulse 2s ease infinite;
}

.dream-kit-btn:hover::before {
    left: 100%;
}

.dream-kit-btn:hover::after {
    width: 600px;
    height: 600px;
}

.dream-kit-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s;
}

.dream-kit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

.dream-kit-btn:disabled:hover {
    transform: none;
    box-shadow: 
        0 15px 35px rgba(102, 126, 234, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Button Text Animation */
.dream-kit-btn .btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.dream-kit-btn:hover .btn-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Button Icon */
.dream-kit-btn .btn-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.dream-kit-btn:hover .btn-icon {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* ========================================
   RANDOM FUNZ FEATURE
======================================== */
.random-funz-section {
    margin-top: 20px;
    text-align: center;
}

.random-funz-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--mint-green), var(--pastel-aqua));
    border: 2px solid var(--muted-cyan);
    border-radius: 25px;
    color: var(--primary-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.random-funz-btn:hover {
    background: linear-gradient(135deg, var(--pastel-aqua), var(--mint-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(134, 221, 220, 0.4);
}

.random-funz-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.random-icon {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

.random-text {
    font-size: 1rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Random Animation Styles */
.random-animation {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 2px solid var(--bubblegum-pink);
    box-shadow: 0 8px 25px rgba(248, 165, 218, 0.3);
}

.emoji-swap {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: fastSwap 0.1s infinite;
}

@keyframes fastSwap {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.funz-reveal {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

.funz-reveal.show {
    opacity: 1;
    transform: scale(1);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.9);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.random-funz-image {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 3px solid var(--bubblegum-pink);
    margin-bottom: 10px;
    object-fit: cover;
    background: white;
}

.random-funz-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--bubblegum-pink);
    text-align: center;
    margin-bottom: 10px;
}

/* Sparkle Effect */
.sparkle-effect {
    position: relative;
    overflow: visible;
}

.sparkle-effect::before,
.sparkle-effect::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    animation: sparkle 1s ease-in-out;
    pointer-events: none;
}

.sparkle-effect::before {
    top: -10px;
    left: -10px;
    animation-delay: 0.2s;
}

.sparkle-effect::after {
    bottom: -10px;
    right: -10px;
    animation-delay: 0.4s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    .kit-step {
        margin-bottom: 30px;
        padding: 20px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .funz-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .selected-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    }
    
    .selected-item {
        width: 70px;
        height: 90px;
    }
    
    .dream-kit-btn {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
    
    .random-funz-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .random-icon {
        font-size: 1rem;
    }
    
    .emoji-swap {
        font-size: 2.5rem;
    }
    
    .random-funz-image {
        width: 70px;
        height: 70px;
    }
    
    .random-funz-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .kit-step {
        padding: 15px;
    }
    
    .funz-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .dream-kit-btn {
        padding: 16px 35px;
        font-size: 1.1rem;
        gap: 8px;
    }
}

/* ========================================
   ANIMATIONS & EFFECTS
======================================== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.funz-item.loading .funz-card {
    background: linear-gradient(90deg, 
        rgba(224, 210, 240, 0.3) 25%, 
        rgba(248, 165, 218, 0.3) 50%, 
        rgba(224, 210, 240, 0.3) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Enhanced pulse for random success */
.random-success {
    animation: slideInRight 0.5s ease, randomPulse 2s infinite !important;
}

@keyframes randomPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(134, 221, 220, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(134, 221, 220, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(134, 221, 220, 0);
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 165, 218, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(248, 165, 218, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(248, 165, 218, 0);
    }
}