/* ================ VARIABLES ================ */
:root {
    --bg: #050814;
    --bg-alt: #0b1020;
    --bg-card: #0d1428;
    --accent: #1e90ff;
    --accent-hover: #42a5ff;
    --accent-soft: rgba(66, 165, 255, 0.25);
    --accent-glow: rgba(30, 144, 255, 0.6);
    --text: #edf3ff;
    --muted: #8893b8;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 48px rgba(30, 144, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(90deg, #1e90ff, #6a5cff);
    --gradient-bg: radial-gradient(circle at top, #0c132c, var(--bg) 65%);

    /* Badge colors */
    --badge-minecraft: linear-gradient(135deg, #4ade80, #22c55e);
    --badge-fps: linear-gradient(135deg, #f87171, #dc2626);
    --badge-cfg: linear-gradient(135deg, #60a5fa, #3b82f6);
}

.right-side-tiles {
    position: absolute;
    top: 380px; /* Ajuste si nécessaire */
    right: 60px;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .right-side-tiles .tile {
        background: #0f172a;
        border: 1px solid #1e293b;
        padding: 16px 20px;
        border-radius: 14px;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
        font-size: 18px;
        transition: 0.25s ease-in-out;
        box-shadow: 0 0 0 rgba(0, 102, 255, 0.25);
    }

        .right-side-tiles .tile:hover {
            background: #1e293b;
            transform: translateY(-4px);
            box-shadow: 0 0 12px rgba(0, 132, 255, 0.45);
        }

/* Light mode */
body.light-mode {
    --bg: #f8fafc;
    --bg-alt: #e2e8f0;
    --bg-card: #ffffff;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text: #0f172a;
    --muted: #64748b;
    --gradient-bg: linear-gradient(180deg, #e0e7ff 0%, #f8fafc 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 48px rgba(37, 99, 235, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ================ HEADER ================ */
header {
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(5, 8, 20, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: var(--transition);
}

.logo:hover img {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 400px;
    min-width: 200px;
}

.search-bar {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-bar:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-bar::placeholder {
    color: var(--muted);
}

/* Navigation */
.nav nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.nav a {
    position: relative;
    padding: 0.3rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--accent-hover);
}

.nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--accent-soft);
    transform: rotate(15deg) scale(1.1);
}

/* ================ ADSENSE CONTAINERS ================ */
.ad-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-horizontal {
    min-height: 90px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.ad-infeed {
    min-height: 250px;
    background: transparent;
}

.ad-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 98;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .ad-sticky-mobile {
        display: block;
    }

    .ad-horizontal {
        min-height: 50px;
    }
}

/* ================ HERO ================ */
.hero {
    max-width: 1100px;
    margin: 4rem auto 3rem;
    padding: 0 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero span {
    color: var(--accent);
    text-shadow: 0 0 24px var(--accent-glow);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--accent-glow);
    }

    to {
        text-shadow: 0 0 30px var(--accent-glow), 0 0 40px rgba(30, 144, 255, 0.4);
    }
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* ================ HIGHLIGHT SECTION ================ */
.highlight {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.highlight article {
    background: var(--bg-card);
    padding: 1.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.highlight article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight article:hover::before {
    transform: scaleX(1);
}

.highlight article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 144, 255, 0.3);
}

.highlight h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
}

/* Article Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.article-date,
.article-read-time {
    color: var(--muted);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-minecraft {
    background: var(--badge-minecraft);
}

.badge-fps {
    background: var(--badge-fps);
}

.badge-cfg {
    background: var(--badge-cfg);
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

/* ================ SECTIONS ================ */
.section {
    max-width: 1100px;
    margin: 3.5rem auto;
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    position: relative;
    margin-bottom: 2rem;
}

.section-hero-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.section-hero-img:hover {
    opacity: 1;
    transform: scale(1.02);
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.list {
    list-style: none;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.list li {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    border-radius: 8px;
    position: relative;
}

.list li:last-child {
    border-bottom: none;
}

.list li::before {
    content: '→';
    position: absolute;
    left: 0.5rem;
    opacity: 0;
    transition: var(--transition);
    color: var(--accent);
}

.list li:hover {
    background: rgba(30, 144, 255, 0.08);
    padding-left: 2rem;
    transform: translateX(4px);
}

.list li:hover::before {
    opacity: 1;
}

.list a {
    display: block;
    font-weight: 500;
}

.list a:hover {
    color: var(--accent-hover);
}

.list-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.list-item-title {
    font-size: 1rem;
    font-weight: 600;
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 999px;
    transition: var(--transition);
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
    transition: var(--transition);
    z-index: 99;
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.6);
}

/* ================ FOOTER ================ */
footer {
    text-align: center;
    margin-top: 5rem;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.85rem;
    background: rgba(5, 8, 20, 0.5);
}

body.light-mode footer {
    background: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* ================ RESPONSIVE ================ */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .search-container {
        order: 3;
        max-width: 100%;
        width: 100%;
    }

    .nav nav {
        order: 2;
        width: 100%;
        justify-content: space-between;
    }

    .nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 99;
    }

    .nav ul.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .theme-toggle {
        order: 1;
    }

    .hero {
        margin: 2.5rem auto 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .highlight {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section {
        margin: 2.5rem auto;
    }

    .section-hero-img {
        height: 150px;
    }

    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* ================ ARTICLE PAGES ================ */
.page {
    max-width: 900px;
    margin: 2.5rem auto;
    padding: 0 1.5rem 3rem;
}

.page h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.page-sub {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.page-meta {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.toc {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
}

.toc h2 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.toc ul {
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
}

.toc li {
    margin: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
}

.toc li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.article h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.article p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.article-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.article-list li {
    margin-bottom: 0.5rem;
}

.note {
    font-size: 0.9rem;
    color: var(--muted);
    border-left: 3px solid #6a5cff;
    padding-left: 1rem;
    margin: 1rem 0 1.5rem;
    background: rgba(106, 92, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.page strong,
.article em {
    color: #6a5cff;
    font-weight: 600;
}

.btn-aff {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(106, 92, 255, 0.4);
    transition: var(--transition);
}

.btn-aff:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(106, 92, 255, 0.6);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.share-buttons button {
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-buttons button:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ================ AFFILIATE SECTION ================ */
.affiliate-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.affiliate-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.affiliate-disclaimer {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.affiliate-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 144, 255, 0.4);
}

.affiliate-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.affiliate-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1rem;
}

.affiliate-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.affiliate-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0.5rem 0;
}

.btn-aff {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}


.note {
    font-size: 0.9rem;
    color: var(--muted);
    border-left: 3px solid #6a5cff;
    padding-left: 1rem;
    margin: 1rem 0 1.5rem;
    background: rgba(106, 92, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.page strong,
.article em {
    color: #6a5cff;
    font-weight: 600;
}

.btn-aff {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(106, 92, 255, 0.4);
    transition: var(--transition);
}

.btn-aff:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(106, 92, 255, 0.6);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.share-buttons button {
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-buttons button:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ================ AFFILIATE SECTION ================ */
.affiliate-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.affiliate-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.affiliate-disclaimer {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.affiliate-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 144, 255, 0.4);
}

.affiliate-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.affiliate-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1rem;
}

.affiliate-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.affiliate-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0.5rem 0;
}

.btn-aff {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-aff:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.6);
}

@media (max-width: 768px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    cursor: pointer;
}


.note {
    font-size: 0.9rem;
    color: var(--muted);
    border-left: 3px solid #6a5cff;
    padding-left: 1rem;
    margin: 1rem 0 1.5rem;
    background: rgba(106, 92, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.page strong,
.article em {
    color: #6a5cff;
    font-weight: 600;
}

.btn-aff {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(106, 92, 255, 0.4);
    transition: var(--transition);
}

.btn-aff:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(106, 92, 255, 0.6);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.share-buttons button {
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-buttons button:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ================ AFFILIATE SECTION ================ */
.affiliate-section {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.affiliate-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.affiliate-disclaimer {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    padding: 1rem;
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
    border-radius: 8px;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.affiliate-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.affiliate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(30, 144, 255, 0.4);
}

.affiliate-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.affiliate-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 1rem;
}

.affiliate-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.affiliate-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0.5rem 0;
}

.btn-aff {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-aff:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.6);
}

@media (max-width: 768px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .affiliate-section h2 {
        font-size: 1.5rem;
    }
}

/* ================ BANNER LINK (Soft & Premium) ================ */
.banner-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(30, 144, 255, 0.08);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(30, 144, 255, 0.2);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

.banner-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(30, 144, 255, 0.05) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.banner-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.15);
    border-color: rgba(30, 144, 255, 0.4);
    background: rgba(30, 144, 255, 0.12);
}

.banner-link:hover::before {
    transform: translateX(100%);
}

.banner-icon {
    font-size: 2.5rem;
    /* background: rgba(30, 144, 255, 0.1); */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    filter: drop-shadow(0 2px 10px rgba(30, 144, 255, 0.3));
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.banner-content strong {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
}

.banner-content span {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
}

/* Mobile adjustment for banner */
@media (max-width: 768px) {
    .banner-link {
        padding: 1.2rem;
        gap: 1rem;
    }

    .banner-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .banner-content strong {
        font-size: 1.1rem;
    }
}