/*
Theme Name: VapeNice
Theme URI: https://vapenice.com
Description: A modern, responsive WordPress theme for the vape industry with dynamic effects and clean design.
Author: VapeNice Team
Author URI: https://vapenice.com
Version: 1.0
Tags: vape, e-cigarettes, dark-theme, responsive, modern, dynamic
Text Domain: vapenice
*/

/* Base Styles & Variables */
:root {
    --dark-bg: #121212;
    --dark-card: #1e1e1e;
    --dark-accent: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --neon-cyan: #00f0ff;
    --neon-purple: #9d4edd;
    --neon-magenta: #ff00a0;
    --gradient-cyan-purple: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    --gradient-purple-magenta: linear-gradient(135deg, var(--neon-purple), var(--neon-magenta));
    --shadow-cyan: 0 0 15px rgba(0, 240, 255, 0.5);
    --shadow-purple: 0 0 15px rgba(157, 78, 221, 0.5);
    --shadow-magenta: 0 0 15px rgba(255, 0, 160, 0.5);
    --transition-default: all 0.3s ease;
    --section-padding: 50px 0;
    --bg-alt-1: #1e1e1e;
    --bg-alt-2: #252525;
}

.light {
    --dark-bg: #f5f5f5;
    --dark-card: #ffffff;
    --dark-accent: #f0f0f0;
    --text-primary: #121212;
    --text-secondary: #555555;
    --bg-alt-1: #ffffff;
    --bg-alt-2: #f8f9fa;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition-default);
    overflow-x: hidden;
}

/* Vanta.js Container */
.banner-slide {
    position: relative;
    overflow: hidden;
    height: 600px; /* Ensure banner has sufficient height */
}

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

/* Container - Increased width, reduced padding */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Full width sections */
.full-width {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Enhanced Section styling with dynamic loading effects */
.section {
    position: relative;
    padding: var(--section-padding);
    transition: transform 0.8s ease, opacity 0.8s ease;
    /* Show content by default to avoid overlay issues */
    transform: translateY(0);
    opacity: 1;
}

/* Keep animation effect but do not depend on it for visibility */
.section.section-visible {
    transform: translateY(0);
    opacity: 1;
}

/* Section background alternation */
.section.bg-alt-1 {
    background-color: var(--bg-alt-1);
}

.section.bg-alt-2 {
    background-color: var(--bg-alt-2);
}

/* Enhanced Section title beautification */
.section-header {
    margin-bottom: 40px;
    text-align: center;
}

/* Section Title and Description Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Reviews Photo Wall Styles */
.reviews-photo-wall {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}


.review-photo-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.review-photo-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.review-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.review-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.photo-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    color: white;
    transition: padding 0.3s ease;
    z-index: 1;
}

/* Light mode style adjustments */
html.light .photo-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    color: white;
}

.review-photo-card:hover .photo-card-overlay {
    padding-bottom: 35px;
}

.review-rating.small-rating {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-rating.small-rating .stars {
    font-size: 14px;
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-cyan);
}

.photo-card-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: transform 0.3s ease;
    color: white;
}

.photo-card-overlay h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.photo-card-overlay h3 a:hover {
    color: var(--neon-cyan);
}

.review-photo-card:hover .photo-card-overlay h3 {
    transform: translateY(-5px);
}

.photo-card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    opacity: 1;
    transition: opacity 0.15s ease;
}

html.light .photo-card-meta {
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
}

.review-type {
    background-color: rgba(157, 78, 221, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.photo-card-link {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-cyan-purple);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-photo-card:hover .photo-card-link {
    opacity: 1;
    transform: translateY(0);
}

.unboxing-badge,
.review-badge {
    display: inline-block;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.unboxing-badge {
    background-color: var(--neon-magenta);
}

.review-badge {
    background-color: var(--neon-cyan);
}

.review-badge {
    animation-name: pulse-cyan;
}

@keyframes pulse-cyan {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 200, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 255, 0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 160, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 160, 0);
    }
}

/* Responsive adjustments for photo wall */
@media (max-width: 992px) {
    .review-photo-card:nth-child(1),
    .review-photo-card:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .reviews-photo-wall {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

@media (max-width: 576px) {
    .reviews-photo-wall {
        grid-template-columns: 1fr;
    }
    
    .review-photo-card {
        height: 300px;
    }
}

/* Floating Action Panel - global module, hidden by default, shown via .show */
.floating-panel {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999 !important; /* Ensure it appears above all content */
    align-items: center;
    padding: 0;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
}

/* Only visible when .show is added - for second-screen logic */
.floating-panel.show {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

/* Force-show class for debugging and ensuring display on all pages */
.floating-panel.force-show {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 9999 !important;
}

/* Ensure consistent display across all page types */
.home .floating-panel,
.category .floating-panel,
.single .floating-panel,
.page .floating-panel,
.events .floating-panel {
    position: fixed !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Ensure consistency when shown across all page types */
.home .floating-panel.show,
.category .floating-panel.show,
.single .floating-panel.show,
.page .floating-panel.show,
.events .floating-panel.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure consistency when force-show across all page types */
.home .floating-panel.force-show,
.category .floating-panel.force-show,
.single .floating-panel.force-show,
.page .floating-panel.force-show,
.events .floating-panel.force-show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 9999 !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .floating-panel {
        right: 15px !important;
        gap: 10px !important;
    }
    
    .floating-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

.floating-btn {
    z-index: 9999;
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--dark-card, #1a1a2e);
    color: var(--text-primary, #ffffff);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.floating-btn i {
    font-size: 18px;
    color: var(--text-primary, #ffffff);
}

/* Ensure social share buttons display correctly */

/* Theme toggle button styles */
#theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--dark-card, #1a1a2e);
    color: var(--text-primary, #ffffff);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

/* Back-to-top button styles */
#back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--dark-card, #1a1a2e) !important;
    color: #00f0ff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default, all 0.3s ease);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    z-index: 9999 !important;
}

/* Social share dropdown styles */

.floating-btn i {
    font-size: 18px;
    color: var(--text-primary, #ffffff);
}

/* Back to top button */
#back-to-top {
    transition: var(--transition-default);
    color: #00f0ff !important;
    z-index: 9999 !important;
}

/* Ensure floating-panel displays on all page types */
.home .floating-btn,
.category .floating-btn,
.single .floating-btn,
.page .floating-btn,
.events .floating-btn {
    z-index: 9999 !important;
    position: relative !important;
    display: flex !important;
}

/* Ensure floating-btn has base styles in all cases */
.floating-btn {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background-color: var(--dark-card, #1a1a2e) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary, #ffffff) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    z-index: 9999 !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Social Share Dropdown */

/* Unified styles for social share dropdown across pages */

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-cyan-purple);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-cyan-purple);
    border-radius: 2px;
}

/* Slider container with horizontal scroll */
.slider-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) transparent;
}

.slider-container::-webkit-scrollbar {
    height: 6px;
}

.slider-container::-webkit-scrollbar-track {
    background: transparent;
}

.slider-container::-webkit-scrollbar-thumb {
    background-color: var(--neon-cyan);
    border-radius: 3px;
}

/* Horizontal scroll section */
.horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

.horizontal-scroll > .container {
    display: flex;
    width: max-content;
    padding: 0 15px;
}

/* Fancy hover effects for cards */
.deal-card,
.product-card,
.news-card,
.review-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deal-card:hover,
.product-card:hover,
.news-card:hover,
.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

/* Header styles */
.header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

/* Search Results styles */
.search-results {
    background-color: #f9f9f9;
}

.search-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.search-title span {
    color: #ff5e14;
}

.search-count {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto 50px;
}

.search-form-container form {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.search-form-container input[type="text"] {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-form-container button {
    padding: 15px 25px;
    background-color: #ff5e14;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.search-form-container button:hover {
    background-color: #e04e0f;
}

/* Search Results by Category */
.search-results-by-category {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.search-results-category {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.search-results-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.category-title i {
    margin-right: 12px;
    color: #ff5e14;
}

/* Search Result Items */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.search-result-item {
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.result-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: #ff5e14;
}

.result-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.result-meta span {
    display: flex;
    align-items: center;
}

.result-meta i {
    margin-right: 6px;
}

.result-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #ff5e14;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

.read-more i {
    margin-left: 6px;
}

.view-more {
    margin-top: 20px;
    text-align: center;
}

.view-more a {
    display: inline-block;
    padding: 10px 25px;
    background-color: #fff;
    color: #ff5e14;
    border: 1px solid #ff5e14;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-more a:hover {
    background-color: #ff5e14;
    color: #fff;
}

/* No Results */
.no-results {
    padding: 60px 0;
    text-align: center;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
    color: #666;
}

.no-results-content i {
    color: #ddd;
    margin-bottom: 25px;
}

.no-results-content h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.no-results-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.no-results-content ul {
    text-align: left;
    margin: 0 auto 30px;
    max-width: 300px;
}

.no-results-content li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.no-results-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff5e14;
}

/* Responsive Search Results styles */
@media (max-width: 768px) {
    .search-results {
        padding: 0;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-form-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .search-form-container form {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-form-container input[type="text"] {
        padding: 12px 20px;
        text-align: center;
    }
    
    .search-form-container button {
        padding: 12px;
        width: 100%;
        margin-top: 10px;
    }
    
    .search-results-by-category {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .result-title {
        font-size: 1.2rem;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .no-results-content i {
        font-size: 4rem;
    }
    
    .no-results-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .search-title {
        font-size: 1.8rem;
    }
    
    .search-count {
        font-size: 1rem;
    }
    
    .search-result-item {
        padding: 15px;
    }
    
    .result-title {
        font-size: 1.1rem;
    }
}

/* Header styles in Light mode - pure white background */
.light .header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Header scroll styles in Light mode */
.light .header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

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

.logo a {
    text-decoration: none !important;
    display: inline-block;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none !important;
    margin: 0;
    padding: 0;
}

.logo h1 span {
    background: var(--gradient-cyan-purple); /* Default gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-decoration: none !important;
    /* Gradient can be switched via JS based on backend settings */
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition-default);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a:hover {
    color: var(--neon-cyan);
}

/* Current page/menu highlight (dark/light modes) */
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
    color: var(--neon-cyan);
    background-color: var(--dark-accent);
}

/* Submenu item highlight inside dropdown */
.dropdown-content .current-menu-item > a,
.dropdown-content .current_page_item > a {
    color: var(--neon-cyan);
    background-color: var(--dark-accent);
}

/* Mobile nav current item highlight */
.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a,
.mobile-nav .current-menu-ancestor > a {
    color: var(--neon-cyan);
    background-color: rgba(0, 240, 255, 0.1);
}

/* Light mode adjustments keep using CSS variables */
.light .main-nav .current-menu-item > a,
.light .main-nav .current_page_item > a,
.light .main-nav .current-menu-ancestor > a {
    color: var(--neon-cyan);
    background-color: var(--dark-accent);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dark-card);
    min-width: 200px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
    display: none; /* Ensure hidden by default */
}

.dropdown-content li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dropdown styles in Light mode */
.light .dropdown-content {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Ensure dropdown displays correctly under JavaScript control */
.dropdown-content.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 12px 15px;
    border-radius: 0;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-content a:hover {
    background-color: var(--dark-accent);
    color: var(--neon-cyan);
}

/* Ensure main-nav li elements do not affect dropdown layout */
.main-nav li {
    position: relative;
}

.search-bar {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    background-color: var(--dark-accent);
    border: none;
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-default);
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--neon-cyan);
}

.search-bar button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-default);
}

.search-bar button:hover {
    color: var(--neon-cyan);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    pointer-events: auto;
    touch-action: manipulation;
}

.mobile-nav {
    display: none;
    background-color: var(--dark-card);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-default);
    z-index: 2000;
}

/* Mobile navigation styles in Light mode */
.light .mobile-nav {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 10px;
    display: block;
    transition: var(--transition-default);
}

.mobile-nav a:hover {
    color: var(--neon-cyan);
}

.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--dark-accent);
    border-radius: 5px;
    margin-top: 5px;
    padding: 0;
    /* Ensure dropdown is correctly positioned */
    position: relative;
    z-index: 1001;
    /* Ensure dropdown does not overflow the parent container */
    width: 100%;
    box-sizing: border-box;
}

.mobile-dropdown-content li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-dropdown.active .mobile-dropdown-content,
.mobile-dropdown.open .mobile-dropdown-content {
    max-height: 500px;
    padding: 10px 0;
    /* Ensure clear styles when dropdown is active */
    display: block;
    overflow-y: auto;
}

.mobile-dropdown-content li a {
    padding-left: 30px;
    padding: 12px 15px 12px 30px;
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-default);
    width: 100%;
    box-sizing: border-box;
}

.mobile-dropdown-content a:hover {
    color: var(--neon-cyan);
    background-color: rgba(0, 240, 255, 0.1);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: neon-pulse 3s ease-in-out infinite;
}

/* Banner content styles in Light mode */
.light .banner-content {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.light .banner-content h2,
.light .banner-content p {
    color: var(--dark-text-primary);
}

.light .banner-content h2 {
    color: var(--dark-text-primary);
}

.light .banner-content p {
    color: var(--dark-text-secondary);
}

@keyframes neon-pulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    }
    50% {
        border-color: rgba(0, 240, 255, 0.5);
        box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 30px rgba(128, 0, 255, 0.3);
    }
}

/* Neon effects in Light mode */
@keyframes light-neon-pulse {
    0%, 100% {
        border-color: rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 10px rgba(128, 0, 255, 0.2);
    }
    50% {
        border-color: rgba(128, 0, 255, 0.5);
        box-shadow: 0 0 20px rgba(128, 0, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.3);
    }
}

.light .banner-content {
    animation: light-neon-pulse 3s ease-in-out infinite;
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-primary);
    white-space: pre-wrap; /* Ensure text wraps correctly */
}

.banner-content h2 .gradient-text {
    display: block; /* Force gradient-text to appear on a separate line */
    margin-top: 0.2em; /* Add a bit of spacing */
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default);
    z-index: 3;
}

.banner-prev:hover,
.banner-next:hover {
    background-color: var(--neon-purple);
    box-shadow: var(--shadow-purple);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 3;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-default);
}

.banner-dots .dot.active {
    background-color: var(--neon-cyan);
    width: 30px;
    border-radius: 6px;
}

/* Daily Giveaway */
.daily-giveaway {
    position: relative;
    padding: var(--section-padding);
}

/* ALL GIVEAWAYS button centering container */
.daily-giveaway .text-center.mt-10 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px; /* Adjust spacing */
    width: 100%;
}

.giveaway-slider-container {
    position: relative;
    overflow: hidden;
}

.giveaway-slider {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 20px 0;
    /* Remove scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Chrome, Safari and Opera */
.giveaway-slider::-webkit-scrollbar {
    display: none;
}

.giveaway-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.giveaway-card {
    flex: 0 0 calc(25% - 22.5px); /* Four cards minus spacing */
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-default);
    display: flex;
    flex-direction: column;
    height: 450px; /* Fixed height to ensure uniform card heights */
    border: none;
}

/* Responsive design */
@media (max-width: 1200px) {
    .giveaway-card {
        flex: 0 0 calc(33.333% - 20px); /* Three cards */
    }
}

@media (max-width: 992px) {
    .giveaway-card {
        flex: 0 0 calc(50% - 15px); /* Two cards */
    }
}

@media (max-width: 576px) {
    .giveaway-card {
        flex: 0 0 100%; /* One card */
    }
}

.giveaway-image {
    height: 200px;
    overflow: hidden;
}

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

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

.giveaway-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.giveaway-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
    height: 60px; /* Fixed height to keep title space consistent */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to two lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: var(--transition-default);
}

/* Styles for anchor tags under H3 */
.giveaway-details h3 a {
    text-decoration: none;
    color: #fff !important; /* White text in dark mode */
    transition: var(--transition-default);
}

/* Anchor styles in light mode */
.light .giveaway-details h3 a {
    color: #000 !important; /* Black text in light mode */
}

/* Hover effects */
.giveaway-details:hover h3 a {
    color: var(--neon-cyan);
}

.giveaway-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
    height: 80px; /* Fixed height to keep excerpt space consistent */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to three lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.enter-giveaway {
    margin-top: auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-default);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.slider-nav.visible {
    opacity: 1;
    visibility: visible;
}

.slider-nav:hover {
    background-color: var(--neon-purple);
    box-shadow: var(--shadow-purple);
}

.prev-giveaway {
    left: 10px;
}

.next-giveaway {
    right: 10px;
}

/* Vape Deals */
.vape-deals {
    position: relative;
    padding: var(--section-padding);
}

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

.deal-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-default);
}

.deal-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--neon-purple);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.deal-image {
    height: 200px;
    overflow: hidden;
}

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

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

.deal-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.deal-info > div {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
}

.deal-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    min-height: 2.5rem; /* Ensure title height is consistent */
    transition: var(--transition-default);
}

/* Styles for anchor tags under H3 */
.deal-info h3 a {
    text-decoration: none;
    color: #fff !important; /* White text in dark mode */
    transition: var(--transition-default);
}

/* Anchor styles in light mode */
.light .deal-info h3 a {
    color: #000 !important; /* Black text in light mode */
}

/* Hover effects */
.deal-info:hover h3 a {
    color: var(--neon-cyan);
}

.light .deal-info:hover h3 a {
    color: var(--neon-cyan);
}

/* Breadcrumb styles */
.breadcrumb {
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: var(--text-secondary);
}

.breadcrumb-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-link:hover {
    color: var(--neon-cyan);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Breadcrumb styles in dark mode */
.breadcrumb-link i {
    color: var(--text-primary);
}

/* Breadcrumb styles in light mode */
.light .breadcrumb-link {
    color: #000;
}

.light .breadcrumb-link:hover {
    color: var(--neon-cyan);
}

.light .breadcrumb-item:not(:last-child)::after {
    color: #666;
}

.light .breadcrumb-item.active {
    color: #666;
}

/* Modern pagination styles */
.pagination-link {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: var(--text-primary);
    background-color: var(--dark-card);
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}

.pagination-link:hover {
    background-color: var(--card-hover);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
}

.pagination-current {
    background-color: var(--neon-cyan);
    color: #000 !important;
    font-weight: 700;
    border-color: var(--neon-cyan);
}

.pagination-prev, .pagination-next {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-prev:hover, .pagination-next:hover {
    background-color: var(--card-hover);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* Pagination styles in light mode */
.light .pagination-link {
    color: #000;
    background-color: #f8f9fa;
}

.light .pagination-link:hover {
    background-color: #e9ecef;
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.light .pagination-current {
    background-color: var(--neon-cyan);
    color: #000 !important;
}

/* Responsive pagination styles */
@media (max-width: 768px) {
    .modern-pagination {
        flex-direction: column;
        gap: 15px;
    }
    
    .pagination-info {
        margin-left: 0 !important;
        text-align: center;
    }
    
    .breadcrumb-list {
        font-size: 0.9rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 5px;
    }
}
.deal-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    width: 100%;
    min-height: 80px; /* Fixed minimum height to ensure alignment */
    max-height: 120px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limit to at most four lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.deal-pricing {
    margin-bottom: 10px;
    width: 100%;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    margin-right: 10px;
}

.discounted-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.deal-note {
    color: var(--text-secondary);
    font-size: 14px;
}

.deal-expiry,
.deal-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
    width: 100%;
    justify-content: flex-start; /* Ensure left alignment */
    min-height: 20px; /* Ensure consistent height */
}

.section-footer {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.view-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-cyan-purple);
    color: #e5ffbc;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition-default);
    min-width: 180px; /* Ensure buttons have sufficient width */
    text-align: center;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-cyan);
}

/* Events */
.vape-events {
    position: relative;
    padding: var(--section-padding);
}

.event-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 20px;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-accent);
    border-radius: 5px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-default);
}

.filter-select:focus {
    outline: none;
    border-color: var(--neon-cyan);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: var(--transition-default);
}

.event-date {
    background-color: var(--dark-accent);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.event-date .month {
    font-size: 14px;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
}

.event-date .day {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.event-date .year {
    font-size: 14px;
    color: white;
}

.event-details {
    flex-grow: 1;
}

.event-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.event-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.event-description {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.event-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 3px 10px;
    background-color: var(--dark-accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.tag.expo,
.tag.trade {
    background-color: rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
}

.tag.conference,
.tag.europe {
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--neon-purple);
}

.tag.show,
.tag.uk {
    background-color: rgba(255, 0, 160, 0.2);
    color: var(--neon-magenta);
}



.event-actions {
    display: flex;
    align-items: flex-end;
}

/* News */
.company-news {
    position: relative;
    padding: var(--section-padding);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.news-tab {
    padding: 10px 20px;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-accent);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-default);
    font-size: 14px;
}

.news-tab.active,
.news-tab:hover {
    background: var(--gradient-cyan-purple);
    color: white;
    border-color: transparent;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card-hidden {
    display: none !important;
}

.news-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-default), border-color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}



.news-card:not(:hover) {
    border-color: rgba(255, 255, 255, 0.1);
}

.news-card:focus,
.news-card:active,
.news-card:focus-within {
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

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

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

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: var(--transition-default);
}

.news-content h3 a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-default);
}

.news-card:hover .news-content h3 a {
    color: var(--neon-cyan);
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-default);
}

.read-more:hover {
    transform: translateX(5px);
}

/* Newsletter */
.newsletter-section {
    position: relative;
    padding: var(--section-padding);
    background: var(--gradient-cyan-purple);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    width: 350px;
    max-width: 100%;
}

.newsletter-form button {
    padding: 15px 24px;
    background-color: var(--dark-bg);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Homepage Ad Styles */
.homepage-ad-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin: 20px 0;
}

.homepage-ad-container {
    text-align: center;
    max-width: 970px;
    margin: 0 auto;
}

.homepage-ad-container img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage-ad-container img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.homepage-ad-container .ad-placeholder {
    background-color: #f1f3f4;
    border: 2px dashed #d1d5db;
    border-radius: 4px;
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

.homepage-ad-container .ad-placeholder .ad-label {
    display: inline-block;
    background-color: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Dark Mode Homepage Ad Styles */
.dark-mode .homepage-ad-section {
    background-color: #1f2937;
}

.dark-mode .homepage-ad-container .ad-placeholder {
    background-color: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}

/* Footer */
.footer {
    background-color: var(--dark-card);
    padding: 80px 0 40px;
}

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

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-accent);
    color: var(--text-primary);
    transition: var(--transition-default);
}

.social-links a:hover {
    background-color: var(--neon-purple);
    transform: translateY(-3px);
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-default);
}

.footer-column a:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

.contact-info i {
    margin-right: 10px;
    color: var(--neon-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--dark-accent);
    padding-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-default);
    text-decoration: none;
    text-align: center;
}

.primary-btn {
    background: var(--gradient-cyan-purple);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.primary-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.6s ease;
    z-index: -1;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-cyan), 0 0 15px rgba(0, 240, 255, 0.5);
}

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

.secondary-btn {
    background-color: var(--dark-accent);
    color: var(--text-primary);
}

.secondary-btn:hover {
    background-color: var(--neon-purple);
    color: white;
    box-shadow: var(--shadow-purple);
}

.tertiary-btn {
    background-color: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.tertiary-btn:hover {
    background-color: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: var(--shadow-cyan);
}

/* Responsive */
/* Medium screen responsive adjustments */
@media (max-width: 1200px) {
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav a {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .search-bar {
        max-width: 250px;
    }
}

/* Small screen responsive adjustments */
@media (max-width: 1024px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .banner-content h2 {
        font-size: 40px;
    }
    
    .header .container {
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    .main-nav,
    .search-bar {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .mobile-nav .search-bar {
        display: block;
        margin-top: 20px;
    }
    
    .event-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        width: 100%;
        text-align: center;
    }
    
    .event-actions {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 70vh;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .giveaway-card,
    .deal-card,
    .news-card {
        flex: 0 0 100%;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .floating-panel {
        right: 10px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Deal Card Styles */
.deal-card {
    width: 48%;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    height: 450px; /* Fixed height to align cards */
}

.deal-description {
    margin-bottom: 15px;
    flex: 1;
    min-height: 120px;
    max-height: 150px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    color: #555;
}

.deal-date {
    margin-bottom: 15px;
    align-self: flex-start;
}

.btn.primary-btn {
    margin-top: auto;
    align-self: flex-start;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.deal-image {
    width: 40%;
    position: relative;
    overflow: hidden;
    height: 100%; /* Use 100% height to fill card */
}

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

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

.deal-info {
    width: 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    color: #333;
    height: 100%;
}

.deal-info h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff !important; /* White text in dark mode */
}

.deal-description {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.deal-date {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
    display: block;
}

.btn.primary-btn {
    margin-top: auto;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    width: auto;
    display: inline-block;
}

.btn.primary-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* No deals message */
.no-deals {
    width: 100%;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: #333;
}

/* Deal card default styling (dark mode) */
.deal-card {
    background: var(--dark-bg) !important;
    border-color: #333333 !important;
    height: 450px !important;
}

.deal-info {
    color: var(--text-primary) !important;
}

.deal-info h3 {
    color: #fff !important; /* White text in dark mode */
    min-height: 2.5rem !important;
    display: flex !important;
    align-items: flex-start !important;
}

.deal-description {
    color: var(--text-secondary) !important;
    min-height: 120px !important;
    max-height: 150px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.deal-date {
    color: var(--text-secondary) !important;
    display: block !important;
}

.no-deals {
    background: var(--dark-bg) !important;
    border-color: #333333 !important;
    color: var(--text-primary) !important;
}

/* Light mode styling */
.light .deal-card {
    background: #ffffff !important;
    border-color: #d0d0d0 !important;
    height: 450px !important;
}

.light .deal-info {
    color: #333333 !important;
}

.light .deal-info h3 {
    color: #000 !important; /* Black text in light mode */
    min-height: 2.5rem !important;
    display: flex !important;
    align-items: flex-start !important;
}

.light .deal-description {
    color: #555555 !important;
    min-height: 120px !important;
    max-height: 150px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.light .deal-date {
    color: #777777 !important;
    display: block !important;
}

.light .no-deals {
    background: #ffffff !important;
    border-color: #d0d0d0 !important;
    color: #333333 !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .deal-card {
        width: 100%;
        flex-direction: column;
    }
    
    .deal-image {
        width: 100%;
        height: 200px;
    }
    
    .deal-info {
        width: 100%;
        padding: 15px;
    }
    
    .deal-info h3 {
        font-size: 1.3rem;
        color: #fff !important; /* White text in dark mode */
    }
}

/* Deals Grid Layout */
.deals-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
 
/* Modern Pagination Styles */
.modern-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Base pagination link styles - ensure no underline */
.page-numbers, 
.pagination-link {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    border-radius: 8px;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    text-decoration: none !important; /* Force remove underline */
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark mode specific styles */
.page-numbers:hover, 
.pagination-link:hover {
    background-color: var(--neon-purple);
    color: white !important; /* Ensure text is white on hover */
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
    border-color: var(--neon-purple);
}

.page-numbers.current, 
.pagination-current {
    background-color: var(--neon-purple) !important;
    color: white !important;
    font-weight: bold;
    box-shadow: var(--shadow-purple);
    border-color: var(--neon-purple);
}

.pagination-prev, .pagination-next, 
.page-numbers.prev, .page-numbers.next {
    min-width: 120px;
    text-align: center;
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--text-primary) !important;
    text-decoration: none !important;
}

.pagination-prev:hover, .pagination-next:hover, 
.page-numbers.prev:hover, .page-numbers.next:hover {
    background-color: rgba(157, 78, 221, 0.4);
    color: white !important;
}

.pagination-info {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Light mode specific styles */
.light .modern-pagination {
    background-color: rgba(0, 0, 0, 0.05);
}

.light .page-numbers, 
.light .pagination-link {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-primary) !important;
}

.light .page-numbers:hover, 
.light .pagination-link:hover {
    background-color: var(--neon-purple);
    color: white !important;
}

.light .pagination-prev, 
.light .pagination-next, 
.light .page-numbers.prev, 
.light .page-numbers.next {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--text-primary) !important;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .page-numbers, 
    .pagination-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .pagination-prev, .pagination-next,
    .page-numbers.prev, .page-numbers.next {
        min-width: auto;
    }
    
    .modern-pagination {
        flex-direction: column;
        align-items: center;
    }
    
    .pagination-info {
        order: -1;
        margin-bottom: 16px;
    }
}

/* ========================================
   SINGLE POST LAYOUT STYLES
   ======================================== */

/* Hero Banner Section */
.post-hero-banner {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -80px; /* Pull up to overlap with header */
    padding-top: 80px; /* Compensate for negative margin */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 40px 0;
}

.post-category-badge {
    display: inline-block;
    background: var(--gradient-cyan-purple);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
}

.post-meta i {
    margin-right: 8px;
}

/* Post Content Section */
.post-content-section {
    padding-top: 60px;
}

.post-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Main Post Content */
.post-main {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-article {
    margin-bottom: 30px;
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.post-content a {
    color: var(--neon-cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    transition: color 0.2s ease;
}

.post-content a:hover {
    color: var(--neon-purple);
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4, 
.post-content h5, 
.post-content h6 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.post-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--neon-cyan);
    padding-bottom: 10px;
}

.post-content h3 {
    font-size: 1.7rem;
    color: var(--neon-cyan);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 4px solid var(--neon-cyan);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content ul, 
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.tag-label {
    color: var(--text-secondary);
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--neon-purple);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--neon-purple);
    color: white;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.prev-post, .next-post {
    flex: 1;
    max-width: 45%;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.nav-link {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255,255,255,0.05);
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.nav-icon {
    font-size: 1.2rem;
    color: var(--neon-cyan);
    margin: 0 15px;
}

.nav-content {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-link:hover .nav-title {
    color: var(--neon-cyan);
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--dark-card);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--neon-cyan);
    color: var(--text-primary);
}

/* Latest Posts Widget */
.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-post-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.latest-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.latest-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-post-thumb:hover img {
    transform: scale(1.05);
}

.latest-post-content {
    flex: 1;
}

.latest-post-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.3;
}

.latest-post-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-post-content h4 a:hover {
    color: var(--neon-cyan);
}

.latest-post-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Advertisement Widget */
.ad-container {
    text-align: center;
}

.ad-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.default-ad {
    background-color: rgba(255,255,255,0.05);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 40px 20px;
    color: var(--text-secondary);
}

/* Related Posts Section */
.related-posts-section {
    padding: 40px 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.related-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: -1;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-card {
    background-color: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.related-post-header {
    background: var(--gradient-cyan-purple);
    padding: 15px 20px;
    text-align: center;
}

.related-post-header h3 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.related-post-content {
    padding: 20px;
}

.related-post-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

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

.related-post-image:hover img {
    transform: scale(1.05);
}

.related-post-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.related-post-content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--neon-cyan);
}

.related-post-content p {
    margin: 0 0 15px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--neon-cyan);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--neon-purple);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title i {
    color: var(--neon-cyan);
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 25px;
    padding: 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 12px;
    border-left: 3px solid var(--neon-cyan);
}

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neon-cyan);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

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

.comment-author .fn {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.comment-author .says {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comment-metadata {
    margin-bottom: 15px;
}

.comment-metadata a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-metadata a:hover {
    color: var(--neon-cyan);
}

.comment-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

.comment-content p:last-child {
    margin-bottom: 0;
}

/* Reply Button */
.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--neon-purple);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background-color: var(--neon-purple);
    color: white;
    transform: translateY(-2px);
}

/* Nested Comments */
.children {
    list-style: none;
    padding-left: 30px;
    margin-top: 20px;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-reply-title i {
    color: var(--neon-cyan);
}

.cancel-comment-reply {
    margin-left: 15px;
    font-size: 0.9rem;
}

.cancel-comment-reply a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cancel-comment-reply a:hover {
    color: var(--neon-cyan);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    background-color: rgba(255,255,255,0.15);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 10px;
}

.submit {
    background: var(--gradient-cyan-purple);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

/* No Comments */
.no-comments {
    text-align: center;
    padding: 30px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 12px;
    color: var(--text-secondary);
}

/* Light Mode Adjustments */
.light .comment {
    background-color: rgba(0,0,0,0.03);
}

.light .comment-respond {
    background-color: rgba(0,0,0,0.03);
}

.light .comment-form input,
.light .comment-form textarea {
    background-color: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.1);
}

.light .comment-form input:focus,
.light .comment-form textarea:focus {
    background-color: rgba(0,0,0,0.08);
}

.light .no-comments {
    background-color: rgba(0,0,0,0.03);
}

/* Light Mode Adjustments */
.light .post-hero-banner {
    margin-top: -80px;
}

.light .post-main,
.light .sidebar-widget,
.light .related-post-card {
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.light .post-content h2 {
    border-bottom-color: var(--neon-cyan);
}

.light .post-tags a {
    background-color: rgba(157, 78, 221, 0.1);
}

.light .default-ad {
    background-color: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

.light .related-posts-section {
    background-color: rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.light .related-posts-section::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .post-hero-banner {
        height: 400px;
        margin-top: -60px;
        padding-top: 60px;
    }
    
    .post-title {
        font-size: 2.5rem;
    }
    
    .post-main {
        padding: 20px;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .post-sidebar {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .post-hero-banner {
        height: 350px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-content {
        font-size: 1rem;
    }
}
/* Footer Links - ensure muted color across dark/light modes */
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--neon-cyan);
}
.light .footer-links a {
  color: var(--text-secondary);
}