/* ═══════════════════════════════════════════════════════════════
   PREMIUM POTENTIAL CALCULATOR
   Evaluador de Potencial Premium con diseño glassmorphism
   ═══════════════════════════════════════════════════════════════ */

.calculator-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(10,10,10,0.98) 100%);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

/* Header */
.calculator-header {
    text-align: center;
    margin-bottom: 60px;
}

.calculator-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

.calculator-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
}

.calculator-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Form Styling */
.calculator-form {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 30px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.form-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.form-label i {
    color: #FFD700;
    font-size: 22px;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.radio-option {
    position: relative;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: block;
    padding: 18px 24px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-label {
    background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(212,175,55,0.15) 100%);
    border-color: #FFD700;
    color: #FFD700;
    box-shadow: 0 4px 20px rgba(212,175,55,0.3);
    transform: translateY(-2px);
}

.radio-label:hover {
    border-color: rgba(212,175,55,0.5);
    background: rgba(255,255,255,0.08);
}

/* Calculate Button */
.calculator-button {
    width: 100%;
    padding: 24px 48px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(212,175,55,0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.calculator-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.calculator-button:hover::before {
    left: 100%;
}

.calculator-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.6);
}

.calculator-button:active {
    transform: translateY(-1px);
}

/* Results Section */
.calculator-results {
    max-width: 900px;
    margin: 60px auto 0;
}

/* Analyzing Animation */
.analyzing {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
}

.analyzing-spinner {
    font-size: 60px;
    color: #FFD700;
    margin-bottom: 24px;
}

.analyzing-text {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 40px;
}

.analyzing-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.analyzing-steps .step {
    padding: 16px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.4);
    font-size: 16px;
    transition: all 0.3s ease;
}

.analyzing-steps .step.active {
    background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(212,175,55,0.15) 100%);
    border-color: #FFD700;
    color: #FFD700;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}

/* Results Content */
.results-content {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.results-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.potential-level {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    border-radius: 50px;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(212,175,55,0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Potential Bars */
.potential-bars {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.potential-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 20px;
    padding: 30px;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bar-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.bar-label i {
    color: #FFD700;
    font-size: 24px;
}

.bar-score {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bar-track {
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.view-bar {
    background: linear-gradient(90deg, #FF6B6B 0%, #FFD700 100%);
}

.tee-bar {
    background: linear-gradient(90deg, #4ECDC4 0%, #44E08F 100%);
}

.caddie-bar {
    background: linear-gradient(90deg, #A459D1 0%, #FFD700 100%);
}

.bar-description {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* Recommendations */
.recommendations {
    margin-bottom: 40px;
}

.recommendations-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.recommendations-title::before {
    content: '💡';
    font-size: 28px;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 15px;
}

.recommendation-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
}

.recommendation-text {
    flex: 1;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    line-height: 1.6;
}

/* Next Steps */
.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(212,175,55,0.2);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #D4AF37 100%);
}

.step-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.priority-high .step-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: #fff;
}

.priority-medium .step-badge {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
}

.priority-low .step-badge {
    background: linear-gradient(135deg, #4ECDC4 0%, #44E08F 100%);
    color: #fff;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.step-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Calculator Stats */
.calculator-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 20px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Results CTA */
.results-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 24px 48px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(212,175,55,0.4);
    transition: all 0.3s ease;
}

.results-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212,175,55,0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-title {
        font-size: 32px;
    }
    
    .calculator-subtitle {
        font-size: 16px;
    }
    
    .calculator-form {
        padding: 40px 24px;
    }
    
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .results-content {
        padding: 40px 24px;
    }
    
    .potential-level {
        font-size: 24px;
        padding: 12px 32px;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .calculator-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
}

/* Animation Keyframes */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
