/* Random Choice Picker Styles */
.rc-main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.rc-hero {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border-radius: 12px;
    padding: 40px 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rc-pulse 8s infinite linear;
}

@keyframes rc-pulse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rc-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.rc-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.rc-illustration {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.rc-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #ff6384, #ff9f40, #ffcd56, #4bc0c0, 
        #36a2eb, #9966ff, #ff6384
    );
    position: relative;
    animation: rc-spin 20s linear infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.rc-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #ff4757;
    z-index: 2;
}

@keyframes rc-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rc-tool-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.rc-input-section, .rc-results-section {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rc-input-group {
    margin-bottom: 20px;
}

.rc-input-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.rc-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s;
}

.rc-textarea:focus {
    outline: none;
    border-color: #6e8efb;
    box-shadow: 0 0 0 3px rgba(110, 142, 251, 0.2);
}

.rc-settings {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.rc-setting-group {
    flex: 1;
    min-width: 200px;
}

.rc-setting-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.95rem;
}

.rc-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #6e8efb;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.3s;
}

input[type="checkbox"]:checked + .rc-checkbox-custom {
    background-color: #6e8efb;
}

input[type="checkbox"]:checked + .rc-checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rc-select {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100px;
}

.rc-primary-btn {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 10px rgba(110, 142, 251, 0.3);
}

.rc-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 142, 251, 0.4);
}

.rc-primary-btn:active {
    transform: translateY(0);
}

.rc-results-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #444;
    font-weight: 600;
}

.rc-results-container {
    min-height: 150px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.rc-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    font-style: italic;
}

.rc-result-item {
    background: white;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #6e8efb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rc-result-item:last-child {
    margin-bottom: 0;
}

.rc-result-number {
    background: #6e8efb;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.rc-result-text {
    flex-grow: 1;
}

.rc-result-actions {
    display: flex;
    gap: 10px;
}

.rc-secondary-btn {
    background: white;
    color: #6e8efb;
    border: 2px solid #6e8efb;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.rc-secondary-btn:hover {
    background: #f0f4ff;
}

.rc-secondary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rc-icon {
    fill: currentColor;
}

.rc-info-section {
    margin-bottom: 50px;
}

.rc-section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #444;
    position: relative;
}

.rc-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6e8efb, #a777e3);
    margin: 15px auto 0;
    border-radius: 2px;
}

.rc-info-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.rc-info-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.rc-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.rc-info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.rc-info-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #444;
}

.rc-info-text {
    color: #666;
    line-height: 1.6;
}

.rc-content-section {
    margin-bottom: 50px;
}

.rc-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.rc-step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.rc-step-number {
    background: linear-gradient(to right, #6e8efb, #a777e3);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 3px;
}

.rc-step-content {
    flex-grow: 1;
}

.rc-step-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #444;
}

.rc-feature-highlight {
    background: #f0f4ff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

.rc-feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #444;
}

.rc-internal-link {
    color: #6e8efb;
    text-decoration: none;
    font-weight: 600;
}

.rc-internal-link:hover {
    text-decoration: underline;
}

.rc-faq-section {
    margin-bottom: 50px;
}

.rc-faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.rc-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.rc-faq-question {
    width: 100%;
    padding: 18px 25px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.rc-faq-question:hover {
    background: #f9f9f9;
}

.rc-faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.rc-faq-question.active .rc-faq-icon {
    transform: rotate(45deg);
}

.rc-faq-answer {
    padding: 0 25px;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.rc-faq-answer.show {
    padding: 15px 25px 25px;
    max-height: 500px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rc-title {
        font-size: 2.2rem;
    }
    
    .rc-subtitle {
        font-size: 1rem;
    }
    
    .rc-tool-container {
        flex-direction: column;
    }
    
    .rc-input-section, .rc-results-section {
        width: 100%;
    }
    
    .rc-info-box, .rc-step {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .rc-hero {
        padding: 30px 15px;
    }
    
    .rc-title {
        font-size: 1.8rem;
    }
    
    .rc-settings {
        flex-direction: column;
        gap: 15px;
    }
    
    .rc-setting-group {
        min-width: 100%;
    }
    
    .rc-result-actions {
        flex-direction: column;
    }
    
    .rc-secondary-btn {
        width: 100%;
    }
}