.offers-hero {
    height: 80vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3) blur(2px);
}

.background-slide.active {
    opacity: 1;
}

.offers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(232, 197, 216, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 900px;
    position: relative;
    animation: heroSlideIn 1s ease-out;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.offer-badge::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.8s ease;
}

.offer-badge:hover::before {
    left: 100%;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 71, 87, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.8;
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .title-line {
    display: block;
    opacity: 0;
    animation: titleSlideIn 1s ease-out forwards;
}

.hero-title .title-line:nth-child(1) {
    animation-delay: 0.2s;
    color: #fff;
}

.hero-title .title-line:nth-child(2) {
    animation-delay: 0.4s;
    font-size: 5rem;
}

.hero-title .title-line:nth-child(3) {
    animation-delay: 0.6s;
    color: rgba(204, 204, 204, 0.9);
    font-size: 2.5rem;
    font-weight: 600;
}

.gradient-text {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(204, 204, 204, 0.8);
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
}

.timer-item {
    background: rgba(51, 51, 51, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 197, 216, 0.3);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    min-width: 80px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.timer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 216, 0.1), transparent);
    transition: left 0.6s ease;
}

.timer-item:hover::before {
    left: 100%;
}

.timer-item:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 197, 216, 0.6);
    box-shadow: 0 10px 25px rgba(232, 197, 216, 0.2);
}

.timer-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #e8c5d8;
    margin-bottom: 5px;
    line-height: 1;
}

.timer-label {
    display: block;
    font-size: 12px;
    color: rgba(204, 204, 204, 0.8);
    font-weight: 600;
    letter-spacing: 1px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(232, 197, 216, 0.4), rgba(232, 197, 216, 0.1));
    border-radius: 50%;
    animation: floatingMove 6s ease-in-out infinite;
}

.filters-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid rgba(85, 85, 85, 0.3);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.filters-header h2 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
}

.offers-count {
    color: #e8c5d8;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(232, 197, 216, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(232, 197, 216, 0.2);
    transition: all 0.3s ease;
}

.filter-tabs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    background: rgba(51, 51, 51, 0.8);
    color: rgba(204, 204, 204, 0.8);
    border: 1px solid rgba(85, 85, 85, 0.5);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 216, 0.1), transparent);
    transition: left 0.6s ease;
}

.filter-tab:hover::before {
    left: 100%;
}

.filter-tab:hover {
    color: #e8c5d8;
    border-color: rgba(232, 197, 216, 0.4);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #e8c5d8, #d4a5c4);
    color: #000;
    border-color: #e8c5d8;
    box-shadow: 0 5px 15px rgba(232, 197, 216, 0.3);
}

.main-offers {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
}

.main-offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 70%, rgba(232, 197, 216, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.offer-card {
    background: rgba(51, 51, 51, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(85, 85, 85, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.offer-card:nth-child(1) { animation: slideInUp 0.6s ease-out 0.1s both; }
.offer-card:nth-child(2) { animation: slideInUp 0.6s ease-out 0.2s both; }
.offer-card:nth-child(3) { animation: slideInUp 0.6s ease-out 0.3s both; }
.offer-card:nth-child(4) { animation: slideInUp 0.6s ease-out 0.4s both; }
.offer-card:nth-child(5) { animation: slideInUp 0.6s ease-out 0.5s both; }
.offer-card:nth-child(6) { animation: slideInUp 0.6s ease-out 0.6s both; }

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 216, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.offer-card:hover::before {
    left: 100%;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(232, 197, 216, 0.6);
    box-shadow: 0 20px 40px rgba(232, 197, 216, 0.15);
}

.offer-card.featured {
    border: 2px solid #e8c5d8;
    box-shadow: 0 15px 35px rgba(232, 197, 216, 0.2);
}

.offer-card.featured:hover {
    box-shadow: 0 25px 50px rgba(232, 197, 216, 0.3);
}

.offer-badge-card {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

.discount-percent {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    display: block;
    text-align: center;
}

.offer-badge-card.gaming .discount-percent {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.offer-badge-card.featured .discount-percent {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation: featuredPulse 2s ease-in-out infinite;
}

.offer-badge-card.hot .discount-percent {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #000;
}

.featured-label,
.hot-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 5px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.8);
    border-radius: 10px;
    text-align: center;
}

.hot-label {
    background: rgba(255,0,0,0.8);
    color: white;
}

.offer-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(85, 85, 85, 0.3), rgba(51, 51, 51, 0.6));
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.offer-card:hover .offer-image img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.offer-card:hover .offer-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: linear-gradient(135deg, #e8c5d8, #d4a5c4);
    color: #000;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.quick-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(232, 197, 216, 0.4);
}

.offer-info {
    position: relative;
    z-index: 2;
}

.offer-title {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    overflow: hidden;
    display: block;
    max-height: calc(1.3em * 2);
}

.offer-specs {
    color: rgba(204, 204, 204, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 3px;
}

.star {
    color: rgba(102, 102, 102, 0.5);
    font-size: 16px;
}

.star.filled {
    color: #e8c5d8;
}

.rating-count {
    color: rgba(204, 204, 204, 0.6);
    font-size: 13px;
}

.offer-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.original-price {
    color: rgba(102, 102, 102, 0.8);
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 500;
}

.offer-price {
    color: #e8c5d8;
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(232, 197, 216, 0.3);
}

.offer-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.add-to-cart-offer {
    width: 100%;
    background: linear-gradient(135deg, #e8c5d8, #d4a5c4);
    color: #000;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.add-to-cart-offer::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.6s ease;
}

.add-to-cart-offer:hover::before {
    left: 100%;
}

.add-to-cart-offer:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 197, 216, 0.4);
}

.add-to-cart-offer img {
    width: 16px;
    height: 16px;
    filter: brightness(0);
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes featuredPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 71, 87, 0.6);
    }
}

@keyframes floatingMove {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes cartBounce {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1200px) {
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-title .title-line:nth-child(2) {
        font-size: 4rem;
    }
    .hero-title .title-line:nth-child(3) {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .offers-hero {
        height: 70vh;
        padding: 0 20px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-title .title-line:nth-child(2) {
        font-size: 3rem;
    }
    .hero-title .title-line:nth-child(3) {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .countdown-timer {
        gap: 15px;
    }
    .timer-item {
        min-width: 60px;
        padding: 15px 10px;
    }
    .timer-number {
        font-size: 2rem;
    }
    .filters-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .filter-tabs {
        gap: 10px;
    }
    .filter-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .offer-card {
        padding: 20px;
    }
    .offer-image {
        height: 180px;
    }
    .offer-title {
        font-size: 1.1rem;
    }
    .offer-price {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-title .title-line:nth-child(2) {
        font-size: 2.5rem;
    }
    .hero-title .title-line:nth-child(3) {
        font-size: 1.2rem;
    }
    .countdown-timer {
        gap: 10px;
    }
    .timer-item {
        min-width: 50px;
        padding: 12px 8px;
    }
    .timer-number {
        font-size: 1.8rem;
    }
    .timer-label {
        font-size: 10px;
    }
    .offers-grid {
        grid-template-columns: 1fr;
    }
}
