/* Reset & Base */
* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #fafafa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
a { color: inherit; text-decoration: none; }

/* Mobile First Layout */
.safe-zone-header {
    background: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.intro-text {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Article Layout */
.post-container {
    max-width: 600px; /* Readable max-width */
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

.safe-zone {
    padding: 30px 20px;
}

.post-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 20px;
}

.post-lead {
    font-size: 1rem;
    color: #444;
}

/* The Gate */
.gate-area {
    padding: 40px 20px;
    background: #f0f0f0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.gate-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.warning-icon {
    font-size: 2rem;
    margin: 0;
}

.warning-text {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.unlock-button {
    background: #333;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.unlock-button:active {
    background: #555;
    transform: scale(0.98);
}

/* Unsafe Zone */
.unsafe-zone {
    padding: 20px;
    background: #fff;
}

.hidden {
    display: none;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.content-body img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

/* Conversion Zone */
.conversion-area {
    margin-top: 50px;
    padding: 40px 20px;
    background: #fff0f5; /* Light pink hint */
    text-align: center;
    border-radius: 8px;
}

.match-link {
    display: inline-block;
    color: #d63384;
    font-weight: bold;
    border-bottom: 1px solid #d63384;
    margin-top: 10px;
}

/* Index List */
.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-item {
    border-bottom: 1px solid #eee;
}

.post-item a {
    display: block;
    padding: 20px;
    background: #fff;
    transition: background 0.1s;
}

.post-item a:active {
    background: #f5f5f5;
}

.post-item .post-date {
    display: block;
    margin-bottom: 5px;
}
/* Safe Video Player */
.safe-video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
    cursor: pointer;
}

.video-placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    /* Strong blur */
    transform: scale(1.1);
    /* Prevent blurred edges */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 10;
}

.video-warning {
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.play-button {
    background: #d63384;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Loaded iframe style */
.safe-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    /* Above overlay */
}/* CSS for Affiliate Button and Video Container */
.mp4-video-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    background: #000;
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Matches video height initially */
    aspect-ratio: 16 / 9;
    /* Ensure cover has height */
    z-index: 10;
    cursor: pointer;
}

.video-placeholder-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Ensure video element behaves responsively */
video.main-video {
    display: block;
    width: 100%;
    height: auto;
}

/* Affiliate Button Styles */
.affiliate-action {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 20px;
}

.affiliate-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff416c, #ff4b2b);
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.affiliate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 75, 43, 0.6);
}
/* Mobile Ad Section */
.mobile-ad-container { display: none; margin: 40px 0; padding: 20px 0; border-top: 1px solid #eee; background-color: #fafafa; }
.ad-heading { font-size: 1.1rem; font-weight: bold; color: #333; text-align: center; margin-bottom: 15px; }
@media screen and (max-width: 767px) { .mobile-ad-container { display: block; } }
