/* Container Styles */
.scw-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.scw-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #6c5ce7 0%, #a29bfe 50%, #fd79a8 100%);
}

.scw-container h2 {
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 15px;
    position: relative;
}

.scw-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6c5ce7 0%, #a29bfe 100%);
    border-radius: 2px;
}

/* Tier List Styles */
.scw-tier-list {
    display: grid;
    gap: 25px;
    width: 100%;
}

/* Tier Item Styles */
.scw-tier-item {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scw-tier-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #6c5ce7 0%, #a29bfe 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.scw-tier-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
}

.scw-tier-item:hover::before {
    transform: scaleX(1);
}

/* Tier Header Styles */
.scw-tier-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.scw-tier-badge {
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

/* Tier Info Styles */
.scw-tier-info {
    margin-bottom: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scw-tier-amount {
    font-size: 26px;
    color: #2c3e50;
    font-weight: 700;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scw-tier-amount::before {
    content: 'Rp';
    font-size: 16px;
    color: #7f8c8d;
    margin-right: 5px;
    font-weight: 500;
}

/* Tier Action Styles */
.scw-tier-action {
    margin-top: auto;
}

/* Withdraw Button Styles */
.scw-withdraw-btn {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    width: 100%;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.scw-withdraw-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5f3dc4 0%, #4c63d2 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.scw-withdraw-btn:hover::before {
    opacity: 1;
}

.scw-withdraw-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
    color: white;
}

.scw-withdraw-btn.active {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
}

.scw-withdraw-btn.active:hover {
    background: linear-gradient(135deg, #5f3dc4 0%, #4c63d2 100%);
}

.scw-withdraw-btn.disabled {
    background: linear-gradient(135deg, #dfe6e9 0%, #ced4da 100%);
    color: #b2bec3;
    cursor: not-allowed;
    box-shadow: none;
}

.scw-withdraw-btn.disabled:hover {
    background: linear-gradient(135deg, #dfe6e9 0%, #ced4da 100%);
    transform: none;
}

/* Loading Animation */
.scw-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message Styles */
.scw-success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #28a745;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.scw-error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.scw-info-message {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #17a2b8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Empty State Styles */
.scw-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.scw-empty-state-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #bdc3c7;
}

.scw-empty-state-text {
    font-size: 16px;
    line-height: 1.5;
}

/* Card Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scw-tier-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.scw-tier-item:nth-child(1) { animation-delay: 0.1s; }
.scw-tier-item:nth-child(2) { animation-delay: 0.2s; }
.scw-tier-item:nth-child(3) { animation-delay: 0.3s; }
.scw-tier-item:nth-child(4) { animation-delay: 0.4s; }
.scw-tier-item:nth-child(5) { animation-delay: 0.5s; }
.scw-tier-item:nth-child(6) { animation-delay: 0.6s; }
.scw-tier-item:nth-child(7) { animation-delay: 0.7s; }

/* Responsive Styles */
@media (max-width: 992px) {
    .scw-tier-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .scw-container {
        padding: 25px;
        margin: 25px auto;
    }
    
    .scw-container h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .scw-tier-item {
        padding: 20px;
    }
    
    .scw-tier-amount {
        font-size: 24px;
    }
    
    .scw-withdraw-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .scw-tier-list {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .scw-container {
        padding: 20px;
        margin: 20px 15px;
    }
    
    .scw-container h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .scw-tier-item {
        padding: 20px;
    }
    
    .scw-tier-amount {
        font-size: 22px;
    }
    
    .scw-withdraw-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}