/* Faster Theme - Streamlined and Quick */

/* Override main theme colors for speed-focused design */
:root {
    --primary: #ef4444;
    --primary-dark: #dc2626;
    --accent: #f97316;
    --gradient-start: #ef4444;
    --gradient-end: #f97316;
    --dark: #1f2937;
    --secondary: #6b7280;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* Better touch targets for mobile */
* {
    box-sizing: border-box;
}

/* Improved scrolling on mobile */
html {
    -webkit-overflow-scrolling: touch;
}

body {
    background: linear-gradient(135deg, #fef2f2 0%, #fed7d7 100%);
}

/* Streamlined Header */
.faster-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.faster-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    animation: fastMove 3s linear infinite;
}

@keyframes fastMove {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.faster-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.faster-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Quick Selection Form */
.quick-form {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.quick-form:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-height: 44px; /* Minimum touch target size */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.15);
    transform: translateY(-2px);
    outline: none;
}

/* Better select styling */
.package-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ef4444' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
    cursor: pointer;
}

/* Improved labels */
.form-label {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: block;
    transition: opacity 0.3s ease;
}

.form-label[style*="opacity"] {
    opacity: 0.5;
}

/* Package select disabled state */
.package-select:disabled {
    background-color: #f8f9fa;
    opacity: 0.6;
    cursor: not-allowed;
}

.package-select:disabled + .form-text {
    opacity: 0.5;
}


/* Package Details Display */
.package-details {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    border: 2px solid var(--primary);
    display: none;
    animation: slideDown 0.3s ease;
}

.package-details h6 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.package-details ul {
    list-style: none;
    padding-left: 0;
}

.package-details ul li {
    padding: 0.25rem 0;
    color: var(--dark);
}

.package-details ul li i {
    width: 20px;
}

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

.package-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Fast Action Buttons */
.fast-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Minimum touch target size */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.fast-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.fast-btn:not(:disabled)::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.fast-btn:not(:disabled):hover::before {
    width: 300px;
    height: 300px;
}

.fast-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
    color: white;
}

.fast-btn:not(:disabled):active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* Touch feedback for mobile */
@media (hover: none) and (pointer: coarse) {
    .fast-btn:not(:disabled):active {
        background: linear-gradient(135deg, var(--primary-dark), #ea580c);
        transform: scale(0.98);
    }
}

/* Speed Indicators */
.speed-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.speed-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary);
}

.speed-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.speed-title {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.speed-desc {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Loading States */
.fast-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 10px;
    margin: 1rem 0;
}

.fast-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #fee2e2;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: fastSpin 0.5s linear infinite;
    margin-right: 1rem;
}

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

/* Results Display */
.fast-result {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    border-left: 5px solid var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.result-success {
    border-left-color: var(--success);
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.result-error {
    border-left-color: var(--danger);
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
}

.result-warning {
    border-left-color: var(--warning);
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* Footer */
.faster-footer {
    background: linear-gradient(135deg, var(--dark-surface, #1a1a1a), #2a2a2a);
    color: #f0f0f0;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid var(--primary);
}

.faster-footer p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.faster-footer small {
    opacity: 0.8;
}

/* Optimized Input Group Styling */
.input-group {
    display: flex;
    width: 100%;
    position: relative;
}

.input-group .form-control {
    flex: 1;
    border-radius: 25px 0 0 25px;
    border-right: none;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    min-width: 0;
    transition: border-color 0.15s ease; /* Faster transition */
    will-change: border-color; /* Optimize for changes */
}

.input-group .fast-btn {
    border-radius: 0 25px 25px 0;
    padding: 1rem 1.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    will-change: transform, box-shadow;
}

.input-group .form-control:focus {
    border-right: none;
    z-index: 3;
    transform: none; /* Remove transform to prevent lag */
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step-item.active {
    opacity: 1;
}

.step-item.completed {
    opacity: 1;
    color: var(--success);
}

.step-number {
    width: 30px;
    height: 30px;
    background: #e5e7eb;
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: var(--primary);
    color: white;
}

.step-item.completed .step-number {
    background: var(--success);
    color: white;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Reduce animations on mobile for better performance */
@media (hover: none) and (pointer: coarse) {
    .form-control,
    .fast-btn,
    .input-group .form-control {
        transition: none; /* Disable transitions on touch devices */
    }
    
    .step-item,
    .step-number {
        transition: none;
    }
}

/* Enhanced Mobile Responsive */
@media (max-width: 992px) {
    .faster-header {
        padding: 1.5rem;
    }
    
    .faster-title {
        font-size: 2.2rem;
    }
    
    .speed-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .faster-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .faster-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .faster-subtitle {
        font-size: 1rem;
    }
    
    .speed-indicators {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .speed-card {
        padding: 1rem;
    }
    
    .speed-icon {
        font-size: 1.5rem;
    }
    
    .quick-form {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .quick-form .row {
        margin: 0;
    }
    
    .quick-form .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .quick-form .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile Process Steps */
    .process-steps {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 0.75rem;
    }
    
    .step-item {
        justify-content: flex-start;
        width: 100%;
    }
    
    .step-text {
        white-space: normal;
        font-size: 0.85rem;
    }
    
    /* Mobile Input Group */
    .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .input-group .form-control {
        border-radius: 12px;
        border-right: 2px solid #e5e7eb;
        width: 100%;
    }
    
    .input-group .fast-btn {
        border-radius: 12px;
        width: 100%;
        margin-bottom: 0;
    }
    
    .package-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
    
    .info-value {
        font-size: 1rem;
    }
    
    .package-details {
        padding: 1rem;
    }
    
    .package-details h6 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .faster-title {
        font-size: 1.6rem;
    }
    
    .speed-card {
        padding: 0.75rem;
        text-align: center;
    }
    
    .speed-title {
        font-size: 0.9rem;
    }
    
    .speed-desc {
        font-size: 0.8rem;
    }
    
    .quick-form {
        padding: 1rem 0.75rem;
    }
    
    .form-label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .form-control {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    .fast-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .package-info {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

/* Modal Enhancements */
.modal-dialog {
    margin: 1rem;
    max-width: 500px;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(239, 68, 68, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-body {
    padding: 2rem 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}
/* Community Section Styles */
.community-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #e3e6ff 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}
.community-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    z-index: 0;
}
.community-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    z-index: 0;
}
.community-content {
    position: relative;
    z-index: 2;
}
.community-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}
.community-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.community-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.community-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    text-decoration: none; /* REMOVED UNDERLINE */
}
.community-btn i {
    margin-right: 10px;
    font-size: 1.4rem;
}
.community-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.whatsapp-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); /* MATCHES FASTER THEME */
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    animation: pulse 2s infinite;
}
.tiktok-btn {
    background: linear-gradient(135deg, var(--dark), #2a2a2a); /* MATCHES FASTER THEME FOOTER */
    color: white;
    border: none;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .community-section {
        padding: 1.5rem;
    }
    .community-title {
        font-size: 1.5rem;
    }
    .community-buttons {
        flex-direction: column;
        align-items: center;
    }
    .community-btn {
        width: 100%;
        justify-content: center;
    }
}
/* Mobile Modal */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem;
        border-radius: 10px 10px 0 0;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin: 0;
    }
}

/* Loading and Result Enhancements */
.fast-loading {
    padding: 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 12px;
    margin: 1rem 0;
}

.fast-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #fee2e2;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: fastSpin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

.fast-result {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    text-align: center;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.fast-result .result-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fast-result h5, .fast-result h6 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.fast-result p {
    margin-bottom: 0;
    color: var(--secondary);
}

/* Player Profile Display */
.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 12px;
    border: 2px solid var(--success);
}

.player-avatar {
    font-size: 3rem;
    color: var(--success);
    flex-shrink: 0;
}

.player-details h5 {
    margin: 0 0 0.5rem 0;
    color: var(--dark);
    font-weight: 700;
}

.player-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* Optimized form controls to reduce lag */
.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Reduced transition duration */
    min-height: 44px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    will-change: border-color, box-shadow; /* Optimize for animations */
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.15);
    outline: none;
    transform: none; /* Remove transform to reduce lag */
}
