/* ===== NINJA OFFERS - REVOLUTIONARY LAYOUT CSS ===== */

:root {
    --ninja-primary: #ff6b35;
    --ninja-secondary: #ff8e53;
    --ninja-dark: #1a1a1a;
    --ninja-darker: #0d0d0d;
    --ninja-light: #f8f9fa;
    --ninja-accent: #ffd700;
    --ninja-success: #00ff88;
    --ninja-danger: #ff3366;
    --ninja-warning: #ffaa00;

    --ninja-gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8e53 100%);
    --ninja-gradient-secondary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --ninja-gradient-hero: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #2d2d2d 100%);
    --ninja-gradient-glow: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);

    --ninja-shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --ninja-shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
    --ninja-shadow-strong: 0 12px 60px rgba(0, 0, 0, 0.25);
    --ninja-shadow-glow: 0 0 30px rgba(255, 107, 53, 0.5);

    --font-ninja: 'Orbitron', monospace;
    --font-body: 'Roboto', sans-serif;
    --ninja-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --sidebar-width: 280px;
    --mobile-header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--ninja-dark);
    color: var(--ninja-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* ===== AFFILIATE BANNER ===== */
.affiliate-banner {
    background: var(--ninja-gradient-primary);
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    animation: bannerSlide 0.5s ease-out;
}

.affiliate-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

/* ===== NINJA SIDEBAR ===== */
.ninja-sidebar {
    position: fixed;
    top: 40px;
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - 40px);
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-right: 2px solid rgba(255, 107, 53, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    animation: sidebarSlideIn 0.8s ease 0.3s forwards;
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.logo-container {
    position: relative;
    display: inline-block;
}

.sidebar-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    animation: logoPulse 2s ease-in-out infinite;
    z-index: -1;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    color: var(--ninja-light);
    text-decoration: none;
    transition: var(--ninja-transition);
    position: relative;
    border-radius: 0 25px 25px 0;
    margin: 5px 0;
    margin-right: 20px;
    overflow: hidden;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 107, 53, 0.2);
    color: var(--ninja-light);
    transform: translateX(10px);
    border-left: 3px solid var(--ninja-primary);
}

.link-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.link-text {
    font-weight: 500;
    font-size: 1rem;
}

.link-ninja-trail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ninja-gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--ninja-transition);
    z-index: -1;
}

.sidebar-link:hover .link-ninja-trail,
.sidebar-link.active .link-ninja-trail {
    transform: scaleX(1);
}

.sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.ninja-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--ninja-success);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--ninja-success);
    border-radius: 50%;
    animation: statusBlink 1s ease-in-out infinite;
}

/* ===== MOBILE BOTTOM NAVIGATION - HIDDEN ON DESKTOP ===== */
.mobile-bottom-nav {
    display: none;
}

/* ===== MOBILE HEADER ===== */
.mobile-header {
    display: none;
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    height: var(--mobile-header-height);
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    z-index: 1001;
}

.mobile-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.sidebar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--ninja-primary);
    border-radius: 2px;
    transition: var(--ninja-transition);
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-logo img {
    height: 35px;
    width: auto;
}

.mobile-search-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ninja-transition);
}

.mobile-search-toggle:hover {
    background: var(--ninja-primary);
    color: white;
}

/* ===== MAIN CONTENT ===== */
.ninja-main-content {
    margin-left: var(--sidebar-width);
    margin-top: 40px;
    min-height: 100vh;
}

/* ===== HERO SECTION - DIAGONAL LAYOUT ===== */
.ninja-hero-diagonal {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--ninja-gradient-hero);
}

.hero-diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.diagonal-shape-1 {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    transform: rotate(-15deg);
    animation: diagonalFloat1 8s ease-in-out infinite;
}

.diagonal-shape-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(-45deg, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    transform: rotate(15deg);
    animation: diagonalFloat2 8s ease-in-out infinite reverse;
}

.diagonal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, var(--ninja-primary), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--ninja-accent), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--ninja-primary), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particlesMove 20s linear infinite;
}

.hero-diagonal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.hero-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInLeft 1s ease 0.5s both;
}

.hero-badge-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ninja-light);
    width: fit-content;
    transition: var(--ninja-transition);
    animation: badgeSlideIn 0.6s ease forwards;
}

.badge-1 { animation-delay: 0.8s; }
.badge-2 { animation-delay: 1s; }
.badge-3 { animation-delay: 1.2s; }

.badge-item:hover {
    transform: translateX(10px);
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--ninja-primary);
}

.hero-mega-title {
    font-family: var(--font-ninja);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.title-word {
    display: block;
    position: relative;
    overflow: hidden;
    animation: titleReveal 0.8s ease forwards;
}

.word-1 { animation-delay: 1.4s; color: var(--ninja-light); }
.word-2 { animation-delay: 1.6s; background: var(--ninja-gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.word-3 { animation-delay: 1.8s; color: var(--ninja-accent); }

.title-word::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--ninja-primary);
    opacity: 0.3;
    z-index: -1;
    animation: titleShadow 3s ease-in-out infinite;
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.4rem;
    color: rgba(248, 249, 250, 0.9);
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 2s both;
}

.hero-action-panel {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.ninja-action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    animation: actionBtnSlide 0.8s ease 2.2s both;
}

.ninja-action-btn.primary {
    background: var(--ninja-gradient-primary);
    color: white;
    box-shadow: var(--ninja-shadow-glow);
}

.ninja-action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.5);
    color: var(--ninja-light);
    backdrop-filter: blur(10px);
}

.ninja-action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-ninja-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.btn-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-sub-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-energy-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    animation: energyFlow 2s ease-in-out infinite;
}

/* ===== HERO RIGHT PANEL - DASHBOARD ===== */
.hero-right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInRight 1s ease 0.7s both;
}

.ninja-dashboard {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--ninja-shadow-strong);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.dashboard-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ninja-light);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ninja-success);
    font-size: 0.9rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--ninja-success);
    border-radius: 50%;
    animation: statusBlink 1s ease-in-out infinite;
}

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

.stat-ninja-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: var(--ninja-transition);
}

.stat-ninja-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: var(--ninja-shadow-glow);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-value {
    font-family: var(--font-ninja);
    font-size: 2rem;
    font-weight: 900;
    color: var(--ninja-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 0.8rem;
    color: var(--ninja-success);
    font-weight: 600;
}

.dashboard-hot-deals h4 {
    color: var(--ninja-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-ninja {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(248, 249, 250, 0.7);
    font-size: 0.9rem;
}

.scroll-ninja i {
    font-size: 1.5rem;
    color: var(--ninja-primary);
}

/* ===== DISCOVERY SECTION - HEXAGONAL GRID ===== */
.ninja-discovery-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    position: relative;
}

.section-ninja-header {
    text-align: center;
    margin-bottom: 80px;
}

.header-shuriken {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: shurikenSpin 4s linear infinite;
}

.section-ninja-title {
    font-family: var(--font-ninja);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--ninja-light);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-ninja-subtitle {
    font-size: 1.3rem;
    color: rgba(248, 249, 250, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.hexagonal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hex-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
}

.hex-item:hover {
    transform: scale(1.05);
    border-color: var(--ninja-primary);
    box-shadow: var(--ninja-shadow-glow);
}

.hex-content {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.hex-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hex-content h3 {
    font-family: var(--font-ninja);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ninja-light);
    margin-bottom: 10px;
}

.hex-content p {
    color: rgba(248, 249, 250, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.hex-counter {
    background: var(--ninja-gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hex-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ninja-gradient-glow);
    opacity: 0;
    transition: var(--ninja-transition);
}

.hex-item:hover .hex-glow {
    opacity: 1;
}

.hex-center {
    grid-column: 2;
    grid-row: 2;
    background: var(--ninja-gradient-primary);
}

.search-ninja-portal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-ring {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: portalSpin 3s linear infinite;
}

.portal-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 700;
}

.portal-center i {
    font-size: 2rem;
}


/* ===== OFFERS SECTION ===== */
.ninja-offers-section {
    padding: 40px 40px;
    background: var(--ninja-dark);
}

.ninja-offers-section .section-ninja-header {
    margin-bottom: 30px;
    text-align: center;
}

.ninja-offers-section .section-ninja-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.ninja-offers-section .section-ninja-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
}

/* ===== INTEGRATED SEARCH BAR ===== */
.integrated-search-bar {
    max-width: 1200px;
    margin: 0 auto 20px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.integrated-search-bar .search-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.integrated-search-bar .search-input-wrapper input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    color: var(--ninja-light);
    font-family: var(--font-body);
    transition: var(--ninja-transition);
}

.integrated-search-bar .search-input-wrapper input:focus {
    outline: none;
    border-color: var(--ninja-primary);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

.integrated-search-bar .search-input-wrapper input::placeholder {
    color: rgba(248, 249, 250, 0.5);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--ninja-gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ninja-transition);
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.search-filters-compact {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-filters-compact .filter-ninja {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 8px 16px;
    color: var(--ninja-light);
    cursor: pointer;
    transition: var(--ninja-transition);
    font-size: 0.85rem;
    font-weight: 500;
}

.search-filters-compact .filter-ninja.active {
    background: var(--ninja-gradient-primary);
    border-color: var(--ninja-primary);
    color: white;
}

.search-filters-compact .filter-ninja:hover {
    transform: translateY(-2px);
    border-color: var(--ninja-primary);
}

.offers-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.offers-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto 40px auto;
}

.offers-container.grid-view {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.offers-container.list-view {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.offers-container.list-view .offer-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%;
    height: 180px;
}

.offers-container.list-view .offer-card .offer-image {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
}

.offers-container.list-view .offer-card .offer-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.offers-container.list-view .offer-card .offer-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: auto !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
    display: block !important;
}

.offers-container.list-view .offer-card .offer-actions {
    margin-top: auto;
}
}

/* ===== OFFER CARDS ===== */
.offer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--ninja-transition);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.offer-image {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

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

.offer-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--ninja-gradient-primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

.offer-content {
    padding: 12px;
}

.offer-title {
    color: var(--ninja-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.offer-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.offer-current-price {
    color: var(--ninja-primary);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-ninja);
}

.offer-original-price {
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.9rem;
    text-decoration: line-through;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.offer-rating .stars {
    color: var(--ninja-accent);
}

.offer-reviews {
    color: rgba(248, 249, 250, 0.6);
}

.offer-btn {
    width: 100%;
    background: var(--ninja-gradient-primary);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ninja-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.offer-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* ===== BLOG SECTION ===== */
.ninja-blog-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-article {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--ninja-transition);
    cursor: pointer;
}

.blog-article:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.blog-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix definitivo per immagini blog */
.blog-section .blog-article .blog-image img,
.blog-image img,
section .blog-article .blog-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.blog-article:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-title {
    color: var(--ninja-light);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    color: rgba(248, 249, 250, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.6);
}

.blog-category {
    background: var(--ninja-gradient-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-cta {
    text-align: center;
    margin: 40px 0 60px 0;
}

.cta-ninja-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 60px;
    padding: 20px 40px;
    color: var(--ninja-light);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
}

.cta-ninja-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--ninja-primary);
    transform: scale(1.05);
}

/* ===== SEARCH PORTAL ===== */
.ninja-search-portal {
    padding: 80px 40px;
    background: var(--ninja-gradient-hero);
    position: relative;
    overflow: hidden;
}

.portal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.portal-energy {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: energyPulse 4s ease-in-out infinite;
}

.search-portal-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.portal-header {
    margin-bottom: 50px;
}

.portal-header h3 {
    font-family: var(--font-ninja);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ninja-light);
    margin-bottom: 15px;
}

.portal-header p {
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.8);
}

.advanced-search-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 20px 25px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    color: var(--ninja-light);
    font-family: var(--font-body);
    transition: var(--ninja-transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--ninja-primary);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.search-input-wrapper input::placeholder {
    color: rgba(248, 249, 250, 0.5);
}

.search-energy-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ninja-gradient-primary);
    border-radius: 0 0 15px 15px;
    transition: width 0.3s ease;
}

.search-input-wrapper input:focus + .search-energy-bar {
    width: 100%;
}

.search-filters-ninja {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-ninja {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    color: var(--ninja-light);
    cursor: pointer;
    transition: var(--ninja-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-ninja.active {
    background: var(--ninja-gradient-primary);
    border-color: var(--ninja-primary);
    color: white;
}

.filter-ninja:hover {
    transform: translateY(-2px);
    border-color: var(--ninja-primary);
}

.search-ninja-btn {
    background: var(--ninja-gradient-primary);
    border: none;
    border-radius: 15px;
    padding: 20px 40px;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
}

.search-ninja-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--ninja-shadow-glow);
}

.btn-blast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--ninja-transition);
}

.search-ninja-btn:active .btn-blast {
    width: 200px;
    height: 200px;
}

/* ===== DEALS SECTION - MASONRY LAYOUT ===== */
.ninja-deals-masonry {
    padding: 120px 40px;
    background: var(--ninja-dark);
}

.deals-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
}

.filter-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-label {
    color: var(--ninja-light);
    font-weight: 600;
}

.ninja-select {
    background: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--ninja-light);
    font-family: var(--font-body);
    cursor: pointer;
}

.ninja-select option {
    background: #2d2d2d;
    color: var(--ninja-light);
    padding: 8px 15px;
}

.filter-bar-right {
    display: flex;
    gap: 10px;
}

.view-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ninja-light);
    cursor: pointer;
    transition: var(--ninja-transition);
}

.view-toggle.active {
    background: var(--ninja-gradient-primary);
    border-color: var(--ninja-primary);
    color: white;
}

.masonry-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.load-more-ninja-zone {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
}

.load-more-ninja-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 60px;
    padding: 20px 40px;
    color: var(--ninja-light);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    text-decoration: none;
}

.load-more-ninja-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--ninja-primary);
    transform: scale(1.05);
}

.btn-ninja-energy {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ninja-gradient-primary);
    opacity: 0.3;
    transition: var(--ninja-transition);
}

.load-more-ninja-btn:hover .btn-ninja-energy {
    left: 100%;
}

/* ===== CATEGORIES DEEP DIVE ===== */
.ninja-categories-deep {
    padding: 120px 40px;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.categories-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.category-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 40px;
    margin-bottom: 40px;
}

.spotlight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.spotlight-title {
    font-family: var(--font-ninja);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ninja-light);
    margin-bottom: 15px;
}

.spotlight-description {
    font-size: 1.2rem;
    color: rgba(248, 249, 250, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.spotlight-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spotlight-stat {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-ninja);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ninja-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 249, 250, 0.8);
}

.spotlight-explore-btn {
    background: var(--ninja-gradient-primary);
    border: none;
    border-radius: 15px;
    padding: 15px 30px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ninja-transition);
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.spotlight-explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ninja-shadow-glow);
}

/* ===== BLOG SECTION - TIMELINE LAYOUT ===== */
.ninja-blog-timeline {
    padding: 120px 40px;
    background: var(--ninja-gradient-hero);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--ninja-gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.blog-ninja-cta {
    text-align: center;
    margin-top: 80px;
}

.cta-ninja-scroll {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-content h4 {
    font-family: var(--font-ninja);
    font-size: 1.8rem;
    color: var(--ninja-light);
    margin-bottom: 10px;
}

.scroll-content p {
    color: rgba(248, 249, 250, 0.8);
    font-size: 1.1rem;
}

.cta-ninja-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 60px;
    padding: 20px 40px;
    color: var(--ninja-light);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
}

.cta-ninja-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--ninja-primary);
    transform: scale(1.05);
}

/* ===== STATISTICS SECTION - CIRCULAR DASHBOARD ===== */
.ninja-stats-circular {
    padding: 120px 40px;
    background: var(--ninja-dark);
    overflow: hidden;
}

.circular-dashboard {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 0 auto;
}

.dashboard-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.center-ninja-logo {
    position: relative;
    text-align: center;
}

.center-ninja-logo img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.6));
}

.center-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    animation: centerPulse 2s ease-in-out infinite;
    z-index: -1;
}

.circular-stats {
    position: relative;
    width: 100%;
    height: 100%;
}

.circular-stat {
    position: absolute;
    width: 180px;
    height: 180px;
}

.stat-1 { top: 0; left: 50%; transform: translateX(-50%); }
.stat-2 { top: 50%; right: 0; transform: translateY(-50%); }
.stat-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.stat-4 { top: 50%; left: 0; transform: translateY(-50%); }

.circular-stat-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-circle {
    position: relative;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ninja-transition);
}

.stat-circle:hover {
    transform: scale(1.1);
    border-color: var(--ninja-primary);
    box-shadow: var(--ninja-shadow-glow);
}

.stat-progress {
    position: absolute;
    top: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 50%;
    background: conic-gradient(var(--ninja-primary) 0deg, transparent 0deg);
    transition: all 1s ease-in-out;
}

.stat-inner {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-inner .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-inner .stat-value {
    display: block;
    font-family: var(--font-ninja);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ninja-primary);
    margin-bottom: 5px;
}

.stat-inner .stat-label {
    font-size: 0.8rem;
    color: rgba(248, 249, 250, 0.8);
    font-weight: 600;
}




/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ninja-gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-ninja-container {
    text-align: center;
    position: relative;
}

.loading-ninja-char {
    position: relative;
    margin-bottom: 30px;
}

.loading-ninja-char img {
    width: 120px;
    height: auto;
    animation: ninjaFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--ninja-primary));
}

.loading-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    animation: auraGlow 1.5s ease-in-out infinite alternate;
}

.loading-text {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.loading-word {
    font-family: var(--font-ninja);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ninja-primary);
    opacity: 0;
    animation: wordAppear 0.5s ease forwards;
}

.loading-word:nth-child(1) { animation-delay: 0s; }
.loading-word:nth-child(2) { animation-delay: 0.2s; }
.loading-word:nth-child(3) { animation-delay: 0.4s; }
.loading-word:nth-child(4) { animation-delay: 0.6s; }

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--ninja-gradient-primary);
    border-radius: 2px;
    animation: progressFill 2s ease-in-out infinite;
}

/* ===== MODAL STYLES ===== */
.ninja-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ninja-modal-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.ninja-modal {
    background: var(--ninja-dark);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    transform: scale(0.7);
    transition: var(--ninja-transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ninja-modal-overlay.active .ninja-modal {
    transform: scale(1);
}

.modal-header {
    padding: 30px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    flex-shrink: 0;
    background: var(--ninja-dark);
}

.modal-title {
    color: var(--ninja-primary);
    font-family: var(--font-ninja);
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ninja-light);
    cursor: pointer;
    transition: var(--ninja-transition);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.modal-close:hover {
    background: var(--ninja-primary);
    border-color: var(--ninja-primary);
    color: white;
}


.modal-content {
    padding: 30px;
    color: rgba(248, 249, 250, 0.9);
    line-height: 1.8;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--ninja-primary) var(--ninja-darker);
}

/* Webkit scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 12px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--ninja-darker);
    border-radius: 15px;
    margin: 5px 0;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--ninja-gradient-primary);
    border-radius: 15px;
    border: 2px solid var(--ninja-darker);
    box-shadow: var(--ninja-shadow-soft);
    transition: var(--ninja-transition);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--ninja-gradient-primary);
    box-shadow: var(--ninja-shadow-glow);
    border-color: rgba(255, 107, 53, 0.3);
    transform: scale(1.1);
}

.modal-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--ninja-secondary) 0%, var(--ninja-primary) 100%);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3), var(--ninja-shadow-glow);
}

/* Modal content sections */
.modal-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    transition: var(--ninja-transition);
}

.modal-section:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
}

.modal-section h4 {
    color: var(--ninja-primary);
    font-family: var(--font-ninja);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h4 i {
    font-size: 1rem;
}

.modal-section p {
    margin: 0 0 10px 0;
    color: rgba(248, 249, 250, 0.9);
}

.modal-section ul {
    margin: 10px 0 0 20px;
    padding: 0;
    color: rgba(248, 249, 250, 0.9);
}

.modal-section li {
    margin-bottom: 5px;
}

/* FAQ specific styles */
.faq-item {
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(255, 107, 53, 0.03);
    border-left: 4px solid var(--ninja-primary);
    border-radius: 8px;
    transition: var(--ninja-transition);
}

.faq-item:hover {
    background: rgba(255, 107, 53, 0.06);
    transform: translateX(5px);
}

.faq-item h4 {
    color: var(--ninja-primary);
    font-family: var(--font-ninja);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h4 i {
    font-size: 0.9rem;
}

.faq-item p {
    margin: 0;
    color: rgba(248, 249, 250, 0.9);
    line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
@keyframes bannerSlide {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

@keyframes sidebarSlideIn {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes logoPulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes diagonalFloat1 {
    0%, 100% { transform: rotate(-15deg) translateY(0px); }
    50% { transform: rotate(-15deg) translateY(-20px); }
}

@keyframes diagonalFloat2 {
    0%, 100% { transform: rotate(15deg) translateY(0px); }
    50% { transform: rotate(15deg) translateY(20px); }
}

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

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(100px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes badgeSlideIn {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes titleReveal {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

@keyframes titleShadow {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(3px, 3px); opacity: 0.1; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes actionBtnSlide {
    0% { opacity: 0; transform: translateY(50px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes energyFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

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

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

@keyframes energyPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes centerPulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes togglePulse {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.3); }
}

@keyframes ninjaFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes auraGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes wordAppear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

/* ===== NINJA SPECIAL EFFECTS ===== */

/* Ninja Aura Effect */
.ninja-aura {
    position: relative;
    overflow: visible;
}

.ninja-aura::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: auraGlow 2s ease-in-out infinite alternate;
    z-index: -1;
    opacity: 0.4;
}

/* Floating Ninja Elements */
.ninja-float {
    animation: ninjaFloat 4s ease-in-out infinite;
}

/* Rotating Shuriken Effects */
.ninja-shuriken-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 2rem;
    opacity: 0.1;
    animation: shurikenSpin 6s linear infinite;
    pointer-events: none;
}

/* Ninja Glow on Hover */
.ninja-glow-hover:hover {
    animation: ninjaGlow 0.5s ease;
    box-shadow: var(--ninja-shadow-glow);
}

/* Pulsing Elements */
.ninja-pulse {
    animation: energyPulse 2s ease-in-out infinite;
}

/* Enhanced Button Effects */
.ninja-btn {
    position: relative;
    overflow: hidden;
}

.ninja-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ninja-btn:hover::before {
    left: 100%;
}

/* Ninja Card Hover Effects */
.ninja-card {
    position: relative;
    transition: var(--ninja-transition);
}

/* Ninja star effect removed - was causing visual confusion */

/* Enhanced Sidebar Logo */
.ninja-logo-enhanced {
    position: relative;
}

.ninja-logo-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: logoPulse 3s ease-in-out infinite;
    z-index: -1;
}

/* Ninja Section Headers Enhanced */
.section-ninja-header {
    position: relative;
}

.section-ninja-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--ninja-gradient-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: centerPulse 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.3;
}

/* Hexagonal Items Enhanced */
.hex-item {
    position: relative;
}

.hex-item::before {
    content: '⭐';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1rem;
    opacity: 0;
    animation: shurikenSpin 3s linear infinite;
    transition: opacity 0.3s ease;
}

.hex-item:hover::before {
    opacity: 0.8;
}

/* Product Cards Enhanced */
.product-card {
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

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

/* Product Actions & Social Sharing */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .social-share {
    opacity: 1;
    transform: translateY(0);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.social-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.social-btn:nth-child(1):hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-btn:nth-child(2):hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-btn:nth-child(3):hover {
    background: #25d366;
    border-color: #25d366;
}

.social-btn:nth-child(4):hover {
    background: #ff6b35;
    border-color: #ff6b35;
}

/* Notification animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Ninja Particles Background Enhanced */
.ninja-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    background:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 107, 53, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 142, 83, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 107, 53, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 170, 0, 0.3), transparent);
    background-size: 200px 200px;
    animation: particlesMove 20s linear infinite;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid var(--ninja-primary);
    border-radius: 15px;
    color: var(--ninja-primary);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow:
        0 8px 32px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.back-to-top i {
    font-size: 1.2rem;
    transform: rotate(-45deg);
    margin-bottom: -2px;
}

.back-to-top .btn-text {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.back-to-top:hover {
    background: var(--ninja-primary);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 12px 40px rgba(255, 107, 53, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Ninja Messages Only (no mascotte) */
.ninja-speech {
    position: fixed;
    bottom: 30px;
    right: 110px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--ninja-light);
    padding: 8px 12px;
    border-radius: 15px;
    border: 2px solid var(--ninja-primary);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.8rem;
    box-shadow: var(--ninja-shadow-glow);
    z-index: 1002;
    pointer-events: none;
}

.ninja-speech::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid var(--ninja-primary);
    transform: translateY(-50%);
}

.ninja-speech.show {
    opacity: 1;
    transform: translateX(0);
}





@keyframes ninjaHover {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.05);
    }
}

/* ===== HOT DEALS DASHBOARD ===== */
.hot-deals-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.hot-deal-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 12px;
    transition: var(--ninja-transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hot-deal-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.hot-deal-image {
    position: relative;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.hot-deal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hot-deal-item:hover .hot-deal-image img {
    transform: scale(1.05);
}

.hot-deal-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--ninja-gradient-primary);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.hot-deal-content {
    text-align: left;
}

.hot-deal-title {
    color: var(--ninja-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.2;
    height: 2.4em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-deal-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.hot-deal-current {
    color: var(--ninja-primary);
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-ninja);
}

.hot-deal-original {
    color: rgba(248, 249, 250, 0.5);
    font-size: 0.7rem;
    text-decoration: line-through;
}

.hot-deal-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 0.7rem;
}

.hot-deal-rating .fas,
.hot-deal-rating .far {
    color: var(--ninja-accent);
    font-size: 0.7rem;
}

.hot-deal-reviews {
    color: rgba(248, 249, 250, 0.6);
    font-size: 0.65rem;
}

.hot-deal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--ninja-gradient-primary);
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--ninja-transition);
    border: none;
    cursor: pointer;
}

.hot-deal-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hot-deal-btn i {
    font-size: 0.8rem;
}

/* Amazon button in product cards - slightly larger than hot deals */
.product-amazon-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.85rem;
    margin-top: 5px;
}

.product-amazon-btn i {
    font-size: 1rem;
}

/* Product card images - show full image without cropping */
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive for hot deals */
@media (max-width: 1024px) {
    .hot-deals-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hot-deal-item {
        padding: 10px;
    }

    .hot-deal-image {
        height: 70px;
    }
}

/* ===== HERO NINJA BADGES ===== */
.hero-badges-panel {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ninja-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
    transition: var(--ninja-transition);
    cursor: pointer;
}

.ninja-badge:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.6);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.badge-icon {
    font-size: 1.2rem;
    animation: badgeFloat 2s ease-in-out infinite;
}

.ninja-badge-speed .badge-icon {
    animation-delay: 0s;
}

.ninja-badge-verified .badge-icon {
    animation-delay: 0.5s;
}

.ninja-badge-explosive .badge-icon {
    animation-delay: 1s;
}

.badge-text {
    color: var(--ninja-light);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ninja-gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.ninja-badge:hover .badge-glow {
    opacity: 0.3;
}

/* Badge specific styles */
.ninja-badge-speed {
    border-color: rgba(255, 170, 0, 0.3);
}

.ninja-badge-speed:hover {
    border-color: rgba(255, 170, 0, 0.6);
    box-shadow: 0 8px 25px rgba(255, 170, 0, 0.4);
}

.ninja-badge-verified {
    border-color: rgba(0, 255, 136, 0.3);
}

.ninja-badge-verified:hover {
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.ninja-badge-explosive {
    border-color: rgba(255, 51, 102, 0.3);
}

.ninja-badge-explosive:hover {
    border-color: rgba(255, 51, 102, 0.6);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* Badge responsive */
@media (max-width: 768px) {
    .hero-badges-panel {
        flex-direction: column;
        gap: 12px;
    }

    .ninja-badge {
        justify-content: center;
        padding: 10px 16px;
    }

    .badge-text {
        font-size: 0.8rem;
    }
}

/* ===== FOOTER STYLES ===== */
.ninja-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 3px solid var(--ninja-primary);
    margin-top: 80px;
    margin-left: var(--sidebar-width); /* Align with main content area */
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 60px 40px 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    color: var(--ninja-primary);
    font-family: var(--font-ninja);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-title i {
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--ninja-light);
    text-decoration: none;
    transition: var(--ninja-transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--ninja-primary);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.3));
}

.footer-description {
    color: var(--ninja-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ninja-light);
    text-decoration: none;
    transition: var(--ninja-transition);
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: var(--ninja-gradient-primary);
    border-color: var(--ninja-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover:before {
    left: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    padding: 30px 40px;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--ninja-light);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

.footer-affiliate-notice {
    color: rgba(255, 107, 53, 0.8);
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-affiliate-notice i {
    font-size: 0.8rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    :root {
        --sidebar-width: 250px;
    }

    .hero-diagonal-content {
        gap: 40px;
        padding: 0 30px;
    }

    .hero-mega-title {
        font-size: clamp(2.5rem, 6vw, 4.5rem);
    }
}

/* ===== LARGE SCREENS OPTIMIZATION ===== */
@media (min-width: 1400px) {
    .hero-diagonal-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .offers-container {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin: 0 auto;
    }

    .ninja-offers-section,
    .ninja-blog-section {
        padding: 0 40px;
    }

    .section-ninja-header {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* ===== LARGE TABLET/SMALL DESKTOP ===== */
@media (max-width: 1200px) {
    .hero-diagonal-content {
        gap: 40px;
        padding: 0 30px;
    }

    .offers-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 20px;
    }

    .offers-container.grid-view {
        grid-template-columns: repeat(3, 1fr);
    }

    .offers-container.list-view .offer-card {
        flex-direction: column;
        text-align: center;
    }

    .offers-container.list-view .offer-card .offer-image {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }

    .offers-container.list-view .offer-card .offer-content {
        padding: 15px;
    }

    .ninja-dashboard {
        margin-top: 20px;
    }

    .hero-mega-title {
        font-size: clamp(3rem, 7vw, 4rem);
    }

    .integrated-search-bar {
        padding: 20px;
    }

    .search-filters-compact {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ===== TABLET BREAKPOINT ===== */
@media (max-width: 1024px) {
    .hero-diagonal-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-right-panel {
        order: -1;
    }

    .ninja-dashboard {
        max-width: 500px;
        margin: 0 auto;
    }

    .offers-filter-bar {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .filter-bar-left,
    .filter-bar-right {
        justify-content: center;
    }

    .search-filters-compact {
        justify-content: center;
    }

    .section-ninja-header {
        padding: 0 20px;
    }

    .hero-description p {
        font-size: 1.3rem;
        line-height: 1.7;
    }

    .hero-badges-panel {
        justify-content: center;
        max-width: 600px;
        margin: 30px auto 0;
    }
}

@media (max-width: 992px) {
    .ninja-sidebar {
        display: none;
    }

    /* Hide mobile overlay since we're not using sidebar */
    .sidebar-overlay {
        display: none;
    }

    /* Smaller affiliate banner on mobile */
    .affiliate-banner {
        padding: 4px 0;
        font-size: 0.7rem;
    }

    .affiliate-content {
        gap: 6px;
        padding: 0 10px;
    }

    .affiliate-content i {
        font-size: 0.8rem;
    }

    /* Mobile Bottom Navigation */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(20px);
        border-top: 2px solid var(--ninja-primary);
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
        z-index: 1000;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: rgba(248, 249, 250, 0.7);
        transition: var(--ninja-transition);
        padding: 6px 10px;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
    }

    .bottom-nav-item.active {
        color: var(--ninja-primary);
        background: rgba(255, 107, 53, 0.1);
    }

    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: var(--ninja-gradient-primary);
        border-radius: 0 0 10px 10px;
    }

    .nav-icon {
        font-size: 1.2rem;
        margin-bottom: 4px;
        transition: var(--ninja-transition);
    }

    .nav-label {
        font-size: 0.7rem;
        font-weight: 500;
        font-family: var(--font-ninja);
    }

    .bottom-nav-item:hover {
        color: var(--ninja-primary);
        transform: translateY(-2px);
    }

    .bottom-nav-item:hover .nav-icon {
        transform: scale(1.1);
    }

    .bottom-nav-item.active .nav-icon {
        animation: pulseGlow 2s ease-in-out infinite;
    }

    @keyframes pulseGlow {
        0%, 100% { filter: drop-shadow(0 0 5px var(--ninja-primary)); }
        50% { filter: drop-shadow(0 0 15px var(--ninja-primary)); }
    }

    .mobile-header {
        display: none;
    }

    .ninja-main-content {
        margin-left: 0;
        margin-top: 40px;
        padding-bottom: 80px; /* Space for bottom navigation */
    }

    .ninja-footer {
        margin-left: 0; /* Remove sidebar offset when sidebar is hidden */
    }

    .hero-diagonal-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hexagonal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-spotlight {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .circular-dashboard {
        width: 400px;
        height: 400px;
    }

    .circular-stat {
        width: 120px;
        height: 120px;
    }

    .stat-circle {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hero-diagonal-content {
        padding: 0 20px;
    }

    .hero-mega-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-action-panel {
        flex-direction: column;
        align-items: center;
    }

    .ninja-action-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .offers-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }

    .offers-container.list-view .offer-card .offer-image {
        height: 180px;
    }

    .integrated-search-bar {
        padding: 15px;
        margin: 0 15px;
    }

    .search-input-wrapper input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
    }

    .search-filters-compact {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .filter-ninja {
        text-align: center;
        padding: 12px 20px;
    }

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

    .masonry-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .deals-filter-bar {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }

    .search-filters-ninja {
        flex-direction: column;
        align-items: center;
    }

    .spotlight-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .circular-dashboard {
        width: 300px;
        height: 300px;
    }

    .dashboard-center {
        width: 120px;
        height: 120px;
    }

    .circular-stat {
        width: 80px;
        height: 80px;
    }

    .stat-circle {
        width: 70px;
        height: 70px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px 30px;
    }

    .ninja-footer {
        margin-left: 0; /* Remove sidebar offset on tablet/mobile */
        margin-bottom: 90px; /* More space for mobile bottom nav */
        padding-bottom: 20px; /* Extra internal padding */
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-bottom: 30px; /* More padding for mobile nav */
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-social {
        gap: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

}

@media (max-width: 480px) {
    .section-ninja-title {
        font-size: 2.5rem;
    }

    .section-ninja-subtitle {
        font-size: 1.1rem;
    }

    .hero-description p {
        font-size: 1.2rem;
    }

    .offers-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 10px;
    }

    .ninja-footer {
        margin-left: 0; /* Remove sidebar offset on small mobile */
        margin-bottom: 100px; /* Even more space for smaller screens */
        padding-bottom: 25px; /* Extra internal padding */
    }

    .footer-content {
        padding: 40px 15px 25px; /* Better padding for small screens */
        text-align: center; /* Center align everything on small screens */
    }

    .offer-card {
        margin: 0;
    }

    .integrated-search-bar {
        padding: 12px;
        margin: 0 10px;
    }

    .search-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .search-input-wrapper input {
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 12px;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
        border-radius: 12px;
    }

    .ninja-modal {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }

    .modal-header {
        padding: 15px 15px 10px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .hero-badges-panel {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }

    .ninja-badge {
        justify-content: center;
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .section-ninja-header {
        padding: 0 10px;
        text-align: center;
    }

    .blog-container {
        padding: 0 10px;
    }

    /* Even smaller affiliate banner on very small screens */
    .affiliate-banner {
        padding: 3px 0;
        font-size: 0.65rem;
    }

    .affiliate-content {
        gap: 4px;
        padding: 0 8px;
    }

    .affiliate-content span {
        display: inline-block;
        line-height: 1.2;
    }
}