/* CSS Reset & Variables */
:root {
    --pg-bg-color: #051a10;
    --pg-surface: #0d3a24;
    --pg-surface-glass: rgba(13, 58, 36, 0.7);
    --pg-accent-gold: #fbbf24;
    --pg-accent-gold-hover: #f59e0b;
    --pg-accent-green: #10b981;
    --pg-text-main: #f8fafc;
    --pg-text-muted: #94a3b8;
    --pg-border: rgba(251, 191, 36, 0.15);
    --pg-border-green: rgba(16, 185, 129, 0.2);
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glow-gold: 0 0 20px rgba(251, 191, 36, 0.3);
    --glow-green: 0 0 20px rgba(16, 185, 129, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #0d3a24 0%, #051a10 100%);
    background-attachment: fixed;
    color: var(--pg-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--pg-accent-gold);
    transition: all 0.3s ease;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* Top Action Bar */
.site-top-promo {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    padding: 12px;
    text-align: center;
}
.site-top-promo .promo-btn {
    font-family: var(--font-headings);
    font-weight: 800;
    color: #000;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Top Header */
.brand-header-wrapper {
    background: linear-gradient(180deg, #0d3a24 0%, #061a10 100%);
    border-bottom: 1px solid var(--pg-border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo img {
    max-width: 240px;
    height: auto;
}

/* Navigation */
.primary-nav-group ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.primary-nav-group a {
    color: var(--pg-text-main);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.primary-nav-group a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--pg-accent-gold);
    transition: width 0.3s ease;
}

.primary-nav-group a:hover {
    color: var(--pg-accent-gold);
}

.primary-nav-group a:hover::after {
    width: 100%;
}

/* Main Layout */
.content-grid-area {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 968px) {
    .content-grid-area {
        grid-template-columns: 1fr;
    }
    .primary-nav-group {
        display: none; /* simple mobile fallback */
    }
}

/* Redirection Card (Hero) */
.redirect-hero-card {
    background: var(--pg-surface);
    border: 1px solid var(--pg-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.redirect-hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.1);
    color: var(--pg-accent-gold);
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--pg-accent-gold);
}

.hero-desc {
    color: var(--pg-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.feature-box {
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid var(--pg-border-green);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--pg-accent-green);
    transition: transform 0.3s ease;
}

.feature-box.gold {
    background: rgba(251, 191, 36, 0.03);
    border-color: var(--pg-border);
    border-left-color: var(--pg-accent-gold);
}

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

.feature-box h4 {
    color: var(--pg-accent-green);
    font-size: 1.1rem;
}

.feature-box.gold h4 {
    color: var(--pg-accent-gold);
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--pg-text-muted);
}

/* CTA Button */
.cta-action-btn {
    display: inline-block;
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    box-shadow: var(--glow-gold);
    position: relative;
    overflow: hidden;
}

.cta-action-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.cta-action-btn:hover {
    transform: scale(1.02);
    color: #000;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.update-info {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--pg-text-muted);
}

/* SEO Article Content */
.seo-rich-article {
    background: var(--pg-surface);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.seo-rich-article h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.seo-rich-article h2:first-of-type {
    margin-top: 0;
}

.seo-rich-article p {
    color: var(--pg-text-muted);
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.seo-rich-article strong {
    color: var(--pg-text-main);
}

.seo-rich-article ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--pg-text-muted);
}

.seo-rich-article li {
    margin-bottom: 0.5rem;
}

.seo-rich-article blockquote {
    border-left: 4px solid var(--pg-accent-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #cbd5e1;
    background: rgba(251, 191, 36, 0.05);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
}

/* Sidebar */
.sidebar-widget-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rating-card-widget {
    background: var(--pg-surface);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--pg-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.stars-display {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 3rem;
    font-family: var(--font-headings);
    font-weight: 800;
    color: var(--pg-accent-gold);
    line-height: 1;
}

.score-value span {
    font-size: 1.2rem;
    color: var(--pg-text-muted);
}

.eval-count {
    font-size: 0.85rem;
    color: var(--pg-text-muted);
    margin: 0.5rem 0 1.5rem 0;
}

.rating-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0.5rem;
    border-radius: 12px;
}

.stat-box .val {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--pg-accent-gold);
}

.stat-box .lbl {
    font-size: 0.75rem;
    color: var(--pg-text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.promo-banner-widget img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.promo-banner-widget a:hover img {
    transform: scale(1.03);
}

/* Footer */
.site-footer-area {
    background: var(--pg-surface);
    border-top: 1px solid var(--pg-border);
    padding: 4rem 0 2rem 0;
    margin-top: 2rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.foot-col h3 {
    color: var(--pg-accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.foot-col ul {
    list-style: none;
}

.foot-col li {
    color: var(--pg-text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s;
}

.foot-col li:hover {
    color: var(--pg-accent-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}
