
.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: 4rem;
    padding: 2rem 0;
}

.card {
    position: relative;
    background: #ffffff;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
        box-shadow 0.6s ease,
        background 0.4s ease;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    will-change: transform;
}

.card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
}

.card-img {
    position: relative;
    width: 100%;
    height: 380px;
    z-index: 1;
}

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

.card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 45%,
        rgba(255, 255, 255, 0.9) 75%,
        #ffffff 100%
    );
    z-index: 2;
}

.card-content {
    position: relative;
    z-index: 3;
    padding: 0 2.5rem 3.5rem;
    margin-top: -80px; 
    background: transparent; 
}

.card-content::before {
    content: '';
    position: absolute;
    inset: 0;
    top: -40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(30px);
    z-index: -1;
    mask-image: linear-gradient(to bottom, transparent, black 40px);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 40px);
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.card h3 i { display: none; }

.card p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-author {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    color: #bbb;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.author-icon { display: none; }

.author-tag {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #111;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-btn {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

.diagonal-banner {
    z-index: 6;
}

.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 {
    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 {
    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; }
}