:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.4);
    --glass-bg: rgba(30, 30, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --trend-up: #10b981;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Image Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.95) 100%);
}

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

/* Typography */
h1, h2, h3, .price, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Header */
header {
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-gold);
}

nav .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 32px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .nav-link:hover {
    color: var(--accent-gold);
}

/* Glass Panel Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid var(--accent-gold-glow);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-date {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 48px;
}

.price-display-container {
    padding: 40px 60px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.price-display-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 60%);
    opacity: 0.15;
    animation: pulseGlow 4s infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.05); opacity: 0.25; }
}

.price-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.currency {
    font-size: 32px;
    font-weight: 400;
    color: var(--accent-gold);
}

.price {
    font-size: 84px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 30px var(--accent-gold-glow);
    font-variant-numeric: tabular-nums;
}

.trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
}

.trend.up {
    color: var(--trend-up);
}

.hero-description {
    max-width: 600px;
    color: var(--text-secondary);
    margin: 0 auto 32px;
    font-size: 15px;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--accent-gold-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* Analysis Section */
.analysis-section {
    padding: 80px 0 120px;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 64px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.analysis-card {
    padding: 32px;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.analysis-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.3);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.analysis-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #fff;
}

.analysis-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #1f2937;
    padding: 60px 0 40px;
    position: relative;
    z-index: 10;
}

.disclaimer-title {
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}

.disclaimer-text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 800px;
}

.copyright {
    color: #6b7280;
    font-size: 13px;
    border-top: 1px solid #1f2937;
    padding-top: 24px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Evaluation Banner */
.evaluation-banner {
    padding: 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-gold);
}
.eval-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
}
.eval-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}
.eval-date {
    color: var(--text-secondary);
    font-size: 14px;
}
.eval-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.eval-stats div {
    display: flex;
    flex-direction: column;
}
.eval-stats .label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.eval-stats .value {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}
.eval-note {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 8px;
}

/* Realtime Section */
.realtime-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.realtime-title {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.realtime-subtitle {
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 15px;
    line-height: 1.8;
}

.today-price-box {
    display: inline-block;
    padding: 40px 60px;
    text-align: center;
}

.today-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.today-update {
    font-size: 13px;
    color: var(--accent-gold);
    margin-top: 12px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .realtime-title { font-size: 28px; }
    .today-price-box { padding: 30px 20px; width: 100%; }
    .hero-title { font-size: 36px; }
    .price { font-size: 64px; }
    .price-display-container { padding: 30px 20px; }
    nav { display: none; }
}
