/* ================================================
   PIXELTKFL TIME — Promo Section (index.html)
   ================================================ */

.time-promo-section {
    background: #050003;
    border-top: 4px solid #880000;
    border-bottom: 4px solid #880000;
    position: relative;
    overflow: hidden;
}

.time-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204,17,17,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204,17,17,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.time-promo-inner {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 72px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.time-promo-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.time-promo-title {
    font-family: 'Press Start 2P', monospace;
    font-size: clamp(26px, 4vw, 50px);
    color: #ffffff;
    letter-spacing: 4px;
    text-shadow: 4px 4px 0 #cc1111, 8px 8px 0 #880000;
    line-height: 1.3;
}

.time-promo-accent { color: #ff4444; }

.time-promo-desc {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: #cccccc;
    letter-spacing: 2px;
    line-height: 2.4;
}

.time-promo-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tpf-item {
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    color: #888;
    letter-spacing: 1px;
    padding-left: 16px;
    border-left: 3px solid #880000;
    line-height: 2;
}

.time-promo-btn {
    display: inline-block;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    color: #ffffff;
    background: #cc1111;
    border: 4px solid #ffffff;
    padding: 16px 28px;
    box-shadow: 6px 6px 0 #880000;
    letter-spacing: 2px;
    text-decoration: none;
    align-self: flex-start;
    animation: promo-pulse 2.5s step-end infinite;
}

@keyframes promo-pulse {
    0%, 85% { box-shadow: 6px 6px 0 #880000; }
    87%     { box-shadow: 6px 6px 0 #880000, 0 0 24px #cc1111; }
    89%     { box-shadow: 6px 6px 0 #880000; }
    91%     { box-shadow: 6px 6px 0 #880000, 0 0 24px #cc1111; }
    93%     { box-shadow: 6px 6px 0 #880000; }
}

.time-promo-btn:hover {
    background: #ff4444;
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #880000;
}

/* ── Telefon görseli ── */
.time-promo-visual {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}

.tp-phone {
    width: 200px;
    background: #08000a;
    border: 4px solid #cc1111;
    box-shadow: 8px 8px 0 #000;
    overflow: hidden;
    animation: phone-glow 3s ease-in-out infinite;
}

@keyframes phone-glow {
    0%, 100% { box-shadow: 8px 8px 0 #000, 0 0 16px rgba(204,17,17,0.2); }
    50%      { box-shadow: 8px 8px 0 #000, 0 0 36px rgba(204,17,17,0.55); }
}

.tp-phone-top {
    background: #880000;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #cc1111;
}

.tp-phone-cam {
    width: 7px;
    height: 7px;
    background: #330000;
    border: 1px solid #cc1111;
    border-radius: 50%;
    flex-shrink: 0;
}

.tp-phone-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 6px;
    color: #ffffff;
    letter-spacing: 2px;
}

.tp-phone-screen {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.tp-feed {
    display: flex;
    flex-direction: column;
    animation: feed-scroll 9s linear infinite;
}

@keyframes feed-scroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.tp-post {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid #1a0000;
    background: #08000a;
    flex-shrink: 0;
}

.tp-post-av {
    width: 26px;
    height: 26px;
    border: 2px solid #880000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    color: #ffffff;
    flex-shrink: 0;
}

.tp-av--red   { background: #880000; }
.tp-av--blue  { background: #001a33; border-color: #003366; }
.tp-av--green { background: #003300; border-color: #006600; }

.tp-post-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.tp-post-name {
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #ffffff;
    letter-spacing: 1px;
}

.tp-post-text {
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #777;
    letter-spacing: 1px;
    line-height: 1.8;
}

.tp-post-img {
    height: 48px;
    border: 1px solid #1a0018;
}

.tp-img--field {
    background: linear-gradient(to right, #5a0000 28px, #002200 28px, #002200 calc(100% - 28px), #5a0000 calc(100% - 28px));
}

.tp-post-actions {
    display: flex;
    gap: 10px;
}

.tp-heart, .tp-comment {
    font-family: 'Press Start 2P', monospace;
    font-size: 5px;
    color: #555;
    letter-spacing: 1px;
}

.tp-heart--liked { color: #ff4444; }

/* ── Yüzen elementler ── */
.tp-float {
    position: absolute;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.tp-float--1 { bottom: 30%; right: -24px; color: #ff4444; animation: tp-float 3.5s ease-out 0s infinite; }
.tp-float--2 { bottom: 15%; right: -28px; font-size: 22px; animation: tp-float 3.5s ease-out 1.2s infinite; }
.tp-float--3 { bottom: 50%; right: -20px; animation: tp-float 3.5s ease-out 2.2s infinite; }
.tp-float--4 { bottom: 40%; left: -24px; color: #ffcc00; font-size: 16px; animation: tp-float 3.5s ease-out 0.7s infinite; }

@keyframes tp-float {
    0%   { opacity: 0; transform: translateY(0) scale(0.6); }
    15%  { opacity: 1; transform: translateY(-8px) scale(1); }
    80%  { opacity: 1; transform: translateY(-40px) scale(1); }
    100% { opacity: 0; transform: translateY(-60px) scale(0.6); }
}

@media (max-width: 768px) {
    .time-promo-inner { flex-direction: column; gap: 40px; padding: 48px 20px; }
    .tp-phone { width: 100%; max-width: 260px; }
    .tp-phone-screen { height: 240px; }
    .time-promo-btn { align-self: center; }
}
