/* NEWS Display Plugin Styles */

.news-product-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.news-product-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #fafafa;
    font-weight: 400;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.08);
}

.news-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff9500 100%);
    color: white;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.06)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

.news-header-content {
    position: relative;
    z-index: 2;
}

.news-header h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1em;
    font-weight: 500;
}

.news-new-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-intro {
    background: linear-gradient(135deg, #f8f9fb 0%, #f1f3f6 100%);
    padding: 35px 50px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.news-intro p {
    margin: 12px 0;
    font-size: 1.05em;
    color: #5a6c7d;
    font-weight: 500;
}

.news-creator-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-creator-link:hover {
    background: rgba(255, 107, 53, 0.08);
    transform: translateY(-1px);
}

.news-main-content {
    padding: 50px;
    background: white;
}

.news-product-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-product-title {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    position: relative;
}

.news-product-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.news-product-overview {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    margin-bottom: 30px;
    align-items: start;
}

.news-product-image {
    position: relative;
}

.news-product-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-product-image:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.18);
}

.news-product-details {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.news-product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.news-overview-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #4a5568;
    line-height: 1.8;
    font-weight: 500;
}

.news-price-info {
    display: flex;
    gap: 35px;
    align-items: center;
    margin-bottom: 20px;
}

.news-price-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-price-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.95em;
}

.news-price-value {
    font-size: 1.3em;
    font-weight: 800;
}

.news-price-item.free .news-price-value {
    color: #10b981;
}

.news-price-item.paid .news-price-value {
    color: #ef4444;
}

.news-download-section {
    text-align: center;
    margin: 40px 0;
}

.news-download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-download-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #e55a2b, #e8851a);
    color: white;
    text-decoration: none;
}

.news-info-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.news-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.news-section-title {
    font-size: 1.5em;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-category-section {
    margin: 20px 0;
}

.news-category-label {
    font-size: 0.9em;
    color: #6b7280;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1em;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

.news-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.news-spec-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-spec-item:hover::before {
    transform: scaleX(1);
}

.news-spec-item:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.news-spec-label {
    font-size: 0.85em;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-spec-value {
    font-weight: 700;
    color: #ff6b35;
    font-size: 1.05em;
}

.news-trading-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 25px 0;
}

.news-trading-item {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-trading-label {
    font-size: 0.85em;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-trading-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1em;
}

.news-content-text {
    font-size: 1.05em;
    line-height: 1.8;
    color: #4a5568;
    font-weight: 500;
    text-align: justify;
}

.news-highlight-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-left: 6px solid #10b981;
    padding: 25px;
    border-radius: 16px;
    margin: 25px 0;
}

.news-highlight-section h4 {
    color: #065f46;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 700;
}

.news-highlight-section p {
    color: #065f46;
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
}

.news-usage-section {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fbbf24;
    border-left: 6px solid #f59e0b;
    padding: 25px;
    border-radius: 16px;
    margin: 25px 0;
}

.news-usage-section p {
    color: #92400e;
    margin: 0;
    font-weight: 600;
    line-height: 1.7;
    font-size: 1.05em;
}

.news-disclaimer {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    padding: 35px;
    border-radius: 20px;
    margin-top: 50px;
    font-size: 0.95em;
    color: #64748b;
    line-height: 1.8;
    font-weight: 500;
}

.news-disclaimer strong {
    color: #374151;
    font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-product-container {
        padding: 20px;
    }
    
    .news-header, .news-intro, .news-main-content {
        padding: 25px 30px;
    }
    
    .news-header h1 {
        font-size: 2.2em;
    }
    
    .news-product-title {
        font-size: 2.4em;
    }
    
    .news-product-overview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-price-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .news-spec-grid {
        grid-template-columns: 1fr;
    }
    
    .news-trading-info {
        grid-template-columns: 1fr;
    }
}