@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&family=Zen+Maru+Gothic:wght@400;700&family=Outfit:wght@400;600&display=swap');

:root {
    --primary: hsl(20, 30%, 30%);
    --primary-light: hsl(20, 20%, 45%);
    --bg-paper: hsl(45, 20%, 97%);
    --bg-desk: hsl(45, 15%, 85%);
    --card-bg: hsla(0, 0%, 100%, 0.9);
    --glass-bg: hsla(0, 0%, 100%, 0.7);
    --text-main: hsl(20, 40%, 10%);
    --text-muted: hsl(20, 20%, 40%);
    
    --font-hand: 'Kiwi Maru', serif;
    --font-main: 'Zen Maru Gothic', sans-serif;
    
    --shadow-lg: 0 24px 64px hsla(20, 30%, 20%, 0.12);
    --radius-md: 20px;
    --radius-lg: 32px;
}

[data-theme="dark"] {
    --bg-paper: hsl(210, 20%, 12%);
    --bg-desk: hsl(210, 20%, 8%);
    --card-bg: hsla(210, 20%, 18%, 0.9);
    --text-main: hsl(210, 10%, 90%);
    --text-muted: hsl(210, 10%, 65%);
    --primary: hsl(20, 20%, 80%);
}

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

body {
    background-color: var(--bg-desk);
    background-image: radial-gradient(hsla(20, 30%, 20%, 0.03) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.8;
}

.article-container {
    max-width: 850px;
    margin: 4rem auto;
    background: var(--card-bg);
    padding: 4rem 5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid hsla(0, 0%, 100%, 0.2);
    backdrop-filter: blur(10px);
}

header {
    margin-bottom: 4rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--primary);
    transform: translateX(-5px);
}

.site-title {
    font-family: var(--font-hand);
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

h1 {
    font-family: var(--font-hand);
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 2rem;
}

.intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    padding: 2.5rem;
    background: hsla(20, 30%, 20%, 0.03);
    border-radius: var(--radius-md);
    margin-bottom: 4rem;
    position: relative;
    font-style: italic;
}

h2 {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    color: var(--primary);
    margin: 4rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid hsla(20, 30%, 20%, 0.1);
}

h3 {
    font-family: var(--font-hand);
    font-size: 1.4rem;
    color: var(--primary-light);
    margin: 2.5rem 0 1rem;
}

p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
}

strong {
    color: var(--primary);
}

.point-box {
    background: hsla(175, 40%, 50%, 0.08);
    border-left: 5px solid hsl(175, 40%, 50%);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 2.5rem 0;
}

.affiliate-links {
    display: flex;
    gap: 1rem;
    margin: 3rem 0;
}

.affiliate-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.1);
}

.amazon { background: #232f3e; color: #ff9900; }
.rakuten { background: #bf0000; color: #fff; }

.affiliate-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.2);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    background: hsla(0, 0%, 100%, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px hsla(0, 0%, 0%, 0.05);
}

.comparison-table th, .comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.05);
}

.comparison-table th {
    background: hsla(20, 30%, 20%, 0.05);
    font-weight: 700;
}

.summary {
    background: hsla(20, 30%, 20%, 0.03);
    padding: 3rem;
    border-radius: var(--radius-md);
    margin-top: 5rem;
}

footer {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .article-container {
        margin: 0;
        padding: 3rem 1.5rem;
        border-radius: 0;
    }
    h1 { font-size: 1.8rem; }
    .affiliate-links { flex-direction: column; }
}
