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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

/* Top Header Styles */
.top-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
    .top-header {
        padding: 10px 0;
    }
}

.top-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 480px) {
    .top-nav-wrapper {
        gap: 10px;
    }
}

.hamburger-menu {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.hamburger-menu:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.05);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 26px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

.logo-hub {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #ffffff;
    padding: 5px 10px;
    margin-left: 3px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover .logo-hub {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    transform: translateY(-1px);
}

.mobile-search-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 8px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-search-toggle:hover {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
}

.search-bar-wrapper {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-close-btn {
    display: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.search-close-btn:hover {
    color: #ffffff;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 20px;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar:focus-within {
    background: rgba(42, 42, 42, 0.95);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
    transform: translateY(-1px);
}


.search-icon {
    color: #ffffff;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.search-input::placeholder {
    color: #888888;
}



/* Secondary Navigation Bar */
.secondary-nav {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.secondary-nav::-webkit-scrollbar {
    display: none;
}

.secondary-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.secondary-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.secondary-nav-wrapper::-webkit-scrollbar {
    display: none;
}

@media (max-width: 480px) {
    .secondary-nav-wrapper {
        gap: 20px;
        padding: 10px 0;
    }

    .nav-link {
        font-size: 11px;
        padding: 6px 0;
        white-space: nowrap;
    }
}


.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: #ff6b35;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35 0%, #ff8555 100%);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 -2px 10px rgba(255, 107, 53, 0.5);
}

.dropdown-arrow {
    font-size: 10px;
    color: #888888;
    transition: color 0.3s;
}

.nav-link:hover .dropdown-arrow {
    color: #ff6b35;
}

/* Main Content */
.main-content {
    padding: 50px 0;
    animation: fadeIn 0.6s ease-in;
}

@media (max-width: 480px) {
    .main-content {
        padding: 30px 0;
    }
}

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

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 25px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    color: #ff6b35;
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.filter-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.filter-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.filter-btn.active:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    transform: translateY(-3px);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.3);
    background: rgba(42, 42, 42, 0.8);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #3a3a3a 0%, #2a2a2a 50%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-image::before {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    letter-spacing: 0.3px;
}

.video-info {
    padding: 10px 12px 10px;
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
}

.channel-name {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.1px;
}

.views-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    font-weight: 400;
}

.views-count svg {
    width: 13px;
    height: 13px;
    color: rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
}

.menu-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    opacity: 0;
    flex-shrink: 0;
}

.product-card:hover .menu-btn {
    opacity: 1;
}

.menu-btn:hover {
    color: #ffffff;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    padding: 0 12px 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    letter-spacing: 0.1px;
}

.product-card:hover .product-title {
    color: #ffffff;
}

.product-actions {
    display: flex;
    gap: 8px;
    padding: 0 15px 15px;
    align-items: center;
}

.action-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #ff8555 0%, #ff9d6b 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.action-btn.success {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #ffffff;
    min-width: 40px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.action-btn.success:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
    transform: translateY(-2px);
}

.action-btn.danger {
    background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
    color: #ffffff;
    min-width: 40px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3);
}

.action-btn.danger:hover {
    background: linear-gradient(135deg, #ef5350 0%, #e57373 100%);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.5);
    transform: translateY(-2px);
}

/* Scrollbar Styling */

/* Responsive Design */
@media (max-width: 768px) {
    .top-nav-wrapper {
        flex-wrap: nowrap;
        gap: 12px;
        position: relative;
    }

    .search-bar-wrapper {
        flex: 1;
        max-width: none;
        margin: 0;
    }

    .logo {
        font-size: 20px;
        flex-shrink: 0;
    }

    .secondary-nav-wrapper {
        gap: 20px;
    }

    .nav-link {
        font-size: 12px;
    }

    .page-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

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

    .filter-buttons {
        gap: 10px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .top-nav-wrapper {
        flex-wrap: nowrap;
        gap: 8px;
    }

    .hamburger-menu {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
        flex-shrink: 0;
    }

    .logo {
        font-size: 18px;
        flex-shrink: 0;
        order: 1;
        flex: 1;
    }

    .logo-hub {
        padding: 4px 8px;
        font-size: 18px;
    }

    .mobile-search-toggle {
        display: flex;
        min-width: 40px;
        min-height: 40px;
        order: 3;
        margin-left: auto;
    }

    .search-bar-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        order: 2;
    }

    .search-bar-wrapper.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .search-bar {
        padding: 10px 15px;
        width: 100%;
    }

    .search-close-btn {
        display: flex;
    }

    .search-input {
        font-size: 14px;
    }

    .search-input::placeholder {
        font-size: 13px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 20px;
        line-height: 1.3;
    }

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

    .filter-buttons {
        gap: 8px;
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 11px;
        min-height: 36px;
        border-radius: 20px;
    }

    .product-image {
        height: 200px;
    }

    .video-info {
        padding: 10px 10px 8px;
    }

    .channel-name {
        font-size: 11px;
    }

    .views-count {
        font-size: 11px;
    }

    .views-count svg {
        width: 12px;
        height: 12px;
    }

    .product-title {
        font-size: 13px;
        padding: 0 10px 0;
        line-height: 1.4;
    }

    .video-duration {
        font-size: 10px;
        padding: 2px 6px;
        bottom: 6px;
        right: 6px;
    }
}

/* Hot Videos Section */
.hot-videos-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.time-tabs {
    display: flex;
    gap: 10px;
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.time-tab {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.time-tab.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%);
    color: #000000;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

.time-tab:hover:not(.active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.hot-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-title {
        font-size: 28px;
    }

    .hot-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hot-videos-section {
        margin-top: 30px;
        padding-top: 25px;
    }

    .section-header {
        margin-bottom: 20px;
        gap: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .hot-videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .time-tabs {
        width: 100%;
        justify-content: center;
        padding: 3px;
    }

    .time-tab {
        flex: 1;
        text-align: center;
        padding: 8px 16px;
        font-size: 12px;
        min-height: 36px;
    }
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    width: 100%;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.3px;
}

.search-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.keyword-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    letter-spacing: 0.2px;
}

.keyword-tag:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.keyword-tag:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0;
        margin-top: 40px;
    }

    .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .search-keywords {
        gap: 8px;
    }

    .keyword-tag {
        padding: 7px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 25px 0;
        margin-top: 30px;
    }

    .footer-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .search-keywords {
        gap: 6px;
    }

    .keyword-tag {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 18px;
    }
}

