.game-body {
    background: #0d0f1a;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(5px);
}

.game-header .logo-text {
    font-size: 1.2rem;
}

.game-header .back-home img {
    height: 30px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.game-header .back-home img:hover {
    opacity: 1;
}

.wallet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-display);
    color: var(--color-text-muted);
}
.wallet-info .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}


#game-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 4rem;
}

.summoning-chamber {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.summoning-altar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px; /* Use min-height for flexibility */
}

.altar-floor {
    width: 320px;
    height: 80px;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.3) 0%, rgba(0, 255, 255, 0) 70%);
    border-radius: 50%;
    position: relative;
    margin-top: -10px;
    filter: blur(5px);
}
.summon-result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 20px;
}

.summon-result-placeholder {
    width: 280px;
    height: 380px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    z-index: 1;
    text-align: center; /* Center text */
    padding: 20px; /* Add some padding */
}

.summoning-controls {
    flex-basis: 400px;
    background: rgba(26, 26, 26, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.summoning-controls h2 {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.summon-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.summon-btn {
    padding: 1rem;
    border: 2px solid;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-family: var(--font-display);
    border-radius: 10px;
}
.summon-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}
.summon-btn small {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.summon-btn.blind-box {
    border-color: var(--color-primary);
    text-align: center;
    padding: 1.5rem;
    font-size: 1.5rem;
}

.summon-btn.blind-box:hover {
    box-shadow: 0 0 20px var(--color-primary), 0 0 30px var(--color-secondary);
}

.summon-hint {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.summon-btn.common { border-color: #88aaff; }
.summon-btn.common:hover { box-shadow: 0 0 15px #88aaff; }

.summon-btn.rare { border-color: #ff88ff; }
.summon-btn.rare:hover { box-shadow: 0 0 15px #ff88ff; }

.summon-btn.legendary { border-color: #ffff88; }
.summon-btn.legendary:hover { box-shadow: 0 0 15px #ffff88; }


/* My Pets Section */
.my-pets-section {
    width: 100%;
    max-width: 1200px;
}

.my-pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
    background: rgba(26, 26, 26, 0.5);
    padding: 2rem;
    border-radius: 15px;
    min-height: 200px;
    
    /* Responsive columns for better display */
    @media (min-width: 768px) {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    @media (min-width: 1024px) {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.25rem;
    }
    
    @media (min-width: 1200px) {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

/* Re-using and adapting pet-card styles from style.css for consistency */
.pet-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pet-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.pet-image, .pet-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.pet-video {
    opacity: 0;
}

.pet-card:hover .pet-video {
    opacity: 1;
}

.pet-card:hover .pet-image {
    opacity: 0;
}

.pet-info {
    padding: 1rem;
}

.pet-info h4 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-display);
}

.pet-rarity {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pet-rarity.common { background-color: #607d8b; color: white; }
.pet-rarity.rare { background-color: #5c6bc0; color: white; }
.pet-rarity.legendary { background-color: #fbc02d; color: black; }

.pet-stats {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.nft-actions {
    margin-top: 1rem;
    text-align: center;
}

.stake-nft-btn {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8rem;
    border-radius: 6px;
    border: none;
    background: #4F46E5;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stake-nft-btn:hover {
    background: #3B36D1;
    transform: translateY(-2px);
}

.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-muted);
    animation: pulse 1.5s infinite;
}

/* Removing old small card styles to avoid conflicts */
.pet-card-small {
    display: none;
}
.pet-card-small {
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}
.pet-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px var(--color-primary);
}
.pet-card-small.rarity-common { border-color: #8a9fba; }
.pet-card-small.rarity-rare { border-color: #88aaff; }
.pet-card-small.rarity-legendary { border-color: #facc15; }

.pet-card-small.rarity-legendary:hover {
    box-shadow: 0 0 15px #facc15;
}

.pet-card-small .pet-rarity-badge {
    top: 5px;
    padding: 2px 8px;
    font-size: 0.6rem;
}

.pet-card-small .pet-image-container {
    position: relative;
    background: #e0e0e0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.pet-card-small .pet-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.pet-card-small .pet-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pet-card-small:hover .pet-video,
.pet-card-small.playing .pet-video {
    opacity: 1;
}

.pet-card-small:hover .pet-image,
.pet-card-small.playing .pet-image {
    opacity: 0;
}
.pet-card-small .pet-name {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    background: #111;
    font-weight: 600;
}

.pet-card-small.rarity-rare .pet-name {
    color: #b0c8ff;
}

.pet-card-small.rarity-legendary .pet-name {
    color: #fde047;
}

.rarity-common { color: #aaa; }
.rarity-rare { color: #88aaff; }
.rarity-legendary { 
    color: #ffff88;
    text-shadow: 0 0 5px #ffff88;
}

/* Mobile optimizations for game page */
@media (max-width: 768px) {
    .my-pets-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .pet-card-small {
        border-radius: 8px;
    }
    
    .pet-card-small .pet-name {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    .pet-card-small .pet-rarity-badge {
        font-size: 0.5rem;
        padding: 1px 6px;
    }
    
    /* Improve touch targets */
    .pet-card-small {
        min-height: 120px;
    }
    
    /* Better mobile video handling */
    .pet-card-small.playing {
        border-color: var(--color-primary);
        box-shadow: 0 0 10px var(--color-primary);
    }
}

/* 多抽功能样式 - v2.1 */
.quantity-selector {
    margin-bottom: 2rem;
}

.quantity-selector h3 {
    font-family: var(--font-display);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.3rem;
}

.quantity-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.quantity-btn {
    position: relative;
    padding: 1rem 0.8rem;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-display);
    border-radius: 8px;
    min-height: 80px;
    justify-content: center;
}

.quantity-btn:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.quantity-btn.active {
    border-color: var(--color-primary);
    background: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.quantity-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.quantity-btn small {
    font-size: 0.75rem;
    opacity: 0.8;
    color: var(--color-text-muted);
}

.discount-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* 批量结果展示样式 */
.summon-result-container {
    width: 100%;
    min-height: 380px;
    position: relative;
}

.batch-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-height: 450px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.batch-result-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.batch-result-item:hover {
    transform: scale(1.02);
}

.batch-result-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.batch-result-item .pet-name {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.batch-result-item .pet-rarity {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.batch-result-item .rarity-common {
    color: #95a5a6;
}

.batch-result-item .rarity-rare {
    color: #3498db;
}

.batch-result-item .rarity-legendary {
    color: #f39c12;
}

/* 批量召唤进度条 */
.batch-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    color: var(--color-text);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

/* Mint requests section styles */
.mint-request-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mint-request-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mint-request-item.revealed {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.mint-request-item.ready {
    border-color: #FF9800;
    background: rgba(255, 152, 0, 0.1);
    animation: readyPulse 2s infinite;
}

.mint-request-item.expired {
    border-color: #666;
    background: rgba(102, 102, 102, 0.1);
    opacity: 0.7;
}

.mint-request-item.pending {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
}

@keyframes readyPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.1);
    }
}

.request-info {
    flex: 1;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.request-id {
    font-family: var(--font-display);
    color: #4F46E5;
    font-size: 0.9rem;
    font-weight: bold;
}

.request-time {
    font-size: 0.7rem;
    color: #888;
    font-family: monospace;
}

.request-details {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.detail-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    color: #ccc;
    font-weight: 500;
}

.btn-outline {
    background: transparent;
    border: 1px solid #4F46E5;
    color: #4F46E5;
}

.btn-outline:hover {
    background: #4F46E5;
    color: white;
}

.status-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.pending {
    background: #ff9800;
    color: white;
}

.status-badge.ready {
    background: #4CAF50;
    color: white;
    animation: pulse 1.5s infinite;
}

.status-badge.revealed {
    background: #2196F3;
    color: white;
}

.status-badge.expired {
    background: #666;
    color: #ccc;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.request-actions {
    margin-left: 1rem;
}

.text-error {
    color: #f44336;
    text-align: center;
    padding: 1rem;
}

/* Revealed NFTs display */
.revealed-nft-single {
    text-align: center;
    padding: 2rem;
}

.revealed-nft-single .nft-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid;
    max-width: 280px;
    width: 90%;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    
    /* Responsive sizing */
    @media (max-width: 768px) {
        max-width: 250px;
        padding: 1rem;
    }
    
    @media (max-width: 480px) {
        max-width: 220px;
        padding: 0.75rem;
    }
}

.revealed-nft-single .nft-card.rarity-common { border-color: #8a9fba; }
.revealed-nft-single .nft-card.rarity-rare { border-color: #88aaff; }
.revealed-nft-single .nft-card.rarity-legendary { border-color: #facc15; }

.revealed-nft-single .nft-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

.revealed-nft-single .nft-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.revealed-nft-single .nft-info h3 {
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.revealed-nft-single .rarity-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: white;
}

.revealed-nft-single .earning-info {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
}

.revealed-nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    
    /* Responsive columns for better display */
    @media (min-width: 768px) {
        grid-template-columns: repeat(6, 1fr);
    }
    
    @media (min-width: 1024px) {
        grid-template-columns: repeat(8, 1fr);
    }
    
    @media (min-width: 1200px) {
        grid-template-columns: repeat(10, 1fr);
    }
}

.revealed-nft-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.revealed-nft-item:hover {
    transform: scale(1.05);
}

.revealed-nft-item.rarity-common { border-color: #8a9fba; }
.revealed-nft-item.rarity-rare { border-color: #88aaff; }
.revealed-nft-item.rarity-legendary { border-color: #facc15; }

.revealed-nft-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.revealed-nft-item .nft-name {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.revealed-nft-item .nft-rarity {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
}

.revealed-nft-item .nft-rarity.common { color: #8a9fba; }
.revealed-nft-item .nft-rarity.rare { color: #88aaff; }
.revealed-nft-item .nft-rarity.legendary { color: #facc15; }

.reveal-actions {
    text-align: center;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Mint success display */
.mint-success-display {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 20, 0, 0.8);
    border-radius: 15px;
    border: 2px solid #4CAF50;
    margin: 1rem 0;
    animation: successFadeIn 0.5s ease-out;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.mint-success-display .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 0.6s ease-out;
}

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

.mint-success-display h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: var(--font-display);
}

.mint-success-display p {
    color: #ccc;
    margin-bottom: 1rem;
}

.mint-success-display .tx-info {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.mint-success-display .tx-info small {
    color: #888;
    font-family: monospace;
}

.mint-success-display .success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid #333;
    background: rgba(0, 0, 0, 0.7);
    color: #ccc;
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-small.btn-primary {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
}

.btn-small.btn-primary:hover {
    background: #3B36D1;
}

/* Mint Progress Tracker */
.mint-progress-tracker {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    animation: slideInUp 0.4s ease-out;
}

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

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-header h4 {
    margin: 0;
    font-family: var(--font-display);
    color: var(--color-text);
    font-size: 1.1rem;
}

.progress-status {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.progress-step.pending {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.progress-step.active {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transform: scale(1.02);
}

.progress-step.completed {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.progress-step.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-step.pending .step-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active .step-icon {
    background: var(--color-primary);
    color: #000;
    border: 2px solid var(--color-primary);
    animation: pulse 1.5s infinite;
}

.progress-step.completed .step-icon {
    background: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
}

.progress-step.completed .step-icon::before {
    content: "✓";
    font-size: 0.8rem;
}

.progress-step.error .step-icon {
    background: #f44336;
    color: white;
    border: 2px solid #f44336;
}

.progress-step.error .step-icon::before {
    content: "✗";
    font-size: 0.8rem;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-title {
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.9rem;
}

.step-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.step-status {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    min-width: 80px;
    text-align: right;
}

.progress-step.active .step-status::after {
    content: "...";
    animation: dots 1.5s infinite;
}

.progress-step.completed .step-status::after {
    content: "Done";
    color: #4CAF50;
    font-weight: 500;
}

.progress-step.error .step-status::after {
    content: "Failed";
    color: #f44336;
    font-weight: 500;
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.progress-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
}

.progress-actions .btn {
    flex: 1;
    max-width: 120px;
}

/* Loading spinner for active steps */
.progress-step.active .step-icon {
    position: relative;
}

.progress-step.active .step-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .summoning-chamber {
        flex-direction: column;
    }
    
    .quantity-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .quantity-btn {
        min-height: 60px;
        padding: 0.6rem 0.4rem;
    }
    
    .quantity-number {
        font-size: 1.2rem;
    }
    
    .batch-result-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }

    .mint-success-display .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-small {
        width: 100%;
        max-width: 200px;
    }
    
    .mint-progress-tracker {
        padding: 1rem;
    }
    
    .progress-step {
        padding: 0.5rem;
        gap: 0.75rem;
    }
    
    .step-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .progress-actions {
        flex-direction: column;
    }
    
    .progress-actions .btn {
        max-width: 100%;
    }
}
/* Image loading styles */
.pet-image, .staked-nft-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}
