:root {
    /* Sophisticated Color Palette - Refined */
    --primary-color: #721410; /* Deeper Ceremonial Red */
    --primary-light: #8A1C14;
    --primary-dark: #4A0A08;
    --secondary-color: #D4AF37; /* Champagne Gold */
    --secondary-light: #F3E5AB;
    --accent-color: #C5A059;
    
    --text-main: #121212;
    --text-body: #333333;
    --text-light: #777777;
    
    --bg-base: #F9F7F2; /* Creamier base */
    --bg-white: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.88);
    
    --border-color: #E2DED0;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-premium: 0 30px 60px rgba(114, 20, 16, 0.12);
    
    /* Typography */
    --font-heading: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-body: 'Outfit', 'Noto Sans JP', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-base);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(138, 28, 20, 0.05);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.mobile-menu-btn {
    display: none;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.global-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #111;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    transform: scale(1.1);
    filter: brightness(0.6);
    transition: transform 10s linear;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 60px;
    border-radius: 2px; /* Sharp premium look */
    max-width: 900px;
    animation: fadeInUp 1.5s var(--transition-smooth);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title .en {
    display: block;
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.hero-title .ja {
    display: block;
    font-size: 4rem;
    color: var(--primary-color); /* Changed from white to primary red */
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: none; /* Removed heavy shadow */
}

.hero-desc {
    color: var(--text-body); /* Changed from white to body text color */
    font-size: 1.2rem;
    margin-bottom: 45px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px 55px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    border-radius: 0;
    box-shadow: 0 15px 35px rgba(114, 20, 16, 0.25);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(114, 20, 16, 0.35);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title .en {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    letter-spacing: 0.5em;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.section-title .ja {
    font-size: 2.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--secondary-color);
    margin: 30px auto 0;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-premium);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-right: 5px;
    font-weight: normal;
}

/* Affiliate Links */
.affiliate-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-rakuten, .btn-amazon {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-rakuten {
    border: 1px solid #BF0000;
    color: #BF0000;
}

.btn-rakuten:hover {
    background: #BF0000;
    color: white;
}

.btn-amazon {
    border: 1px solid #232f3e;
    color: #232f3e;
}

.btn-amazon:hover {
    background: #232f3e;
    color: white;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.category-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: #111;
    color: rgba(255,255,255,0.7);
    padding: 100px 0 50px;
    margin-top: 100px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--bg-white);
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: block;
}

.footer-title {
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
/* Keyword Tags */
.keywords-section {
    padding: 40px 0 0;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 15px;
    justify-content: center;
}

.keyword-tags a {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-body);
    transition: var(--transition-smooth);
}

.keyword-tags a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Seasonal Banner Overlay */
.seasonal-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title .ja {
        font-size: 2.5rem;
    }
    .global-nav {
        display: none;
    }
    .header-inner {
        padding: 15px 0;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .section-title .ja {
        font-size: 2rem;
    }

    /* Mobile Nav Overlay */
    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-dark);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .global-nav.active {
        right: 0;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .global-nav a {
        color: white;
        font-size: 1.5rem;
        font-family: var(--font-heading);
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        color: var(--primary-color);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    .site-header.scrolled .mobile-menu-btn {
        color: var(--primary-color);
    }
}
