/**
 * Premium Design System - Glassmorphism Theme
 */

:root {
    --bg-primary: #0f0a1e;
    --bg-secondary: #1a1230;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-pink: #ff007a;
    --accent-pink-light: #ff4d9f;
    --accent-purple: #8a2be2;
    --accent-purple-light: #a855f7;
    --gradient-primary: linear-gradient(135deg, #ff007a 0%, #8a2be2 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; height: auto; }

/* Background */
.bg-wrapper {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1035 0%, #0f0a1e 70%);
    overflow: hidden;
}
.bg-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}
.bg-mesh--pink-tl { width: 600px; height: 600px; top: -200px; left: -200px; background: rgba(255, 0, 122, 0.2); }
.bg-mesh--purple-tr { width: 800px; height: 800px; top: -300px; right: -300px; background: rgba(138, 43, 226, 0.15); filter: blur(200px); }
.bg-mesh--pink-br { width: 500px; height: 500px; bottom: -100px; right: -100px; background: rgba(255, 0, 122, 0.1); filter: blur(180px); }

.floating-element { position: absolute; opacity: 0.7; pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
@keyframes float-reverse { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(20px) rotate(-5deg); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-15px) rotate(5deg); } }

.glass-sphere {
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 122, 0.4) 0%, rgba(138, 43, 226, 0.2) 50%, rgba(15, 10, 30, 0.8) 100%);
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1), 0 10px 40px rgba(0, 0, 0, 0.5);
}
.sphere-1 { width: 120px; height: 120px; top: 15%; right: 10%; animation: float 8s ease-in-out infinite; }
.sphere-2 { width: 80px; height: 80px; top: 60%; left: 5%; animation: float-reverse 10s ease-in-out infinite; opacity: 0.5; }
.sphere-3 { width: 60px; height: 60px; bottom: 20%; right: 15%; animation: float-slow 12s ease-in-out infinite; opacity: 0.4; }

.dice { width: 60px; height: 60px; position: relative; }
.dice-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.6) 0%, rgba(138, 43, 226, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.dice-dot { width: 10px; height: 10px; background: rgba(255, 255, 255, 0.9); border-radius: 50%; }
.dice-1 { top: 20%; left: 8%; transform: rotate(15deg); animation: float 7s ease-in-out infinite; }
.dice-2 { top: 40%; right: 5%; transform: rotate(-20deg); animation: float-reverse 9s ease-in-out infinite; opacity: 0.6; }
.dice-3 { bottom: 30%; left: 12%; transform: rotate(25deg); animation: float-slow 11s ease-in-out infinite; opacity: 0.5; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 84px;
    background: rgba(15, 10, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}
.header.scrolled { background: rgba(15, 10, 30, 0.95); }
.header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.35rem; }
.logo__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 11px;
    color: white;
}
.logo__text {
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 50%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav { display: flex; align-items: center; gap: 36px; }
.nav__link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 0;
    transition: color 0.3s ease;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link--active { color: var(--text-primary); }
.nav__link--active::after { width: 100%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s ease; }

/* Main Content */
.main { position: relative; z-index: 1; padding-top: 84px; min-height: calc(100vh - 150px); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Page Header */
.page-header { padding: 60px 0 40px; text-align: center; }
.page-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 50%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header__desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-pink-light); }
.breadcrumb__separator { color: var(--text-muted); }
.breadcrumb__current { color: var(--text-primary); }

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 50%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.glass-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    box-shadow: 0 10px 40px rgba(255, 0, 122, 0.1);
}

/* Category Card */
.category-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.2), rgba(138, 43, 226, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}
.category-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 0, 122, 0.2), inset 0 0 30px rgba(255, 0, 122, 0.05);
}
.category-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.5), rgba(138, 43, 226, 0.5));
}
.category-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.2), rgba(138, 43, 226, 0.2));
    border-radius: var(--radius-md);
    color: var(--accent-pink-light);
    transition: all 0.4s ease;
}
.category-card:hover .category-card__icon {
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.4), rgba(138, 43, 226, 0.4));
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 122, 0.3);
}
.category-card__title { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); }
.category-card__count { font-size: 0.9rem; color: var(--text-muted); }
.category-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-pink);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Article Card */
.article-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.article-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.15), rgba(138, 43, 226, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 0, 122, 0.15);
}
.article-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 0, 122, 0.4), rgba(138, 43, 226, 0.4));
}
.article-card__image {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .article-card__image img { transform: scale(1.08); }
.article-card__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    background: rgba(255, 0, 122, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-card__body { padding: 20px; }
.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card__title a { transition: color 0.3s; }
.article-card__title a:hover { color: var(--accent-pink-light); }
.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.article-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-pink-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.article-card__link:hover { gap: 10px; }

/* Grid Layout */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn--primary {
    background: var(--gradient-primary);
    color: white;
}
.btn--primary:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.4);
    transform: translateY(-2px);
}
.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.btn--outline:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink-light);
    background: rgba(255, 0, 122, 0.1);
}
.btn--ghost {
    background: transparent;
    color: var(--accent-pink-light);
}
.btn--ghost:hover { color: var(--accent-pink); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}
.tag:hover {
    background: rgba(255, 0, 122, 0.2);
    border-color: var(--accent-pink);
    color: var(--text-primary);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.pagination__link, .pagination__current {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}
.pagination__link {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
}
.pagination__link:hover {
    background: rgba(255, 0, 122, 0.2);
    border-color: var(--accent-pink);
    color: var(--text-primary);
}
.pagination__current {
    background: var(--gradient-primary);
    color: white;
}
.pagination__dots { color: var(--text-muted); padding: 0 4px; }

/* Article Content */
.article-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
    color: var(--text-primary);
    margin: 32px 0 16px;
    font-weight: 700;
    line-height: 1.3;
}
.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content p { margin-bottom: 16px; }
.article-content a { color: var(--accent-pink-light); text-decoration: underline; }
.article-content a:hover { color: var(--accent-pink); }
.article-content ul, .article-content ol { margin: 16px 0; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content img { border-radius: var(--radius-md); margin: 24px 0; }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.article-content th, .article-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}
.article-content th { color: var(--text-primary); font-weight: 600; }

/* Casino Card (Sidebar) */
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all 0.3s ease;
}
.casino-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    box-shadow: 0 5px 20px rgba(255, 0, 122, 0.1);
}
.casino-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
}
.casino-card__name { font-weight: 600; color: var(--text-primary); }
.casino-card__bonus { color: var(--accent-pink-light); font-size: 0.9rem; }
.casino-card__features { display: flex; flex-direction: column; gap: 4px; }
.casino-card__feature { font-size: 0.8rem; color: var(--text-muted); }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-secondary); }
.form-input, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.2);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 120px; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}
.alert--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}
.alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

/* Footer */
.footer {
    background: rgba(10, 5, 20, 0.8);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 80px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer__brand { max-width: 300px; }
.footer__desc { margin-top: 16px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.footer__title { font-size: 1rem; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.3s; }
.footer__link:hover { color: var(--accent-pink-light); }
.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer__legal { display: flex; gap: 24px; }

100% { transform: translateX(-50%); } }
100% { transform: translateX(0); } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.active { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); }
.modal__content { position: relative; z-index: 1; width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; background: var(--bg-secondary); border-radius: var(--radius-lg); border: 1px solid var(--glass-border); }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--glass-border); }
.modal__title { font-size: 1.25rem; font-weight: 700; }
.modal__close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 24px; color: var(--text-secondary); transition: all 0.3s; }
.modal__close:hover { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); }
.modal__body { padding: 24px; color: var(--text-secondary); line-height: 1.8; }
.modal__body h1, .modal__body h2, .modal__body h3 { color: var(--text-primary); margin: 24px 0 12px; }
.modal__body p { margin-bottom: 16px; }
.modal__body a { color: var(--accent-pink-light); }

/* Utility */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mt-2xl { margin-top: 48px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 1180px) {
    .header { overflow: visible; }
    .nav {
        display: none;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        height: calc(100vh - 84px);
        height: calc(100dvh - 84px);
        background: #0f0a1e;
        flex-direction: column;
        padding: 40px 24px;
        gap: 20px;
        z-index: 99999;
        align-items: center;
        justify-content: flex-start;
        overflow-y: auto;
    }
    .nav.active { display: flex; }
    .nav__link { font-size: 1.25rem; padding: 12px 0; width: 100%; text-align: center; }
    .mobile-menu-btn { display: flex; z-index: 100000; position: relative; }
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

    .page-header { padding: 40px 0 30px; }

    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(255, 0, 122, 0.4);
    border: none;
}
.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 0, 122, 0.6);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* SEO Content Section */
.seo-content {
    padding: 64px 0;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.03) 0%, rgba(244, 63, 94, 0.02) 50%, transparent 100%);
    position: relative;
}
.seo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    border-radius: 999px;
}
.seo-content--category {
    margin-top: 48px;
    padding: 48px 0 32px;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.seo-content--category::before { display: none; }
.seo-content__text {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.85;
    font-size: 1rem;
    text-align: center;
}
.seo-content__text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.seo-content__text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}
.seo-content__text h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--accent-purple);
    border-radius: 999px;
}
.seo-content__text p { margin-bottom: 16px; }
.seo-content__text p:last-child { margin-bottom: 0; }
.seo-content__text p:first-of-type {
    font-size: 1.125rem;
    color: var(--text-secondary);
}
.seo-content__text strong { color: var(--text-primary); font-weight: 600; }
.seo-content__text a {
    color: var(--accent-pink-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.seo-content__text a:hover { color: var(--accent-pink); }

@media (max-width: 768px) {
    .seo-content { padding: 48px 0; }
    .seo-content::before { width: 120px; }
    .seo-content__text h2 { font-size: 1.375rem; }
    .seo-content__text h3 { font-size: 1rem; }
    .seo-content__text h3::after { width: 30px; }
    .seo-content__text p:first-of-type { font-size: 1rem; }
}

/* Scrollable tables on mobile */
.table-wrapper, .article-content table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
