@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
    /* Cyberpunk Theme Colors */
    --bg-base: #09090b;
    --bg-surface: #18181b;
    --bg-surface-alt: #27272a;
    --text-main: #fafafa;
    --text-muted: #a1a1aa;
    --border-color: #3f3f46;
    
    /* Neon Glow Accents */
    --glow-primary: #10b981; /* Monster Green */
    --glow-primary-rgb: 16, 185, 129;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-yellow: #eab308;
    
    /* Layout Variables */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 40px -3px rgba(0, 0, 0, 0.8);
    
    --font-heading: 'Outfit', 'Noto Sans JP', sans-serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
}

/* Light Mode Support */
@media (prefers-color-scheme: light) {
    :root {
        --bg-base: #fafafa;
        --bg-surface: #ffffff;
        --bg-surface-alt: #f4f4f5;
        --text-main: #09090b;
        --text-muted: #71717a;
        --border-color: #e4e4e7;
        
        --shadow-md: 0 4px 20px -2px rgba(161, 161, 170, 0.15);
        --shadow-lg: 0 10px 40px -3px rgba(161, 161, 170, 0.2);
    }
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--glow-primary);
    color: #000000;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.2s ease;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
}

/* Header */
.site-header {
    background-color: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
    padding: 1rem 0;
}

@media (prefers-color-scheme: light) {
    .site-header {
        background-color: rgba(250, 250, 250, 0.85);
    }
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-main);
}

.logo i {
    font-size: 1.5rem;
    color: var(--glow-primary);
    filter: drop-shadow(0 0 5px var(--glow-primary));
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--glow-primary);
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1.25rem 0;
    font-size: 0.8rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.breadcrumbs li::after {
    content: "/";
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs li:last-child::after {
    content: "";
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--text-main);
}

.breadcrumbs li:last-child {
    color: var(--text-main);
}

/* Hero */
.hero-section {
    padding: clamp(3rem, 8vh, 6rem) 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.05), transparent 70%);
}

.hero-tag {
    display: inline-block;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--glow-primary);
    padding: 0.35rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.hero-title {
    font-size: clamp(1.85rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* Filtering */
.filter-section {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-md);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--glow-primary);
    color: var(--glow-primary);
}

.filter-btn.active {
    background-color: var(--glow-primary);
    border-color: var(--glow-primary);
    color: #000000;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Card Directory Grid */
.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.flavor-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

/* Card Hover Accent Glows based on Brand */
.flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.flavor-card[data-brand-color="green"]:hover {
    border-color: var(--glow-primary);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.15);
}

.flavor-card[data-brand-color="blue"]:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.15);
}

.flavor-card[data-brand-color="pink"]:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 5px 20px rgba(236, 72, 153, 0.15);
}

.flavor-card[data-brand-color="orange"]:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.15);
}

.flavor-card[data-brand-color="yellow"]:hover {
    border-color: var(--accent-yellow);
    box-shadow: 0 5px 20px rgba(234, 179, 8, 0.15);
}

.flavor-card[data-brand-color="white"]:hover {
    border-color: #ffffff;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.card-img-container {
    width: 100%;
    aspect-ratio: 16 / 12;
    overflow: hidden;
    background-color: var(--bg-surface-alt);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.can-svg {
    height: 100%;
    max-height: 160px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.card-top {
    padding: 1.5rem;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.badge {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.badge.category {
    background-color: var(--bg-surface-alt);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.badge.brand-color-green {
    background-color: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge.brand-color-blue {
    background-color: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge.brand-color-pink {
    background-color: rgba(236, 72, 153, 0.15);
    color: #f472b6;
}

.badge.brand-color-orange {
    background-color: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}

.badge.brand-color-yellow {
    background-color: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.badge.brand-color-white {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.flavor-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.flavor-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.card-bottom {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.2);
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.flavor-card[data-brand-color="green"] .action-btn {
    background-color: var(--glow-primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}
.flavor-card[data-brand-color="green"] .action-btn:hover {
    background-color: #059669;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
    transform: translateY(-2px);
}

.flavor-card[data-brand-color="blue"] .action-btn {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}
.flavor-card[data-brand-color="blue"] .action-btn:hover {
    background-color: #2563eb;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.flavor-card[data-brand-color="pink"] .action-btn {
    background-color: var(--accent-pink);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}
.flavor-card[data-brand-color="pink"] .action-btn:hover {
    background-color: #db2777;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
    transform: translateY(-2px);
}

.flavor-card[data-brand-color="orange"] .action-btn {
    background-color: var(--accent-orange);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.3);
}
.flavor-card[data-brand-color="orange"] .action-btn:hover {
    background-color: #ea580c;
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
    transform: translateY(-2px);
}

.flavor-card[data-brand-color="yellow"] .action-btn {
    background-color: var(--accent-yellow);
    color: #000000;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
}
.flavor-card[data-brand-color="yellow"] .action-btn:hover {
    background-color: #ca8a04;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.6);
    transform: translateY(-2px);
}

.flavor-card[data-brand-color="white"] .action-btn {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.flavor-card[data-brand-color="white"] .action-btn:hover {
    background-color: #e4e4e7;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.empty-state i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

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

.table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    text-align: left;
}

.comp-table th, .comp-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.comp-table th {
    background-color: var(--bg-surface-alt);
    font-family: var(--font-heading);
    font-weight: 800;
}

/* FAQ */
.faq-section {
    margin-bottom: 6rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.faq-item h3 i {
    color: var(--glow-primary);
    margin-top: 0.2rem;
}

.faq-item p {
    font-size: 0.95rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

/* Scroll Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--glow-primary);
    color: #000000;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 98;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background-color: #030303;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-info h3 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

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