/* ==========================================================================
   Our Products — "What We Do" overview page
   Scoped under .op-page. Built on top of weplay.css / main.css tokens.
   ========================================================================== */

.op-page {
    --op-orange: #ff7501;
    --op-orange-2: #ff9500;
    --op-orange-3: #ffaf3f;
    --op-purple: #976deb;
    --op-purple-light: #b795fc;
    --op-purple-dark: #7f4fde;
    --op-blue: #4ddeff;
    --op-blue-light: #0497f2;
    --op-blue-dark: #2da6bc;
    --op-green: #7ae951;
    --op-green-light: #6dbf56;
    --op-green-dark: #36a24e;
    --op-text-muted: rgba(255, 255, 255, 0.6);
    background-color: #050505;
    background-image:
        linear-gradient(rgba(5, 5, 5, 0.62), rgba(5, 5, 5, 0.62)),
        url("../gfx/2026/our-products/our_products_main_background.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    overflow-x: hidden;
}

.op-page section {
    position: relative;
    padding: 90px 0;
}

.op-page a {
    text-decoration: none;
}

.op-page .op-eyebrow {
    display: inline-block;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    background-image: linear-gradient(90deg, #ff8300, #ff4b00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.op-page h1,
.op-page h2,
.op-page h3 {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.op-page .op-lead {
    color: var(--op-text-muted);
    font-size: 18px;
    line-height: 1.6;
    font-family: var(--default--font-family);
}

.op-highlight-orange {
    color: var(--op-orange);
}

/* ---------- Buttons ---------- */
.op-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 16px;
    padding: 1.1rem 2rem;
    border-radius: 12px;
    transition: all 0.25s ease-in-out;
    min-height: 56px;
    box-sizing: border-box;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.op-btn-orange {
    background:
        linear-gradient(105deg, #ffaf3f 4%, #e64600 118%) padding-box,
        linear-gradient(105deg, #ffd699 4%, #e64600 118%) border-box;
    color: #fff;
}
.op-btn-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(255, 149, 0, 0.45);
    color: #fff;
}
.op-btn-outline {
    background: transparent;
    border-color: var(--op-orange-2);
    color: #fff;
}
.op-btn-outline:hover {
    background: rgba(255, 149, 0, 0.1);
    color: #fff;
    transform: translateY(-2px);
}
.op-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

/* ---------- Section headers (centered) ---------- */
.op-section-head {
    position: relative;
    max-width: 900px;
    margin: 0 auto 56px;
    text-align: center;
    z-index: 1;
}
.op-section-head .op-eyebrow {
    display: block;
}
.op-section-head h2 {
    font-size: clamp(2.1rem, 4.6vw, 4rem);
    line-height: 1;
    margin-bottom: 22px;
}
.op-section-head .op-lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
}

/* ---------- Glow ellipse (hero + everything-else headers) ---------- */
.op-glow-ellipse {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -30%);
    width: 800px;
    max-width: 160%;
    height: 420px;
    background: url("../gfx/2026/our-products/glow_ellipse.svg") no-repeat center / contain;
    pointer-events: none;
    z-index: 0;
}

/* ---------- Hero ============ */
/* Scoped under .op-page so this beats the generic `.op-page section` padding rule
   on specificity instead of relying on source order (matches the .cfp-page pattern). */
.op-page .op-hero {
    padding-top: 240px;
    padding-bottom: 60px;
    text-align: center;
}
.op-hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}
.op-hero h1 {
    font-size: clamp(2.6rem, 6.3vw, 5.625rem);
    line-height: 0.95;
    margin-bottom: 24px;
}
.op-hero .op-lead {
    font-size: 18px;
    max-width: 690px;
    margin: 0 auto;
}

/* ---------- Poker Network flagship card ---------- */
.op-network-card {
    position: relative;
    border: 2px solid #ff6600;
    border-radius: 40px;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #060302 url("../gfx/2026/our-products/poker_network_illustration.png") no-repeat
        center right / cover;
}
.op-network-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.94) 0%,
        rgba(0, 0, 0, 0.85) 42%,
        rgba(38, 14, 4, 0.35) 76%,
        rgba(38, 14, 4, 0) 100%
    );
}
.op-network-body {
    position: relative;
    z-index: 1;
    padding: 56px;
    max-width: 630px;
    text-align: left;
}
.op-network-body h2 {
    font-size: clamp(2.2rem, 4.6vw, 4.1rem);
    line-height: 0.95;
    margin-bottom: 20px;
    white-space: nowrap;
}
.op-network-subhead {
    font-family: "Noto Sans", sans-serif;
    color: #fff;
    font-weight: 600;
    font-size: 19px;
    line-height: 1.3;
    margin-bottom: 20px;
}
.op-network-body .op-lead {
    font-size: 18px;
    margin-bottom: 28px;
}

.op-pill-list {
    display: grid;
    grid-template-columns: repeat(3, 196px);
    gap: 14px;
    margin-bottom: 32px;
}
.op-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0.6px solid #ff6600;
    border-radius: 70px;
    padding: 12px 16px;
    background: linear-gradient(159deg, rgb(0, 0, 0) 0%, rgb(36, 20, 14) 107%);
    color: #fff;
    font-family: "Noto Sans", sans-serif;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.3;
}
.op-pill img {
    width: 14px;
    height: auto;
    flex-shrink: 0;
}

/* ---------- What Sets Us Apart ---------- */
.op-apart-head h2 {
    background-image: linear-gradient(100deg, #dea4ff 11%, #9ed8ff 51%, #acffba 86%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.op-apart-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}
.op-apart-card {
    border-radius: 10px;
    border: 0.6px solid transparent;
    padding: 20px 32px 36px;
    text-align: left;
}
.op-apart-card--purple {
    background:
        linear-gradient(126deg, rgb(0, 0, 0) 0%, rgb(21, 4, 38) 107%) padding-box,
        linear-gradient(180deg, rgba(151, 109, 235, 0.3) 0%, rgba(90, 60, 150, 0.3) 100%) border-box;
}
.op-apart-card--blue {
    background:
        linear-gradient(126deg, rgb(0, 0, 0) 0%, rgb(4, 27, 38) 107%) padding-box,
        linear-gradient(180deg, rgba(77, 222, 255, 0.3) 0%, rgba(40, 130, 150, 0.3) 100%) border-box;
}
.op-apart-card--green {
    background:
        linear-gradient(126deg, rgb(0, 0, 0) 0%, rgb(26, 38, 4) 107%) padding-box,
        linear-gradient(180deg, rgba(122, 233, 81, 0.3) 0%, rgba(60, 140, 40, 0.3) 100%) border-box;
}
.op-apart-icon {
    position: relative;
    width: fit-content;
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
.op-apart-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}
.op-apart-card--purple .op-apart-icon::before {
    background: radial-gradient(
        closest-side,
        rgba(151, 109, 235, 0.45),
        rgba(151, 109, 235, 0) 75%
    );
}
.op-apart-card--blue .op-apart-icon::before {
    background: radial-gradient(closest-side, rgba(77, 222, 255, 0.45), rgba(77, 222, 255, 0) 75%);
}
.op-apart-card--green .op-apart-icon::before {
    background: radial-gradient(closest-side, rgba(122, 233, 81, 0.45), rgba(122, 233, 81, 0) 75%);
}
.op-apart-icon img.op-apart-icon-glyph {
    position: relative;
    z-index: 1;
    width: 28px;
    height: auto;
    display: block;
}
.op-apart-card--purple .op-apart-icon-glyph {
    filter: drop-shadow(0 0 8px rgba(151, 109, 235, 0.55));
}
.op-apart-card--blue .op-apart-icon-glyph {
    filter: drop-shadow(0 0 8px rgba(77, 222, 255, 0.55));
}
.op-apart-card--green .op-apart-icon-glyph {
    filter: drop-shadow(0 0 8px rgba(122, 233, 81, 0.55));
}
.op-apart-label {
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}
.op-apart-card--purple .op-apart-label {
    background-image: linear-gradient(90deg, var(--op-purple-light), var(--op-purple-dark));
}
.op-apart-card--blue .op-apart-label {
    background-image: linear-gradient(90deg, var(--op-blue-light), var(--op-blue-dark));
}
.op-apart-card--green .op-apart-label {
    background-image: linear-gradient(90deg, var(--op-green-light), var(--op-green-dark));
}
.op-apart-card h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
}
.op-apart-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.3;
    margin: 0 0 14px;
}
.op-apart-card p:last-of-type {
    margin-bottom: 0;
}
.op-apart-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-top: 26px;
    /* default accent (overridden per card colour below); also the fallback
       the chevron inherits when a card has no colour modifier */
    background-image: linear-gradient(90deg, var(--op-purple-light), var(--op-purple-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
/* Chevron inherits the card's accent gradient (via background-image: inherit)
   so it always matches the box colour instead of a fixed-colour SVG. */
.op-apart-arrow {
    display: inline-block;
    width: 6px;
    height: 11px;
    flex: 0 0 auto;
    background-image: inherit;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'%3E%3Cpath d='M1 1L5 5.5L1 10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'%3E%3Cpath d='M1 1L5 5.5L1 10' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
.op-apart-card--purple .op-apart-more {
    background-image: linear-gradient(90deg, var(--op-purple-light), var(--op-purple-dark));
}
.op-apart-card--blue .op-apart-more {
    background-image: linear-gradient(90deg, var(--op-blue-light), var(--op-blue-dark));
}
.op-apart-card--green .op-apart-more {
    background-image: linear-gradient(90deg, var(--op-green-light), var(--op-green-dark));
}

/* ---------- Everything Else You Need to Operate ---------- */
.op-stack-head {
    z-index: 1;
}
.op-stack-head h2 {
    color: #fff;
}

.op-stack-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.op-stack-card {
    border-radius: 10px;
    border: 0.6px solid transparent;
    background:
        linear-gradient(128deg, rgb(0, 0, 0) 0%, rgb(38, 14, 4) 107%) padding-box,
        linear-gradient(180deg, rgba(255, 140, 0, 0.3) 0%, rgba(140, 70, 0, 0.3) 100%) border-box;
    padding: 20px 26px 32px;
    text-align: left;
}
.op-stack-icon {
    position: relative;
    width: fit-content;
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}
/* Soft orange glow disc behind the glyph. icon_sportsbook.svg ships its own
   baked-in glow, so that one card opts out via --online-sportbook below and
   every other icon gets the equivalent look from this pseudo-element. */
.op-stack-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 140, 0, 0.5), rgba(255, 140, 0, 0) 78%);
    z-index: 0;
    pointer-events: none;
}
.op-stack-icon img.op-stack-icon-glyph {
    position: relative;
    z-index: 1;
    width: 32px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.55));
}
/* Its viewBox already includes the glow, so it renders larger and needs
   neither the CSS disc nor a second drop-shadow. */
.op-stack-icon img.op-stack-icon-glyph--online-sportbook {
    width: 51px;
    height: auto;
    filter: none;
}
.op-stack-icon:has(.op-stack-icon-glyph--online-sportbook)::before {
    display: none;
}
/* Per-glyph optical sizing so each sits the same size inside the glow disc. */
.op-stack-icon img.op-stack-icon-glyph--online-casino {
    width: 31px;
}
.op-stack-icon img.op-stack-icon-glyph--payments {
    width: 32px;
}
.op-stack-icon img.op-stack-icon-glyph--gaming-licence {
    width: 29px;
}
.op-stack-card h3 {
    color: #fff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    font-family: "Noto Sans", sans-serif;
    margin-bottom: 22px;
}
.op-stack-card p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
}
.op-stack-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-top: 22px;
    background-image: linear-gradient(90deg, #ff8300, #ff4b00);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
/* Match the 6x11 chevron used by .op-apart-arrow so the "Learn More" arrow is
   the same size in both card styles (arrow_4.svg is the same path geometry). */
.op-stack-more img {
    width: 6px;
    height: 11px;
}

/* ---------- Magic Bento hover effect (apart + stack cards) ---------- */
.op-bento-section {
    position: relative;
}
.op-bento-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
    --glow-x: 50%;
    --glow-y: 50%;
    --glow-intensity: 0;
    --glow-radius: 220px;
}
.op-bento-card:hover {
    border-color: rgba(var(--glow-color), 0.6);
}
.op-bento-fx-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
.op-bento-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    background: radial-gradient(
        var(--glow-radius) circle at var(--glow-x) var(--glow-y),
        rgba(var(--glow-color), calc(var(--glow-intensity) * 0.9)) 0%,
        rgba(var(--glow-color), calc(var(--glow-intensity) * 0.45)) 30%,
        transparent 65%
    );
    border-radius: inherit;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}
.op-bento-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgb(var(--glow-color));
    box-shadow: 0 0 6px rgba(var(--glow-color), 0.7);
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transform: scale(0);
    transition:
        opacity 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.op-bento-particle.is-visible {
    opacity: 0.9;
    transform: scale(1);
}
.op-bento-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(var(--glow-color), 0.35) 0%,
        rgba(var(--glow-color), 0.15) 30%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 3;
    transform: scale(0);
    opacity: 1;
    transition:
        transform 0.8s ease,
        opacity 0.8s ease;
}
.op-bento-ripple.is-active {
    transform: scale(1);
    opacity: 0;
}
.op-bento-spotlight {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    --glow-color: 255, 140, 0;
    background: radial-gradient(
        circle,
        rgba(var(--glow-color), 0.14) 0%,
        rgba(var(--glow-color), 0.07) 15%,
        rgba(var(--glow-color), 0.035) 25%,
        rgba(var(--glow-color), 0.018) 40%,
        transparent 70%
    );
    transition: opacity 0.3s ease;
}
.op-apart-card--purple.op-bento-card {
    --glow-color: 151, 109, 235;
}
.op-apart-card--blue.op-bento-card {
    --glow-color: 77, 222, 255;
}
.op-apart-card--green.op-bento-card {
    --glow-color: 122, 233, 81;
}
.op-stack-card.op-bento-card {
    --glow-color: 255, 140, 0;
}
@media (hover: none), (max-width: 767px) {
    .op-bento-card::after,
    .op-bento-particle,
    .op-bento-ripple,
    .op-bento-spotlight {
        display: none !important;
    }
}

/* ---------- Final CTA ---------- */
.op-cta {
    padding-top: 20px;
}
.op-cta-card {
    position: relative;
    max-width: 1330px;
    margin: 0 auto;
    border: 2px solid transparent;
    border-radius: 50px;
    overflow: hidden;
    padding: 90px 40px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, #571a00 0%, #341000 51%, #000000 100%) padding-box,
        linear-gradient(180deg, rgba(255, 102, 0, 0.4) 0%, rgba(153, 61, 0, 0.4) 100%) border-box;
}
.op-cta-card h2 {
    font-size: clamp(2.2rem, 4.9vw, 4.375rem);
    line-height: 0.95;
    margin: 0 auto 20px;
    max-width: 900px;
}
.op-cta-card .op-lead {
    max-width: 480px;
    margin: 0 auto 36px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .op-apart-grid {
        grid-template-columns: 1fr 1fr;
    }
    .op-stack-grid {
        grid-template-columns: 1fr 1fr;
    }
    .op-network-card {
        min-height: auto;
    }
    .op-network-body {
        padding: 40px 32px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .op-page section {
        padding: var(--wp-section-space-mobile) 0;
    }
    .op-hero h1 {
        font-size: min(66.55px, 17vw);
        line-height: 0.849;
    }
    .op-page .op-hero {
        padding-top: 120px;
        padding-bottom: var(--wp-section-space-mobile);
    }
    .op-section-head {
        margin-bottom: 36px;
    }
    .op-apart-grid {
        grid-template-columns: 1fr;
    }
    .op-stack-grid {
        grid-template-columns: 1fr;
    }
    .op-btn {
        width: 100%;
    }
    .op-btn-group {
        flex-direction: column;
    }
    .op-network-body {
        padding: 32px 24px;
    }
    .op-network-body h2 {
        font-size: 2.6rem;
        white-space: normal;
    }
    .op-pill-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .op-cta-card {
        padding: 60px 24px;
        border-radius: 24px;
    }
    .op-network-card {
        border-radius: 24px;
    }
}
