/* Keyframes */
@keyframes glow {
    from { box-shadow: 0 0 20px rgba(255, 0, 64, 0.5); }
    to { box-shadow: 0 0 30px rgba(255, 0, 64, 0.8), 0 0 40px rgba(139, 0, 255, 0.3); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Background & Layout */
.particle-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Text Effects */
.gradient-text {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    color: #fff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 20px rgba(59, 130, 246, 0.5);
}

.red-glow {
    color: #fff;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.8), 0 0 20px rgba(239, 68, 68, 0.5);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 0, 64, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.btn-outline-arcade {
    transition: all 0.3s ease;
}

.btn-outline-arcade:hover i {
    color: #fff;
}

/* Cards & Containers */
.card-glow {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(255, 0, 64, 0.2);
    backdrop-filter: blur(10px);
}

.contact-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(255, 0, 64, 0.4);
    box-shadow: 0 8px 25px rgba(255, 0, 64, 0.2);
}

.pillar-card {
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #ff0040, #8b00ff);
}

.price-breakdown {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
}

.configurator-preview {
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.1), rgba(139, 0, 255, 0.1));
    border: 2px solid rgba(255, 0, 64, 0.3);
}

/* Borders & Shadows */
.neon-border {
    border: 1px solid rgba(255, 0, 64, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.2);
}

.gold-border {
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 64, 0.3);
}

/* Grids */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Filter Elements */
.filter-active {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    color: white;
}

.genre-filter {
    transition: all 0.3s ease;
}

.genre-filter:hover {
    background: rgba(255, 0, 64, 0.1);
}

.decade-filter {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 0, 64, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.decade-filter.active {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    border-color: transparent;
}

/* Form Elements */
.form-input {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(51, 51, 51, 0.8);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #ff0040;
    box-shadow: 0 0 0 3px rgba(255, 0, 64, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.price-range-slider {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: #333;
    border-radius: 2px;
    outline: none;
}

.price-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #ff0040;
    border-radius: 50%;
    cursor: pointer;
}

.price-range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ff0040;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Step Indicators & Progress */
.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 0, 64, 0.2);
    border: 2px solid rgba(255, 0, 64, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    border-color: #ff0040;
    color: white;
}

.step.completed {
    background: #4ade80;
    border-color: #4ade80;
    color: white;
}

/* Configuration Options */
.config-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.config-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 64, 0.2);
}

.config-option.selected {
    border-color: #ff0040;
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

/* 3D Preview */
.preview-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.preview-cabinet {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    transform: rotateX(-10deg) rotateY(15deg);
    transition: transform 0.5s ease;
}

/* Badges & Indicators */
.system-badge {
    background: linear-gradient(45deg, #ff0040, #8b00ff);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.rating-stars {
    color: #ffd700;
}

.compatibility-indicator {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.compatibility-compatible {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.compatibility-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.compatibility-error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #FFD700, #ff0040);
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.25rem;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, #FFD700, transparent);
}

.timeline-item:last-child::after {
    display: none;
}

/* Messages */
.success-message {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Mobile Menu */
#mobile-menu.show {
    max-height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Plan Selector */
.plan-selector {
    transition: all 0.3s ease;
    cursor: pointer;
}

.plan-selector:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
}

.plan-selector.selected {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.05);
}

/* Progress Bars */
.progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6, #FFD700);
    transition: width 0.5s ease;
}

.password-strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Checkboxes */
.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: #FFD700;
    border-color: #FFD700;
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: #0a0a0a;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Validation Messages */
.validation-message {
    font-size: 0.875rem;
    margin-top: 4px;
}

.validation-message.error {
    color: #EF4444;
}

.validation-message.success {
    color: #10B981;
}

.validation-message.info {
    color: #6B7280;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .logo {
        max-width: 200px;
    }
    
    .mobile-menu-link {
        padding: 12px 0;
        font-size: 18px;
    }
    
    .preview-cabinet {
        width: 250px;
        height: 350px;
    }
}