body {
    background: #f8f9fa;
}

.modern-hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modern-hero__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle at 20px 20px, #ffffff 2px, transparent 0);
    background-size: 40px 40px;
}

.modern-hero__container {
    position: relative;
    z-index: 10;
}

.modern-hero__image-wrap {
    position: relative;
    text-align: center;
}

.modern-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.modern-hero__image-layer {
    position: relative;
    z-index: 1;
}

.modern-hero__image {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.modern-hero__image:hover {
    transform: scale(1.05);
}

.modern-hero__discount {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    font-weight: 800;
}

.modern-hero__discount-value {
    font-size: 24px;
    line-height: 1;
}

.modern-hero__discount-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-hero__badge i {
    color: #fbbf24;
}

.modern-hero__badge-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.modern-hero__title {
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modern-hero__desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 500px;
}

.modern-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.modern-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.modern-hero__meta-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-hero__meta-icon i {
    color: #fbbf24;
}

.modern-hero__meta-label {
    font-size: 11px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-hero__meta-value {
    font-weight: 600;
}

.modern-hero__price-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-hero__price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modern-hero__price-current {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
}

.modern-hero__price-currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.modern-hero__price-old {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    text-decoration: line-through;
}

.modern-hero__actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.modern-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-hero__btn--primary {
    background: #ffffff;
    color: #667eea;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.modern-hero__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.modern-hero__btn--secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.modern-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

.modern-hero__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.modern-hero__feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-hero__feature i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.modern-hero__feature span {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

.modern-hero__default {
    color: #ffffff;
    padding: 60px 0;
}

.modern-hero__default-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modern-hero__default-desc {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: #1a1a2e;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #1a1a2e;
}

.category-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-card-image i {
    font-size: 4rem;
    color: #ffffff;
    opacity: 0.9;
    z-index: 1;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-body {
    padding: 1.5rem;
}

.category-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.category-card-count {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-card-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subcategory-tag {
    background: #f0f4f8;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4a5568;
}

.category-card:hover .subcategory-tag {
    background: #e2e8f0;
}

.category-card-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.category-card-arrow span {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.category-card-arrow i {
    color: #667eea;
    transition: transform 0.3s ease;
}

.category-card:hover .category-card-arrow i {
    transform: translateX(5px);
}

.search-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.search-wrapper {
    display: flex;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-input-container {
    flex: 1;
    position: relative;
}

.search-input-container input {
    width: 100%;
    padding: 0.85rem 0.85rem 0.85rem 2.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: all 0.3s ease;
    background: #ffffff;
}

.search-input-container input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input-container input::placeholder {
    color: #a0aec0;
}

.search-input-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 0.95rem;
}

.search-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.85rem 1.75rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    color: #ffffff;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.25rem 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item i {
    font-size: 1.75rem;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-item .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.category-card:nth-child(6n+1) .category-card-image { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.category-card:nth-child(6n+2) .category-card-image { background: linear-gradient(135deg, #f67280 0%, #c06c84 100%); }
.category-card:nth-child(6n+3) .category-card-image { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.category-card:nth-child(6n+4) .category-card-image { background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%); }
.category-card:nth-child(6n+5) .category-card-image { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.category-card:nth-child(6n+6) .category-card-image { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

.section-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-timer {
        justify-content: center;
    }
}

.section-timer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.25), 0 2px 8px rgba(0,0,0,0.3);
    flex-shrink: 0;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
}

.section-timer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(245,158,11,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.timer-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: 0.4rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.timer-label::before {
    content: '\26A1';
    font-size: 0.9rem;
}

.timer-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.timer-unit-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(245, 158, 11, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}

.timer-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a2e;
    font-size: 1.45rem;
    font-weight: 900;
    min-width: 2.8rem;
    height: 2.8rem;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(245,158,11,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    letter-spacing: -0.02em;
}

.timer-separator {
    color: rgba(245, 158, 11, 0.6);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    animation: timer-blink 1s step-end infinite;
    margin-bottom: 0.9rem;
}

@keyframes timer-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

.section-timer.timer-expired {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.section-timer.timer-expired .timer-block {
    background: linear-gradient(180deg, #9ca3af, #6b7280);
    color: #e5e7eb;
    box-shadow: none;
}

.section-timer.timer-expired .timer-label,
.section-timer.timer-expired .timer-separator,
.section-timer.timer-expired .timer-unit-label {
    color: #9ca3af;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.section-title i {
    font-size: 1.5rem;
    vertical-align: middle;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
}

.js-card-link {
    cursor: pointer;
}
