/* ======================================================
   AFF Casino - Modern Design System (Refactored)
   ====================================================== */

/* ========== DESIGN TOKENS ========== */
:root {
    /* === Color System === */
    --color-primary: var(--color-main, #6366f1);
    --color-primary-dark: var(--color-main-hover, #4f46e5);
    --color-secondary: var(--color-link, #8b5cf6);
    --color-secondary-light: color-mix(in srgb, var(--color-link) 70%, white);

    /* Neutral Colors */
    --color-bg: var(--color-bg, #18181b);
    --color-surface: var(--color-surface, #27272a);
    --color-surface-alt: color-mix(in srgb, var(--color-surface) 90%, var(--color-bg));
    --color-text: var(--color-text, #fafafa);
    --color-text-muted: var(--color-text-muted, #a1a1aa);
    --color-border: var(--color-border, #3f3f46);

    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Hero Section Colors */
    --hero-primary: var(--color-main, #6366f1);
    --hero-primary-light: var(--color-link, #8b5cf6);
    --hero-secondary: color-mix(in srgb, var(--color-link) 80%, white);
    --hero-overlay-top: rgba(0,0,0,0.6);
    --hero-overlay-bottom: color-mix(in srgb, var(--color-bg) 95%, transparent);
    --hero-text: var(--color-text);
    --hero-text-muted: var(--color-text-muted);
    --hero-shadow-primary: 0 0 24px color-mix(in srgb, var(--color-main) 45%, transparent);
    --hero-shadow-secondary: 0 0 24px color-mix(in srgb, var(--color-link) 35%, transparent);

    /* Spacing Scale */
    --space-xxs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2.5rem;
    --space-xl: 5rem;

    /* Typography */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    --font-heading: "Sora", "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;

    /* Heading Scale */
    --h1: 2.8rem;
    --h2: 2rem;
    --h3: 1.5rem;
    --h4: 1.25rem;

    /* Layout */
    --site-max-width: 82.5rem;
    --main-content-width: 65rem;
    --sidebar-width: 16.25rem;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: var(--card-shadow, 0 8px 32px rgba(0, 0, 0, 0.3));
    --shadow-glow: 0 0 20px color-mix(in srgb, var(--color-main) 30%, transparent);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
}

.site-header__logo img,
.site-footer__logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

#page {
    /*overflow-x: hidden !important;*/
}

/* ========== BASE STYLES ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin: 0 0 var(--space-sm) 0;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

.lead {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* ========== LINKS ========== */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-normal), transform var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
    transform: translateY(-1px);
}

/* ========== LAYOUT UTILITIES ========== */
.container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.section--sm {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.section--lg {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

/* ========== CARD COMPONENT ========== */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.card--alt {
    background: var(--color-surface-alt);
}

/* ========== BUTTON COMPONENT ========== */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.625rem 1.125rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    gap: var(--space-xs);
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.button:hover::before {
    left: 100%;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Button Variants */
.button--primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.button--primary:hover {
    background: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.button--secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.button--secondary:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.button--accent {
    background: var(--color-secondary);
    color: white;
}

.button--accent:hover {
    background: var(--color-secondary-light);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--color-secondary) 30%, transparent);
}

.button--cta {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}

.button--cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

/* Button Sizes */
.button--sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.button--lg {
    padding: 0.875rem 1.5rem;
    font-size: var(--font-size-lg);
}

/* ========== HEADER STYLES ========== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: color-mix(in srgb, var(--color-surface) 66%, transparent);
    backdrop-filter: blur(8px);
    transition: all var(--transition-normal);
    padding: var(--space-sm) 0;
}

.site-header.sticky {
    position: fixed;
    background: color-mix(in srgb, var(--color-bg) 95%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: var(--space-xs) 0;
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.site-header__logo img {
    max-height: 3rem;
    transition: transform var(--transition-normal);
}

.site-header__logo a:hover img {
    transform: scale(1.05);
}

/* Navigation */
.main-navigation {
    flex-grow: 1;
    position: relative;
}

.main-navigation ul.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-md);
}

.main-navigation ul.nav-menu li a {
    color: var(--color-text);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
}

.main-navigation ul.nav-menu li a:hover,
.main-navigation ul.nav-menu li.focus > a,
.main-navigation ul.nav-menu li.current_page_item a {
    color: var(--color-primary);
    text-shadow: 0 0 8px var(--color-primary);
}

/* Dropdown */
.main-navigation ul.nav-menu li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    min-width: 12.5rem;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.main-navigation ul.nav-menu li.focus > ul.sub-menu,
.main-navigation ul.nav-menu li:hover > ul.sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.main-navigation ul.nav-menu li ul.sub-menu li a {
    display: block;
    padding: var(--space-xs) var(--space-md);
    color: var(--color-text);
    text-transform: none;
}

.main-navigation ul.nav-menu li ul.sub-menu li a:hover {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

/* Header Actions */
.site-header__actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.site-header__actions--desktop { display: flex; }
.site-header__actions--mobile  { display: none; }

/* Menu Toggle */
.menu-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 36px;
    height: 28px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1100;
}

.menu-icon {
    display: block;
    position: relative;
    width: 33px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.35s ease, top 0.35s ease, opacity 0.35s ease;
}

.menu-toggle .menu-icon::before { top: -9px; }
.menu-toggle .menu-icon::after  { top: 9px; }

.site-header.toggled .menu-icon { background: transparent; }
.site-header.toggled .menu-icon::before { top: 50%; transform: translateY(-50%) rotate(45deg); }
.site-header.toggled .menu-icon::after  { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ========== HERO SECTION ========== */
.aff-hero {
    position: relative;
    width: 100%;
    height: 43.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-surface);
}

.aff-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
}

.aff-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            var(--hero-overlay-top) 0%,
            var(--hero-overlay-bottom) 100%
    );
}

.aff-hero__content {
    position: relative;
    z-index: 2;
    max-width: 50rem;
    padding: var(--space-md);
    color: var(--hero-text);
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.aff-hero__content h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    color: var(--hero-text);
    text-shadow: var(--hero-shadow-primary), var(--hero-shadow-secondary);
}

.aff-hero__content p {
    color: var(--hero-text-muted);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

/* Hero buttons */
.aff-hero__content .button {
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: var(--hero-shadow-primary);
}

.aff-hero__content .button--primary {
    background: linear-gradient(135deg, var(--hero-primary) 0%, var(--hero-primary-light) 100%);
    color: var(--color-bg);
}

.aff-hero__content .button--primary:hover {
    background: linear-gradient(135deg, var(--hero-primary-light) 0%, var(--hero-primary) 100%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: var(--hero-shadow-primary), 0 6px 18px rgba(0,0,0,0.4);
}

.aff-hero__content .button--secondary {
    background: var(--hero-secondary);
    color: var(--hero-text);
    box-shadow: var(--hero-shadow-secondary);
}

.aff-hero__content .button--secondary:hover {
    background: color-mix(in srgb, var(--hero-secondary) 80%, black);
    transform: translateY(-2px) scale(1.03);
    box-shadow: var(--hero-shadow-secondary), 0 6px 18px rgba(0,0,0,0.4);
}

/* ========== MAIN LAYOUT ========== */
.aff-main-wrapper {
    display: flex;
    gap: var(--space-md);
    margin: var(--space-lg) auto;
    max-width: var(--site-max-width);
    padding: 0 var(--space-md);
}

.aff-main-content {
    flex: 0 0 1;
    width: var(--main-content-width);
    box-sizing: border-box;
    background: transparent;
}

.aff-sidebar {
    flex: 1 0 var(--sidebar-width);
    width: var(--sidebar-width);
    box-sizing: border-box;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    height: fit-content;
    background: transparent;
}

/* No sidebar case */
.aff-main-wrapper:has(.aff-main-content):not(:has(.aff-sidebar)) .aff-main-content {
    flex: 1 1 100%;
    width: 100%;
}

.aff-main-wrapper.no-sidebar .aff-main-content {
    flex: 1 1 auto;
    width: 100%;
}

/* Sections inside main content */
.section-card {
    background: var(--color-surface-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-md);
    border: 1px solid var(--color-border);
}

/* ========== BONUSES SECTION ========== */
.aff-bonuses {
    margin: var(--space-xl) 0;
}

.aff-bonuses h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.aff-bonuses__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: var(--space-md);
}

.aff-bonus-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: center;
    transition: all var(--transition-normal);
}

.aff-bonus-card img {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.aff-bonus-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.bonus-value {
    font-weight: 700;
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.bonus-expiry {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

/* Special layout for 3 items */
.aff-bonuses__grid > .aff-bonus-card:first-child:nth-last-child(3) {
    grid-row: span 2;
}

/* ========== PROVIDERS SECTION ========== */
.aff-providers {
    background: var(--color-surface-alt);
    padding: var(--space-lg) 0;
    margin: var(--space-xl) 0;
}

.aff-providers__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(1rem, 1fr));
    gap: var(--space-md);
    align-items: center;
    justify-items: center;
}

.aff-provider {
    text-align: center;
}

.aff-provider img {
    max-height: 3.125rem;
    max-width: 7.5rem;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.aff-provider img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

.aff-provider span {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ========== MORE GAMES SECTION ========== */
.aff-moregames {
    margin: var(--space-xl) 0;
    margin-top: 0 !important;
}

.aff-moregames .aff-section-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.8rem;
    color: var(--color-primary);
}

.aff-moregames__grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .aff-moregames__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .aff-moregames__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Game Card */
.aff-moregame-card {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.aff-moregame-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Image wrapper */
.aff-moregame-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    height: 294px;
    overflow: hidden;
}

.aff-moregame-card__image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    border-radius: var(--radius-lg);
    z-index: 1;
}

.aff-moregame-card:hover .aff-moregame-card__image-wrapper::after {
    background: rgba(0, 0, 0, 0.4);
}

.aff-moregame-card__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay button */
.aff-moregame-card__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    background: var(--color-primary);
    color: var(--color-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
    /* additional fix   */
    width: 100%;
    max-width: 180px;
}

.aff-moregame-card:hover .aff-moregame-card__button {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Title below image */
.aff-moregame-card__title {
    margin: var(--space-sm);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

/* ========== FAQ SECTION ========== */
.aff-faq {
    margin: var(--space-xl) auto;
    max-width: 56.25rem;
}

.aff-faq h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
}

.aff-faq-item {
    margin-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.aff-faq-question {
    width: 100%;
    text-align: left;
    font-size: var(--font-size-lg);
    padding: var(--space-sm);
    border: none;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-normal);
}

.aff-faq-question:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.aff-faq-question[aria-expanded="true"] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
}

.aff-faq-answer {
    padding: var(--space-sm);
    background: var(--color-surface-alt);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    color: var(--color-text-muted);
    display: none;
}

.aff-faq-question[aria-expanded="true"] + .aff-faq-answer {
    display: block;
}

/*forgotten arrows*/
/* Arrow icon using CSS */
.aff-faq-question::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.aff-faq-question:hover:after {
    border-color: var(--color-primary);
}

.aff-faq-question[aria-expanded="true"]::after {
    transform: rotate(-135deg);
}
/* ========== DEPOSITS TABLE ========== */
.aff-deposits {
    margin: var(--space-lg) 0;
}

.aff-deposits h2 {
    margin-bottom: var(--space-md);
    font-size: var(--h3);
    color: var(--color-primary);
}

.aff-deposits-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.aff-deposits-table th,
.aff-deposits-table td {
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    color: var(--color-text);
}

.aff-deposits-table th {
    background: var(--color-surface-alt);
    font-weight: 600;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
}

/* ========== PROS & CONS ========== */
.aff-pros-cons {
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.aff-pros-cons__grid {
    display: flex;
    gap: var(--space-md);
}

.aff-pros, .aff-cons {
    flex: 1;
}

.aff-pros h3 { color: var(--color-success); }
.aff-cons h3 { color: var(--color-error); }

.aff-rating {
    margin-top: var(--space-md);
    font-size: var(--font-size-lg);
    color: var(--color-text);
}

/* ========== CTA SECTION ========== */
.aff-cta {
    background: var(--color-primary);
    color: var(--color-bg);
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    /*max-width: 100%;*/
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.aff-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-dark));
    opacity: 0.9;
    z-index: 1;
}

.aff-cta > * {
    position: relative;
    z-index: 2;
}

.aff-cta__title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.aff-cta__text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.aff-cta .button--cta {
    background: var(--color-bg);
    color: var(--color-primary);
    padding: 1.225rem 1.525rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.15rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-glow);
}

.aff-cta .button--cta:hover {
    background: var(--color-surface);
    transform: translateY(-2px) scale(1.05);
}

/* ========== FOOTER STYLES ========== */
.site-footer {
    background: var(--color-bg);
    color: var(--color-text);
    padding: var(--space-xl) var(--space-md);
    border-top: 2px solid var(--color-primary);
}

.site-footer a {
    color: var(--color-primary);
    transition: color var(--transition-normal);
}

.site-footer a:hover {
    color: var(--color-secondary);
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
}

.site-footer__col .widget-title {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__col ul li {
    margin-bottom: var(--space-xs);
}

.site-footer__col ul li a {
    font-weight: 500;
}

.site-footer__logo img {
    max-height: 3.125rem;
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-normal);
}

.site-footer__logo a:hover img {
    transform: scale(1.05);
}

.site-footer__description {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.site-footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 82.5rem) {
    .aff-main-wrapper { flex-direction: column; }
    .aff-sidebar {
        position: relative;
        top: auto;
        flex: 1;
        width: 100%;
    }
    .aff-main-content { width: 100%; flex: 1; }
    .aff-hero { height: 33.75rem; }
}

@media (max-width: 62rem) {
    .menu-toggle { display: block; }

    .main-navigation ul.nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 16.25rem;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        padding: 5rem var(--space-md) var(--space-md);
        gap: var(--space-sm);
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
        z-index: 999;
        visibility: hidden;
        opacity: 0;
    }

    .main-navigation ul.nav-menu::before {
        content: "MENU";
        display: block;
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--color-primary);
        margin-top: -52px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 1px solid var(--color-primary);
        opacity: 0.5;
    }

    .site-header.toggled ul.nav-menu { visibility: visible; opacity: 1; right: 0; }

    .site-header__actions--desktop { display: none; }
    .site-header__actions--mobile {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        margin-top: var(--space-md);
        width: 100%;
    }

    .aff-bonuses__grid { grid-template-columns: 1fr; }
    .aff-bonuses__grid > .aff-bonus-card:first-child:nth-last-child(3) { grid-row: auto; }
}

@media (max-width: 48rem) {
    :root {
        --h1: 1.8rem;
        --h2: 1.5rem;
        --h3: 1.25rem;
    }

    .aff-hero { height: 26.25rem; }
    .aff-hero__content h1 { font-size: clamp(1.375rem, 6vw, 2.125rem); }
    .container { padding-left: var(--space-sm); padding-right: var(--space-sm); }

    .site-footer__columns { grid-template-columns: 1fr; gap: var(--space-md); }
    .site-footer__bottom { flex-direction: column; text-align: center; }
    .aff-pros-cons__grid { flex-direction: column; }
}

@media (max-width: 30rem) {
    .aff-top-games__grid,
    .aff-moregames__grid { grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr)); }
    .aff-providers__container { grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.ml-0 { margin-left: 0; }
.mr-0 { margin-right: 0; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.pl-0 { padding-left: 0; }
.pr-0 { padding-right: 0; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn { animation: fadeIn 0.6s ease-out; }
.animate-slideIn { animation: slideIn 0.4s ease-out; }
.animate-pulse { animation: pulse 2s infinite; }

/* ========== HOMEPAGE HERO SECTION ========== */
.aff-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-text);
    padding: 0 5%;
}

.aff-hero__content-container {
    position: relative;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.aff-hero__underlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.aff-hero__underlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
    /* adjust position as you need */
    object-position: 75% 0;
}

.aff-hero__bg {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 75%;
    object-fit: cover;
    filter: brightness(0.75);
    animation: pulseZoom 5s ease-in-out infinite alternate;
    transform-origin: center center;
    z-index: 3;
}

.aff-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    will-change: transform;
}

.aff-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-bg) 60%, transparent), color-mix(in srgb, var(--color-surface) 80%, transparent));
    z-index: 1;
}

.aff-hero__content {
    z-index: 4;
    text-align: left;
    width: 100%;
    max-width: var(--site-max-width);
}

/* Title - Neon Effect */
.aff-hero__title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 50%, transparent), 0 0 20px color-mix(in srgb, var(--color-secondary) 40%, transparent);
    animation: neonPulse 2.5s ease-in-out infinite alternate;
}

/* Subtitle - Glow Effect */
.aff-hero__subtitle {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    color: var(--color-success) !important;
    line-height: 1.4;
    text-align: left;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 8px color-mix(in srgb, var(--color-success) 60%, transparent), 0 0 16px color-mix(in srgb, var(--color-primary) 40%, transparent);
    animation: glowSubtitle 3s ease-in-out infinite alternate;
}

/* Hero Actions */
.aff-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.aff-hero__actions a {
    padding: 1rem 2.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    position: relative;
    transition: all var(--transition-normal);
    box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 30%, transparent), 0 6px 18px rgba(0,0,0,0.4);
}

/* Animations */
@keyframes pulseZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes neonPulse {
    0% { text-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 50%, transparent), 0 0 20px color-mix(in srgb, var(--color-secondary) 40%, transparent); }
    100% { text-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 70%, transparent), 0 0 40px color-mix(in srgb, var(--color-secondary) 50%, transparent); }
}

@keyframes glowSubtitle {
    0% { text-shadow: 0 0 8px color-mix(in srgb, var(--color-success) 60%, transparent), 0 0 16px color-mix(in srgb, var(--color-primary) 40%, transparent); }
    100% { text-shadow: 0 0 16px color-mix(in srgb, var(--color-success) 80%, transparent), 0 0 32px color-mix(in srgb, var(--color-primary) 50%, transparent); }
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .aff-hero__title { font-size: 3rem; }
    .aff-hero__subtitle { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .aff-hero__title { font-size: 2rem; }
    .aff-hero__subtitle { font-size: 1.5rem; }
}

/* ========== HEADING STYLES ========== */
.aff-winners-widget > h2,
.aff-faq > h2 {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: left;
    letter-spacing: 2px;
    position: relative;
    margin-bottom: var(--space-lg);
    display: inline-block;
    padding-bottom: var(--space-sm);
}

.aff-winners-widget > h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -13px;
    transform: translateX(-50%);
    width: 180px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    animation: underlinePulse 2.5s ease-in-out infinite alternate;
}

@keyframes underlinePulse {
    0%   { width: 50px; opacity: 0.6; }
    100% { width: 120px; opacity: 1; }
}

.aff-moregames h2,
.aff-top-games h2,
.aff-faq > h2 {
    font-size: 2rem !important;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center !important;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.aff-moregames > h2::before,
.aff-top-games > h2::before,
.aff-faq > h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(
            120deg,
            transparent 0%,
            var(--color-primary) 15%,
            var(--color-secondary) 20%,
            var(--color-success) 25%,
            transparent 100%
    );
    animation: scanline 4s linear infinite;
}

.aff-moregames > h2::before {
    background: linear-gradient(
            120deg,
            transparent 0%,
            var(--color-success) 45%,
            var(--color-secondary) 55%,
            var(--color-primary) 65%,
            transparent 100%
    );
    animation: scanline-reverse 4s linear infinite;
}

@keyframes scanline {
    0%   { left: -100%; }
    100% { left: 100%; }
}

@keyframes scanline-reverse {
    0%   { left: 100%; }
    100% { left: -100%; }
}

.aff-structured-block > h2,
.aff-bonuses > h2 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text);
    text-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 50%, transparent), 0 0 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-xs);
    letter-spacing: 1px;
}

.aff-structured-block > h2::after,
.aff-bonuses > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: cyanPulse 2.5s linear infinite;
}

@keyframes cyanPulse {
    0% { transform: translateX(-100%); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* ========== LATEST WINNERS WIDGET ========== */
.aff-winners-widget {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 90%, transparent), color-mix(in srgb, var(--color-surface-alt) 90%, transparent));
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.aff-winners-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aff-winners-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    transition: background var(--transition-normal), border-radius var(--transition-normal);
}

.aff-winners-list li:last-child {
    border-bottom: none;
}

.aff-winners-list li:hover {
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
    border-radius: var(--radius-md);
}

.winner-thumb {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.aff-winners-list li:hover .winner-thumb {
    transform: scale(1.08);
}

.winner-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
    position: relative;
}

.winner-info .front,
.winner-info .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.winner-info .front {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 1;
    transform: translateY(0);
}

.winner-info .back {
    opacity: 0;
    transform: translateY(6px);
}

.winner-name {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.winner-amount {
    font-weight: 800;
    font-size: 1rem;
    color: var(--color-success);
    text-shadow: 0 0 6px color-mix(in srgb, var(--color-success) 60%, transparent);
    animation: pulseAmount 3s ease-in-out infinite alternate;
}

.winner-game {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    word-break: break-word;
    margin-bottom: 4px;
}

.winner-cta {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

@keyframes pulseAmount {
    0% { text-shadow: 0 0 6px color-mix(in srgb, var(--color-success) 60%, transparent); }
    100% { text-shadow: 0 0 14px color-mix(in srgb, var(--color-success) 80%, transparent); }
}

.aff-winners-list li a.winner-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.aff-winners-list li a.winner-link .winner-info {
    flex: 1;
}

/* ========== ENHANCED BONUSES SECTION ========== */
.aff-bonuses {
    margin: var(--space-xl) 0;
    padding: 0 var(--space-md);
}

.aff-bonuses__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    max-width: var(--site-max-width);
    margin: 0 auto;
    grid-auto-rows: minmax(250px, auto);
}

.aff-bonus-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.aff-bonuses__grid:not(.layout-2):not(.layout-4) .aff-bonus-card:nth-child(1) {
    grid-row: span 2;
}

.aff-bonus-card img {
    position: absolute;
    top: 0;
    right: 0;
    /*width: 40%;*/
    height: 100%;
    object-fit: cover;
    object-position: 70% 30%;
    transition: transform var(--transition-normal);
    z-index: 2;
    /*transform: translateX(-25%);*/
    z-index: 0;
}

.aff-bonus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    /*original overlay*/
    /*background: linear-gradient(45deg, color-mix(in srgb, var(--color-primary) 60%, transparent), color-mix(in srgb, var(--color-secondary) 60%, transparent)), linear-gradient(90deg, var(--color-surface), var(--color-surface-alt));*/
    /*Option 1: Sophisticated Diagonal Overlay*/
    background: linear-gradient(
            135deg,
            color-mix(in srgb, var(--color-primary) 70%, transparent) 0%,
            color-mix(in srgb, var(--color-secondary) 50%, transparent) 30%,
            color-mix(in srgb, var(--color-surface) 40%, transparent) 70%,
            color-mix(in srgb, var(--color-surface-alt) 60%, transparent) 100%
    );
    /*Option 2: Dark-to-Light Vignette*/
    background:
            radial-gradient(
                    ellipse at center,
                    transparent 0%,
                    color-mix(in srgb, var(--color-surface) 80%, transparent) 100%
            ),
            linear-gradient(
                    45deg,
                    color-mix(in srgb, var(--color-primary) 40%, transparent) 0%,
                    color-mix(in srgb, var(--color-secondary) 30%, transparent) 100%
            );
    /*Option 3: Modern Gradient Mesh*/
    background:
            radial-gradient(
                    circle at 20% 80%,
                    color-mix(in srgb, var(--color-primary) 50%, transparent) 0%,
                    transparent 50%
            ),
            radial-gradient(
                    circle at 80% 20%,
                    color-mix(in srgb, var(--color-secondary) 40%, transparent) 0%,
                    transparent 50%
            ),
            radial-gradient(
                    circle at 40% 40%,
                    color-mix(in srgb, var(--color-surface) 60%, transparent) 0%,
                    transparent 50%
            ),
            linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--color-surface-alt) 30%, transparent),
                    color-mix(in srgb, var(--color-surface) 50%, transparent)
            );
    /*Option 4: Elegant Color Burn*/
    background:
            linear-gradient(
                    45deg,
                    color-mix(in srgb, var(--color-primary) 25%, transparent) 0%,
                    color-mix(in srgb, var(--color-surface) 40%, transparent) 25%,
                    color-mix(in srgb, var(--color-secondary) 25%, transparent) 50%,
                    color-mix(in srgb, var(--color-surface-alt) 60%, transparent) 75%,
                    color-mix(in srgb, var(--color-primary) 15%, transparent) 100%
            );
    /*Option 5: Soft Spotlight Effect*/
    background:
            radial-gradient(
                    ellipse at 30% 70%,
                    color-mix(in srgb, var(--color-primary) 30%, transparent) 0%,
                    transparent 60%
            ),
            radial-gradient(
                    ellipse at 70% 30%,
                    color-mix(in srgb, var(--color-secondary) 25%, transparent) 0%,
                    transparent 60%
            ),
            linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--color-surface) 70%, transparent) 0%,
                    color-mix(in srgb, var(--color-surface-alt) 90%, transparent) 100%
            );
    /*Option 6: Premium Duotone*/
    background:
            linear-gradient(
                    135deg,
                    color-mix(in srgb, var(--color-primary) 35%, transparent) 0%,
                    color-mix(in srgb, var(--color-surface) 60%, transparent) 45%,
                    color-mix(in srgb, var(--color-surface-alt) 80%, transparent) 55%,
                    color-mix(in srgb, var(--color-secondary) 30%, transparent) 100%
            );

    z-index: 1;
    border-radius: var(--radius-lg);
    pointer-events: none;
    /*opacity: 0.6;*/
}

.aff-bonus-card > *:not(img) {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.aff-bonus-card h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0;
}

.bonus-value {
    font-weight: 800;
    font-size: 2rem;
    color: var(--color-success);
    text-shadow: 0 0 15px color-mix(in srgb, var(--color-success) 60%, transparent);
    text-align: center;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: var(--space-xl);
    animation: glowSubtitle 3s ease-in-out infinite alternate;
}

.bonus-expiry {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

.button--signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-bg) !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    max-width: 250px;
    margin: 0 auto;
}

.button--signup:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.button--login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--color-text) !important;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-primary) !important;
    cursor: pointer;
    font-size: 1rem;
}

.button--login:hover {
    border-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.aff-bonus-card:hover img {
    transform: scale(1.15);
}

/* Layout Variants */
.aff-bonuses__grid.layout-2 {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
}

.aff-bonuses__grid.layout-2 .aff-bonus-card:nth-child(1) { grid-row: 1 / 2; }
.aff-bonuses__grid.layout-2 .aff-bonus-card:nth-child(2) { grid-row: 2 / 3; }
.aff-bonuses__grid.layout-2 .aff-bonus-card:nth-child(3) { grid-row: 1 / 3; }

.aff-bonuses__grid.layout-3 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(250px, auto);
}

.aff-bonuses__grid.layout-3 .aff-bonus-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: auto !important;
}

.aff-bonuses__grid.layout-3 .aff-bonus-card:nth-child(1) img {
    /*width: 20%;*/
}

.aff-bonuses__grid.layout-3 .aff-bonus-card:nth-child(2),
.aff-bonuses__grid.layout-3 .aff-bonus-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
}

.aff-bonuses__grid.layout-4 {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(250px, auto);
}

.aff-bonuses__grid.layout-4 .aff-bonus-card:nth-child(1),
.aff-bonuses__grid.layout-4 .aff-bonus-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
}

.aff-bonuses__grid.layout-4 .aff-bonus-card:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: span 2;
}

@media (max-width: 900px) {
    .aff-bonuses__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: var(--space-sm);
    }

    .aff-bonus-card:nth-child(1),
    .aff-bonus-card:nth-child(2),
    .aff-bonus-card:nth-child(3) {
        grid-column: 1 / 3 !important;
        grid-row: span 1;
        height: auto;
    }
}

.aff-main-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* ========== TOP GAMES GRID ========== */
.aff-top-games__grid {
    display: grid;
    gap: var(--space-md);
    justify-content: center;
}

@media (min-width: 1024px) {
    .aff-top-games__grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .aff-top-games__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .aff-top-games__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.aff-top-game-card {
    position: relative;
    max-width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.aff-top-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.aff-top-game__image-wrapper {
    position: relative;
    width: 100%;
    height: 294px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.aff-top-game__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aff-top-game__label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
    border-top-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.aff-top-game__label.originals { background: var(--color-primary); }
.aff-top-game__label.recommended { background: var(--color-success); }
.aff-top-game__label.newreleases { background: var(--color-secondary); }

.aff-top-game__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.aff-top-game-card:hover .aff-top-game__content {
    opacity: 1;
    transform: translateY(0);
}

.aff-top-game__content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.aff-top-game__content .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
}

.aff-top-games.style-1 .aff-top-game__content,
.aff-top-games.style-2 .aff-top-game__content {
    background: rgba(0, 0, 0, 0.6);
}

.aff-top-games.style-3 .aff-top-game__content {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-bg);
    bottom: -100%;
    top: auto;
    transform: none;
    opacity: 1;
    position: absolute;
    width: 100%;
    text-align: center;
}

.aff-top-games.style-3 .aff-top-game-card:hover .aff-top-game__content {
    bottom: 0;
}

/* ========== CLEAN CTA SECTION ========== */
.aff-cta {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-bg) 95%, black), color-mix(in srgb, var(--color-surface) 95%, black));
    color: var(--color-text);
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    /*max-width: 100%;*/
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    isolation: isolate;
    box-shadow: var(--shadow-lg);
    animation: sectionFloat 6s ease-in-out infinite;
}

.aff-cta::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: var(--color-surface);
    z-index: 1;
    animation: smoothBackground 20s ease-in-out infinite;
    filter: brightness(0.4) contrast(1.1);
    opacity: .333;
}

.aff-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    color-mix(in srgb, var(--color-bg) 85%, transparent) 0%,
    color-mix(in srgb, var(--color-surface) 75%, transparent) 50%,
    color-mix(in srgb, var(--color-primary) 65%, transparent) 100%);
    z-index: 2;
    opacity: .666;
}

.aff-cta > * {
    position: relative;
    z-index: 3;
}

.aff-cta__container {
    position: relative;
    z-index: 3;
    padding: 3rem 2rem;
}

.aff-cta__title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text), color-mix(in srgb, var(--color-primary) 70%, white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.aff-cta__text {
    font-size: 1.4rem;
    margin-bottom: var(--space-lg);
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.aff-cta .button--cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg);
    padding: 1.5rem 3.5rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.3rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--color-primary) 40%, transparent);
    animation: floatButton 4s ease-in-out infinite;
}

.aff-cta .button--cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.aff-cta .button--cta:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    transform: translateY(-3px);
    box-shadow: 0 15px 40px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.aff-cta .button--cta:hover::before {
    left: 100%;
}

@keyframes smoothBackground {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes floatButton {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes sectionFloat {
    0%, 100% {
        box-shadow: var(--shadow-lg);
    }
    50% {
        box-shadow: 0 35px 100px color-mix(in srgb, var(--color-primary) 35%, transparent);
    }
}

@media (max-width: 768px) {
    .aff-cta__title { font-size: 2.5rem; }
    .aff-cta__text { font-size: 1.2rem; }
    .aff-cta .button--cta {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .aff-cta__title { font-size: 2rem; }
    .aff-cta__text { font-size: 1.1rem; }
    .aff-cta .button--cta {
        padding: 1rem 2rem;
        font-size: 1rem !important;
    }
}

/* ========== FEATURE BOXES ========== */
.feature-boxes-section {
    padding: 0;
    margin-top: -180px;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 10;
}

.feature-boxes-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.feature-box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.feature-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.1;
    z-index: 1;
}

.feature-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-title {
    font-size: var(--h3);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.feature-text {
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    flex: 1;
}

.feature-button {
    background: var(--color-primary);
    color: var(--color-bg);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-width: 66.6%;
}

.feature-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-bg);
}

/* Feature Box Variants */
.feature-boxes-container.variant-1 .feature-box {
    background: color-mix(in srgb, var(--color-surface) 70%, transparent);
    backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
}

.feature-boxes-container.variant-1 .feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    color-mix(in srgb, var(--color-primary) 20%, transparent) 0%,
    color-mix(in srgb, var(--color-secondary) 10%, transparent) 100%);
    z-index: 1;
    border-radius: var(--radius-lg);
}

.feature-boxes-container.variant-2 .feature-box {
    background: linear-gradient(-45deg, var(--color-surface), var(--color-surface-alt), var(--color-bg), var(--color-surface));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.feature-boxes-container.variant-3 .feature-box {
    background:
            radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--color-secondary) 10%, transparent) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--color-bg) 10%, transparent) 0%, transparent 50%),
            var(--color-surface);
}

.feature-boxes-container.variant-4 .feature-box {
    background: var(--color-surface);
    padding: 3px;
}

.feature-boxes-container.variant-4 .feature-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    border-radius: calc(var(--radius-lg) + 2px);
    z-index: -1;
    opacity: 0.7;
    filter: blur(10px);
}

.feature-boxes-container.variant-4 .feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Feature Boxes */
@media (max-width: 1024px) {
    .feature-boxes-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .feature-boxes-section {
        margin-top: -120px;
    }

    .feature-boxes-container {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .feature-box {
        padding: var(--space-md);
        min-height: 250px;
    }

    .feature-title {
        font-size: var(--h4);
    }
}

/* ========== SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-full);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    padding: 10px;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.scroll-to-top.pulse {
    animation: pulse 2s infinite;
}

/* ========== FIXED CTA ========== */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 220px;
    background: var(--color-primary);
    color: var(--color-bg) !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
}

.fixed-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.fixed-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--color-bg);
}

.fixed-cta:hover::before {
    left: 100%;
}

/* Responsive Interactive Elements */
@media (max-width: 768px) {
    .fixed-cta {
        width: 200px;
        bottom: 20px;
        font-size: 1rem !important;
    }
    .scroll-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .fixed-cta {
        width: 180px;
        bottom: 15px;
        font-size: 0.75rem !important;
        padding: 0.8rem 1.2rem;
    }
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Menu and Navigation Enhancements */
#site-navigation { display: flex; justify-content: center; }
#primary-menu a.button { width: 100%; }

p.aff-hero__subtitle {
    margin-block-start: 0 !important;
    margin: var(--space-sm) 0;
}

/* Link Consistency */
.aff-review a,
footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.aff-review a:hover,
.aff-review a:focus,
.aff-review a:active,
footer a:hover,
footer a:focus,
footer a:active {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.cta-button-bonus {
    color: var(--color-bg) !important;
}

/* ========== FOOTER WIDGET COLUMNS ========== */
.site-footer__widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    align-items: stretch;
}

.site-footer__widget-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.site-footer__logo {
    margin-bottom: var(--space-md) !important;
}

.site-footer__logo img {
    width: 100%;
    max-width: 180px;
    height: auto;
}

/* Widget Title Styling */
.widget-title {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
    padding: var(--space-md) 0;
    border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Menu Styling */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-bottom: var(--space-xs);
    position: relative;
}

.menu li a {
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
    text-decoration: none;
    font-size: var(--font-size-sm);
    padding: var(--space-xs) 0;
    display: block;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
    padding-left: var(--space-sm);
}

.menu li a:hover {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
    padding-left: var(--space-md);
}

/* Current page highlight */
.menu li.current-menu-item a {
    color: var(--color-primary);
    border-left-color: var(--color-primary);
    background-color: color-mix(in srgb, var(--color-primary) 8%, transparent);
    font-weight: 600;
}

/* Footer Warning Text */
.site-footer__warning-text {
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}

.site-footer__warning-text p {
    font-size: var(--font-size-sm) !important;
    line-height: 1.6;
    color: color-mix(in srgb, var(--color-text) 80%, transparent);
    margin: 0;
}

.site-footer__warning-text a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.site-footer__warning-text a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Footer Bottom */
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-md);
}

.site-footer__copyright {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.site-footer__payment-methods {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.site-footer__payment-methods span {
    margin: 0 0.3rem;
}

/* Horizontal Divider */
.site-footer__divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border) 50%, transparent 100%);
    margin: var(--space-lg) 0;
}

/* Modern card-like columns */
.site-footer__widget-column {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 60%, transparent), color-mix(in srgb, var(--color-bg) 80%, transparent));
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.site-footer__widget-column:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.site-footer__widget-column {
    transition: all var(--transition-normal);
}

/* Footer Flex Layout */
.site-footer__flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.site-footer__logo {
    text-align: left;
}

.site-footer__warning-text {
    flex: 2;
    text-align: center;
}

.site-footer__warning-img {
    flex: 1;
    text-align: right;
}

.site-footer__pages {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.site-footer__pages a {
    margin: 0 var(--space-md);
    text-decoration: none;
    color: inherit;
}

.site-footer__pages a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .site-footer__widgets {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .site-footer__widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .site-footer__flex {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__logo,
    .site-footer__warning-text,
    .site-footer__warning-img {
        flex: unset;
        text-align: center;
    }

    .site-footer__pages a {
        display: block;
        margin: var(--space-xs) 0;
    }
}

@media (max-width: 480px) {
    .site-footer__widgets {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .site-footer__logo img {
        width: 100%;
        max-width: 150px;
    }

    .menu li a {
        font-size: var(--font-size-base);
    }

    .site-footer__widget-column {
        padding: var(--space-sm);
    }
}

/* Optional: Add glow effect on hover */
.site-footer__widget-column:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.site-footer__warning-text,
.site-footer__divider {
    max-width: var(--site-max-width);
    margin: 0 auto;
}

.aff-main-wrapper.aff-main-wrapper--section2 {
    margin-bottom: 0 !important;
    padding-bottom: 3.15rem !important;
}

footer {
    border-top: 2px solid color-mix(in srgb, var(--color-primary) 75%, transparent);
    padding: 3.15rem var(--space-md) !important;
}

/* Hide secondary sidebar on mobile */
@media (max-width: 768px) {
    .aff-sidebar.aff-sidebar--secondary {
        display: none;
    }
}

/* Additional Hero Image Transformations */
/*.aff-hero__bg > img {*/
/*    transform: rotate(-35deg) translateX(-66%) translateY(-32%) !important;*/
/*}*/

/*@media (max-width: 1024px) {*/
/*    .aff-hero__bg > img {*/
/*        transform: rotate(-35deg) translateX(-16%) translateY(-16%) !important;*/
/*    }*/
/*}*/

/*@media (max-width: 768px) {*/
/*    .aff-hero__bg > img {*/
/*        transform: rotate(-35deg) translateX(0) translateY(-8%) !important;*/
/*    }*/
/*}*/

.site-header__logo img, .site-footer__logo img {
    width: 100%;
    max-width: 100px;
    height: auto;
}

.site-header {
    position: fixed !important;
}

/* FAQ Improvements */
.aff-faq {
    max-width: unset !important;
    margin-top: unset !important;
}

/* Final Cleanup - Remove any remaining old variable references */
.aff-main-content table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/*//new title bar adjustments*/
.aff-page-title-bar {
    position: relative;
    color: #fff;
    text-align: center;
}
.aff-title-bar__overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.5); /* dark overlay for readability */
    z-index:0;
}
.aff-page-title-bar .container {
    position: relative; z-index:1;
}

/*footer payments icons*/
.payment-methods-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

.payment-icon {
    height: 16px;
    width: auto;
    /*max-width: 60px;*/
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(1) brightness(2); /* Light grayscale instead of invert */
}

.payment-icon[alt*="ApplePay"] {
    filter: brightness(0) invert(0.85); /* Light gray instead of pure white */
}

.payment-icon:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1.2); /* Full color on hover */
    transform: scale(1.05);
}
.payment-icon[alt*="ApplePay"]:hover {
    filter: brightness(0) invert(1); /* Light gray instead of pure white */
}

/* Mobile */
@media (max-width: 768px) {
    .payment-methods-icons { gap: 8px; }
    .payment-icon { height: 16px; }
}}

.aff-hero__bg,
.aff-hero__bg img {
    display: none !important;
}

/*custom predefined styles for sections' headings h2*/
/*start*/
/* ========== HEADING STYLES ========== */
/* ========== HEADING STYLES ========== */

/* -------- STYLE 1 (Modern Gradient Border) -------- */
.aff-section-title.style1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    text-align: center;
    position: relative;
    margin-bottom: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    display: inline-block;
    background:
            linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
            linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-success) 100%) border-box;
    border: 3px solid transparent;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.aff-section-title.style1:hover {
    transform: translateY(-3px);
    box-shadow:
            0 10px 25px color-mix(in srgb, var(--color-primary) 15%, transparent),
            0 5px 15px color-mix(in srgb, var(--color-secondary) 10%, transparent);
}

/* -------- STYLE 2 (KEEP ORIGINAL - Scanline) -------- */
.aff-section-title.style2 {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.aff-section-title.style2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(
            120deg,
            transparent 0%,
            var(--color-primary) 15%,
            var(--color-secondary) 30%,
            var(--color-success) 50%,
            transparent 100%
    );
    animation: scanline 5s linear infinite;
}

@keyframes scanline {
    0%   { left: -100%; }
    100% { left: 100%; }
}

/* -------- STYLE 3 (KEEP ORIGINAL - Cyan Pulse) -------- */
.aff-section-title.style3 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-text);
    text-shadow: 0 0 8px color-mix(in srgb, var(--color-primary) 50%, transparent),
    0 0 15px color-mix(in srgb, var(--color-primary) 30%, transparent);
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-xs);
    letter-spacing: 1px;
}

.aff-section-title.style3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: cyanPulse 3s linear infinite;
}

@keyframes cyanPulse {
    0% { transform: translateX(-100%); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* -------- STYLE 4 (Glass Morphism) -------- */
.aff-section-title.style4 {
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: center;
    position: relative;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--color-bg) 85%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
    border-radius: 16px;
    box-shadow:
            0 8px 32px color-mix(in srgb, var(--color-primary) 8%, transparent),
            inset 0 1px 0 color-mix(in srgb, white 10%, transparent);
    transition: all 0.4s ease;
}

.aff-section-title.style4:hover {
    background: color-mix(in srgb, var(--color-bg) 92%, transparent);
    transform: translateY(-2px);
    box-shadow:
            0 12px 40px color-mix(in srgb, var(--color-primary) 12%, transparent),
            inset 0 1px 0 color-mix(in srgb, white 15%, transparent);
}

/* -------- STYLE 5 (Minimal Dot Accent) -------- */
.aff-section-title.style5 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    position: relative;
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
    line-height: 1.3;
}

.aff-section-title.style5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.aff-section-title.style5::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.aff-section-title.style5:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.3; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateY(-50%) scale(1.1); }
}

/* -------- STYLE 6 (Animated Gradient Text) -------- */
.aff-section-title.style6 {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(
            135deg,
            var(--color-primary) 0%,
            var(--color-secondary) 25%,
            var(--color-success) 50%,
            var(--color-secondary) 75%,
            var(--color-primary) 100%
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    animation: gradientShift 6s ease infinite;
    position: relative;
    letter-spacing: 0.5px;
}

.aff-section-title.style6::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    border-radius: 2px;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.aff-section-title.style6:hover::after {
    width: 120px;
    opacity: 1;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */
@media (prefers-reduced-motion: reduce) {
    .aff-section-title {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .aff-section-title::before,
    .aff-section-title::after {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .aff-section-title {
        text-shadow: none !important;
    }

    .aff-section-title.style6 {
        background: var(--color-text) !important;
        -webkit-text-fill-color: initial !important;
        background-clip: initial !important;
    }
}

/* Focus styles for keyboard navigation */
.aff-section-title:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}
/*end*/

/*custom logo fix*/
.site-header__logo img,
.site-header__logo a,
.site-footer__logo img,
.site-footer__logo a {
    max-height: unset;
    max-width: unset;
    display: block;
    height: 59px;
    width: auto;
}