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

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Palette Variables */
:root {
    --primary-color: #FF0000; /* Red */
    --secondary-color: #FFFF00; /* Yellow */
    --accent-color: #FFA500; /* Orange */
    --text-color: #000000; /* Black */
    --bg-color: #fff; /* White */
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Skip Navigation */
.gh-skip-nav {
    position: absolute;
    top: -100px;
    left: 6px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.gh-skip-nav:focus {
    top: 6px;
}

/* Global Header - Jangkrik4D Style */
#gh {
    background: var(--bg-color);
    border-bottom: 1px solid var(--shadow-color);
}

.gh-top {
    background: var(--primary-color);
    color: var(--bg-color);
}

.gh-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 72px;
}

.gh-ebay-logo {
    flex: 0 0 auto;
}

.gh-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--bg-color);
    text-decoration: none;
}

.gh-sbox {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.gh-f {
    display: flex;
}

.gh-sbox-inner {
    display: flex;
    width: 100%;
    background: var(--bg-color);
    border-radius: 4px;
    overflow: hidden;
}

.gh-sbox-inp {
    flex: 1;
}

.gh-t {
    width: 100%;
    height: 40px;
    border: none;
    padding: 0 12px;
    font-size: 14px;
}

.gh-spr {
    width: 48px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
}

.gh-ico-search::before {
    content: "🔍";
    font-size: 16px;
}

.gh-top-r {
    flex: 0 0 auto;
}

.gh-acc-mnu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.gh-acc-a {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 500;
}

.gh-acc-a:hover {
    text-decoration: underline;
}

/* Navigation Bar */
.gh-b {
    background: var(--bg-color);
    border-bottom: 1px solid var(--shadow-color);
}

.gh-b-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gh-b-ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-b-li {
    margin-right: 24px;
}

.gh-b-a {
    display: block;
    padding: 12px 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 3px solid transparent;
}

.gh-b-a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.gh-b-a-on {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Hero Banner - Jangkrik4D Style */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-color);
    padding: 60px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Buttons - Jangkrik4D Style */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-secondary {
    background: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Section Headers - Jangkrik4D Style */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.timer {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
}

/* Daily Deals - Jangkrik4D Style */
.daily-deals {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.deal-item {
    background: var(--bg-color);
    border: 1px solid var(--shadow-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.deal-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.deal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.deal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deal-info {
    padding: 20px;
}

.deal-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.deal-price {
    margin-bottom: 15px;
}

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

.discount-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

/* Categories Section - Jangkrik4D Style */
.categories-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.cat-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-item:hover .cat-image {
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--bg-color);
    padding: 20px;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.category-item:hover .cat-overlay {
    transform: translateY(-10px);
}

.cat-overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.cat-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Featured Section - Jangkrik4D Style */
.featured-section {
    background: #f5f5f5;
    padding: 60px 0;
    margin: 60px 0;
}

.featured-section .section-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

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

.featured-item {
    text-align: center;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.featured-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.featured-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Trending Section - Jangkrik4D Style */
.trending-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.trending-item {
    background: var(--bg-color);
    border: 1px solid var(--shadow-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.trending-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.item-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.item-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.item-info {
    padding: 20px;
}

.item-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.item-rating {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 10px;
}

.item-info p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.item-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* Testimonials - Jangkrik4D Style */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-color);
    padding: 60px 0;
    margin: 60px 0;
}

.testimonials-section .section-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: center;
}

.testimonials-section .section-title {
    color: var(--bg-color);
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 500;
    opacity: 0.9;
}

/* Footer - Jangkrik4D Style */
.gf-f {
    background: var(--bg-color);
    border-top: 1px solid var(--shadow-color);
    margin-top: 60px;
}

.gf-f-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gf-f-row {
    display: flex;
    padding: 40px 0;
    border-bottom: 1px solid var(--shadow-color);
}

.gf-f-col {
    flex: 1;
    padding: 0 20px;
}

.gf-f-h {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-color);
}

.gf-f-ul {
    list-style: none;
}

.gf-f-ul li {
    margin-bottom: 12px;
}

.gf-f-ul a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.gf-f-ul a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.gf-f-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 12px;
    color: var(--text-color);
}

.gf-f-copyright {
    flex: 1;
}

.gf-f-follow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gf-social-link {
    color: var(--text-color);
    text-decoration: none;
}

.gf-social-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .desktop {
        min-width: auto;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .gf-f-row {
        flex-wrap: wrap;
    }

    .gf-f-col {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .gh-top-row {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
    }

    .gh-sbox {
        order: 3;
        margin: 15px 0;
        max-width: none;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

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

    .gf-f-col {
        flex: 0 0 100%;
    }

    .gf-f-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .gf-f-follow {
        justify-content: center;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.deal-item,
.category-item,
.featured-item,
.trending-item {
    animation: fadeInUp 0.6s ease forwards;
}

.deal-item:nth-child(1) { animation-delay: 0.1s; }
.deal-item:nth-child(2) { animation-delay: 0.2s; }
.deal-item:nth-child(3) { animation-delay: 0.3s; }