/* Discount Page - Professional Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,40 90,40 70,60 80,90 50,70 20,90 30,60 10,40 40,40" fill="%23ffffff" opacity="0.06"/></svg>') repeat;
    background-size: 80px 80px;
    z-index: -1;
    animation: sparkle-discount 12s ease-in-out infinite;
}

@keyframes sparkle-discount {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.06; }
    25% { transform: scale(1.05) rotate(90deg); opacity: 0.09; }
    50% { transform: scale(0.95) rotate(180deg); opacity: 0.04; }
    75% { transform: scale(1.02) rotate(270deg); opacity: 0.07; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Professional Navigation */
.nav-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-brand h2 {
    color: #667eea;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.nav-links a i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #667eea;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

/* Hero Section */
.discount-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    margin-bottom: 3rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.discount-percent {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.discount-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.discount-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timer Section */
.countdown-timer {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-timer h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.time-unit {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 15px;
    min-width: 80px;
}

.time-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffa726;
}

.time-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    border-radius: 15px;
    margin-left: 2rem;
    margin-right: 2rem;
}

.filter-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #2c3e50;
}

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

/* Products Section */
.products-section {
    padding: 2rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.results-count span {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view,
.btn-wishlist {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-quick-view:hover,
.btn-wishlist:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-rating i {
    color: #ffa726;
}

.product-rating span {
    color: #6c757d;
    margin-left: 0.5rem;
}

.product-price {
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.sale-price {
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 0.75rem;
}

.savings {
    color: #28a745;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
}

/* Professional Buttons */
.btn-add-to-cart {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-add-to-cart:hover::before {
    left: 0;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-add-to-cart i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 15px 15px;
        gap: 0.5rem;
    }
    
    .nav-links.mobile-open a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.25rem 0;
    }
    
    .discount-hero h1 {
        font-size: 2.5rem;
    }
    
    .filter-controls {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .timer {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.75rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .discount-hero {
        padding: 2rem 0;
    }
    
    .discount-hero h1 {
        font-size: 2rem;
    }
    
    .discount-hero p {
        font-size: 1.1rem;
    }
    
    .countdown-timer {
        padding: 1.5rem;
    }
    
    .filter-section {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 1.5rem 0;
    }
    
    .section-header {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .timer {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .time-unit {
        flex: 1;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .discount-hero h1 {
        font-size: 1.8rem;
    }
    
    .discount-badge {
        padding: 0.5rem 1.5rem;
    }
    
    .discount-percent {
        font-size: 1rem;
    }
    
    .countdown-timer h3 {
        font-size: 1.3rem;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        margin: 0 0.5rem;
    }
    
    .filter-section {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .section-header {
        padding: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Focus States for Accessibility */
.nav-links a:focus,
.btn-add-to-cart:focus,
.btn-quick-view:focus,
.btn-wishlist:focus {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

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

/* Touch Improvements for Mobile */
@media (hover: none) and (pointer: coarse) {
    .product-overlay {
        opacity: 1;
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        gap: 0.5rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .btn-quick-view,
    .btn-wishlist {
        position: static;
        width: 36px;
        height: 36px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-links a {
        border: 2px solid currentColor;
    }
    
    .btn-add-to-cart {
        border: 2px solid white;
    }
    
    .product-card {
        border: 1px solid #2c3e50;
    }
}

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.cart-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .nav-bar,
    .mobile-menu-btn,
    .cart-toggle,
    .product-overlay {
        display: none;
    }
    
    .discount-hero {
        background: none;
        color: #2c3e50;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .filter-section {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .section-header {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
    
    .filter-group label {
        color: white;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.product-card:nth-child(even) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3n) {
    animation-delay: 0.2s;
}

/* Improved loading states */
.btn-add-to-cart.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-add-to-cart.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Success states */
.btn-add-to-cart.success {
    background: #28a745 !important;
}

.btn-add-to-cart.success::before {
    display: none;
}

/* Enhanced hover effects */
.nav-brand:hover h2 {
    animation: pulse 1s infinite;
}

.discount-badge:hover {
    animation: pulse 0.5s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}
    text-align: center;
    padding: 4rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.discount-badge {
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.countdown-timer {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.countdown-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 1rem 0.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Discount Categories */
.categories {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-discount {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.category-description {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.category-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Product Deals */
.deals {
    padding: 4rem 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b6b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    animation: pulse 2s infinite;
}

.deal-image {
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.deal-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,200 1000,0"/><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,800 1000,1000"/></svg>');
    background-size: cover;
}

.deal-info {
    padding: 2rem;
}

.deal-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.deal-description {
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.original-price {
    color: #7f8c8d;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.discount-price {
    color: #ff6b6b;
    font-size: 1.5rem;
    font-weight: 700;
}

.savings {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.deal-timer {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    border-left: 4px solid #ff6b6b;
}

.timer-label {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-display {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #ff6b6b;
    font-size: 1.1rem;
}

.deal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.deal-btn {
    flex: 1;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 120px;
}

.deal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.deal-btn.secondary {
    background: white;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.deal-btn.secondary:hover {
    background: #ff6b6b;
    color: white;
}

/* Newsletter Signup */
.newsletter {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.newsletter-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: #dc3545;
}

.toast-icon {
    font-size: 1.2rem;
}

/* Floating Discount Icons */
.floating-discounts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-discount {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.floating-discount:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-discount:nth-child(2) { left: 20%; animation-delay: 3s; }
.floating-discount:nth-child(3) { left: 70%; animation-delay: 6s; }
.floating-discount:nth-child(4) { left: 80%; animation-delay: 9s; }
.floating-discount:nth-child(5) { left: 90%; animation-delay: 12s; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .discount-badge {
        font-size: 1.5rem;
        padding: 0.75rem 1.5rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .category-discount {
        font-size: 1.5rem;
    }

    .deals-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .deal-info {
        padding: 1.5rem;
    }

    .deal-actions {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .discount-badge {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }

    .countdown-timer {
        padding: 1.5rem;
    }

    .countdown-grid {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.75rem 0.5rem;
    }

    .countdown-number {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .categories-grid,
    .deals-grid {
        grid-template-columns: 1fr;
    }

    .category-card,
    .deal-info {
        padding: 1rem;
    }

    .deal-image {
        height: 200px;
        font-size: 3rem;
    }

    .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .floating-discount {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-discounts,
    .newsletter,
    .toast {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .category-card,
    .deal-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .countdown-timer {
        background: #f8f9fa;
        border: 1px solid #ddd;
    }
}
