/* home.css - Claymorphism Style - Responsive Update */

/* ==================== BASE STYLES ==================== */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

/* ==================== HERO SECTION ==================== */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 60px 80px;
    margin: 20px;
    background: linear-gradient(145deg, #e6f3ff, #cce5ff);
    border-radius: 40px;
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.1),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 3px 3px 6px rgba(255, 255, 255, 0.7),
        inset -2px -2px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
    min-height: auto;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 200, 150, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.home-hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.home-hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(145deg, #fff0b3, #ffe066);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b4c00;
    margin-bottom: 20px;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.08),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
    animation: home-pulse 2s ease-in-out infinite;
}

@keyframes home-pulse {

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

    50% {
        transform: scale(1.05);
    }
}

.home-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #2c5282;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.home-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #4a6fa5;
    margin-bottom: 32px;
    line-height: 1.6;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.home-hero-btn {
    padding: 14px 28px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    white-space: nowrap;
}

.home-hero-btn-primary {
    background: linear-gradient(145deg, #6bcb77, #4caf50);
    color: white;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.12),
        -6px -6px 12px rgba(255, 255, 255, 0.5),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.home-hero-btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.15),
        -10px -10px 20px rgba(255, 255, 255, 0.6),
        inset 2px 2px 4px rgba(255, 255, 255, 0.4);
}

.home-hero-btn-secondary {
    background: linear-gradient(145deg, #fff, #f0f0f0);
    color: #2c5282;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.08),
        -6px -6px 12px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9),
        inset -1px -1px 2px rgba(0, 0, 0, 0.05);
}

.home-hero-btn-secondary:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg, #e6f3ff, #d4e9ff);
}

.home-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.home-hero-stat {
    display: flex;
    flex-direction: column;
    padding: 14px 20px;
    background: linear-gradient(145deg, #fff, #f5faff);
    border-radius: 16px;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.06),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
    min-width: 100px;
    text-align: center;
}

.home-hero-stat-number {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #2c5282;
}

.home-hero-stat-label {
    font-size: 0.875rem;
    color: #6b7c93;
}

.home-hero-visual {
    position: relative;
    width: 350px;
    height: 350px;
    z-index: 1;
    flex-shrink: 0;
}

.home-hero-toy {
    position: absolute;
    font-size: 50px;
    padding: 16px;
    background: linear-gradient(145deg, #fff5f5, #ffe6e6);
    border-radius: 50%;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.1),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8),
        inset -2px -2px 4px rgba(0, 0, 0, 0.03);
    animation: home-float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-toy-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    padding: 20px;
    animation-delay: 0s;
}

.home-hero-toy-2 {
    top: 10%;
    left: 15%;
    animation-delay: 0.5s;
    background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
}

.home-hero-toy-3 {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
    background: linear-gradient(145deg, #fff8e1, #ffecb3);
}

.home-hero-toy-4 {
    bottom: 20%;
    left: 8%;
    animation-delay: 1.5s;
    background: linear-gradient(145deg, #f3e5f5, #e1bee7);
}

.home-hero-toy-5 {
    bottom: 10%;
    right: 15%;
    animation-delay: 2s;
    background: linear-gradient(145deg, #e1f5fe, #b3e5fc);
}

@keyframes home-float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.home-hero-toy-2,
.home-hero-toy-3,
.home-hero-toy-4,
.home-hero-toy-5 {
    animation-name: home-float-small;
}

@keyframes home-float-small {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ==================== SECTION TITLES ==================== */
.home-section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.625rem);
    font-weight: 700;
    color: #5a3d7a;
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.home-section-subtitle {
    text-align: center;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    color: #7a6b8a;
    margin-bottom: 48px;
    font-family: 'Outfit', sans-serif;
    padding: 0 20px;
}

/* ==================== CATEGORIES SECTION ==================== */
.home-categories {
    padding: 60px 20px;
    margin: 20px;
    background: linear-gradient(145deg, #fff5f5, #ffe8e8);
    border-radius: 40px;
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.08),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

.home-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: linear-gradient(145deg, #fff, #faf5f5);
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.08),
        -6px -6px 12px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.9);
    min-width: 0;
}

.home-category-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.1),
        -12px -12px 24px rgba(255, 255, 255, 0.95);
}

.home-category-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.home-category-item:hover .home-category-icon {
    transform: scale(1.2) rotate(10deg);
}

.home-category-name {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 600;
    color: #5a3d5a;
    text-align: center;
}

/* ==================== FEATURES SECTION ==================== */
.home-features {
    padding: 60px 20px;
    margin: 20px;
    background: linear-gradient(145deg, #e8f5e9, #d4edda);
    border-radius: 40px;
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.08),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.home-feature-card {
    padding: 30px 20px;
    background: linear-gradient(145deg, #fff, #f5fff5);
    border-radius: 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.08),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8),
        inset -1px -1px 2px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-feature-card:hover {
    transform: translateY(-10px);
    box-shadow:
        14px 14px 28px rgba(0, 0, 0, 0.1),
        -14px -14px 28px rgba(255, 255, 255, 0.95);
}

.home-feature-icon {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: linear-gradient(145deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.06),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
    width: 80px;
    height: 80px;
}

.home-feature-card:hover .home-feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.home-feature-title {
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 600;
    color: #2d5a3d;
    margin-bottom: 10px;
}

.home-feature-text {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #5a7a5a;
    line-height: 1.6;
}

/* ==================== BESTSELLERS / LATEST SECTION ==================== */
.home-bestsellers,
.latest-container {
    padding: 60px 20px;
    margin: 20px;
    background: linear-gradient(145deg, #f5f0ff, #ebe0ff);
    border-radius: 40px;
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.08),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.7);
    font-family: 'Outfit', sans-serif;
}

.latest-container {
    background: linear-gradient(145deg, #e6f0ff, #cce0ff);
}

.home-bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.home-bestseller-card {
    position: relative;
    padding: 28px 20px;
    background: linear-gradient(145deg, #fff, #faf5ff);
    border-radius: 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.08),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-bestseller-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        14px 14px 28px rgba(0, 0, 0, 0.12),
        -14px -14px 28px rgba(255, 255, 255, 0.95);
}

.home-bestseller-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: linear-gradient(145deg, #ff9a9e, #ff6b7a);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow:
        3px 3px 6px rgba(0, 0, 0, 0.1),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.home-bestseller-image {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin: 16px 0;
    padding: 20px;
    background: linear-gradient(145deg, #fff0f5, #ffe4ec);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.06),
        -6px -6px 12px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.7);
    transition: transform 0.3s ease;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.home-bestseller-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}

.home-bestseller-card:hover .home-bestseller-image {
    transform: scale(1.1) rotate(5deg);
}

.home-bestseller-name {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #5a3d7a;
    margin-bottom: 8px;
}

.home-bestseller-price {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #6bcb77;
    margin-bottom: 16px;
}

.home-bestseller-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(145deg, #9b7acc, #7c5bad);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.5),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.home-bestseller-btn:hover {
    transform: scale(1.05);
    box-shadow:
        6px 6px 12px rgba(0, 0, 0, 0.12),
        -6px -6px 12px rgba(255, 255, 255, 0.6);
}

.home-bestsellers-cta {
    text-align: center;
    margin-top: 40px;
}

.home-view-all-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(145deg, #fff, #f5f0ff);
    color: #6b4c9a;
    text-decoration: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.08),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.9);
}

.home-view-all-btn:hover {
    background: linear-gradient(145deg, #6bcb77, #4caf50);
    color: white;
    transform: translateY(-4px);
}





/* ==================== TRUST BADGES SECTION ==================== */
.home-trust {
    padding: 40px 20px;
    margin: 20px;
    background: linear-gradient(145deg, #f5f5f5, #e8e8e8);
    border-radius: 32px;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.06),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 2px 2px 4px rgba(255, 255, 255, 0.8);
    font-family: 'Outfit', sans-serif;
}

.home-trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.home-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(145deg, #fff, #f8f8f8);
    border-radius: 20px;
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.05),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.home-trust-item:hover {
    transform: translateY(-4px);
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.07),
        -8px -8px 16px rgba(255, 255, 255, 0.95);
}

.home-trust-icon {
    font-size: 1.5rem;
}

.home-trust-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5a5a5a;
    white-space: nowrap;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Large Desktop */
@media (max-width: 1200px) {
    .home-hero {
        padding: 50px 60px;
    }

    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .home-hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }

    .home-hero-content {
        max-width: 100%;
    }

    .home-hero-buttons {
        justify-content: center;
    }

    .home-hero-stats {
        justify-content: center;
    }

    .home-hero-visual {
        width: 280px;
        height: 280px;
    }

    .home-hero-toy {
        font-size: 40px;
        padding: 14px;
    }

    .home-hero-toy-1 {
        font-size: 55px;
        padding: 18px;
    }

    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .home-hero {
        padding: 32px 20px;
        margin: 12px;
        border-radius: 28px;
    }

    .home-hero-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .home-hero-stats {
        gap: 12px;
    }

    .home-hero-stat {
        padding: 12px 16px;
        min-width: 85px;
    }

    .home-hero-visual {
        width: 240px;
        height: 240px;
    }

    .home-hero-toy {
        font-size: 32px;
        padding: 12px;
    }

    .home-hero-toy-1 {
        font-size: 45px;
        padding: 16px;
    }

    .home-section-subtitle {
        margin-bottom: 32px;
    }

    .home-categories,
    .home-features,
    .home-bestsellers,
    .latest-container,
    .home-trust {
        padding: 40px 16px;
        margin: 12px;
        border-radius: 28px;
    }

    .home-categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .home-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .home-bestsellers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .home-feature-icon {
        width: 70px;
        height: 70px;
        padding: 14px;
    }

    .home-bestseller-image {
        width: 100px;
        height: 100px;
        padding: 16px;
    }
}

/* Mobile Landscape */
@media (max-width: 576px) {
    .home-hero {
        padding: 28px 16px;
        margin: 8px;
    }

    .home-hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .home-hero-btn {
        width: 100%;
    }

    .home-hero-stats {
        width: 100%;
    }

    .home-hero-stat {
        flex: 1;
        min-width: 0;
    }

    .home-hero-visual {
        width: 200px;
        height: 200px;
    }

    .home-hero-toy {
        font-size: 28px;
        padding: 10px;
    }

    .home-hero-toy-1 {
        font-size: 38px;
        padding: 14px;
    }

    .home-categories,
    .home-features,
    .home-bestsellers,
    .latest-container,
    .home-trust {
        padding: 32px 12px;
        margin: 8px;
        border-radius: 24px;
    }

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

    .home-category-item {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-feature-card {
        padding: 24px 16px;
    }

    .home-bestsellers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .home-bestseller-card {
        padding: 20px 14px;
    }

    .home-bestseller-image {
        width: 80px;
        height: 80px;
        padding: 12px;
    }

    .home-bestseller-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }



    .home-trust-grid {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .home-trust-item {
        justify-content: center;
    }
}

/* Mobile Portrait (Small) */
@media (max-width: 400px) {
    .home-hero {
        padding: 24px 12px;
    }

    .home-hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .home-hero-visual {
        width: 180px;
        height: 180px;
    }

    .home-hero-toy {
        font-size: 24px;
        padding: 8px;
    }

    .home-hero-toy-1 {
        font-size: 32px;
        padding: 12px;
    }

    .home-categories-grid {
        gap: 10px;
    }

    .home-category-item {
        padding: 14px 8px;
        border-radius: 16px;
    }

    .home-bestsellers-grid {
        grid-template-columns: 1fr;
    }

    .home-bestseller-card {
        padding: 24px 20px;
    }

    .home-bestseller-image {
        width: 100px;
        height: 100px;
    }

    .home-view-all-btn {
        padding: 14px 28px;
    }
}

/* Disable hover effects on touch devices */
@media (hover: none) {

    .home-feature-card:hover,
    .home-bestseller-card:hover,
    .home-category-item:hover,
    .home-category-item:hover,
    .home-trust-item:hover {
        transform: none;
    }

    .home-feature-card:active,
    .home-bestseller-card:active,
    .home-category-item:active {
        transform: scale(0.98);
    }
}

/* Print Styles */
@media print {

    .home-hero-visual,
    .home-hero-buttons {
        display: none;
    }

    .home-hero,
    .home-categories,
    .home-features,
    .home-bestsellers,
    .latest-container,
    .home-trust {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}