
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --white: #ffffff;
    --off-white: #faf9f7;
    --cream: #f5f2eb;
    --black: #0d0d0d;
    --charcoal: #1a1a1a;
    --gold: #c9a227;
    --gold-light: #e8d5a3;
    --gold-dark: #9a7b1a;
    --gray-100: #f0eeea;
    --gray-200: #e5e2dc;
    --gray-400: #9a9590;
    --gray-600: #5c5854;
    --shadow-sm: 0 2px 8px rgba(13, 13, 13, 0.06);
    --shadow-md: 0 8px 30px rgba(13, 13, 13, 0.08);
    --shadow-lg: 0 20px 60px rgba(13, 13, 13, 0.12);
    --radius: 12px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 100%, rgba(13, 13, 13, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--black);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gold);
    border: 1px solid var(--gold-dark);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold-dark); }

.lang-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    margin-left: 8px;
    max-width: 280px;
    justify-content: flex-end;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 5px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: var(--gray-600);
    background: #fff;
    transition: all var(--transition);
}

.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
}

.lang-btn.active {
    background: var(--gold);
    border-color: var(--gold-dark);
    color: #fff;
}

.header-suits {
    font-size: 14px;
    color: var(--gold);
    opacity: 0.6;
    letter-spacing: 4px;
}

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    padding: 64px 24px 48px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--cream);
    border: 1px solid var(--gold-light);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-dark);
}

.hero p {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 560px;
    margin: 0 auto;
}

/* Main */
main {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 80px;
    width: 100%;
}

/* QQ Poker promo banner */
.promo-banner {
    margin: 0 auto 40px;
    max-width: 1280px;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero + .promo-banner {
    margin-top: -16px;
}

.site-header + .promo-banner {
    margin-top: 20px;
}

.promo-banner-inner {
    display: grid;
    grid-template-columns: minmax(220px, 340px) 1fr;
    gap: 28px;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1510 50%, #0d0d0d 100%);
    border: 2px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.promo-banner-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.promo-banner-media {
    position: relative;
    z-index: 1;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 39, 0.35);
    transition: transform var(--transition), box-shadow var(--transition);
}

.promo-banner-media:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}

.promo-banner-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.promo-banner-body {
    position: relative;
    z-index: 1;
    color: #f5f0e6;
}

.promo-brand {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    background: var(--gold);
    color: #0d0d0d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
}

.promo-lead {
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    margin-bottom: 10px;
}

.promo-tagline {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.promo-features {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(245, 240, 230, 0.88);
    margin-bottom: 18px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
    color: #0d0d0d;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--gold-dark);
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.promo-cta:hover {
    background: #fff;
    color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

@media (max-width: 768px) {
    .promo-banner-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }

    .promo-banner-media img {
        aspect-ratio: 16 / 10;
        max-height: 220px;
        object-fit: cover;
        object-position: top center;
    }
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-dark);
    margin-bottom: 8px;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .article-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.card-image-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--cream);
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--black);
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.card-suit {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 28px;
    color: var(--gold);
    opacity: 0.4;
}

.card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 12px;
}

.card-body p {
    font-size: 14px;
    color: var(--gray-600);
    flex: 1;
    margin-bottom: 20px;
}

.card-meta {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: 1px solid var(--black);
    transition: all var(--transition);
    align-self: flex-start;
}

.btn-read:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.btn-read::after {
    content: '→';
    transition: transform var(--transition);
}

.btn-read:hover::after { transform: translateX(4px); }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 56px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--charcoal);
    border: 1px solid var(--gray-200);
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    background: var(--cream);
}

.pagination a.active {
    background: var(--black);
    color: var(--gold);
    border-color: var(--black);
}

.pagination .dots {
    color: var(--gray-400);
    border: none;
    background: none;
}

/* Article Detail */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    transition: color var(--transition);
}

.back-link:hover { color: var(--gold-dark); }

.article-detail {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 860px;
    margin: 0 auto;
}

.article-hero-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-bottom: 3px solid var(--gold);
}

.article-content {
    padding: 48px 56px;
}

@media (max-width: 640px) {
    .article-content { padding: 32px 24px; }
    .article-hero-image { height: 240px; }
}

.article-content .category {
    display: inline-block;
    padding: 4px 14px;
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.article-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 16px;
}

.article-meta {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}

.article-body {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.85;
}

.article-body h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin: 36px 0 16px;
    padding-left: 16px;
    border-left: 3px solid var(--gold);
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--charcoal);
    margin: 28px 0 12px;
}

.article-body p { margin-bottom: 18px; }

.article-body ul, .article-body ol {
    margin: 16px 0 20px 24px;
}

.article-body li { margin-bottom: 8px; }

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    background: var(--cream);
    border-left: 4px solid var(--gold);
    font-style: italic;
    color: var(--charcoal);
    border-radius: 0 8px 8px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    color: var(--gold);
    opacity: 0.5;
}

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--black);
    color: var(--gray-400);
    padding: 48px 24px 32px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.footer-suits {
    font-size: 28px;
    margin-bottom: 16px;
    letter-spacing: 12px;
}

.footer-suits .red { color: #c0392b; }
.footer-suits .gold { color: var(--gold); }

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 8px;
}

.footer-brand span { color: var(--gold); }

.footer-copy {
    font-size: 13px;
    opacity: 0.7;
}
