/* =============================================
   THE SOVEREIGN — Design System
   Gold × Deep Black Premium Theme
   ============================================= */

/* Reset & Base */
:root {
    --bg-deep: #0A0A0C;
    --bg-card: rgba(18, 18, 22, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);

    --gold: #C9A84C;
    --gold-light: #F0D78C;
    --gold-glow: rgba(201, 168, 76, 0.35);
    --gold-subtle: rgba(201, 168, 76, 0.08);

    --rating-buy: #00C853;
    --rating-hold: #FFB300;
    --rating-sell: #FF1744;

    --text-main: #ECEDF0;
    --text-muted: #8A8D95;
    --text-dim: #5A5D65;
    --border: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(201, 168, 76, 0.2);

    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 30px var(--gold-glow);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;

    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
    --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-serif: 'Playfair Display', 'Noto Serif JP', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── Utility ─── */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-line {
    width: 140px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 32px auto 40px;
    position: relative;
    opacity: 0.85;
}

.gold-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    background: var(--bg-deep);
    border: 1px solid var(--gold);
    box-shadow: 0 0 6px rgba(201, 168, 76, 0.5);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

/* ─── Header ─── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    z-index: 100;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(10, 10, 12, 0.92);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
    opacity: 1;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--bg-deep); /* Fallback */
    opacity: 0.35;
}

.hero-bg-img,
.hero-bg canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-deep), transparent);
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

.hero-content {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gold-subtle);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 28px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: #fff;
}

.hero h1 .gold {
    color: var(--gold);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 44px;
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.9;
}

/* ─── Section common ─── */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ─── Worldview ─── */
.worldview {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.worldview-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.worldview-inner p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 16px;
}

.worldview-inner .highlight {
    color: var(--text-main);
    font-weight: 600;
}

/* ─── Asset Portfolio Cards ─── */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Anchor wrapper for the card links */
.asset-grid > a {
    text-decoration: none;
    color: inherit;
    display: block;
    border-radius: var(--radius-md);
}

.asset-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px 48px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.asset-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.25), 0 12px 32px rgba(0, 0, 0, 0.4);
    background: rgba(24, 24, 30, 0.95);
}

/* Top gold bar — always subtly visible, full on hover */
.asset-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0.35;
    transition: opacity 0.4s;
}

.asset-card:hover::before {
    opacity: 1;
}

/* Arrow affordance — always visible, animated on hover */
.asset-card::after {
    content: '→';
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.5;
    transition: all 0.35s ease;
    letter-spacing: 1px;
}

.asset-card:hover::after {
    opacity: 1;
    right: 16px;
    content: 'Read →';
    font-size: 0.78rem;
}

/* Subtle shimmer sweep animation */
@keyframes card-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.asset-card .asset-cta-hint {
    display: block;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--gold);
    opacity: 0.45;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.35s ease;
}

.asset-card:hover .asset-cta-hint {
    opacity: 1;
}

.asset-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gold-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.asset-card:hover .asset-icon {
    background: rgba(201, 168, 76, 0.15);
    box-shadow: 0 0 16px rgba(201, 168, 76, 0.2);
}

.asset-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: #fff;
}

.asset-card .asset-tag {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.asset-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ─── Latest Ratings ─── */
.rating-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s ease;
}

.rating-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.rating-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 240px;
}

.rating-card-body {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 16px;
}

.rating-badge.buy {
    background: rgba(0, 200, 83, 0.12);
    color: var(--rating-buy);
    border: 1px solid rgba(0, 200, 83, 0.25);
}

.rating-badge.hold {
    background: rgba(255, 179, 0, 0.12);
    color: var(--rating-hold);
    border: 1px solid rgba(255, 179, 0, 0.25);
}

.rating-badge.sell {
    background: rgba(255, 23, 68, 0.12);
    color: var(--rating-sell);
    border: 1px solid rgba(255, 23, 68, 0.25);
}

.rating-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #fff;
}

.rating-card-body .rating-meta {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 14px;
    display: flex;
    gap: 16px;
}

.rating-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-article {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.read-article:hover {
    gap: 12px;
    opacity: 1;
}

/* ─── Spoke Network ─── */
.spoke-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spoke-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.spoke-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    opacity: 1;
}

.spoke-label {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.spoke-card h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 8px;
}

.spoke-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer a {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin: 0 12px;
}

.footer a:hover {
    color: var(--gold);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 16px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .asset-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .spoke-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .asset-grid {
        grid-template-columns: 1fr;
    }

    .spoke-grid {
        grid-template-columns: 1fr;
    }

    .rating-card {
        grid-template-columns: 1fr;
    }

    .rating-card-img {
        min-height: 200px;
    }

    .rating-card-body {
        padding: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 64px 0;
    }
}

/* ─── Breadcrumb Bar ─── */
.breadcrumb-bar {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    margin-top: 72px; /* Height of the fixed header */
}
.breadcrumb {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.breadcrumb li {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: var(--gold);
    opacity: 1;
}
.breadcrumb .sep {
    margin: 0 10px;
    font-size: 0.6rem;
    color: var(--border-gold);
}
.breadcrumb [aria-current="page"] {
    color: var(--gold);
    font-weight: 500;
}

/* ─── Compliance (Stealth Marketing) ─── */
.pr-disclaimer {
    font-size: 0.75rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border-left: 2px solid var(--gold);
    line-height: 1.5;
}