* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #ffffff;
    color: #333;
    min-height: 100vh;
    direction: ltr;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(to right, #00dcff, #00ff8f);
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.step {
    display: none;
    text-align: center;
}

.step.active {
    display: block;
}

/* Step 1 - ID Input */
.input-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.input-group {
    margin-bottom: 40px;
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 15px;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #666;
    z-index: 2;
}

#playerId {
    width: 100%;
    padding: 12px 15px 12px 40px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: #ffffff;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#playerId::placeholder {
    color: #999;
}

#playerId:focus {
    outline: none;
    border-color: #00dcff;
    box-shadow: 0 0 20px rgba(0, 220, 255, 0.3);
}

.continue-btn {
    background: linear-gradient(to right, #00dcff, #00ff8f);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', Arial, sans-serif;
    box-shadow: 0 4px 15px rgba(0, 220, 255, 0.3);
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 220, 255, 0.4);
    background: linear-gradient(to right, #00b8d4, #00e676);
}

.continue-btn.disabled {
    background: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.continue-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Animated Logo */
.logo-animation {
    margin-top: 60px;
}

.animated-logo {
    display: inline-block;
    animation: pulse 2s infinite;
}

.diamond-logo {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 20px rgba(0, 220, 255, 0.6));
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Loading */
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 220, 255, 0.3);
    border-top: 4px solid #00dcff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    font-size: 1.4rem;
    color: #333;
}

/* Step 2 - Diamond Selection */
.welcome-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: normal;
}

.welcome-section p strong {
    font-weight: 700;
}

.diamond-selection {
    max-width: 420px;
    margin: 0 auto;
}

.selected-diamonds {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.selected-diamonds label {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
}

.amount-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.diamond-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.diamond-option {
    background: #f8f9fa;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.diamond-option:hover {
    border-color: #00dcff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 220, 255, 0.2);
}

.diamond-option input[type="radio"] {
    display: none;
}

.diamond-option input[type="radio"]:checked + label,
.diamond-option:has(input[type="radio"]:checked) {
    background: linear-gradient(to right, #00dcff, #00ff8f);
    border-color: #00dcff;
    color: #ffffff;
}

.diamond-option label {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    color: #333;
}

/* Step 3 - Final Verification */
.final-step h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #00dcff;
}

.description {
    max-width: 480px;
    margin: 0 auto 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.description p {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.diamond-summary {
    max-width: 320px;
    margin: 0 auto;
    background: #f8f9fa;
    border: 2px solid #00dcff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 220, 255, 0.2);
}

.summary-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.diamond-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00dcff;
    margin-bottom: 20px;
}

.verify-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', Arial, sans-serif;
    width: 320px;
    max-width: 100%;
    margin-top: 15px;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

/* Final Loading */
.loading-content p {
    font-size: 1.2rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-name {
        font-size: 1.5rem;
    }
    
    .input-section h2 {
        font-size: 1.1rem;
    }
    
    #playerId {
        font-size: 0.9rem;
        padding: 10px 12px 10px 35px;
    }
    
    .input-icon {
        font-size: 1.1rem;
        left: 10px;
    }
    
    .diamond-logo {
        width: 120px;
        height: 120px;
    }
    
    .diamond-options {
        grid-template-columns: 1fr;
    }
    
    .final-step h2 {
        font-size: 1.5rem;
    }
    
    .description p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        gap: 6px;
    }
    
    .site-name {
        font-size: 1.4rem;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    #playerId {
        max-width: 100%;
        font-size: 0.85rem;
        padding: 10px 10px 10px 30px;
    }
    
    .diamond-logo {
        width: 100px;
        height: 100px;
    }
    
    .continue-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}