/* ============================================
   Diefbk.com - Homepage Styles v5
   Completely redesigned layout
   ============================================ */

/* ============================================
   HERO - Split layout: text left, collage right
   ============================================ */

.df-hero {
    position: relative;
    width: 100%;
    padding: 48px 24px 40px;
    background: linear-gradient(160deg, #f0fdfa 0%, #ecfdf5 50%, #fefce8 100%);
    overflow: hidden;
}

.df-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 48px;
}

.df-hero-text {
    flex: 1;
    min-width: 0;
}

.df-hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    padding: 5px 16px;
    border-radius: 18px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.df-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #134e4a;
    line-height: 1.25;
    margin-bottom: 14px;
}

.df-hero h1 em {
    font-style: normal;
    color: #f97316;
}

.df-hero p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 480px;
}

.df-hero-actions {
    display: flex;
    gap: 12px;
}

.df-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.df-hero-btn-primary {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 3px 12px rgba(15, 118, 110, 0.25);
}

.df-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
    background: #0d6e66;
}

.df-hero-btn-ghost {
    background: #ffffff;
    color: #0f766e;
    border: 1px solid #ccfbf1;
}

.df-hero-btn-ghost:hover {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
    transform: translateY(-2px);
}

/* Hero Collage - floating game thumbnails */
.df-hero-collage {
    flex: 0 0 420px;
    height: 320px;
    position: relative;
}

.df-collage-item {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 118, 110, 0.15);
    transition: transform 0.4s ease;
}

.df-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.df-collage-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.df-ci-1 { width: 160px; height: 120px; top: 0; left: 20px; transform: rotate(-4deg); }
.df-ci-2 { width: 140px; height: 105px; top: 10px; right: 30px; transform: rotate(3deg); }
.df-ci-3 { width: 150px; height: 112px; top: 110px; left: 80px; transform: rotate(2deg); }
.df-ci-4 { width: 130px; height: 98px; top: 130px; right: 10px; transform: rotate(-3deg); }
.df-ci-5 { width: 145px; height: 108px; bottom: 10px; left: 10px; transform: rotate(3deg); }
.df-ci-6 { width: 135px; height: 100px; bottom: 0; right: 50px; transform: rotate(-2deg); }

/* ============================================
   CATEGORY RIBBON - Horizontal icon strip
   ============================================ */

.df-cat-ribbon {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #e6f7f4;
    margin-bottom: 8px;
}

.df-cat-ribbon::-webkit-scrollbar { display: none; }

.df-ribbon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e6f7f4;
    min-width: 80px;
    flex-shrink: 0;
}

.df-ribbon-item:hover {
    background: #f0fdfa;
    border-color: #99f6e4;
    transform: translateY(-2px);
}

.df-ribbon-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.df-ribbon-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #134e4a;
    white-space: nowrap;
}

/* ============================================
   HOW IT WORKS - 3-step guide
   ============================================ */

.df-howto {
    padding: 36px 0 20px;
}

.df-howto-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 24px;
}

.df-howto-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.df-howto-step {
    text-align: center;
    flex: 0 0 200px;
    padding: 0 16px;
}

.df-howto-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.df-howto-step h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #134e4a;
    margin-bottom: 6px;
}

.df-howto-step p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.6;
}

.df-howto-arrow {
    font-size: 1.4rem;
    color: #94a3b8;
    margin-top: 14px;
    flex-shrink: 0;
}

/* ============================================
   ABOUT INTRO - Editorial section
   ============================================ */

.df-about-intro {
    background: #ffffff;
    border: 1px solid #e6f7f4;
    border-radius: 14px;
    padding: 28px 32px;
    margin: 24px 0 32px;
}

.df-about-intro h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #134e4a;
    margin-bottom: 12px;
}

.df-about-intro p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: #475569;
}

/* ============================================
   SPOTLIGHT PICK - Side-by-side feature
   ============================================ */

.df-spotlight {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border-radius: 18px;
    padding: 36px 40px;
    margin: 36px 0;
    border: 1px solid #e6f7f4;
    box-shadow: 0 2px 12px rgba(15, 118, 110, 0.06);
}

.df-spotlight-left {
    flex: 1;
    min-width: 0;
}

.df-spotlight-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    color: #f97316;
    background: #fff7ed;
    padding: 4px 14px;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.df-spotlight-left h2 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #134e4a;
    margin-bottom: 10px;
    line-height: 1.25;
}

.df-spotlight-left p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.df-spotlight-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.df-spotlight-type,
.df-spotlight-rating {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    background: #ccfbf1;
    color: #0f766e;
}

.df-spotlight-right {
    flex: 0 0 280px;
}

.df-spotlight-right img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 118, 110, 0.15);
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ============================================
   HORIZONTAL SCROLL ROW
   ============================================ */

.df-scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 16px;
}

.df-scroll-row::-webkit-scrollbar { display: none; }

.df-scroll-row .df-card {
    flex-shrink: 0;
    width: 180px;
}

/* Dated scroll row - with date badge */
.df-scroll-dated .df-card {
    position: relative;
}

.df-scroll-dated .df-card-date {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0f766e;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    z-index: 2;
}

/* ============================================
   QUICK PICKS - Tag cloud component
   ============================================ */

.df-quickpicks {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    margin: 36px 0;
    border: 1px solid #e6f7f4;
    text-align: center;
}

.df-quickpicks-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #134e4a;
    margin-bottom: 6px;
}

.df-quickpicks-sub {
    font-size: 0.84rem;
    color: #94a3b8;
    margin-bottom: 22px;
}

.df-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.df-cloud-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e6f7f4;
}

.df-cloud-lg {
    font-size: 0.92rem;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #ffffff;
    padding: 10px 24px;
}

.df-cloud-md {
    font-size: 0.82rem;
    background: #f0fdfa;
    color: #0f766e;
}

.df-cloud-sm {
    font-size: 0.74rem;
    background: #ffffff;
    color: #64748b;
}

.df-cloud-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.12);
    opacity: 1;
}

.df-cloud-lg:hover { background: #0d6e66; color: #fff; }
.df-cloud-md:hover { background: #ccfbf1; color: #0f766e; }
.df-cloud-sm:hover { background: #f0fdfa; color: #0f766e; }

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */

@media (max-width: 1024px) {
    .df-hero-inner { flex-direction: column; gap: 28px; }
    .df-hero-collage { flex: 0 0 auto; width: 100%; max-width: 400px; height: 260px; }
    .df-hero h1 { font-size: 1.8rem; }

    .df-spotlight { flex-direction: column; gap: 24px; padding: 28px; }
    .df-spotlight-right { flex: 0 0 auto; width: 100%; max-width: 320px; }

    .df-howto-steps { gap: 0; }
    .df-howto-step { flex: 0 0 160px; }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */

@media (max-width: 768px) {
    .df-hero { padding: 32px 16px; }
    .df-hero h1 { font-size: 1.4rem; }
    .df-hero p { font-size: 0.9rem; }
    .df-hero-actions { flex-direction: column; gap: 10px; }
    .df-hero-btn { width: 100%; justify-content: center; }
    .df-hero-collage { display: none; }

    /* Category ribbon: 2 rows x 4 columns grid on mobile */
    .df-cat-ribbon {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 10px;
        padding: 16px 0;
        overflow-x: visible;
    }
    .df-ribbon-item {
        min-width: 0;
        padding: 10px 6px;
        flex-shrink: unset;
    }
    .df-ribbon-icon { font-size: 1.3rem; }
    .df-ribbon-label { font-size: 0.65rem; }

    .df-howto-steps { flex-direction: column; align-items: center; gap: 16px; }
    .df-howto-arrow { transform: rotate(90deg); margin: 0; }
    .df-howto-step { flex: 0 0 auto; width: 100%; max-width: 280px; }

    .df-spotlight { padding: 20px; }
    .df-spotlight-left h2 { font-size: 1.2rem; }
    .df-spotlight-right { max-width: 100%; }

    .df-quickpicks { padding: 24px 16px; }
    .df-tagcloud { gap: 8px; }

    .df-scroll-row .df-card { width: 155px; }

    /* Compact card on mobile: hide description, keep name + type */
    .df-card-body .df-card-desc { display: none; }
    .df-card-body { padding: 8px 10px 10px; }
    .df-card-body .df-card-name { font-size: 0.75rem; margin-bottom: 4px; }
}

@media (max-width: 480px) {
    .df-hero h1 { font-size: 1.25rem; }
    .df-spotlight-right img { border-radius: 10px; }
}
