/* Path Selection Pills */
.demo-path-selection-pills {
    margin-bottom: 3rem;
}

.demo-pill-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.demo-path-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-path-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 191, 255, 0.3), transparent);
    transition: left 0.5s;
}

.demo-path-pill:hover::before {
    left: 100%;
}

.demo-path-pill:hover {
    border-color: rgba(0, 191, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.2);
}

.demo-path-pill.active {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    border-color: #00BFFF;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

/* Path Controls */
.demo-path-controls {
    min-height: 300px;
    transition: all 0.3s ease;
}

/* Game Carousel */
.demo-game-carousel-section {
    margin-bottom: 2rem;
}

.demo-game-carousel {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 0;
}

.demo-carousel-nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.demo-carousel-nav:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00BFFF;
    color: white;
}

.demo-carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-game-carousel-track {
    display: flex;
    gap: 1rem;
    margin: 0 1rem;
    flex: 1;
    overflow: hidden;
}

.demo-game-tile {
    position: relative;
    width: 120px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    flex-shrink: 0;
}

.demo-game-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.demo-game-tile:hover img {
    transform: scale(1.05);
}

.demo-game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem 0.5rem 0.5rem;
    text-align: center;
}

.demo-game-overlay h6 {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.demo-game-tile.selected {
    border-color: #00BFFF;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.demo-game-tile.selected .demo-game-overlay {
    background: linear-gradient(transparent, rgba(0, 191, 255, 0.8));
}

/* Selection Groups */
.demo-selection-group {
    text-align: center;
}

.demo-resolution-buttons, .demo-brand-selection, .demo-budget-buttons, .demo-performance-buttons, .demo-usecase-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-resolution-btn, .demo-brand-btn, .demo-budget-btn, .demo-performance-btn, .demo-usecase-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.demo-resolution-btn:hover, .demo-brand-btn:hover, .demo-budget-btn:hover, .demo-performance-btn:hover, .demo-usecase-btn:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00BFFF;
    color: white;
}

.demo-resolution-btn.active, .demo-brand-btn.active, .demo-budget-btn.active, .demo-performance-btn.active, .demo-usecase-btn.active {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    border-color: #00BFFF;
    color: white;
}

.demo-brand-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Enhanced spacing for horizontal use case buttons */
.horizontal-use-case-buttons {
    display: flex;
    gap: 1.5rem; /* Increase gap between buttons */
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 1rem; /* Add horizontal padding */
}

    .horizontal-use-case-buttons .demo-usecase-btn {
        min-width: 140px; /* Ensure consistent button width */
        padding: 1rem 1.5rem; /* Increase button padding for better spacing */
        margin: 0.25rem; /* Add small margin around each button */
    }

/* Vertical margins for slider sections */
.needs-sliders-grid {
    margin-top: 0rem; /* Space above slider grid */
    margin-bottom: 0rem; /* Space below slider grid */
}

    .needs-sliders-grid .row {
        margin-bottom: 0rem; /* Space between slider rows */
    }

        .needs-sliders-grid .row:last-child {
            margin-bottom: 0; /* Remove bottom margin from last row */
        }

    .needs-sliders-grid .demo-selection-group {
        margin-bottom: 0rem; /* Vertical margin for each slider group */
        padding: 1rem 0.5rem; /* Add padding around each slider */
    }

    /* Additional spacing for budget slider wrapper */
    .needs-sliders-grid .budget-slider-wrapper {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 0.5rem;
    }

/* Enhanced responsive spacing */
@media (max-width: 768px) {
    .horizontal-use-case-buttons {
        gap: 1rem; /* Reduce gap on mobile */
        flex-direction: column; /* Stack buttons vertically on mobile */
        align-items: center;
    }

        .horizontal-use-case-buttons .demo-usecase-btn {
            width: 100%;
            max-width: 280px; /* Limit button width on mobile */
            margin: 0.5rem 0; /* Increase vertical margin on mobile */
        }

    .needs-sliders-grid .row {
        margin-bottom: 2.5rem; /* Increase row spacing on mobile */
    }

    .needs-sliders-grid .demo-selection-group {
        margin-bottom: 2rem; /* Increase slider group margin on mobile */
        padding: 1.5rem 1rem; /* More padding on mobile */
    }
}

@media (max-width: 576px) {
    .horizontal-use-case-buttons {
        padding: 0 0.5rem;
    }

        .horizontal-use-case-buttons .demo-usecase-btn {
            margin: 0.75rem 0; /* Even more vertical spacing on small screens */
            padding: 1.25rem 1rem; /* Larger touch targets */
        }

    .needs-sliders-grid {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

        .needs-sliders-grid .demo-selection-group {
            margin-bottom: 2.5rem; /* Maximum spacing on small screens */
            padding: 2rem 1rem;
        }
}

/* Component Browser Controls */
.demo-filter-group {
    margin-bottom: 1rem;
}

.demo-filter-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.demo-price-range {
    text-align: center;
}

.demo-form-range {
    margin-bottom: 0.5rem;
}

.demo-form-select, .demo-form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.demo-form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00BFFF;
    color: white;
    box-shadow: 0 0 0 0.25rem rgba(0, 191, 255, 0.25);
}

.demo-form-select option {
    background: #0f0f0f;
    color: white;
}

.demo-form-check-label {
    color: white;
    font-size: 0.9rem;
}

/* Component Build Table */
.demo-component-build-table {
    padding: 0;
    overflow: hidden;
    font-size: 0.8rem;
}

.demo-table {
    margin: 0;
    color: white;
    table-layout: fixed;
    width: 100%;
}

.demo-table-header {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.2), rgba(30, 144, 255, 0.2));
    border-bottom: 2px solid rgba(0, 191, 255, 0.3);
}

.demo-table-header th {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.25rem 1rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    vertical-align: middle;
}

.demo-component-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-component-row:hover {
    background: rgba(0, 191, 255, 0.05);
}

.demo-component-row.has-selection {
    background: rgba(0, 191, 255, 0.02);
}

.demo-component-row.empty-selection {
    background: rgba(255, 255, 255, 0.01);
}

.demo-component-row td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
    text-align: left;
}

/* Table Column Styles - Fixed widths for better alignment */
.demo-component-col {
    width: 28%;
}

.demo-product-col {
    width: 10%;
    text-align: center;
}

.demo-title-col {
    width: 32%;
}

.demo-price-col {
    width: 12%;
    text-align: right;
}

.demo-link-col {
    width: 14%;
    text-align: center;
}

.demo-remove-col {
    width: 4%;
    text-align: center;
}

/* Component Type Styling */
.demo-component-type {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.demo-component-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

.demo-cpu-icon {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
}

.demo-gpu-icon {
    background: linear-gradient(135deg, #1E90FF, #0080FF);
}

.demo-ram-icon {
    background: linear-gradient(135deg, #45b7d1, #4fc3f7);
}

.demo-mb-icon {
    background: linear-gradient(135deg, #96ceb4, #81c784);
}

.demo-storage-icon {
    background: linear-gradient(135deg, #f7b731, #f39c12);
}

.demo-psu-icon {
    background: linear-gradient(135deg, #e17055, #d63031);
}

.demo-case-icon {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.demo-cooling-icon {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.demo-component-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.demo-component-name {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-component-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0.25rem 0 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product Image */
.demo-product-image {
    text-align: center;
    padding: 0.5rem;
}

.demo-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-empty-product {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    padding: 1rem;
}

/* Product Title */
.demo-product-title {
    min-width: 0;
}

.demo-product-title h6 {
    color: white;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-product-specs {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-empty-title {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Price Display */
.demo-price-display {
    text-align: right;
    padding: 0 1rem;
}

.demo-price-amount {
    color: #00BFFF;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.demo-empty-price {
    text-align: right;
    color: rgba(255, 255, 255, 0.3);
}

/* Product Actions */
.demo-product-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-product-actions .btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
}

/* Build Summary Panel */
.demo-build-summary-panel {
    padding: 2rem;
}

.demo-summary-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.demo-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.demo-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.demo-stat-value {
    color: #00BFFF;
    font-weight: 600;
    font-size: 1.1rem;
}

.demo-total-price-display {
    text-align: right;
}

.demo-price-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.demo-total-price-amount {
    color: #00BFFF;
    font-size: 2rem;
    font-weight: 700;
}

/* Enhanced Path Selection Cards */
.path-selection-section {
    margin-bottom: 4rem;
}

.path-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.path-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.path-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover::before {
    opacity: 1;
}

.path-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.2);
}

.path-card.active {
    border-color: #00BFFF;
    background: rgba(0, 191, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 191, 255, 0.3);
    transform: translateY(-5px);
}

.path-card.active::before {
    opacity: 0.5;
}

.path-icon-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.path-icon {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: white;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.path-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(45deg, #00BFFF, #1E90FF, #00CED1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.path-card:hover .path-icon::before,
.path-card.active .path-icon::before {
    opacity: 1;
}

.path-icon i {
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Icon-specific gradients */
.game-based-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53, #FF6B9D);
}

.component-browser-icon {
    background: linear-gradient(135deg, #4ECDC4, #44A08D, #093637);
}

.needs-based-icon {
    background: linear-gradient(135deg, #A8EDEA, #FED6E3, #D299C2);
}

/* Neon text effects */
.neon-text {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(0, 191, 255, 0.5),
        0 0 15px rgba(0, 191, 255, 0.3),
        0 0 20px rgba(0, 191, 255, 0.2);
    transition: all 0.3s ease;
}

.path-card:hover .neon-text,
.path-card.active .neon-text {
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.8),
        0 0 10px rgba(0, 191, 255, 0.8),
        0 0 15px rgba(0, 191, 255, 0.6),
        0 0 20px rgba(0, 191, 255, 0.4),
        0 0 35px rgba(0, 191, 255, 0.3);
}

.path-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.path-title-secondary {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-transform: uppercase;
}

.path-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-top: 1rem;
    padding: 0 1rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

.path-card-wrapper:hover .path-subtitle {
    color: rgba(0, 191, 255, 0.9);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

/* Empty state styling */
.no-path-selected {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced budget and game selection styles */
.budget-selection-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.budget-range-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.budget-slider-wrapper {
    text-align: center;
}

.budget-slider {
    margin-bottom: 0.5rem;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    outline: none;
    border: none;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
}

.budget-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.budget-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00BFFF;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.budget-tier {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.budget-presets {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.budget-preset {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    line-height: 1.2;
    text-align: center;
}

.budget-preset:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00BFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

.budget-preset.active {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    border-color: #00BFFF;
    box-shadow: 0 5px 20px rgba(0, 191, 255, 0.4);
}

/* Game selection enhancements */
.game-section-header {
    margin-bottom: 1.5rem;
}

.game-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.game-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.game-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
}

.game-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.game-search:focus {
    outline: none;
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.game-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.game-filter {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.game-filter:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: #00BFFF;
}

.game-filter.active {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    border-color: #00BFFF;
}

/* Extra styling for better table appearance */
.demo-table-responsive {
    border-radius: 15px;
    overflow: hidden;
}

.demo-component-row:last-child {
    border-bottom: none;
}

.demo-btn-sm {
    border-radius: 6px;
    font-weight: 500;
}

.demo-btn-outline-primary {
    border-color: rgba(0, 191, 255, 0.5);
    color: #00BFFF;
}

.demo-btn-outline-primary:hover {
    background-color: #00BFFF;
    border-color: #00BFFF;
    color: white;
}

.demo-btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.demo-btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.demo-btn-outline-danger {
    border-color: rgba(220, 53, 69, 0.5);
    color: #dc3545;
}

.demo-btn-outline-danger:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Enhanced Horizontal Path Selection Buttons */
.path-selection-section {
    margin-bottom: 4rem;
}

.path-buttons-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.path-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.path-button {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.path-button i {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.button-text {
    display: flex;
    flex-direction: column;
}

.button-title {
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Gaming Path Button - Red/Pink Theme */
.path-button-gaming {
    background: rgba(255, 107, 107, 0.15);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.path-button-gaming:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    background: rgba(255, 107, 107, 0.25);
    color: white;
    border-color: rgba(255, 107, 107, 0.6);
}

.path-button-gaming.active {
    background: linear-gradient(135deg, #FF5252, #FF6B6B, #FF8A80);
    box-shadow: 0 12px 35px rgba(255, 82, 82, 0.7);
    transform: translateY(-3px);
    border-color: #FF5252;
}

.path-button-gaming::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;
}

.path-button-gaming:hover::before {
    left: 100%;
}

/* Component Browser Button - Teal/Green Theme */
.path-button-component {
    background: rgba(78, 205, 196, 0.15);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.path-button-component:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(78, 205, 196, 0.4);
    background: rgba(78, 205, 196, 0.25);
    color: white;
    border-color: rgba(78, 205, 196, 0.6);
}

.path-button-component.active {
    background: linear-gradient(135deg, #26A69A, #4ECDC4, #80CBC4);
    box-shadow: 0 12px 35px rgba(38, 166, 154, 0.7);
    transform: translateY(-3px);
    border-color: #26A69A;
}

.path-button-component::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;
}

.path-button-component:hover::before {
    left: 100%;
}

/* Needs-Based Button - Purple/Blue Theme */
.path-button-needs {
    background: rgba(168, 237, 234, 0.15);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(168, 237, 234, 0.2);
    border: 2px solid rgba(168, 237, 234, 0.3);
}

.path-button-needs:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(168, 237, 234, 0.4);
    background: rgba(168, 237, 234, 0.25);
    color: white;
    border-color: rgba(168, 237, 234, 0.6);
}

.path-button-needs.active {
    background: linear-gradient(135deg, #9C27B0, #E1BEE7, #F8BBD9);
    color: white;
    box-shadow: 0 12px 35px rgba(156, 39, 176, 0.7);
    transform: translateY(-3px);
    border-color: #9C27B0;
}

.path-button-needs::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;
}

.path-button-needs:hover::before {
    left: 100%;
}

/* Path Button Subtitles */
.path-button-subtitle {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
    padding: 0 1rem;
}

/* Enhanced hover effects for subtitles */
.path-button-wrapper:hover .path-button-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    transform: translateY(-2px);
}

/* Gaming button subtitle hover effect */
.path-button-wrapper:has(.path-button-gaming:hover) .path-button-subtitle {
    color: rgba(255, 107, 107, 0.9);
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* Component button subtitle hover effect */
.path-button-wrapper:has(.path-button-component:hover) .path-button-subtitle {
    color: rgba(78, 205, 196, 0.9);
    text-shadow: 0 0 20px rgba(78, 205, 196, 0.5);
}

/* Needs button subtitle hover effect */
.path-button-wrapper:has(.path-button-needs:hover) .path-button-subtitle {
    color: rgba(168, 237, 234, 0.9);
    text-shadow: 0 0 20px rgba(168, 237, 234, 0.5);
}

/* Active state subtitle effects */
.path-button-wrapper:has(.active) .path-button-subtitle {
    color: white;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* Enhanced feature cards for Component Browser */
.expert-features {
    margin-top: 2rem;
}

.feature-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
}

.feature-card:hover {
    background: rgba(78, 205, 196, 0.1);
    border-color: rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.2);
}

.feature-card i {
    font-size: 1.5rem;
    color: #4ECDC4;
    margin-bottom: 0.25rem;
}

.feature-card span {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Summary content improvements */
.summary-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.summary-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    color: #00BFFF;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Path Button Features and Audience Information */
.path-button-features {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
    transition: all 0.3s ease;
    padding: 0 1rem;
}

.path-button-audience {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Enhanced hover effects for features and audience */
.path-button-wrapper:hover .path-button-features {
    color: rgba(255, 255, 255, 0.85);
}

.path-button-wrapper:hover .path-button-audience {
    color: rgba(255, 255, 255, 0.75);
}

/* Gaming button feature/audience hover effects */
.path-button-wrapper:has(.path-button-gaming:hover) .path-button-features,
.path-button-wrapper:has(.path-button-gaming:hover) .path-button-audience {
    color: rgba(255, 107, 107, 0.8);
}

/* Component button feature/audience hover effects */
.path-button-wrapper:has(.path-button-component:hover) .path-button-features,
.path-button-wrapper:has(.path-button-component:hover) .path-button-audience {
    color: rgba(78, 205, 196, 0.8);
}

/* Needs button feature/audience hover effects */
.path-button-wrapper:has(.path-button-needs:hover) .path-button-features,
.path-button-wrapper:has(.path-button-needs:hover) .path-button-audience {
    color: rgba(168, 237, 234, 0.8);
}

/* Active state feature/audience effects */
.path-button-wrapper:has(.active) .path-button-features {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.path-button-wrapper:has(.active) .path-button-audience {
    color: white;
    font-weight: 600;
}

/* Smart Defaults Information Panel */
.smart-defaults-info {
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.smart-defaults-info:hover {
    background: rgba(0, 191, 255, 0.15);
    border-color: rgba(0, 191, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.2);
}

.smart-defaults-info .text-primary {
    color: #00BFFF !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
}

.smart-defaults-info a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.smart-defaults-info a:hover {
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    transform: translateY(-1px);
}

/* Enhanced Generation Summary Panel */
.generation-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.generation-summary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
    .path-buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .path-button-wrapper {
        min-width: auto;
        max-width: 400px;
        width: 100%;
    }
    
    .summary-content {
        flex-direction: column;
        text-align: center;
    }
    
    .summary-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .path-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .path-button i {
        font-size: 1.3rem;
    }
    
    .button-title {
        font-size: 1rem;
    }
    
    .path-button-subtitle {
        font-size: 0.9rem;
    }
    
    .path-button-features {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .path-button-audience {
        font-size: 0.7rem;
    }
    
    .feature-cards {
        justify-content: center;
    }
    
    .feature-card {
        min-width: 120px;
        padding: 0.75rem 1rem;
    }
    
    .summary-stats {
        gap: 1rem;
    }
    
    .smart-defaults-info .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .smart-defaults-info .ms-auto {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .path-button {
        padding: 1rem;
        font-size: 0.95rem;
        min-height: 70px;
    }
    
    .path-button i {
        font-size: 1.2rem;
        margin-right: 0.5rem;
    }
    
    .path-button-features {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .path-button-audience {
        font-size: 0.65rem;
    }
    
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-card {
        width: 100%;
        max-width: 200px;
    }
}