@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --kitsune-black: #080000;
    --kitsune-deep: #140202;
    --kitsune-panel: #230605;
    --kitsune-panel-soft: #310a06;
    --kitsune-orange: #ff5a00;
    --kitsune-orange-light: #ff8a1f;
    --kitsune-red: #d92323;
    --kitsune-text: #fff7ed;
    --kitsune-muted: rgba(255, 239, 224, 0.72);
    --kitsune-border: rgba(255, 90, 0, 0.28);
}

* {
    font-family: 'Poppins', sans-serif;
}

.heading-font {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

.hero-bg {
    background:
        radial-gradient(circle at 78% 16%, rgba(217, 35, 35, 0.18) 0%, transparent 34%),
        linear-gradient(135deg, var(--kitsune-black) 0%, var(--kitsune-panel) 58%, #100000 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 0, 0.2) 0%, rgba(217, 35, 35, 0.08) 42%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

.card-hover {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-hover:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(255, 74, 0, 0.3);
}

.game-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 31, 0.2), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.game-card:hover::before {
    left: 100%;
}

.game-card:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 74, 0, 0.35);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--kitsune-orange), var(--kitsune-orange-light), var(--kitsune-red));
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(255, 90, 0, 0.42);
}

.gradient-text {
    background: linear-gradient(135deg, var(--kitsune-orange) 0%, var(--kitsune-orange-light) 58%, #ffc36b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promotion-table tr:nth-child(odd) {
    background-color: rgba(255, 90, 0, 0.06);
}

.promotion-table tr:hover {
    background-color: rgba(217, 35, 35, 0.13);
    transition: background-color 0.2s ease;
}

.review-card {
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.09) 0%, rgba(217, 35, 35, 0.09) 100%);
    border: 1px solid var(--kitsune-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.18) 0%, rgba(217, 35, 35, 0.14) 100%);
    border: 2px solid rgba(255, 90, 0, 0.38);
    box-shadow: 0 10px 24px rgba(121, 16, 8, 0.22);
    font-size: 32px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kitsune-orange) 0%, var(--kitsune-orange-light) 100%);
    color: #120200;
    box-shadow: 0 8px 22px rgba(255, 74, 0, 0.3);
    font-weight: 700;
    font-size: 24px;
}

.winner-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--kitsune-red), var(--kitsune-orange));
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(217, 35, 35, 0.25);
}

.payment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--kitsune-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 24px;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.provider-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 90, 0, 0.22);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.provider-badge:hover {
    background: rgba(255, 90, 0, 0.14);
    border-color: rgba(255, 90, 0, 0.58);
    box-shadow: 0 10px 24px rgba(121, 16, 8, 0.2);
    transform: translateY(-4px);
}

.faq-item {
    margin-bottom: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 90, 0, 0.24);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.035), rgba(217, 35, 35, 0.025));
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 90, 0, 0.58);
    background: rgba(255, 90, 0, 0.075);
    box-shadow: 0 12px 30px rgba(85, 8, 4, 0.2);
}

.faq-answer {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 90, 0, 0.22);
    color: var(--kitsune-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-icon {
    float: right;
    color: var(--kitsune-orange-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid rgba(255, 173, 92, 0.45);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--kitsune-orange) 0%, var(--kitsune-orange-light) 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4800 0%, #ff7300 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 74, 0, 0.38);
}

.btn-primary:active {
    transform: translateY(0);
}

.winner-row-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.winner-row-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.winner-row-highlight {
    background: rgba(255, 90, 0, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 90, 0, 0.26), 0 0 20px rgba(217, 35, 35, 0.08);
    transition: background 0.6s ease, box-shadow 0.6s ease;
}

.vip-tier {
    position: relative;
    padding: 24px;
    border: 2px solid rgba(255, 90, 0, 0.24);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), rgba(217, 35, 35, 0.035));
    transition: all 0.3s ease;
}

.vip-tier:hover {
    border-color: rgba(255, 90, 0, 0.62);
    background: rgba(255, 90, 0, 0.075);
    box-shadow: 0 18px 36px rgba(85, 8, 4, 0.24);
    transform: translateY(-8px);
}

.vip-icon {
    margin-bottom: 12px;
    color: var(--kitsune-orange-light);
    font-size: 40px;
}

@media (max-width: 640px) {
    .hero-bg::before {
        top: -40%;
        right: -20%;
        width: 300px;
        height: 300px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title::after {
        width: 40%;
    }

    .provider-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

/*
 * Mobile hero order:
 * badge -> H1 -> CTA buttons -> stats -> description.
 * The desktop markup and layout remain unchanged from 768px upward.
 */
@media (max-width: 767px) {
    .hero-bg .grid > div:first-child {
        display: flex;
        flex-direction: column;
    }

    .hero-bg .grid > div:first-child > .inline-flex {
        align-self: flex-start;
    }

    .hero-bg .grid > div:first-child > .flex.flex-col {
        order: 1;
    }

    .hero-bg .grid > div:first-child > .flex.flex-wrap {
        order: 2;
    }

    .hero-bg .grid > div:first-child > p {
        order: 3;
    }
}

/* ========================================================================== */
/* COMPLETE KITSUNE THEME OVERRIDES                                           */
/* Recolours utility-class markup that is defined directly in the HTML.       */
/* ========================================================================== */

html {
    background: var(--kitsune-black) !important;
    color-scheme: dark;
}

body {
    min-height: 100%;
    background:
        radial-gradient(circle at 82% -10%, rgba(154, 26, 12, 0.2) 0%, transparent 34%),
        radial-gradient(circle at 6% 45%, rgba(255, 90, 0, 0.07) 0%, transparent 27%),
        linear-gradient(180deg, #080000 0%, #120101 46%, #080000 100%) !important;
    color: var(--kitsune-text) !important;
}

main,
header,
footer,
nav,
section {
    color: var(--kitsune-text);
}

header,
nav,
footer {
    border-color: rgba(255, 90, 0, 0.22) !important;
}

header,
nav {
    background-color: rgba(10, 0, 0, 0.96) !important;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

footer {
    background: linear-gradient(180deg, #100101 0%, #070000 100%) !important;
}

/* Dark surfaces: including Tailwind light, slate, gray and white backgrounds. */
.bg-white,
.bg-slate-50,
.bg-slate-100,
.bg-slate-200,
.bg-gray-50,
.bg-gray-100,
.bg-gray-200,
.bg-zinc-50,
.bg-zinc-100,
.bg-zinc-200,
.bg-neutral-50,
.bg-neutral-100,
.bg-neutral-200 {
    background-color: #210503 !important;
}

.bg-slate-300,
.bg-slate-400,
.bg-gray-300,
.bg-gray-400,
.bg-zinc-300,
.bg-zinc-400,
.bg-neutral-300,
.bg-neutral-400 {
    background-color: #2b0704 !important;
}

.bg-slate-500,
.bg-slate-600,
.bg-slate-700,
.bg-gray-500,
.bg-gray-600,
.bg-gray-700,
.bg-zinc-500,
.bg-zinc-600,
.bg-zinc-700,
.bg-neutral-500,
.bg-neutral-600,
.bg-neutral-700 {
    background-color: #260603 !important;
}

.bg-slate-800,
.bg-gray-800,
.bg-zinc-800,
.bg-neutral-800 {
    background-color: #1a0302 !important;
}

.bg-slate-900,
.bg-gray-900,
.bg-zinc-900,
.bg-neutral-900 {
    background-color: #110101 !important;
}

.bg-slate-950,
.bg-gray-950,
.bg-zinc-950,
.bg-neutral-950,
.bg-black {
    background-color: #080000 !important;
}

[class~="bg-white/5"] {
    background-color: rgba(255, 90, 0, 0.035) !important;
}

[class~="bg-white/10"] {
    background-color: rgba(255, 90, 0, 0.07) !important;
}

[class~="bg-white/20"] {
    background-color: rgba(255, 90, 0, 0.12) !important;
}

[class~="bg-black/20"],
[class~="bg-black/30"],
[class~="bg-black/40"],
[class~="bg-black/50"] {
    background-color: rgba(8, 0, 0, 0.72) !important;
}

/* Old gold, blue, indigo and purple brand colours become Kitsune orange. */
.bg-yellow-300,
.bg-yellow-400,
.bg-yellow-500,
.bg-yellow-600,
.bg-amber-300,
.bg-amber-400,
.bg-amber-500,
.bg-amber-600,
.bg-indigo-500,
.bg-indigo-600,
.bg-indigo-700,
.bg-purple-500,
.bg-purple-600,
.bg-purple-700,
.bg-blue-500,
.bg-blue-600,
.bg-blue-700 {
    background: linear-gradient(135deg, #ff4d00 0%, #ff7600 62%, #e83416 100%) !important;
    color: #fff !important;
}

.bg-yellow-50,
.bg-yellow-100,
.bg-amber-50,
.bg-amber-100,
.bg-indigo-50,
.bg-indigo-100,
.bg-purple-50,
.bg-purple-100,
.bg-blue-50,
.bg-blue-100 {
    background-color: rgba(255, 90, 0, 0.08) !important;
}

/* Text colours. */
.text-black,
.text-slate-950,
.text-slate-900,
.text-slate-800,
.text-gray-950,
.text-gray-900,
.text-gray-800,
.text-zinc-950,
.text-zinc-900,
.text-zinc-800,
.text-neutral-950,
.text-neutral-900,
.text-neutral-800 {
    color: var(--kitsune-text) !important;
}

.text-slate-700,
.text-slate-600,
.text-gray-700,
.text-gray-600,
.text-zinc-700,
.text-zinc-600,
.text-neutral-700,
.text-neutral-600 {
    color: #ead4c3 !important;
}

.text-slate-500,
.text-slate-400,
.text-slate-300,
.text-gray-500,
.text-gray-400,
.text-gray-300,
.text-zinc-500,
.text-zinc-400,
.text-zinc-300,
.text-neutral-500,
.text-neutral-400,
.text-neutral-300 {
    color: #c9a994 !important;
}

.text-white {
    color: #fffaf5 !important;
}

.text-yellow-300,
.text-yellow-400,
.text-yellow-500,
.text-yellow-600,
.text-amber-300,
.text-amber-400,
.text-amber-500,
.text-amber-600,
.text-indigo-300,
.text-indigo-400,
.text-indigo-500,
.text-indigo-600,
.text-purple-300,
.text-purple-400,
.text-purple-500,
.text-purple-600,
.text-blue-400,
.text-blue-500,
.text-blue-600 {
    color: var(--kitsune-orange-light) !important;
}

/* Borders, dividers, rings and shadows. */
.border-white,
.border-slate-200,
.border-slate-300,
.border-slate-400,
.border-slate-500,
.border-slate-600,
.border-slate-700,
.border-slate-800,
.border-gray-200,
.border-gray-300,
.border-gray-400,
.border-gray-500,
.border-gray-600,
.border-gray-700,
.border-gray-800,
.border-zinc-200,
.border-zinc-300,
.border-zinc-700,
.border-neutral-200,
.border-neutral-300,
.border-neutral-700 {
    border-color: rgba(255, 90, 0, 0.24) !important;
}

.border-yellow-300,
.border-yellow-400,
.border-yellow-500,
.border-amber-300,
.border-amber-400,
.border-amber-500,
.border-indigo-400,
.border-indigo-500,
.border-indigo-600,
.border-purple-400,
.border-purple-500,
.border-purple-600,
.border-blue-400,
.border-blue-500,
.border-blue-600 {
    border-color: rgba(255, 90, 0, 0.64) !important;
}

[class~="border-white/5"],
[class~="border-white/10"],
[class~="border-white/20"] {
    border-color: rgba(255, 90, 0, 0.2) !important;
}

[class*="ring-yellow-"],
[class*="ring-amber-"],
[class*="ring-indigo-"],
[class*="ring-purple-"],
[class*="ring-blue-"] {
    --tw-ring-color: rgba(255, 90, 0, 0.56) !important;
}

.divide-slate-200 > :not([hidden]) ~ :not([hidden]),
.divide-slate-700 > :not([hidden]) ~ :not([hidden]),
.divide-gray-200 > :not([hidden]) ~ :not([hidden]),
.divide-gray-700 > :not([hidden]) ~ :not([hidden]),
.divide-white > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(255, 90, 0, 0.18) !important;
}

.shadow-lg,
.shadow-xl,
.shadow-2xl {
    --tw-shadow-color: rgba(75, 5, 2, 0.42) !important;
    --tw-shadow: var(--tw-shadow-colored) !important;
}

/* Cards and content blocks used across the page. */
.card-hover,
.game-card,
.review-card,
.feature-card,
.promotion-card,
.payment-card,
.step-card,
.vip-tier,
.faq-item,
.provider-badge {
    border-color: rgba(255, 90, 0, 0.24) !important;
    background-color: #200503 !important;
    background-image: linear-gradient(145deg, rgba(255, 90, 0, 0.055), rgba(80, 6, 3, 0.08)) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-hover:hover,
.game-card:hover,
.review-card:hover,
.feature-card:hover,
.promotion-card:hover,
.payment-card:hover,
.step-card:hover,
.vip-tier:hover,
.faq-item:hover,
.provider-badge:hover {
    border-color: rgba(255, 108, 22, 0.64) !important;
    background-color: #2b0704 !important;
    box-shadow: 0 18px 40px rgba(108, 10, 4, 0.34) !important;
}

/* Gradients on large containers stay dark; CTA gradients stay vivid orange. */
section.bg-gradient-to-r,
section.bg-gradient-to-l,
section.bg-gradient-to-b,
section.bg-gradient-to-br,
div.bg-gradient-to-r,
div.bg-gradient-to-l,
div.bg-gradient-to-b,
div.bg-gradient-to-br {
    background-image: linear-gradient(135deg, #120101 0%, #260503 58%, #170202 100%) !important;
}

a.bg-gradient-to-r,
a.bg-gradient-to-br,
button.bg-gradient-to-r,
button.bg-gradient-to-br,
span.bg-gradient-to-r,
span.bg-gradient-to-br {
    background-image: linear-gradient(135deg, #ff4d00 0%, #ff7600 65%, #e83416 100%) !important;
    color: #fff !important;
}

/* Tables. */
table {
    border-color: rgba(255, 90, 0, 0.24) !important;
    background-color: #100101 !important;
    color: var(--kitsune-text) !important;
}

thead,
th {
    background-color: #2a0704 !important;
    color: #ff9a42 !important;
}

tbody tr {
    background-color: #130202 !important;
}

tbody tr:nth-child(odd) {
    background-color: #1c0403 !important;
}

tbody tr:hover {
    background-color: rgba(255, 90, 0, 0.12) !important;
}

th,
td {
    border-color: rgba(255, 90, 0, 0.18) !important;
}

/* Forms. */
input,
select,
textarea {
    border-color: rgba(255, 90, 0, 0.34) !important;
    background-color: #160302 !important;
    color: #fffaf5 !important;
    caret-color: var(--kitsune-orange-light);
}

input::placeholder,
textarea::placeholder {
    color: #a98976 !important;
    opacity: 1;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--kitsune-orange) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 90, 0, 0.16) !important;
}

/* Utility hover states from the previous theme. */
[class~="hover:bg-yellow-400"]:hover,
[class~="hover:bg-yellow-500"]:hover,
[class~="hover:bg-amber-400"]:hover,
[class~="hover:bg-amber-500"]:hover,
[class~="hover:bg-indigo-600"]:hover,
[class~="hover:bg-indigo-700"]:hover,
[class~="hover:bg-purple-600"]:hover,
[class~="hover:bg-purple-700"]:hover,
[class~="hover:bg-blue-600"]:hover,
[class~="hover:bg-blue-700"]:hover {
    background: linear-gradient(135deg, #ff3d00 0%, #ff6800 100%) !important;
    color: #fff !important;
}

[class~="hover:bg-slate-50"]:hover,
[class~="hover:bg-slate-100"]:hover,
[class~="hover:bg-slate-700"]:hover,
[class~="hover:bg-slate-800"]:hover,
[class~="hover:bg-gray-50"]:hover,
[class~="hover:bg-gray-100"]:hover,
[class~="hover:bg-gray-700"]:hover,
[class~="hover:bg-gray-800"]:hover,
[class~="hover:bg-white/5"]:hover,
[class~="hover:bg-white/10"]:hover {
    background-color: rgba(255, 90, 0, 0.1) !important;
}

[class~="hover:text-yellow-300"]:hover,
[class~="hover:text-yellow-400"]:hover,
[class~="hover:text-amber-300"]:hover,
[class~="hover:text-amber-400"]:hover,
[class~="hover:text-indigo-400"]:hover,
[class~="hover:text-purple-400"]:hover,
[class~="hover:text-blue-400"]:hover {
    color: #ff9a42 !important;
}

/* Small finishing details. */
hr {
    border-color: rgba(255, 90, 0, 0.18) !important;
}

::selection {
    background: rgba(255, 90, 0, 0.42);
    color: #fff;
}

* {
    scrollbar-color: #ff5a00 #130202;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: #130202;
}

*::-webkit-scrollbar-thumb {
    border: 2px solid #130202;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff7600, #d92323);
}
