
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    font-family: 'Playfair Display', serif;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-title p {
    color: var(--accent);
    font-size: 1.3rem;
    max-width: 750px;
    margin: 3rem auto 0;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3.5rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-light);
}

.card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.6));
    z-index: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 2.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.card h3 i {
    color: var(--accent);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(22, 160, 133, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.card:hover h3 i {
    background: rgba(22, 160, 133, 0.15);
    transform: scale(1.1);
}

.card p {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    flex-grow: 1;
    line-height: 1.8;
    font-size: 1.1rem;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 500;
}

.author-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--crystal-blue), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.3);
}

.author-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 2;
    font-weight: 500;
}

.card-btn, .submit-btn, .accept-btn {
    display: inline-block;
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    padding: 1.1rem 2.4rem;
    border-radius: 50px;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(26, 115, 232, 0.2);
    cursor: pointer;
    min-width: 180px;
}

.card-btn::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
}

.card-btn:hover::before, .submit-btn:hover::before {
    left: 100%;
}

.card-btn:hover, .submit-btn:hover, .accept-btn:hover {
    background: var(--btn-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(26, 188, 156, 0.4);
}

.card-btn.outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    box-shadow: none;
}

.card-btn.outline:hover {
    background: var(--accent);
    color: white;
}

.diagonal-banner {
    position: absolute;
    top: 18px;
    left: -38px;
    background: linear-gradient(135deg, rgba(22, 160, 133, 0.95), rgba(46, 204, 113, 0.95));
    color: white;
    padding: 6px 48px;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    transform: rotate(-45deg);
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
    z-index: 10;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    animation: bannerGlow 3s ease-in-out infinite;
}

@keyframes bannerGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(22, 160, 133, 0.5); }
}

.diagonal-banner.hot { background: linear-gradient(135deg, #e67e22, #f39c12); }
.diagonal-banner.premium { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.diagonal-banner.crystal { background: linear-gradient(135deg, #3498db, #2980b9); }

/* Warning Box */
.warning-box {
    background: linear-gradient(145deg, rgba(255, 235, 238, 0.9) 0%, rgba(255, 229, 233, 0.9) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border-left: 6px solid #F44336;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.warning-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #D32F2F;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.warning-box ul {
    list-style: none;
    margin: 1.2rem 0;
}

.warning-box li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.7;
}

.warning-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #F44336;
    font-size: 1.5rem;
}

.ad-container {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}
.middle-ad { width: 100%; max-width: 600px; }
.article-ad { width: 100%; max-width: 800px; }
.bottom-ad { width: 100%; max-width: 1200px; }

/* Disclaimer Modal */
.disclaimer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.disclaimer-modal.active { display: flex; opacity: 1; }

.modal-content {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.disclaimer-modal.active .modal-content { transform: translateY(0); }

.modal-header h3 { font-size: 2.3rem; color: var(--primary); font-family: 'Playfair Display', serif; }
.close-btn { position: absolute; top: 20px; right: 25px; background: transparent; border: none; font-size: 1.8rem; cursor: pointer; }

.secondary-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(26, 37, 47, 0.85));
    height: 70vh;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container { padding: 6rem 1.5rem 4rem; width: calc(100% - 3rem); box-sizing: border-box; }
    .card-content { padding: 2.4rem 1.5rem; }
    .card p, .warning-box p, .warning-box li { font-size: 1.1rem; line-height: 1.7; overflow-wrap: break-word; word-wrap: break-word; min-width: 0; }
    .modal-content { padding: 2rem 1.5rem; width: calc(100% - 3rem); }
    .diagonal-banner { top: 14px; left: -32px; padding: 5px 40px; font-size: 0.75rem; letter-spacing: 1.2px; }
    .diagonal-banner.slim { top: 13px; left: -36px; padding: 4px 50px; font-size: 0.72rem; }
    .card-grid { grid-template-columns: 1fr; gap: 3rem; }
    .section-title h2 { font-size: 2.2rem; }
    .section-title p { font-size: 1.15rem; }
    .card-btn { padding: 1rem 1.8rem; min-width: 160px; }
    .secondary-hero { height: 60vh; clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
}
@media (max-width: 480px) {
    .diagonal-banner { top: 12px; left: -28px; padding: 4px 35px; font-size: 0.7rem; letter-spacing: 1px; }
    .diagonal-banner.slim { top: 11px; left: -32px; padding: 3px 45px; font-size: 0.68rem; }
    .section-title h2 { font-size: 1.9rem; line-height: 1.3; word-break: keep-all; }
    .card p { font-size: 1rem; line-height: 1.6; word-break: break-word; hyphens: auto; }
    .card-btn { padding: 0.9rem 1.6rem; min-width: 140px; font-size: 1rem; }
    .modal-content { padding: 1.5rem; }
    .modal-header h3 { font-size: 1.7rem; }
    .container { padding: 4rem 1rem 2rem; width: 100%; box-sizing: border-box; }
    .secondary-hero { height: 50vh; }
    .hero-content h2 { font-size: 2.8rem; }
}