`).
* *JS at bottom, event delegation, fault tolerant?* Yes.
* *Hero min-height 10vh mobile, 33vh PC?* Yes.
* *Bento grid forced fill?* Yes, `col-span-full` for odd items.
* *Margin-top 35-40px on wrapper?* Yes.
**Step-by-Step Implementation Plan:**
1. **Wrapper & Global Styles:** Setup the main container with the required margin and font families. Define the CSS variables for colors.
2. **Hero Section:** Glassmorphism card over abstract CSS-drawn shapes (since no images except the one required). Big typography.
3. **Section 1: Math & Strategy (Tabs):** Use tabs to switch between "Sportsbook (Premier League)" and "Casino (RTP)".
4. **Section 2: Market & Tables (Bento Grid):** Convert the markdown tables into beautiful CSS Grid Bento boxes. Since `overflow-x` is banned, tables *must* be responsive by stacking cells on mobile.
5. **Section 3: Anti-Scam (Cards):** Warning cards with red accents (but keeping primary theme).
6. **Section 4: Signals (Image Injection):** Place the required `test.jpg` here, floating or breaking the grid asymmetrically.
7. **Section 5: FAQ (Accordion):** Implement the strict accordion logic.
8. **JS Logic:** Write the event delegation scripts for Tabs and Accordions.
**Refining the CSS (The `.dd-tc79g-` prefix requirement & 50+ classes):**
I need to generate a lot of specific utility/component classes.
Examples:
`.dd-tc79g-wrapper`, `.dd-tc79g-hero`, `.dd-tc79g-glass`, `.dd-tc79g-title`, `.dd-tc79g-text`, `.dd-tc79g-blob-1`, `.dd-tc79g-blob-2`, `.dd-tc79g-tab-btn`, `.dd-tc79g-tab-active`, `.dd-tc79g-bento-box`, `.dd-tc79g-table-row`, etc.
*Constraint:* "至少数量在一半以上用于制定字体对应背景的反差颜色" -> I need many classes explicitly setting color and background-color with `!important`.
Example:
`.dd-tc79g-bg-white { background-color: #FFFFFF !important; }`
`.dd-tc79g-text-dark { color: #050505 !important; }`
`.dd-tc79g-bg-blue { background-color: #2563EB !important; }`
`.dd-tc79g-text-white { color: #FFFFFF !important; }` (Wait, prompt says "绝不在白色背景上使用 白色... 作为正文颜色". But text on a BLUE background CAN be white. I will ensure text on white bg is dark).
**Handling the Table without `overflow-x`:**
Markdown has tables. I will render them as `` based grids.
Estratégia...
Estratégia: Apostas...
This avoids any horizontal overflow.
**Image Requirement:**
`
`
Width: 400px to 650px (e.g., `width: 500px !important; max-width: 100% !important;`).
Aspect ratio: 16/9 (`aspect-ratio: 16/9 !important; height: auto !important;`).
**Drafting the JS:**
javascript
document.addEventListener('DOMContentLoaded', () => {
const wrapper = document.getElementById('dd-tc79g-container');
if(!wrapper) return;
// Tabs
wrapper.addEventListener('click', (e) => {
const tabBtn = e.target.closest('.dd-tc79g-tab-nav');
if(tabBtn) {
const targetId = tabBtn.getAttribute('data-target');
const group = tabBtn.closest('.dd-tc79g-tab-group');
if(!group || !targetId) return;
// Reset navs
group.querySelectorAll('.dd-tc79g-tab-nav').forEach(btn => {
btn.classList.remove('dd-tc79g-tab-active');
});
tabBtn.classList.add('dd-tc79g-tab-active');
// Reset contents
group.querySelectorAll('.dd-tc79g-tab-content').forEach(content => {
content.classList.remove('dd-tc79g-content-active');
});
const targetContent = group.querySelector(`#${targetId}`);
if(targetContent) {
targetContent.classList.add('dd-tc79g-content-active');
}
}
// Accordion
const accHeader = e.target.closest('.dd-tc79g-acc-header');
if(accHeader) {
const item = accHeader.closest('.dd-tc79g-acc-item');
if(!item) return;
item.classList.toggle('dd-tc79g-acc-active');
}
});
});
**Refining Glassmorphism:**
Background: `#FFFFFF`.
Blobs: Absolute positioned divs with `background: linear-gradient(...)`, `filter: blur(80px)` (Wait, prompt says "零动效政策:严禁 JS 介入 clip-path、filter (blur)...", but CSS `filter` is allowed if static? "绝不使用clip-path、opacity和overflow-x属性!" -> `opacity` is banned entirely. `filter` is banned from JS dynamic calculation, but is it banned in CSS? "CSS中绝不使用clip-path、opacity和overflow-x属性!". Okay, NO `opacity` in CSS.
How to do Glassmorphism without `opacity`?
Use `rgba()` or `hsla()` for background colors!
`background: rgba(255, 255, 255, 0.7);`
`backdrop-filter: blur(16px);` (Is `backdrop-filter` allowed? Yes, only `filter` was mentioned in JS context, and `opacity` in CSS).
To create blobs without `opacity`: Use solid colors or `rgba` gradients.
**Let's build the CSS classes (Focusing on contrast and requirements):**
Need 50+ classes.
Colors: Background White (`#FFFFFF`), Text Dark (`#0A0A0A`), Primary Blue (`#2563EB`), Accent Red (`#DC2626` for warnings).
Contrast classes:
`.dd-tc79g-c-bg-w` { background-color: #FFFFFF !important; }
`.dd-tc79g-c-txt-d` { color: #0A0A0A !important; }
`.dd-tc79g-c-bg-b` { background-color: #2563EB !important; }
`.dd-tc79g-c-txt-w` { color: #FFFFFF !important; }
... create many variations to hit the 50+ quota and ensure strict contrast.
**Markdown Parsing & Formatting:**
* `## Dominando a 'Premier League Table'...` -> ``
* `### 1. Profundidade Informacional...` -> ``
* Lists -> ``, `- `
* Tables -> CSS Grid Bento
* Blockquotes -> Styled glass cards.
**Bento Grid Logic:**
Section 2 has a table of bonuses. I will make this a Bento Grid.
4 items. If it's a 3-column grid, the last item spans full.
Betano...
KTO...
EstrelaBet...
BC.Game...
**Image Injection Details:**
CSS for image:
css
.dd-tc79g-img-main {
width: 550px !important;
max-width: 100% !important;
aspect-ratio: 16 / 9 !important;
object-fit: cover !important;
border-radius: 24px !important;
border: 2px solid rgba(37, 99, 235, 0.2) !important;
box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
**Review against "Awwwards Standard":**
* Typography needs to be huge and tight. `tracking-tight`.
* Spacing needs to be generous. `py-24`.
* Glassmorphism needs subtle borders: `border: 1px solid rgba(0,0,0,0.05)`.
* Interactive feel: Buttons should translate up slightly on hover.
**Final Polish of the Code Structure:**
...
Let's write the actual content mapping now, ensuring all markdown is preserved but transformed into this high-end UI.
The tables in the markdown will be converted to nested div structures simulating tables but using Grid to avoid `overflow-x`.
The "Tabela de Expectativa Matemática" -> Tabular Bento layout.
The "Tabela Dinâmica de Bônus" -> Bento Cards.
I will meticulously craft the CSS to ensure the 50+ class requirement is met, specifically focusing on color contrast pairs.
*Self-Correction during drafting:*
I must ensure `display: none` and `display: block` are handled purely by CSS classes added/removed by JS.
css
.dd-tc79g-tab-content { display: none !important; }
.dd-tc79g-content-active { display: block !important; }
.dd-tc79g-acc-content { display: none !important; }
.dd-tc79g-acc-active .dd-tc79g-acc-content { display: block !important; }
This perfectly aligns with the zero-motion policy for JS and strict display toggling.
Let's generate the response.
[**end of deep reasoning**]
Estratégia
...
Estratégia: Apostas...
`
Width: 400px to 650px (e.g., `width: 500px !important; max-width: 100% !important;`).
Aspect ratio: 16/9 (`aspect-ratio: 16/9 !important; height: auto !important;`).
**Drafting the JS:**
javascript
document.addEventListener('DOMContentLoaded', () => {
const wrapper = document.getElementById('dd-tc79g-container');
if(!wrapper) return;
// Tabs
wrapper.addEventListener('click', (e) => {
const tabBtn = e.target.closest('.dd-tc79g-tab-nav');
if(tabBtn) {
const targetId = tabBtn.getAttribute('data-target');
const group = tabBtn.closest('.dd-tc79g-tab-group');
if(!group || !targetId) return;
// Reset navs
group.querySelectorAll('.dd-tc79g-tab-nav').forEach(btn => {
btn.classList.remove('dd-tc79g-tab-active');
});
tabBtn.classList.add('dd-tc79g-tab-active');
// Reset contents
group.querySelectorAll('.dd-tc79g-tab-content').forEach(content => {
content.classList.remove('dd-tc79g-content-active');
});
const targetContent = group.querySelector(`#${targetId}`);
if(targetContent) {
targetContent.classList.add('dd-tc79g-content-active');
}
}
// Accordion
const accHeader = e.target.closest('.dd-tc79g-acc-header');
if(accHeader) {
const item = accHeader.closest('.dd-tc79g-acc-item');
if(!item) return;
item.classList.toggle('dd-tc79g-acc-active');
}
});
});
**Refining Glassmorphism:**
Background: `#FFFFFF`.
Blobs: Absolute positioned divs with `background: linear-gradient(...)`, `filter: blur(80px)` (Wait, prompt says "零动效政策:严禁 JS 介入 clip-path、filter (blur)...", but CSS `filter` is allowed if static? "绝不使用clip-path、opacity和overflow-x属性!" -> `opacity` is banned entirely. `filter` is banned from JS dynamic calculation, but is it banned in CSS? "CSS中绝不使用clip-path、opacity和overflow-x属性!". Okay, NO `opacity` in CSS.
How to do Glassmorphism without `opacity`?
Use `rgba()` or `hsla()` for background colors!
`background: rgba(255, 255, 255, 0.7);`
`backdrop-filter: blur(16px);` (Is `backdrop-filter` allowed? Yes, only `filter` was mentioned in JS context, and `opacity` in CSS).
To create blobs without `opacity`: Use solid colors or `rgba` gradients.
**Let's build the CSS classes (Focusing on contrast and requirements):**
Need 50+ classes.
Colors: Background White (`#FFFFFF`), Text Dark (`#0A0A0A`), Primary Blue (`#2563EB`), Accent Red (`#DC2626` for warnings).
Contrast classes:
`.dd-tc79g-c-bg-w` { background-color: #FFFFFF !important; }
`.dd-tc79g-c-txt-d` { color: #0A0A0A !important; }
`.dd-tc79g-c-bg-b` { background-color: #2563EB !important; }
`.dd-tc79g-c-txt-w` { color: #FFFFFF !important; }
... create many variations to hit the 50+ quota and ensure strict contrast.
**Markdown Parsing & Formatting:**
* `## Dominando a 'Premier League Table'...` -> ``
* `### 1. Profundidade Informacional...` -> ``
* Lists -> ``, `- `
* Tables -> CSS Grid Bento
* Blockquotes -> Styled glass cards.
**Bento Grid Logic:**
Section 2 has a table of bonuses. I will make this a Bento Grid.
4 items. If it's a 3-column grid, the last item spans full.
Betano...
KTO...
EstrelaBet...
BC.Game...
**Image Injection Details:**
CSS for image:
css
.dd-tc79g-img-main {
width: 550px !important;
max-width: 100% !important;
aspect-ratio: 16 / 9 !important;
object-fit: cover !important;
border-radius: 24px !important;
border: 2px solid rgba(37, 99, 235, 0.2) !important;
box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
**Review against "Awwwards Standard":**
* Typography needs to be huge and tight. `tracking-tight`.
* Spacing needs to be generous. `py-24`.
* Glassmorphism needs subtle borders: `border: 1px solid rgba(0,0,0,0.05)`.
* Interactive feel: Buttons should translate up slightly on hover.
**Final Polish of the Code Structure:**
...
Let's write the actual content mapping now, ensuring all markdown is preserved but transformed into this high-end UI.
The tables in the markdown will be converted to nested div structures simulating tables but using Grid to avoid `overflow-x`.
The "Tabela de Expectativa Matemática" -> Tabular Bento layout.
The "Tabela Dinâmica de Bônus" -> Bento Cards.
I will meticulously craft the CSS to ensure the 50+ class requirement is met, specifically focusing on color contrast pairs.
*Self-Correction during drafting:*
I must ensure `display: none` and `display: block` are handled purely by CSS classes added/removed by JS.
css
.dd-tc79g-tab-content { display: none !important; }
.dd-tc79g-content-active { display: block !important; }
.dd-tc79g-acc-content { display: none !important; }
.dd-tc79g-acc-active .dd-tc79g-acc-content { display: block !important; }
This perfectly aligns with the zero-motion policy for JS and strict display toggling.
Let's generate the response.
[**end of deep reasoning**]
- `, `
- `
* Tables -> CSS Grid Bento
* Blockquotes -> Styled glass cards.
**Bento Grid Logic:**
Section 2 has a table of bonuses. I will make this a Bento Grid.
4 items. If it's a 3-column grid, the last item spans full.
**Image Injection Details:**Betano...KTO...EstrelaBet...BC.Game...CSS for image: css .dd-tc79g-img-main { width: 550px !important; max-width: 100% !important; aspect-ratio: 16 / 9 !important; object-fit: cover !important; border-radius: 24px !important; border: 2px solid rgba(37, 99, 235, 0.2) !important; box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; } **Review against "Awwwards Standard":** * Typography needs to be huge and tight. `tracking-tight`. * Spacing needs to be generous. `py-24`. * Glassmorphism needs subtle borders: `border: 1px solid rgba(0,0,0,0.05)`. * Interactive feel: Buttons should translate up slightly on hover. **Final Polish of the Code Structure:**
... Let's write the actual content mapping now, ensuring all markdown is preserved but transformed into this high-end UI. The tables in the markdown will be converted to nested div structures simulating tables but using Grid to avoid `overflow-x`. The "Tabela de Expectativa Matemática" -> Tabular Bento layout. The "Tabela Dinâmica de Bônus" -> Bento Cards. I will meticulously craft the CSS to ensure the 50+ class requirement is met, specifically focusing on color contrast pairs. *Self-Correction during drafting:* I must ensure `display: none` and `display: block` are handled purely by CSS classes added/removed by JS. css .dd-tc79g-tab-content { display: none !important; } .dd-tc79g-content-active { display: block !important; } .dd-tc79g-acc-content { display: none !important; } .dd-tc79g-acc-active .dd-tc79g-acc-content { display: block !important; } This perfectly aligns with the zero-motion policy for JS and strict display toggling. Let's generate the response. [**end of deep reasoning**]