/*
Theme Name: BangHotDeals Premium
Theme URI: https://banghotdeals.com
Description: Premium WordPress theme for deals, coupons, price tracking and shopping. Features include price history charts, deal alerts, store integration, coupon codes, and user voting. Light and modern design optimized for deal hunting.
Version: 1.0.0
Author: TechBeta
Author URI: https://techbeta.org
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: deals, shopping, coupons, e-commerce, price-tracking, responsive, light-theme
Text Domain: banghotdeals
*/

/* ================================
   CSS VARIABLES - Light Theme Only
   ================================ */
:root {
    /* Primary Colors - Stylish Blue Theme */
    --primary-blue: #2563EB;      /* Rich Blue - Main brand color */
    --primary-blue-dark: #1E40AF;  /* Darker Blue for hover states */
    --primary-blue-light: #60A5FA; /* Light Blue for accents */
    --primary-cyan: #06B6D4;       /* Vibrant Cyan */
    --primary-indigo: #6366F1;     /* Modern Indigo */
    --accent-purple: #8B5CF6;      /* Purple accent */
    --accent-emerald: #10B981;     /* Success green */
    --accent-amber: #F59E0B;       /* Warning/attention color */

    /* Secondary Colors */
    --secondary-sky: #0EA5E9;
    --secondary-violet: #7C3AED;
    --secondary-teal: #14B8A6;

    /* Neutral Colors - Light Only */
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --text-gray: #475569;
    --dark-gray: #1E293B;

    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    /* Deal Status Colors */
    --hot-deal: #EF4444;
    --expired-deal: #94A3B8;
    --verified: #10B981;
    --trending: #8B5CF6;

    /* Typography */
    --font-primary: 'Roboto', 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Helvetica Neue', sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-hover: 0 12px 32px rgba(0,0,0,0.18);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-gray);
    background-color: var(--light-gray);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-cyan);
}

/* ================================
   HEADER & NAVIGATION
   ================================ */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-indigo));
    color: var(--white);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
    margin-left: var(--spacing-md);
}

.header-main {
    padding: var(--spacing-lg) 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo:hover {
    color: var(--primary-indigo);
}

.site-logo img {
    height: 40px;
    width: auto;
}

/* Search Bar */
.header-search {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.search-form:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-form input[type="text"] {
    flex: 1;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    outline: none;
}

.search-form select {
    border: none;
    border-left: 1px solid var(--medium-gray);
    padding: 0 var(--spacing-md);
    background: var(--light-gray);
    cursor: pointer;
    outline: none;
}

.search-form button {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0 var(--spacing-xl);
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.search-form button:hover {
    background: var(--primary-blue-dark);
}

/* Navigation Menu */
.main-navigation {
    background: var(--white);
    border-top: 1px solid var(--medium-gray);
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--dark-gray);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--primary-blue);
    background: var(--light-gray);
}

/* Deal Categories Menu */
.categories-menu {
    background: var(--light-gray);
    padding: var(--spacing-md) 0;
    border-bottom: 2px solid var(--medium-gray);
}

.categories-menu .container {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-xl);
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.category-pill:hover,
.category-pill.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-indigo) 100%);
    color: var(--white);
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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 1200 120"><path d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,58.7C960,64,1056,64,1152,58.7L1200,56L1200,120L1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" fill="rgba(255,255,255,0.1)"/></svg>') bottom center no-repeat;
    background-size: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    color: rgba(255,255,255,0.98);
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xxl);
    margin-top: var(--spacing-xl);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* ================================
   DEAL CARDS
   ================================ */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.deal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.deal-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--hot-deal);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.deal-badge.verified {
    background: var(--verified);
}

.deal-badge.trending {
    background: var(--trending);
}

.deal-badge.expiring {
    background: var(--warning);
}

.deal-image {
    position: relative;
    padding-top: 60%;
    background: var(--light-gray);
    overflow: hidden;
}

.deal-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.deal-card:hover .deal-image img {
    transform: scale(1.1);
}

.deal-store {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.deal-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-gray);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-title a {
    color: inherit;
}

.deal-title a:hover {
    color: var(--primary-blue);
}

.deal-description {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.deal-pricing {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.deal-price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.deal-price-original {
    font-size: 1.125rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.deal-discount {
    background: var(--success);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 700;
    margin-left: auto;
}

.deal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--medium-gray);
    font-size: 0.875rem;
    color: var(--text-gray);
}

.deal-votes {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.vote-btn {
    background: none;
    border: 1px solid var(--medium-gray);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
}

.vote-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.vote-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}

.deal-expiry {
    color: var(--danger);
    font-weight: 500;
}

.deal-actions {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.btn-get-deal {
    display: block;
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-get-deal:hover {
    background: var(--primary-blue-dark);
    transform: scale(1.02);
}

/* ================================
   COUPON CODE DISPLAY
   ================================ */
.coupon-code-box {
    background: var(--light-gray);
    border: 2px dashed var(--primary-blue);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.coupon-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

.coupon-code {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-md);
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-copy-code {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-copy-code:hover {
    background: var(--primary-blue-dark);
}

.btn-copy-code.copied {
    background: var(--success);
}

/* ================================
   PRICE HISTORY CHART
   ================================ */
.price-history-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    box-shadow: var(--shadow-sm);
}

.price-history-section h3 {
    margin-bottom: var(--spacing-lg);
}

.price-chart-container {
    height: 300px;
    position: relative;
}

/* ================================
   SIDEBAR
   ================================ */
.sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

.widget {
    margin-bottom: var(--spacing-xxl);
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary-blue);
}

.popular-deals-list {
    list-style: none;
}

.popular-deal-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--medium-gray);
}

.popular-deal-item:last-child {
    border-bottom: none;
}

.popular-deal-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-deal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-deal-info {
    flex: 1;
}

.popular-deal-title {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-deal-price {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: var(--spacing-sm);
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
}

.footer-widget a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

/* ================================
   UTILITY CLASSES
   ================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 968px) {
    .header-main .container {
        flex-direction: column;
    }

    .header-search {
        max-width: 100%;
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
    }

    .deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 640px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

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

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

/* ================================
   ADDITIONAL ENHANCEMENTS
   ================================ */

/* Animated gradient background for featured deals */
.deal-card.featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Pulse animation for hot deals */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.deal-badge.hot {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth fade-in for deals */
.deal-card {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Deal stats styling */
.deal-stats {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-gray);
}

.deal-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.deal-stat svg, .deal-stat span:first-child {
    color: var(--primary-blue);
}

/* Improved pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xxl) 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--spacing-md);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Deal comparison table */
.deal-comparison {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    box-shadow: var(--shadow-sm);
}

.deal-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.deal-comparison th,
.deal-comparison td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.deal-comparison th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--dark-gray);
}

/* Price alert button */
.btn-price-alert {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--accent-amber);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-price-alert:hover {
    background: #D97706;
    transform: translateY(-2px);
}

/* Deal timer countdown */
.deal-timer {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.timer-block {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
}

.timer-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    text-transform: uppercase;
}

/* Share buttons */
.share-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.email { background: var(--text-gray); }

/* Toast notifications */
.toast {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

.toast.success {
    background: var(--success);
}

.toast.error {
    background: var(--danger);
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-5px);
}

/* Skeleton loader for better UX */
.skeleton {
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--medium-gray) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

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

/* Mobile menu improvements */
@media (max-width: 768px) {
    .header-main .container {
        padding: var(--spacing-md);
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .deal-card {
        margin-bottom: var(--spacing-md);
    }
    
    /* Stack filters on mobile */
    .archive-deal .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .filters-sidebar {
        margin-bottom: var(--spacing-lg);
    }
}

/* Print styles */
@media print {
    .header-top,
    .main-navigation,
    .filters-sidebar,
    .deal-actions,
    .share-buttons,
    .back-to-top {
        display: none;
    }
    
    .deal-card {
        break-inside: avoid;
    }
}
