/* =====================================================
   ARTICLE PAGE STYLES - SEXY14K
   Premium Purple & Gold Theme
   ===================================================== */

/* Article Container */
.article-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Article Header/Banner */
.article-header {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(205, 8, 185, 0.3);
}

.article-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-header:hover img {
    transform: scale(1.05);
}

.article-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(205, 8, 185, 1), rgba(140, 0, 149, 1));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-family: 'Kanit', sans-serif;
}

.article-title {
    font-family: 'Kanit', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta-item i {
    color: #FFD700;
}

/* Article Content */
.article-content {
    background: linear-gradient(180deg, rgba(26, 10, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(205, 8, 185, 0.2);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.article-body {
    font-family: 'Kanit', sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    margin: 40px 0 20px 0;
    padding-left: 15px;
    border-left: 4px solid rgba(205, 8, 185, 1);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 30px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.article-body strong {
    color: #FFD700;
    font-weight: 600;
}

.article-body a {
    color: rgba(205, 8, 185, 1);
    text-decoration: none;
    border-bottom: 1px dashed rgba(205, 8, 185, 0.5);
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: #FFD700;
    border-bottom-color: #FFD700;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(205, 8, 185, 0.15), rgba(140, 0, 149, 0.1));
    border-left: 4px solid #FFD700;
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box h4 {
    color: #FFD700;
    font-size: 20px;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box h4 i {
    font-size: 24px;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-box ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #e0e0e0;
}

.highlight-box ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00ff88;
    font-weight: bold;
}

/* Tips Card */
.tip-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.tip-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tip-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.tip-card-title {
    color: #FFD700;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.tip-card ol {
    counter-reset: tip-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-card ol li {
    counter-increment: tip-counter;
    padding: 15px 0 15px 55px;
    position: relative;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: #e0e0e0;
}

.tip-card ol li:last-child {
    border-bottom: none;
}

.tip-card ol li::before {
    content: counter(tip-counter);
    position: absolute;
    left: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(205, 8, 185, 1), rgba(140, 0, 149, 1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* Article Image */
.article-image {
    margin: 30px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(205, 8, 185, 0.2);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-image:hover img {
    transform: scale(1.02);
}

.article-image figcaption {
    background: rgba(0, 0, 0, 0.8);
    color: #aaa;
    padding: 12px 15px;
    font-size: 14px;
    text-align: center;
    font-style: italic;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.1), rgba(255, 0, 0, 0.05));
    border-left: 4px solid #ff5757;
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.warning-box h4 {
    color: #ff5757;
    font-size: 18px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning-box p {
    margin: 0;
    color: #e0e0e0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(205, 8, 185, 0.3), rgba(140, 0, 149, 0.2));
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid rgba(205, 8, 185, 0.5);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.cta-box h3 {
    color: #FFD700;
    font-size: 28px;
    margin: 0 0 15px 0;
    position: relative;
}

.cta-box p {
    color: #e0e0e0;
    font-size: 16px;
    margin: 0 0 25px 0;
    position: relative;
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.cta-button i {
    margin-left: 10px;
}

/* Related Articles */
.related-articles {
    margin: 50px 0;
}

.related-title {
    font-family: 'Kanit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px rgba(205, 8, 185, 0.5);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background: linear-gradient(180deg, rgba(26, 10, 26, 0.9), rgba(10, 10, 10, 0.95));
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(205, 8, 185, 0.2);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(205, 8, 185, 0.3);
    border-color: rgba(205, 8, 185, 0.5);
}

.related-card-image {
    height: 180px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.related-card-content {
    padding: 20px;
}

.related-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(205, 8, 185, 0.3);
    color: rgba(205, 8, 185, 1);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 10px;
}

.related-card-title {
    font-family: 'Kanit', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.related-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: #FFD700;
}

.related-card-excerpt {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
}

.breadcrumb-list li a {
    color: rgba(205, 8, 185, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list li a:hover {
    color: #FFD700;
}

.breadcrumb-list li.active {
    color: #888;
}

.breadcrumb-list li::after {
    content: '/';
    margin-left: 10px;
    color: #555;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, rgba(26, 10, 26, 0.95), rgba(10, 10, 10, 0.98));
    border: 1px solid rgba(205, 8, 185, 0.3);
    border-radius: 15px;
    padding: 25px 30px;
    margin: 30px 0;
}

.toc-title {
    color: #FFD700;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list li a::before {
    content: '▸';
    color: rgba(205, 8, 185, 1);
}

.toc-list li a:hover {
    color: #FFD700;
    padding-left: 10px;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-label {
    color: #888;
    font-size: 14px;
    font-weight: 600;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.line {
    background: #00c300;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .article-header {
        height: 280px;
        border-radius: 10px;
    }
    
    .article-header-overlay {
        padding: 25px 20px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-content {
        padding: 25px 20px;
        border-radius: 10px;
    }
    
    .article-body h2 {
        font-size: 22px;
    }
    
    .article-body h3 {
        font-size: 18px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .cta-box h3 {
        font-size: 22px;
    }
    
    .tip-card ol li {
        padding-left: 45px;
    }
    
    .tip-card ol li::before {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .article-header {
        height: 220px;
    }
    
    .article-title {
        font-size: 22px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cta-button {
        padding: 12px 35px;
        font-size: 16px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
}
