/* Athlete Zone Theme - Sports & Fitness */

/* Base Styles */
* {
    scrollbar-width: thin;
    scrollbar-color: #e74c3c #1a1a2e;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #1a1a2e;
}

*::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

::selection {
    background: rgba(231, 76, 60, 0.3);
    color: #ffffff;
}

[x-cloak] {
    display: none !important;
}

/* Sport Button */
.sport-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.sport-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.sport-btn-outline {
    border: 2px solid #e74c3c;
    color: #e74c3c;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.sport-btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Product Card */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image {
    transition: transform 0.5s ease;
}

/* Performance Badge */
.performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 4px;
    font-size: 0.7rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

/* Sale Badge */
.sale-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

/* Sport Price */
.price-sport {
    color: #e74c3c;
    font-weight: 700;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
}

/* Energy Animation */
@keyframes energyPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
    }
}

.energy-pulse {
    animation: energyPulse 2s infinite;
}

/* Line Animation */
@keyframes lineRun {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.line-run::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e74c3c, transparent);
    animation: lineRun 2s infinite;
}

/* Category Card */
.category-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8) 0%, rgba(243, 156, 18, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: scale(1.05);
}

/* Spec Tag */
.spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.65rem;
    color: #a0aec0;
}

/* Input Focus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

/* Checkbox */
input[type="checkbox"] {
    accent-color: #e74c3c;
}

/* Size Selector */
.size-selector {
    display: flex;
    gap: 0.5rem;
}

.size-option {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #2d3748;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.size-option:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.size-option.active {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

.size-option.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Line Clamp */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(
        90deg,
        #16213e 25%,
        #1a1a2e 50%,
        #16213e 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Diagonal Pattern */
.diagonal-pattern {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(231, 76, 60, 0.05) 10px,
        rgba(231, 76, 60, 0.05) 20px
    );
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .font-heading {
        font-size: 1.75rem;
    }
}
