:root {
    --bg-color: #050505;
    --card-bg: rgba(30, 30, 30, 0.6);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #ff3b30;
    --accent: #007aff;
    --gradient-start: #ff3b30;
    --gradient-end: #ff9500;
    --glass-bg: rgba(10, 10, 10, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Noto Sans KR', sans-serif;
    --container-width: 1240px;
    --header-height: 70px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

* {
    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: rgba(255, 255, 255, 0.2);
    margin-top: -2px;
}

@media (max-width: 768px) {

    /* Header Restructuring */
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
        padding-bottom: 10px;
        /* Add space for bottom row */
    }

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

    /* 1. Logo (Keep Left) */
    /* .logo is wrapper, .brand-logo is inner. .logo is direct child of header-content */
    .logo {
        order: 1;
        margin-right: auto;
        /* Push others to right */
    }

    .brand-name {
        font-size: 24px;
        /* Adjust for small screens */
    }

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

    /* 2. Lang Switcher (Order 2) */
    .lang-switcher {
        order: 2;
        margin-right: 0;
        padding: 4px 8px;
    }

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

    .youtube-link span {
        display: none;
        /* Hide label */
    }

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

    /* 4. Nav Links (Order 4 - New Row) */
    .nav-link:not(.youtube-link) {
        order: 4;
        width: calc(50% - 6px);
        /* Slightly smaller to safe guard */
        text-align: center;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        margin-top: 5px;
        font-size: 0.9rem;
        border: 1px solid var(--glass-border);
        box-sizing: border-box;
        /* Critical for width calc */
    }

    /* 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) + 40px);
    padding-bottom: 60px;
    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: transform 0.3s ease;
}

.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: 60px 0 100px;
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 20, 0.5));
    position: relative;
    z-index: 20;
}

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

/* Today's Deals Section */
.today-deals-section {
    padding: 60px 0 40px;
    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: 40px;
}

.today-product-card {
    background: rgba(40, 40, 40, 0.6);
    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.2);
    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: rgba(50, 50, 50, 0.8);
}

/* 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: #ff3b30;
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 12px;
    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: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.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: rgba(30, 30, 30, 0.6);
    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: #000;
    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: rgba(255, 255, 255, 0.1);
    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;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' 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: rgba(255, 255, 255, 0.1);
    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: rgba(255, 255, 255, 0.4);
}

.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.5);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(40, 40, 40, 0.8);
}

.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: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3em;
}

.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: #333;
    box-shadow: none;
}

.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 */
}

.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;
    background: #050505;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

.footer-content p {
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: 600px;
    margin: 20px auto 0;
}

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

    to {
        opacity: 1;
        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 {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .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;
    }
}

/* 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;
}

.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: absolute;
    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: 4px;
    right: 8px;
    /* Visual Adjustment for the triangular shape */
    bottom: 8px;
}

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

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