/*
Theme Name: Simple Review Theme
Theme URI: https://example.com/simple-review
Author: Nuinu Team
Description: A clean, versatile white-based theme for Amazon product reviews.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: simple-review
*/

:root {
    --color-primary: #232f3e;
    /* Amazon Dark Blue */
    --color-accent: #ff9900;
    /* Amazon Orange */
    --color-bg: #f5f7f9;
    /* Light Gray Background */
    --color-surface: #ffffff;
    /* White Cards */
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-border: #e0e0e0;
    --color-gold: #ffa41c;
    /* Star Color */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary) !important;
    text-decoration: none;
    letter-spacing: 0.5px;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    background: var(--color-surface);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.hero h1 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 153, 0, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s, transform 0.1s;
}

.cta-button:hover {
    background: #37475a;
    transform: translateY(-2px);
}

/* Ranking Section */
.ranking-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    /* Readability width */
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Product Card */
.product-card {
    background: var(--color-surface);
    border-radius: 8px;
    margin-bottom: 2.5rem;
    display: flex;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rank-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-text-muted);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.5rem 1.2rem;
    border-bottom-right-radius: 8px;
    z-index: 10;
}

.product-card.rank-1 .rank-badge {
    background: var(--color-gold);
    color: #000;
}

.product-card.rank-1 {
    border: 2px solid var(--color-gold);
}

.card-left {
    flex: 0 0 35%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--color-border);
    background: #fff;
}

.product-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.review-summary {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    width: 100%;
    font-size: 0.85rem;
    border: 1px solid #eee;
}

.review-title {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--color-text-muted);
}

.review-list li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.product-info {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.brand {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.product-name {
    font-size: 1.6rem;
    margin: 0 0 1rem;
    color: var(--color-primary);
    line-height: 1.3;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: var(--color-gold);
}

.score {
    font-weight: 700;
    color: var(--color-primary);
}

.review-count {
    color: #007185;
    /* Amazon link colorish */
    font-size: 0.9rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0;
}

.features li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.features li i {
    color: #00a651;
    /* Success Green */
    margin-top: 4px;
}

.price-area {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b12704;
    /* Amazon Price Red */
}

.strike {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-right: 0.5rem;
    font-weight: normal;
}

.amazon-btn {
    background: #ffa41c;
    color: #000;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.amazon-btn:hover {
    background: #fa8900;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--color-surface);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
    }

    .card-left {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 1.5rem;
    }

    .product-info {
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .price {
        font-size: 1.5rem;
    }
}