/* detail.css - Styles for detailed article pages */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Top Navigation Bar */
.detail-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #eee;
}

.fonosm-back {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fonosm-back:hover {
    background: #667eea;
    color: white !important;
}

.fonosm-back i {
    font-size: 18px;
}

/* Main Content Area */
.detail-content-area {
    max-width: 920px;
    margin: 100px auto 60px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detail Image */
.detail-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

/* Title */
.detail-title {
    padding: 40px 50px 15px;
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    line-height: 1.3;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #fff8e1, #ffebee);
    border-left: 7px solid #667eea;
    padding: 24px 30px;
    margin: 35px 50px;
    border-radius: 0 16px 16px 0;
    font-size: 16px;
    color: #444;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.1);
    position: relative;
}

.important-note::before {
    content: "Warning";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.important-note strong {
    color: #667eea;
}

/* Article Body */
.article-body {
    padding: 0 50px 70px;
    font-size: 18px;
    line-height: 1.9;
    color: #2c3e50;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.article-body p {
    margin: 18px 0;
}

/* Game Changer Section */
.game-changer-section {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    padding: 25px;
    border-radius: 16px;
    margin: 30px 0;
}

.game-changer-section h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-changer-section ul {
    list-style: none;
    padding-left: 0;
}

.game-changer-section li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.game-changer-section li i {
    color: #667eea;
    position: absolute;
    left: 0;
}

/* Reward Section */
.reward-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.reward-section h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-container {
    overflow-x: auto;
}

.reward-section table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.reward-section thead tr {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.reward-section th,
.reward-section td {
    padding: 15px;
    text-align: left;
}

.reward-section tbody tr {
    border-bottom: 1px solid #eee;
}

.reward-section tbody tr:last-child {
    border-bottom: none;
}

/* Peace Section */
.peace-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    border-left: 5px solid #667eea;
}

.peace-section h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Vision Section */
.vision-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.vision-section h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quote-box {
    font-style: italic;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.quote-box.highlight {
    background: linear-gradient(135deg, #fff8e1, #ffebee);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: #667eea;
    font-style: normal;
    margin-top: 10px;
}

/* Target Section */
.target-section {
    background: linear-gradient(135deg, #f093fb, #7e57f5);
        color: white;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
}

.target-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bottom Section */
.bottom-section {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
    border-top: 5px solid #667eea;
}

.bottom-section h3 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.apply-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.apply-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.5);
}

/* Responsive Styles */
@media (max-width: 799px) {
    .detail-content-area {
        margin: 80px 15px 40px;
        border-radius: 16px;
    }
    
    .detail-title {
        font-size: 28px;
        padding: 30px 20px 10px;
    }
    
    .important-note {
        margin: 30px 20px;
        padding: 20px;
    }
    
    .article-body {
        padding: 0 25px 50px;
        font-size: 17px;
    }
    
    .detail-img {
        height: 240px;
    }
    
    .game-changer-section h3,
    .reward-section h3,
    .peace-section h3,
    .vision-section h3,
    .target-section h3,
    .bottom-section h3 {
        font-size: 22px;
    }
}

@media (max-width: 477px) {
    .detail-content-area {
        margin: 70px 10px 30px;
        border-radius: 14px;
    }
    
    .detail-title {
        font-size: 24px;
        padding: 25px 15px 10px;
    }
    
    .important-note {
        margin: 20px 15px;
        padding: 18px;
        font-size: 15px;
    }
    
    .article-body {
        padding: 0 20px 40px;
        font-size: 16px;
    }
    
    .detail-img {
        height: 200px;
    }
    
    .fonosm-back {
        font-size: 16px;
        padding: 8px 14px;
    }
    
    .game-changer-section,
    .reward-section,
    .peace-section,
    .vision-section,
    .target-section,
    .bottom-section {
        padding: 20px;
    }
    
    .game-changer-section h3,
    .reward-section h3,
    .peace-section h3,
    .vision-section h3,
    .target-section h3,
    .bottom-section h3 {
        font-size: 20px;
    }
    
    .apply-button {
        padding: 14px 30px;
        font-size: 16px;
    }
}