:root {
    /* Default: Light Mode */
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --primary: #ff3b30;
    --accent: #007aff;
    --gradient-start: #ff3b30;
    --gradient-end: #ff9500;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-main: 'Noto Sans KR', sans-serif;
    --container-width: 1240px;
    --header-height: 70px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --btn-hover-bg: rgba(0, 0, 0, 0.05);

    /* Text Clamping Variables */
    --buy-btn-line-clamp: 2;
}

#affiliateBtn {
    display: none;
}

body[data-lang="ko"] #affiliateBtn {
    display: inline-flex !important;
}

body.dark-mode {
    --bg-color: #050505;
    --card-bg: rgba(30, 30, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(10, 10, 10, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --btn-hover-bg: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Skeleton Loading */
.skeleton-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    aspect-ratio: 1/1.5;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.03) 20%,
            rgba(255, 255, 255, 0.06) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    stroke: #ff3b30;
    filter: drop-shadow(0 2px 4px rgba(255, 59, 48, 0.3));
}

.brand-name {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 32px;
    font-weight: 900;
    /* Extra Bold */
    letter-spacing: -1px;
    text-transform: capitalize;
    background: linear-gradient(135deg, #ff3b30 20%, #007aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding-top: 4px;
    /* Optical alignment */
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 26px;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
    }
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

.nav-link:not(.youtube-link)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:not(.youtube-link):hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-main);
}

.youtube-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.1);
    color: #ff3b30;
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 700;
    border: 1px solid rgba(255, 59, 48, 0.2);
    transition: all 0.3s ease;
}

.youtube-link:hover {
    background: rgba(255, 59, 48, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    color: var(--primary);
    font-weight: 800;
}

.lang-divider {
    font-size: 0.7rem;
    color: var(--text-muted);
    /* Changed from fixed color */
    opacity: 0.3;
    margin-top: -2px;
}

/* Theme Toggle */
.theme-toggle-container {
    position: relative;
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover,
.theme-btn.active {
    background: var(--btn-hover-bg);
    color: var(--text-main);
}

.theme-modal {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 200px;
    background: var(--card-bg);
    /* Use card bg */
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
}

.theme-modal.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.95rem;
}

.theme-option:hover {
    background: var(--btn-hover-bg);
    color: var(--text-main);
}

.theme-option.active {
    background: rgba(0, 122, 255, 0.1);
    color: var(--accent);
}

.theme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 768px) {

    /* Header Restructuring */
    .header-content {
        flex-wrap: wrap;
        gap: 4px;
        /* Tighter gap for narrow screens */
        padding-bottom: 10px;
        align-content: flex-start;
        /* Pack lines */
    }

    /* Flatten Nav hierarchy */
    nav {
        display: contents;
    }

    /* 1. Logo (Keep Left) */
    .logo {
        order: 1;
        margin-right: auto;
        /* Push others right */
        flex: 1 1 auto;
        /* Allow shrinking/growing */
        min-width: 0;
        /* Allow text truncation if absolutely needed */
    }

    .brand-name {
        font-size: 1.3rem;
        /* Slightly reduced */
        white-space: nowrap;
    }

    .brand-icon {
        width: 22px;
        height: 22px;
    }

    /* 2. Lang Switcher (Order 2) */
    .lang-switcher {
        order: 2;
        margin-right: 0;
        padding: 4px 6px;
        /* Reduce padding */
        gap: 4px;
        flex: 0 0 auto;
        /* Do not shrink */
    }

    .lang-btn {
        font-size: 0.75rem;
        /* Smaller text */
    }

    /* 3. YouTube Icon (Order 3) */
    .youtube-link {
        order: 3;
        padding: 0;
        width: 32px;
        height: 32px;
        justify-content: center;
        border-radius: 50%;
        background: transparent;
        border: 1px solid var(--glass-border);
        flex: 0 0 auto;
    }

    .youtube-link span {
        display: none;
    }

    .youtube-link svg {
        width: 16px;
        height: 16px;
    }

    /* 4. Theme Toggle (Order 4) */
    .theme-toggle-container {
        order: 4;
        margin-left: 0;
        padding: 0;
        /* Remove horizontal padding container */
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .theme-btn {
        padding: 0;
        width: 100%;
        height: 100%;
    }

    .theme-btn svg {
        width: 18px;
        height: 18px;
    }

    /* 5. Nav Links (Order 5 - New Row) */
    .nav-link:not(.youtube-link) {
        order: 5;
        width: calc(50% - 2px);
        /* Correct calculation for 4px gap */
        text-align: center;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        margin-top: 8px;
        /* Explicit row break spacing */
        font-size: 0.9rem;
        border: 1px solid var(--glass-border);
        box-sizing: border-box;
    }

    .nav-link.nav-link-full {
        width: 100% !important;
    }

    /* Hide the underline hover effect on mobile buttons as they are now blocks */
    .nav-link:not(.youtube-link)::after {
        display: none;
    }

    /* Fix Header Height & Overflow on Mobile */
    .glass-header {
        height: auto !important;
        /* Allow growth, override fixed 60px/80px */
        min-height: var(--header-height);
        padding: 5px 0;
        /* Add vertical breathing room */
    }

    /* Adjust Hero Padding for Taller Header */
    /* This overrides the base hero padding-top inside the media query */
    .hero {
        padding-top: calc(var(--header-height) + 110px) !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: 40px;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);

}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Alive Aurora: Red, Blue, Purple moving mesh */
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 59, 48, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 122, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(150, 100, 255, 0.15) 0%, transparent 50%);
    background-size: 180% 180%;
    z-index: -1;
    filter: blur(80px);
    animation: auroraFloat 15s ease-in-out infinite alternate;
}

@keyframes auroraFloat {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    /* Removed max-width: 800px restriction for split layout */
}

/* Hero Split Layout */
.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.hero-left-col {
    flex: 1;
    text-align: left;
    /* max-width: 600px; Remove limit to let flex work */
}

.hero-right-col {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.hero-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-video-wrapper.shorts-ratio {
    aspect-ratio: 9 / 16;
    max-width: 320px;
    /* Limit width for vertical video so it doesn't take too much height */
    margin: 0 auto;
}

.hero-video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 960px) {
    .hero-split-layout {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-left-col {
        text-align: center;
    }
}




.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.3);
    border: none;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 59, 48, 0.4);
}

/* Products Section */
.products-section {
    padding: 20px 0 60px;
    background: linear-gradient(to bottom, transparent, var(--glass-border));
    position: relative;
    z-index: 20;
}

/* Platform Tabs Container (Desktop) */
.platform-tabs-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
}

/* Today's Deals Section */
.today-deals-section {
    padding: 20px 0 20px;
    background: linear-gradient(to bottom, transparent, rgba(255, 59, 48, 0.05));
    position: relative;
    z-index: 10;
}

.today-product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.today-product-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    /* Moved from 'a' */
    flex-direction: column;
    /* Moved from 'a' */
    height: 100%;
    /* Ensure full height */
    flex: 0 1 300px;
    width: 100%;
    max-width: 320px;
}

.today-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 59, 48, 0.15);
    border-color: #ff3b30;
    background: var(--card-bg);
    /* Was hardcoded opacity */
}

/* Removed faulty 'a' selector styles, explicit links will inherit */
.today-product-card a {
    color: inherit;
    text-decoration: none;
}

.today-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 59, 48, 0.7);
    color: white;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 100px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 59, 48, 0.4);
    animation: pulse 2s infinite;
}

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

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.today-image-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #111;
}

.today-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.today-product-card:hover img {
    transform: scale(1.1);
}

.today-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.today-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.2em;
    /* 1.4 * 3 lines */
}

.today-share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 50;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.today-share-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.today-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.today-discount {
    background: #ff3b30;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 2px 0;
}

.today-price {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 10px;
}

.center-align {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .today-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}


.platform-tabs {
    display: inline-flex;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    gap: 4px;
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.platform-tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    white-space: nowrap;
}

.platform-tab:hover {
    color: var(--text-main);
}

.platform-tab.active {
    background: var(--text-main);
    color: var(--bg-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .platform-tabs-container {
        justify-content: center;
        padding: 0 10px;
        margin-bottom: 30px;
        overflow: visible;
        /* Disable scroll to allow wrap-centering */
    }

    .platform-tabs {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        /* Allow items to wrap */
        justify-content: center;
        /* Center them */
        gap: 8px;
    }

    .platform-tab {
        padding: 8px 16px;
        flex: 0 0 auto;
        text-align: center;
        font-size: 0.9rem;
        white-space: nowrap;
        max-width: none;
    }
}



/* Section Header with Filter */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    /* Remove default margin */
    letter-spacing: -0.01em;
}

.category-select {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    /* Use an SVG with a var color if possible, or filter. Since it's a data URI, we stick to white for now or need a darker one for light mode. 
       Better approach: Use a mask or simple SVG in HTML. 
       Quick fix for now: Invert for light mode? No, data URI is hardcoded.
       Let's stick to a neutral arrow or just keep white if background is dark enough. 
       Correction: The background is rgba(255, 255, 255, 0.1) which is light on light mode. 
       We need to change the background to var(--card-bg) or similar and border. */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999' width='18px' height='18px'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.search-input {
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    outline: none;
    transition: all 0.3s ease;
    width: 200px;
}

.search-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.2);
    width: 240px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.category-select:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-select option {
    background: #1a1a1a;
    color: var(--text-main);
}


.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 1 260px;
    width: 100%;
    max-width: 300px;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.product-image-wrapper {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: #151515;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.5;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.5em;
}

/* Banner Grid Layout */
#banner-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.event-banner-arrow {
    font-weight: bold;
    color: #ccc;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.product-price .original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product-price .discount {
    color: var(--primary);
    font-size: 0.9rem;
    background: rgba(255, 59, 48, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.buy-button {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.product-card:hover .buy-button {
    background: #e03228;
    box-shadow: 0 6px 16px rgba(224, 50, 40, 0.4);
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-actions .buy-button {
    width: auto;
    /* Override default 100% */
    margin: 0;
    /* Override default margin */
    /* flex: 1 is handled inline but good to have here too if possible, 
       but inline style wins. We just ensure width doesn't fight */
    word-break: keep-all;
    /* Prevent awkward mid-word breaks */
    line-height: 1.2;
    /* Tighter line height for multi-line text */
    display: flex;
    /* Ensure vertical centering */
    align-items: center;
    justify-content: center;
    min-height: 48px;
    /* Ensure consistent height even if 1 line */
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.share-btn svg {
    display: none;
    /* In case svg remains */
}

/* Footer */
footer {
    padding: 60px 0 40px;
    background: #050505;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    max-width: 800px;
    /* Wider readability */
    margin-left: auto;
    margin-right: auto;
}

.disclaimer.partner-txt {
    font-size: 0.9rem;
    color: #a0a0a0;
    line-height: 1.5;
}

.disclaimer.seller-txt {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #444;
    font-weight: 500;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
        --container-width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: 60vh;
        height: auto;
        padding-bottom: 80px;
    }

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

    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .logo-img {
        height: 36px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        /* Consistent gap */
    }

    /* Force Today's Deals to 2-column Grid on Mobile */
    .today-product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }

    .today-product-card {
        width: auto;
        max-width: none;
        flex: none;
        /* Disable flex behavior */
    }

    .product-info {
        padding: 16px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .youtube-link span {
        display: none;
    }

    .youtube-link {
        padding: 8px 12px;
    }

    /* Mobile Buy Button Optimization */
    .product-actions .buy-button {
        padding: 10px 8px;
        /* Reduce horizontal padding */
        font-size: 0.9rem;
        /* Slightly smaller text */
        min-height: 40px;
    }

    .share-btn {
        width: 36px;
        /* Slightly smaller share button */
        height: 36px;
        font-size: 1rem;
    }
}

/* Utilities & States */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--glass-border);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    opacity: 0.5;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out backwards;
    -webkit-animation: fadeInUp 0.6s ease-out backwards;
}

.fade-in-up:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.15s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.25s;
}

.fade-in-up:nth-child(5) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(6) {
    animation-delay: 0.35s;
}

.fade-in-up:nth-child(7) {
    animation-delay: 0.4s;
}

.fade-in-up:nth-child(8) {
    animation-delay: 0.45s;
}

/* Toast Notification */
.toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast-message svg {
    width: 18px;
    height: 18px;
    color: #4CAF50;
    /* Green checkmark */
}

/* Global Platform Banner */
.global-platform-banner {
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease;
}

.global-banner-content {
    background: linear-gradient(135deg, #ff4747 0%, #ff9068 100%);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 71, 0.3);
}

.global-banner-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .global-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Floating Product Index Badge */
.product-index-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    min-width: 44px;
    /* Start square-ish */
    width: auto;
    /* Allow expansion */
    height: 44px;
    padding: 0 4px;
    /* Internal spacing */
    box-sizing: border-box;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s;
    pointer-events: none;
    /* Let clicks pass through to link */
}

.product-image-wrapper:hover .product-index-badge,
.today-image-wrapper:hover .product-index-badge,
.admin-badge-wrapper:hover .product-index-badge {
    transform: scale(1.1) rotate(-5deg);
}

.badge-bg-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #ff3b30;
    /* Saleplaza Red */
    color: #ff3b30;
}

.badge-number {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding-top: 2px;
    /* Slight optical adjustment */
    /* Removed absolute positioning to allow flexbox centering */
}

/* Admin Specific */
.admin-badge-wrapper {
    position: relative;
    display: inline-block;
}

/* Ensure Today's Deals wrapper allows positioning */
.today-image-wrapper {
    position: relative !important;
}

/* --- Mobile Filter UI Styles --- */

/* Default: Hide Mobile Elements on Desktop */
/* Filter Controls Layout */
.filter-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .filter-controls {
        flex-wrap: nowrap;
        /* Force single line on mobile */
    }

    .filter-controls .search-input {
        min-width: 0;
        /* Allow shrinking */
    }
}

.mobile-filter-buttons {
    display: none;
}

.active-filter-chips {
    display: none;
}

/* Mobile Filter Modal (Bottom Sheet) */
.mobile-filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    /* Bottom sheet alignment */
}

.mobile-filter-modal.show {
    visibility: visible;
    pointer-events: auto;
}

.mobile-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-filter-modal.show .mobile-filter-overlay {
    opacity: 1;
}

.mobile-filter-content {
    position: relative;
    width: 100%;
    background: var(--card-bg);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 70vh;
    overflow-y: auto;
    border-top: 1px solid var(--glass-border);
    z-index: 2;
}

.mobile-filter-modal.show .mobile-filter-content {
    transform: translateY(0);
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-filter-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 10px;
}

.mobile-filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-option-btn {
    padding: 14px 20px;
    text-align: left;
    background: rgba(128, 128, 128, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-option-btn.active {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
}

/* Mobile Only Overrides */
@media (max-width: 768px) {

    /* Hide Desktop Filters */
    .desktop-filters {
        display: none !important;
    }

    /* Show Mobile Elements */
    .mobile-filter-buttons {
        display: flex;
        gap: 8px;
    }

    .mobile-filter-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: var(--card-bg);
        border: 1px solid var(--glass-border);
        color: var(--text-muted);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
        /* Ensure it sits above input if overlap occurs */
        position: relative;
        z-index: 5;
        pointer-events: auto;
    }

    .mobile-filter-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-filter-btn.active {
        background: var(--primary);
        color: white;
        border-color: transparent;
    }

    /* Active Chips Row */
    .active-filter-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 5px;
    }

    .filter-chip {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        background: rgba(0, 122, 255, 0.1);
        border: 1px solid rgba(0, 122, 255, 0.2);
        border-radius: 20px;
        font-size: 0.85rem;
        color: var(--primary);
        font-weight: 500;
    }

    .chip-remove {
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        opacity: 0.7;
    }



    .chip-remove:hover {
        opacity: 1;
    }
}

/* Recommended Reason UI */

.today-actions-top {
    position: absolute;
    top: 3px;
    right: 15px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Today's Deal Button Override */
.today-share-btn {
    position: static;
    /* Reset absolute since it's now in flex container */
    /* Other styles inherited or we keep them and just ensure container positioning works */
}

.reason-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 235, 59, 0.5);
    /* Yellowish for idea/reason */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    color: #333;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.reason-btn:hover {
    transform: scale(1.1);
    background: #fff9c4;
}

.reason-btn-sm {
    width: 36px;
    /* Match buy button height roughly or share btn */
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff9db;
    /* Light yellow */
    color: #fcc419;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.reason-btn-sm:hover {
    background: #fff3bf;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Reason Modal */
.reason-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.reason-modal.show {
    opacity: 1;
    visibility: visible;
}

.reason-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.reason-modal-content {
    position: relative;
    background: var(--card-bg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    /* Prevent it from being taller than screen */
    overflow-y: auto;
    /* Scroll internally if too tall */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 24px;
    z-index: 10001;
    /* Ensure on top */
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
}

.reason-modal.show .reason-modal-content {
    transform: translateY(0);
}

.reason-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.reason-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.reason-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
    white-space: pre-line;
    /* Handle newlines */
    max-height: 60vh;
    overflow-y: auto;
}

/* Fix shared button positioning in Today card */
.today-product-card .today-share-btn {
    top: initial;
    /* or auto */
    right: initial;
    /* Reset other specific absolute props if any inside the class definition,
       but we handled that by changing parent container */
}

/* Coupang Image Cropping (Masking Method) */
.coupang-crop img {
    /* Reset previous hacks */
    height: 100% !important;
    object-position: center !important;
    transform: none !important;

    /* Apply Masking: Hide bottom 5% */
    -webkit-mask-image: linear-gradient(to bottom, black 95%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 95%, transparent 95%);
}

/* Maintain crop + zoom on hover */
.today-product-card:hover .coupang-crop img,
.product-card:hover .coupang-crop img {
    transform: scale(1.08);
}

/* FINAL COUPANG FIX - SCALING 107% */
.coupang-crop img {
    object-position: top center !important;
    height: 107% !important;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* Platform Badges */
.platform-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.badge-ali {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.5), rgba(255, 100, 0, 0.5));
}

.badge-coupang {
    background: rgba(0, 169, 255, 0.5);
    /* Coupang Blue */
}

.badge-gmarket {
    background: #02AC1E;
}

/* Ensure no conflict with Today's Badge */
.today-badge {
    z-index: 20;
    /* Higher than platform badge if they coexist, though heavily unlikely in main grid */
}

/* Event Posts Section */
.event-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.event-post-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.event-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.event-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.event-post-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-post-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 8px;
}

.event-post-content {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-post-meta {
    font-size: 0.8rem;
    color: #adb5bd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.event-post-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

@media (max-width: 768px) {
    .event-post-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

/* Event Posts Section */
.event-posts-section {
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.event-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
}

.event-post-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.event-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 0, 0, 0.1);
}

.event-post-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.event-post-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.event-post-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-main);
    line-height: 1.4;

    /* Text truncate 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-post-content {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;

    /* Text truncate 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #868e96;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Dark Mode Support */
body.dark-mode .event-post-card {
    background: rgba(30, 30, 30, 0.4);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .event-post-title {
    color: #eee;
}

body.dark-mode .event-post-meta {
    border-top-color: rgba(255, 255, 255, 0.05);
}