:root {
    --playj-primary: #ff6b35;
    --playj-primary-light: #ff8555;
    --playj-primary-dark: #e55320;
    --playj-primary-alpha-20: rgba(255,107,53,0.2);
    --playj-accent: #fbbf24;
    --playj-bg-dark: #0f0e0b;
    --playj-bg-light: #1a1915;
    --playj-bg-card: #262420;
    --playj-bg-card-hover: #322f2a;
    --playj-text-primary: #ffffff;
    --playj-text-secondary: rgba(255,255,255,0.7);
    --playj-text-muted: rgba(255,255,255,0.45);
    --playj-success: #22c55e;
    --playj-success-dark: #16a34a;
    --playj-warning: #f59e0b;
    --playj-danger: #ef4444;
    --playj-gradient-primary: linear-gradient(135deg, #ff6b35, #fbbf24);
    --playj-gradient-dark: linear-gradient(135deg, #0f0e0b, #262420);
    --playj-radius-sm: 8px;
    --playj-radius: 12px;
    --playj-radius-lg: 18px;
    --playj-transition: 0.3s ease;
    --playj-spacing-sm: 8px;
    --playj-font-heading: 'Poppins', sans-serif;
    --playj-font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--playj-font-body);
    background: #0c0c0e;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 20px 20px;
    color: var(--playj-text-primary);
    line-height: 1.6;
    display: grid;
    grid-template-areas: "header header" "sidebar main" "sidebar footer";
    grid-template-columns: 60px 1fr;
    grid-template-rows: 70px 1fr auto;
    min-height: 100vh;
}

a {
    color: var(--playj-primary);
    text-decoration: none;
    transition: var(--playj-transition);
}

a:hover {
    color: var(--playj-primary-light);
}

body {
    display: grid;
    grid-template-areas: "header header" "sidebar main" "sidebar footer";
    grid-template-columns: 60px 1fr;
    grid-template-rows: 70px 1fr auto;
    min-height: 100vh;
}

.playj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.playj-header {
    grid-area: header;
    background: var(--playj-bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
}

.sidebar {
    grid-area: sidebar;
    background: var(--playj-bg-dark);
    border-right: 1px solid rgba(255,255,255,0.1);
    position: fixed;
    top: 70px;
    left: 0;
    width: 60px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 999;
}

main {
    grid-area: main;
    margin-top: 70px;
    margin-left: 0;
}

.playj-footer {
    grid-area: footer;
    margin-left: 0;
}

.logo-link img {
    height: 32px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a,
.header-nav div {
    color: var(--playj-text-secondary);
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--playj-transition);
}

.header-nav a:hover,
.header-nav div:hover,
.header-nav a.active {
    color: var(--playj-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 20px;
    border-radius: var(--playj-radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--playj-transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: var(--playj-text-secondary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    color: var(--playj-text-primary);
}

.btn-register {
    background: var(--playj-gradient-primary);
    color: #fff;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.btn-search {
    width: 40px;
    height: 40px;
    background: var(--playj-bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playj-text-secondary);
    cursor: pointer;
    transition: var(--playj-transition);
}

.btn-search:hover {
    background: var(--playj-bg-card-hover);
    color: var(--playj-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--playj-text-primary);
    margin-bottom: 4px;
    transition: var(--playj-transition);
}

.hamburger:last-child {
    margin-bottom: 0;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    border-radius: var(--playj-radius-sm);
    background: var(--playj-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playj-text-secondary);
    cursor: pointer;
    transition: var(--playj-transition);
    margin-bottom: 15px;
    position: relative;
}

.sidebar-item:hover {
    background: var(--playj-bg-card-hover);
    color: var(--playj-primary);
    transform: translateX(3px);
}

.sidebar-item.active {
    background: var(--playj-primary);
    color: #fff;
}

.sidebar-item .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 10px;
    height: 10px;
    background: var(--playj-accent);
    border-radius: 50%;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1998;
    opacity: 0;
    transition: opacity var(--playj-transition);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--playj-bg-dark);
    z-index: 1999;
    transition: right var(--playj-transition);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--playj-text-primary);
    font-size: 20px;
    cursor: pointer;
}

.mobile-menu-body {
    flex: 1;
    padding: 20px;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-menu-btn {
    padding: 12px 20px;
    background: var(--playj-gradient-primary);
    color: #fff;
    border-radius: var(--playj-radius-sm);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--playj-transition);
}

.mobile-menu-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

.mobile-menu-btn-secondary {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--playj-text-secondary) !important;
}

.mobile-menu-btn-secondary:hover {
    background: rgba(255,255,255,0.1) !important;
    color: var(--playj-text-primary) !important;
    box-shadow: none !important;
    transform: none !important;
}

.mobile-menu-item {
    padding: 15px 0;
    color: var(--playj-text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--playj-transition);
}

.mobile-menu-item:hover {
    color: var(--playj-primary);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--playj-text-muted);
    font-size: 12px;
    text-align: center;
}

.playj-article {
    padding: 40px 0;
}

.playj-page-title {
    font-family: var(--playj-font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--playj-gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 30px;
}

.playj-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--playj-text-secondary);
    line-height: 1.8;
}

.playj-intro p {
    margin-bottom: 20px;
}

.playj-slogan {
    font-family: var(--playj-font-heading);
    font-style: italic;
    color: var(--playj-accent);
    font-size: 1.2rem;
    margin-top: 30px;
}

.playj-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--playj-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--playj-transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.playj-btn-primary {
    background: var(--playj-gradient-primary);
    color: #fff;
}

.playj-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255,107,53,0.4);
    color: #fff;
}

.playj-hero {
    margin-bottom: 80px;
}

.playj-hero-gradient-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/images/banner.png');
        /* image-set() overrides fallback above in modern browsers */
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
            image-set(
                url('/images/banner.avif') type('image/avif'),
                url('/images/banner.webp') type('image/webp'),
                url('/images/banner.png') type('image/png')
            );;
    border-radius: var(--playj-radius-lg);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.playj-hero-gradient-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0,0,0,0.2) 0%, transparent 50%);
}

.playj-banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.playj-banner-label {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.playj-banner-title {
    font-family: var(--playj-font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.playj-banner-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.playj-games-section {
    margin-bottom: 80px;
}

.games-section-title {
    font-family: var(--playj-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--playj-text-primary);
}

.playj-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.playj-game-card {
    position: relative;
    border-radius: var(--playj-radius);
    overflow: hidden;
    background: var(--playj-bg-card);
    cursor: pointer;
    transition: var(--playj-transition);
    aspect-ratio: 3/4;
}

.playj-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playj-game-placeholder {
    background: var(--playj-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playj-text-muted);
}

.playj-game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: var(--playj-transition);
}

.playj-game-card:hover .playj-game-overlay {
    transform: translateY(0);
}

.playj-game-title {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.playj-play-btn {
    display: inline-block;
    background: var(--playj-gradient-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--playj-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.btn-view-all-games {
    display: block;
    text-align: center;
    background: var(--playj-bg-card);
    color: var(--playj-text-primary);
    padding: 15px 30px;
    border-radius: var(--playj-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--playj-transition);
    max-width: 300px;
    margin: 0 auto;
}

.btn-view-all-games:hover {
    background: var(--playj-bg-card-hover);
    transform: translateY(-1px);
    color: var(--playj-primary);
}

.playj-content-section {
    margin-bottom: 80px;
}

.playj-content-section h2 {
    font-family: var(--playj-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--playj-text-primary);
    margin-bottom: 30px;
}

.playj-content-section h3 {
    font-family: var(--playj-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--playj-text-primary);
    margin: 40px 0 20px;
}

.playj-content-section p {
    color: var(--playj-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    overflow: hidden;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
    background: var(--playj-bg-dark);
    color: var(--playj-text-primary);
    font-weight: 600;
}

td {
    color: var(--playj-text-secondary);
}

tr:last-child td {
    border-bottom: none;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
}

li {
    color: var(--playj-text-secondary);
    margin-bottom: 8px;
}

.playj-promo-code-highlight {
    background: var(--playj-bg-card);
    border: 2px solid var(--playj-primary);
    border-radius: var(--playj-radius);
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.playj-promo-code-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.playj-promo-icon {
    width: 50px;
    height: 50px;
    background: var(--playj-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.playj-promo-code-content {
    text-align: center;
}

.playj-promo-label {
    display: block;
    color: var(--playj-text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.playj-promo-code {
    display: block;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--playj-primary);
    letter-spacing: 2px;
}

.playj-copy-code-btn {
    background: var(--playj-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--playj-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--playj-transition);
}

.playj-copy-code-btn:hover {
    background: var(--playj-primary-dark);
}

.playj-timeline {
    margin: 30px 0;
}

.playj-timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.playj-timeline-number {
    width: 40px;
    height: 40px;
    background: var(--playj-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.playj-timeline-content {
    flex: 1;
}

.playj-timeline-title {
    font-weight: 600;
    color: var(--playj-text-primary);
    margin-bottom: 8px;
}

.playj-timeline-text {
    color: var(--playj-text-secondary);
    line-height: 1.6;
}

.playj-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.playj-stat-card {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--playj-transition);
    border-left: 3px solid transparent;
}

.playj-stat-card:hover {
    transform: translateY(-4px);
    border-left: 3px solid var(--playj-primary);
}

.playj-stat-icon {
    width: 50px;
    height: 50px;
    background: var(--playj-primary-alpha-20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playj-primary);
    font-size: 20px;
    margin: 0 auto 15px;
}

.playj-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--playj-text-primary);
    margin-bottom: 5px;
}

.playj-stat-label {
    color: var(--playj-text-secondary);
    font-weight: 500;
}

.playj-info-box {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    padding: 20px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.playj-info-warning {
    border-left: 4px solid var(--playj-warning);
}

.playj-info-success {
    border-left: 4px solid var(--playj-success);
}

.playj-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.playj-info-success .playj-info-icon {
    background: rgba(34,197,94,0.2);
    color: var(--playj-success);
}

.playj-info-warning .playj-info-icon {
    background: rgba(245,158,11,0.2);
    color: var(--playj-warning);
}

.playj-info-content {
    flex: 1;
    color: var(--playj-text-secondary);
    line-height: 1.6;
}

.playj-info-content strong {
    color: var(--playj-text-primary);
}

.playj-quick-table {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    overflow: hidden;
    margin: 20px 0;
}

.playj-quick-table th {
    background: var(--playj-bg-dark);
    color: var(--playj-text-primary);
    font-weight: 600;
    padding: 15px;
}

.playj-quick-table td {
    color: var(--playj-text-secondary);
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.playj-quick-table tr:last-child td {
    border-bottom: none;
}

.playj-cashback-section {
    margin-bottom: 80px;
}

.playj-cashback-card {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius-lg);
    padding: 40px;
    margin: 30px 0;
    text-align: center;
}

.playj-cashback-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.playj-cashback-icon {
    width: 60px;
    height: 60px;
    background: var(--playj-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.playj-cashback-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--playj-primary);
}

.playj-cashback-label {
    color: var(--playj-text-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.playj-cashback-body {
    margin-bottom: 30px;
}

.playj-cashback-body p {
    color: var(--playj-text-secondary);
    margin-bottom: 15px;
}

.playj-cashback-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.playj-cashback-stat {
    text-align: center;
}

.playj-cashback-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--playj-accent);
    margin-bottom: 5px;
}

.playj-cashback-stat-label {
    color: var(--playj-text-muted);
    font-size: 14px;
}

.playj-provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.playj-provider-tag {
    background: var(--playj-bg-card);
    color: var(--playj-text-secondary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--playj-transition);
}

.playj-provider-tag:hover {
    background: var(--playj-bg-card-hover);
    color: var(--playj-primary);
}

.playj-security-section {
    margin-bottom: 80px;
}

.playj-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.playj-security-badge {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    padding: 25px;
    text-align: center;
    transition: var(--playj-transition);
}

.playj-security-badge:hover {
    background: var(--playj-bg-card-hover);
    transform: translateY(-2px);
}

.playj-security-icon {
    width: 50px;
    height: 50px;
    background: var(--playj-primary-alpha-20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--playj-primary);
    font-size: 20px;
    margin: 0 auto 15px;
}

.playj-security-badge-title {
    font-weight: 600;
    color: var(--playj-text-primary);
    margin-bottom: 10px;
}

.playj-security-badge-text {
    color: var(--playj-text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.playj-wheel-section {
    margin-bottom: 80px;
}

.playj-wheel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.playj-wheel-card {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    overflow: hidden;
    transition: var(--playj-transition);
}

.playj-wheel-card:hover {
    background: var(--playj-bg-card-hover);
    transform: translateY(-2px);
}

.playj-wheel-header {
    background: var(--playj-bg-dark);
    padding: 20px;
    text-align: center;
}

.playj-wheel-icon {
    width: 40px;
    height: 40px;
    background: var(--playj-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin: 0 auto 10px;
}

.playj-wheel-name {
    font-weight: 600;
    color: var(--playj-text-primary);
    margin-bottom: 5px;
}

.playj-wheel-cost {
    color: var(--playj-accent);
    font-weight: 500;
    font-size: 14px;
}

.playj-wheel-table {
    background: transparent;
    margin: 0;
}

.playj-wheel-table th,
.playj-wheel-table td {
    padding: 12px 20px;
}

.playj-shop-section {
    margin-bottom: 80px;
}

.playj-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.playj-shop-card {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    overflow: hidden;
    transition: var(--playj-transition);
}

.playj-shop-card:hover {
    background: var(--playj-bg-card-hover);
    transform: translateY(-2px);
}

.playj-shop-card-header {
    background: var(--playj-bg-dark);
    padding: 20px;
    text-align: center;
}

.playj-shop-icon {
    width: 40px;
    height: 40px;
    background: var(--playj-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin: 0 auto 10px;
}

.playj-shop-category {
    font-weight: 600;
    color: var(--playj-text-primary);
    margin-bottom: 5px;
}

.playj-shop-count {
    color: var(--playj-accent);
    font-weight: 500;
    font-size: 14px;
}

.playj-shop-table {
    background: transparent;
    margin: 0;
}

.playj-shop-table th,
.playj-shop-table td {
    padding: 12px 20px;
}

.playj-lang-section {
    margin-bottom: 80px;
}

.playj-lang-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.playj-lang-tag {
    background: var(--playj-bg-card);
    color: var(--playj-text-secondary);
    padding: 10px 15px;
    border-radius: var(--playj-radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--playj-transition);
}

.playj-lang-tag:hover {
    background: var(--playj-bg-card-hover);
    color: var(--playj-primary);
}

.playj-restricted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.playj-restricted-item {
    background: var(--playj-bg-card);
    border-left: 3px solid var(--playj-danger);
    padding: 15px;
    border-radius: var(--playj-radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--playj-text-secondary);
}

.playj-restricted-item i {
    color: var(--playj-danger);
}

.playj-site-screenshot-wrap {
    display: block;
    margin: 40px 0;
    border-radius: var(--playj-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.playj-site-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.playj-faq-section {
    margin-bottom: 80px;
}

.playj-faq-list {
    margin: 30px 0;
}

.playj-faq-item {
    background: var(--playj-bg-card);
    border-radius: var(--playj-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--playj-transition);
}

.playj-faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--playj-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--playj-transition);
}

.playj-faq-question:hover {
    background: var(--playj-bg-card-hover);
}

.playj-faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--playj-primary);
    transition: var(--playj-transition);
}

.playj-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--playj-transition);
}

.playj-faq-answer > div {
    padding: 0 20px 20px;
    color: var(--playj-text-secondary);
    line-height: 1.6;
}

.playj-faq-item.open .playj-faq-question::after {
    transform: rotate(45deg);
}

.playj-faq-item.open .playj-faq-answer {
    max-height: 200px;
}

.playj-footer {
    background: var(--playj-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 60px 0 20px;
}

.playj-footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.playj-footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col strong {
    color: var(--playj-text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li div {
    color: var(--playj-text-secondary);
    font-size: 14px;
    transition: var(--playj-transition);
    cursor: pointer;
}

.footer-col ul li a:hover,
.footer-col ul li div:hover {
    color: var(--playj-primary);
}

.playj-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.playj-footer-badges {
    display: flex;
    gap: 15px;
    align-items: center;
}

.playj-age-badge,
.playj-ssl-badge {
    background: var(--playj-bg-card);
    color: var(--playj-text-secondary);
    padding: 6px 12px;
    border-radius: var(--playj-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.playj-ssl-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.playj-footer-copyright {
    color: var(--playj-text-muted);
    font-size: 14px;
}

.playj-footer-disclaimer {
    background: var(--playj-bg-card);
    padding: 20px;
    border-radius: var(--playj-radius);
    margin-bottom: 20px;
    color: var(--playj-text-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

div[data-link] {
    cursor: pointer;
}

.playj-section-title {
    font-family: var(--playj-font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--playj-text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.playj-breadcrumb {
    margin-bottom: 30px;
}

.playj-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.playj-breadcrumb-item {
    display: flex;
    align-items: center;
}

.playj-breadcrumb-item a {
    color: var(--playj-text-secondary);
    font-size: 14px;
    transition: var(--playj-transition);
}

.playj-breadcrumb-item a:hover {
    color: var(--playj-primary);
}

.playj-breadcrumb-item + .playj-breadcrumb-item::before {
    content: '›';
    color: var(--playj-text-muted);
    margin: 0 8px;
}

.playj-breadcrumb-current {
    color: var(--playj-text-primary);
    font-weight: 500;
    font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes fd-fade-up {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fd-fade-in {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes fd-scale-in {
        from {
            opacity: 0;
            transform: scale(0.96);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    .playj-page-title {
        animation: fd-fade-up 0.7s ease-out both;
    }

    .playj-intro {
        animation: fd-fade-up 0.7s ease-out 0.15s both;
    }

    .playj-hero {
        animation: fd-fade-in 0.7s ease-out 0.25s both;
    }

    .playj-games-section {
        animation: fd-fade-up 0.7s ease-out 0.35s both;
    }

    .playj-game-card:nth-child(1) {
        animation: fd-scale-in 0.4s ease-out 0s both;
    }

    .playj-game-card:nth-child(2) {
        animation: fd-scale-in 0.4s ease-out 0.05s both;
    }

    .playj-game-card:nth-child(3) {
        animation: fd-scale-in 0.4s ease-out 0.1s both;
    }

    .playj-game-card:nth-child(4) {
        animation: fd-scale-in 0.4s ease-out 0.15s both;
    }

    .playj-game-card:nth-child(5) {
        animation: fd-scale-in 0.4s ease-out 0.2s both;
    }

    .playj-game-card:nth-child(6) {
        animation: fd-scale-in 0.4s ease-out 0.25s both;
    }

    .playj-game-card:nth-child(7) {
        animation: fd-scale-in 0.4s ease-out 0.3s both;
    }

    .playj-game-card:nth-child(8) {
        animation: fd-scale-in 0.4s ease-out 0.35s both;
    }

    .playj-game-card:hover {
        transform: scale(1.04);
        box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px var(--playj-accent);
    }

    .playj-stat-card:hover {
        transform: translateY(-4px);
        border-left: 3px solid var(--playj-primary);
    }
}

#playj-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--playj-gradient-primary);
    z-index: 10000;
    transition: width 0.1s ease;
}

#playj-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--playj-gradient-primary);
    padding: 15px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.playj-sticky-bonus-text {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.playj-sticky-bar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.playj-sticky-bar-btn {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--playj-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--playj-transition);
}

.playj-sticky-bar-btn:hover {
    background: rgba(255,255,255,0.3);
}

.playj-sticky-bar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

#playj-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--playj-success);
    color: #fff;
    padding: 15px 20px;
    border-radius: var(--playj-radius);
    font-weight: 600;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform var(--playj-transition);
}

#playj-toast.playj-toast-show {
    transform: translateX(0);
}

.playj-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.playj-reveal.playj-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1320px) {
    .playj-container {
        max-width: 95%;
    }

    .playj-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .playj-banner-title {
        font-size: 2.5rem;
    }

    .playj-page-title {
        font-size: 3rem;
    }
}

@media (max-width: 1040px) {
    body {
        grid-template-columns: 1fr;
        grid-template-areas: "header" "main" "footer";
    }

    .sidebar {
        display: none;
    }

    main {
        margin-left: 0;
    }

    .playj-footer {
        margin-left: 0;
    }

    .playj-security-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .playj-wheel-grid,
    .playj-shop-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .playj-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 790px) {
    .btn-login {
        display: none;
    }

    .btn-search {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .playj-page-title {
        font-size: 2.5rem;
    }

    .playj-banner-title {
        font-size: 2rem;
    }

    .playj-hero-gradient-banner {
        padding: 40px 20px;
    }

    .playj-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .playj-footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .playj-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .playj-container {
        padding: 0 15px;
    }

    .playj-article {
        padding: 20px 0;
    }

    .playj-content-section {
        margin-bottom: 50px;
    }

    .playj-intro {
        margin-bottom: 40px;
    }

    .playj-games-section {
        margin-bottom: 50px;
    }

    .playj-hero {
        margin-bottom: 50px;
    }

    .playj-stats-grid {
        grid-template-columns: 1fr;
    }

    .playj-security-grid {
        grid-template-columns: 1fr;
    }

    .playj-wheel-grid,
    .playj-shop-grid {
        grid-template-columns: 1fr;
    }

    .playj-restricted-grid {
        grid-template-columns: 1fr;
    }

    .playj-cashback-highlight {
        flex-direction: column;
        gap: 10px;
    }

    .playj-cashback-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .playj-promo-code-badge {
        flex-direction: column;
        gap: 15px;
    }

    .playj-timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .playj-sticky-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .playj-sticky-bonus-text {
        font-size: 14px;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 10px;
    }

    .mobile-menu {
        width: 280px;
    }
}
/* ── HERO BANNER SIZING (post-patch) ─────────────── */
.playj-hero-gradient-banner {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
/* ── BREADCRUMB LIST MARKERS (post-patch) ────────── */
ol.playj-breadcrumb-list { list-style-type: none !important; padding-left: 0 !important; margin: 0 !important; }

/* ── OVERFLOW FIX (post-patch) ───────────────────── */
html { overflow-x: clip !important; }
body { display: block !important; overflow-x: clip !important; width: 100%; }
/* H1 size cap — 20% smaller than default */
[class*="-page-title"], main h1:first-child { font-size: clamp(1.45rem, 3.2vw, 2.1rem) !important; }
/* Kill any grid-area LLM put on structural elements */
.playj-header, main, .playj-footer, footer { grid-area: unset !important; }
/* Header: always flex, single row */
.playj-header { display: flex !important; align-items: center !important; justify-content: space-between !important; height: 80px !important; padding: 0 20px !important; }
/* Toast: hidden by default via opacity (translateX alone not enough) */
#playj-toast { opacity: 0 !important; }
.playj-toast-show { opacity: 1 !important; transform: translateX(0) !important; }

/* ── MOBILE GRID FIX (post-patch) ────────────────── */
@media (max-width: 790px) {
    [class*="-games-grid"] { grid-template-columns: repeat(2, 1fr) !important; }
    [class*="-stats-grid"] { grid-template-columns: repeat(2, 1fr) !important; }
    [class*="-provider-grid"] { grid-template-columns: repeat(3, 1fr) !important; }
    [class*="-footer-cols"] { grid-template-columns: 1fr 1fr !important; }
    [class*="-container"] { max-width: 100% !important; padding: 0 15px !important; box-sizing: border-box !important; }
    main, [class*="-article"] { margin: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
    main > div:first-child,
    main > [class*="-container"]:first-child { padding-top: 80px !important; }
    main { overflow: visible !important; }
    body { overflow-x: clip !important; }
}

/* ── GAMES GRID MOBILE FIX (post-patch) ─────────── */
@media (max-width: 790px) {
    .playj-games-grid, [class*="-games-grid"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .playj-game-card, [class*="-game-card"] {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .playj-games-section .playj-container,
    [class*="-games-section"] [class*="-container"] {
        padding: 0 10px !important;
        overflow: hidden !important;
    }
}

/* ── LAYOUT (post-patch, canonical flow-based) ───── */
body { display: block; min-height: 100vh; }
.playj-header { position: sticky; top: 0; z-index: 1000; width: 100%; }
.sidebar { display: none !important; }
main { margin-left: 0; min-width: 0; max-width: 100%; }
.playj-footer { margin-left: 0; }
@media (max-width: 1040px) {
    .sidebar { width: 0px !important; }
    main { margin-left: 0px !important; }
    .playj-footer { margin-left: 0px !important; }
}
@media (max-width: 790px) {
    .sidebar { display: none !important; }
    main { margin-left: 0 !important; overflow: visible !important; width: 100% !important; max-width: 100% !important; }
    .playj-footer { margin-left: 0 !important; }
    [class*="-container"] { max-width: 100% !important; padding: 0 15px !important; box-sizing: border-box !important; }
    [class*="-games-grid"] { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
    [class*="-stats-grid"] { grid-template-columns: repeat(2, 1fr) !important; }
    [class*="-provider-grid"] { grid-template-columns: repeat(3, 1fr) !important; }
    [class*="-footer-cols"] { grid-template-columns: 1fr 1fr !important; }
}

/* ── COMPLIANCE BLOCKS (post-patch) ─────────────────── */
/* Container styling only — typography (h2 gradient, h3 color, p opacity) is
   inherited from .playj-content-section which is ALSO applied to this section.
   Do not override font-size/color here or it will break visual consistency
   with other content sections. */
.playj-responsible-gaming, section.responsible-gaming {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border-left: 3px solid var(--playj-primary, rgba(255,255,255,0.2));
    border-radius: 6px;
}
.footer-license-info, .license-info {
    font-size: 0.78rem;
    color: var(--playj-text-muted, rgba(255,255,255,0.6));
    line-height: 1.6;
    padding: 0.5rem 0 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-license-info span, .license-info span {
    display: inline-block;
}
a.dmca-badge {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}
a.dmca-badge:hover { opacity: 1; }
a.dmca-badge img {
    height: 28px;
    width: auto;
    display: block;
}
@media (max-width: 600px) {
    a.dmca-badge img { height: 24px; }
    .footer-license-info, .license-info { font-size: 0.72rem; }
}

/* ===== brand-* content styling (sub-pages: FAQ, AML, KYC, RG) — mirrors playj-* theme ===== */
.brand-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.brand-article { padding: 40px 0; }
.brand-page-title {
    font-family: var(--playj-font-heading);
    font-size: 3.5rem; font-weight: 800;
    background: var(--playj-gradient-primary);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-align: center; margin-bottom: 30px;
}
.brand-intro { max-width: 800px; margin: 0 auto 60px; text-align: center; font-size: 1.1rem; color: var(--playj-text-secondary); line-height: 1.8; }
.brand-intro p { margin-bottom: 20px; }
.brand-breadcrumb { margin-bottom: 24px; font-size: 0.9rem; }
.brand-breadcrumb-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; align-items: center; }
.brand-breadcrumb-item { color: var(--playj-text-muted); display: inline-flex; align-items: center; gap: 8px; }
.brand-breadcrumb-item a { color: var(--playj-text-secondary); text-decoration: none; }
.brand-breadcrumb-item a:hover { color: var(--playj-primary); }
.brand-breadcrumb-item:not(:last-child)::after { content: '/'; color: var(--playj-text-muted); }
.brand-breadcrumb-current { color: var(--playj-text-primary); }
.brand-content-section { margin-bottom: 80px; }
.brand-content-section h2 { font-family: var(--playj-font-heading); font-size: 2.2rem; font-weight: 700; color: var(--playj-text-primary); margin-bottom: 30px; }
.brand-content-section h3 { font-family: var(--playj-font-heading); font-size: 1.5rem; font-weight: 600; color: var(--playj-text-primary); margin: 40px 0 20px; }
.brand-content-section p { color: var(--playj-text-secondary); margin-bottom: 20px; line-height: 1.8; }
.brand-content-section ul, .brand-content-section ol { color: var(--playj-text-secondary); line-height: 1.8; margin: 0 0 20px; padding-left: 24px; }
.brand-content-section li { margin-bottom: 8px; }
.brand-faq-list { margin: 30px 0; }
.brand-faq-item { background: var(--playj-bg-card); border-radius: var(--playj-radius); margin-bottom: 15px; overflow: hidden; transition: var(--playj-transition); }
.brand-faq-question { padding: 20px; cursor: pointer; font-weight: 600; color: var(--playj-text-primary); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: var(--playj-transition); }
.brand-faq-question::after { content: '+'; font-size: 20px; color: var(--playj-primary); transition: var(--playj-transition); flex-shrink: 0; }
.brand-faq-item.open .brand-faq-question::after { transform: rotate(45deg); }
.brand-faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--playj-transition); }
.brand-faq-answer > div { padding: 0 20px 20px; color: var(--playj-text-secondary); line-height: 1.6; }
.brand-faq-item.open .brand-faq-answer { max-height: 600px; }
@media (max-width: 768px) {
    .brand-page-title { font-size: 2.5rem; }
    .brand-content-section h2 { font-size: 1.8rem; }
}

/* ── HEADER CTA MOBILE FIX (2026-10-17): кнопка не наезжает на логотип ── */
@media (max-width: 790px) {
    .playj-header { gap: 12px; }
    .playj-header .logo-link { flex: 0 1 auto; min-width: 0; }
    .playj-header .logo-link img { width: auto; height: auto; max-width: 100%; max-height: 28px; }
    .header-actions { gap: 12px; flex-shrink: 0; }
    .header-actions .btn-register { padding: 8px 14px; font-size: 13px; line-height: 1.2; white-space: nowrap; }
}
@media (max-width: 380px) {
    .playj-header .logo-link img { max-height: 24px; }
    .header-actions .btn-register { padding: 7px 10px; font-size: 12px; }
}
