:root {
    --wdwt-bg: #0B0B0D;
    --wdwt-card-bg: #141418;
    --wdwt-accent: #E50914;
    --wdwt-text: #FFFFFF;
    --wdwt-text-muted: #A0A0AA;
    --wdwt-border: #22222A;
}

body {
    background-color: var(--wdwt-bg) !important;
    color: var(--wdwt-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.wdwt-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.wdwt-section {
    padding: 60px 0;
}

.wdwt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.wdwt-section-header h2 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin: 0;
    color: #FFF;
}

.section-subtext {
    color: var(--wdwt-text-muted);
    font-size: 14px;
    margin: 4px 0 0 0;
}

/* 1. HERO TAKEOVER (STRICT LEFT ALIGNMENT INSIDE CONTAINER) */
.wdwt-hero-takeover {
    position: relative;
    padding-top: 100px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center 20%;
}

.wdwt-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,11,13,0.3) 0%, rgba(11,11,13,0.85) 75%, #0B0B0D 100%),
                linear-gradient(90deg, rgba(11,11,13,0.95) 0%, rgba(11,11,13,0.4) 60%, transparent 100%);
}

.wdwt-hero-content {
    position: relative;
    z-index: 2;
    margin: 0;            /* Locked hard to the left of container */
    text-align: left;     /* Strictly left-aligned text */
    max-width: 650px;     /* Prevents text stretching full width */
}

.wdwt-hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.05;
    margin: 0 0 22px 0;        /* more gap below title */
    text-transform: uppercase;
    color: #FFF;
    letter-spacing: -1px;
}

.wdwt-hero-meta {
    color: var(--wdwt-text-muted);
    font-size: 14px;
    margin-bottom: 22px;       /* more gap below year/meta */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-weight: 600;
}

.wdwt-hero-rating {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 22px;       /* more gap below rating */
}

.rating-score {
    font-size: 24px;
    font-weight: 900;
    color: #FFF;
}

.wdwt-hero-excerpt {
    font-size: 16px;
    color: #CCC;
    line-height: 1.5;
    margin-bottom: 28px;       /* more gap below description */
}

.wdwt-hero-why {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--wdwt-accent);
    padding: 12px 16px;
    margin-bottom: 34px;       /* gap between why box and button */
    border-radius: 0 6px 6px 0;
    display: table;            /* shrink-wraps to content BUT stays block-level */
    max-width: 100%;           /* never overflow the hero column */
}

.wdwt-hero-why strong {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--wdwt-accent);
    font-weight: 900;          /* bolds "THE WHY" label */
}

.wdwt-hero-why p {
    margin: 4px 0 0 0;
    font-style: italic;
    font-size: 14px;
    color: #FFF;
    font-weight: 700;          /* bolds the quote text */
    white-space: normal;       /* allow wrapping if it's long */
}

.wdwt-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wdwt-accent) !important;
    color: #FFF !important;
    padding: 14px 28px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.4);
}
.wdwt-btn-primary:hover {
    background-color: #FF1E27 !important;
    transform: translateY(-2px);
}

/* 2. LATEST REVIEWS SLIDER (CLEAN UNCOVERED IMAGES) */
.wdwt-slider-section {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding-bottom: 40px;
}

.wdwt-slider-header {
    margin-bottom: 18px;
}

.wdwt-slider-header h2 {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
    color: #FFF;
    letter-spacing: 0.5px;
}

.wdwt-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wdwt-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(20, 20, 24, 0.95);
    border: 1px solid var(--wdwt-border);
    color: #FFF;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.wdwt-arrow-btn:hover {
    background: var(--wdwt-accent);
    border-color: var(--wdwt-accent);
}

.wdwt-arrow-btn.prev-btn { left: -21px; }
.wdwt-arrow-btn.next-btn { right: -21px; }

.wdwt-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 0;
    width: 100%;
}
.wdwt-slider-track::-webkit-scrollbar { display: none; }

.wdwt-landscape-card {
    flex: 0 0 280px;
    height: 158px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.wdwt-landscape-card:hover {
    transform: scale(1.03);
    border-color: var(--wdwt-accent);
    z-index: 5;
}

/* BOTTOM GRADIENT SCRIM - makes the title pop without covering the image */
.wdwt-landscape-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;                        /* only bottom portion */
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.92) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.25s ease;
}

/* optional: deepen the scrim slightly on hover */
.wdwt-landscape-card:hover::after {
    opacity: 1;
}

/* NO OVERLAY BOX - DIRECT CRISP TITLE WITH TEXT SHADOW */
.wdwt-card-bottom {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.wdwt-landscape-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    color: #FFF;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.9);
}

/* 3. FLUID INTRO STATEMENT */
.wdwt-intro-fluid {
    padding: 40px 0;
}

.wdwt-fluid-banner {
    background: var(--wdwt-card-bg);
    border: 1px solid var(--wdwt-border);
    border-left: 4px solid var(--wdwt-accent);
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wdwt-fluid-text {
    font-size: 15px;
    color: var(--wdwt-text-muted);
    line-height: 1.6;
}

.wdwt-fluid-text strong {
    color: var(--wdwt-accent);
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-right: 6px;
}

.wdwt-fluid-link {
    color: #FFF;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}
.wdwt-fluid-link:hover { text-decoration: underline; }

/* 4 & 5. CURATED GRID SECTIONS */
.wdwt-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.col-heading {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--wdwt-text-muted);
}

.wdwt-cards-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wdwt-mini-card {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--wdwt-card-bg);
}
.wdwt-mini-card img { width: 100%; height: 100%; object-fit: cover; }

.wdwt-mini-rating {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    font-size: 12px;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 3px;
    color: #FFF;
}
.badge-regret { background: var(--wdwt-accent); }

.col-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--wdwt-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.regret-section {
    background: linear-gradient(180deg, #0B0B0D 0%, #160809 50%, #0B0B0D 100%);
}

/* 6. EDITORIAL LISTS */
.wdwt-lists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wdwt-list-card {
    background: var(--wdwt-card-bg);
    border: 1px solid var(--wdwt-border);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 170px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.wdwt-list-card:hover {
    transform: translateY(-4px);
    border-color: var(--wdwt-accent);
}

.list-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--wdwt-accent);
}

.wdwt-list-card h3 {
    font-size: 17px;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.list-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--wdwt-text-muted);
}

/* 7. EXPLORE BY GENRE */
.wdwt-genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.wdwt-genre-tile {
    position: relative;
    height: 110px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    border: 1px solid var(--wdwt-border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.wdwt-genre-tile:hover { 
    transform: scale(1.02); 
    border-color: var(--wdwt-accent);
}

.genre-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 100%);
}

.genre-name {
    position: relative;
    z-index: 2;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 1px;
}

.genre-arrow {
    position: relative;
    z-index: 2;
    font-size: 20px;
    color: var(--wdwt-accent);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
    .wdwt-hero-title { font-size: 38px; }
    .wdwt-arrow-btn.prev-btn { left: 4px; }
    .wdwt-arrow-btn.next-btn { right: 4px; }
    .wdwt-landscape-card { flex: 0 0 220px; height: 124px; }
    .wdwt-fluid-banner { flex-direction: column; text-align: center; }
    .wdwt-two-column-grid, .wdwt-lists-grid, .wdwt-genre-grid { grid-template-columns: 1fr; }
}
/* 4 & 5. HOMEPAGE CURATED MOVIE / SHOW CARDS */
.wdwt-home-curated-card {
    display: block;
    min-width: 0;
    color: #FFF;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.wdwt-home-curated-card:hover {
    transform: translateY(-5px);
}

.wdwt-home-curated-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--wdwt-card-bg);
    border: 1px solid var(--wdwt-border);
    border-radius: 8px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.wdwt-home-curated-card:hover .wdwt-home-curated-poster {
    border-color: var(--wdwt-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.wdwt-home-curated-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.wdwt-home-curated-card:hover .wdwt-home-curated-poster img {
    transform: scale(1.045);
}

.wdwt-home-curated-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wdwt-accent);
    font-size: 40px;
    font-weight: 900;
}

.wdwt-home-curated-rating {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 4px 8px;
    background: rgba(11, 11, 13, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    color: #FFF;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.wdwt-home-curated-card.is-regret .wdwt-home-curated-rating {
    border-color: var(--wdwt-accent);
}

.wdwt-home-curated-rating .wdwt-symbol-img {
    width: 18px !important;
    height: 18px !important;
}

.wdwt-home-curated-rating .wdwt-symbol-fallback {
    color: var(--wdwt-accent) !important;
    font-size: 18px !important;
    line-height: 1;
}

.wdwt-home-curated-info {
    padding-top: 12px;
}

.wdwt-home-curated-info h3 {
    margin: 0;
    color: #FFF;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.wdwt-home-curated-card:hover .wdwt-home-curated-info h3 {
    color: var(--wdwt-accent);
}

.wdwt-home-curated-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: #71717A;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wdwt-home-curated-genres {
    margin-top: 5px;
    color: #A1A1AA;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Homepage list cards */
.wdwt-list-card {
    position: relative;
    overflow: hidden;
}

.wdwt-list-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.22;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.wdwt-list-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 20, 24, 0.92), rgba(20, 20, 24, 0.58));
    pointer-events: none;
}

.wdwt-list-card > *:not(.wdwt-list-card-image) {
    position: relative;
    z-index: 2;
}

.wdwt-list-card:hover .wdwt-list-card-image {
    transform: scale(1.06);
    opacity: 0.3;
}

.wdwt-list-card-content {
    margin-top: auto;
}

@media (max-width: 900px) {
    .wdwt-home-curated-info h3 { font-size: 15px; }
    .wdwt-home-curated-meta { font-size: 10px; }
    .wdwt-home-curated-genres { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .wdwt-home-curated-card,
    .wdwt-home-curated-poster,
    .wdwt-home-curated-poster img,
    .wdwt-home-curated-info h3,
    .wdwt-list-card-image {
        transition: none;
    }
}
