/* css/games.css
   Component: Games Slider (Integrated Edition)
   Style: Slim Card, Monolithic Structure
*/

/* --- KART YAPISI (Slim & Tall) --- */
.integrated-card {
    position: relative;
    width: 140px;
    height: 240px;
    display: flex;
    flex-direction: column;
    background: #171a27;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Masaüstü Genişlik */
@media (min-width: 768px) {
    .integrated-card { width: 180px; height: 300px; }
}

/* Kart Hover */
.integrated-card:hover {
    transform: translateY(-8px);
    border-color: var(--goji-neon);
    box-shadow: 0 0 25px rgba(0, 255, 135, 0.2);
    z-index: 10;
}

/* --- 1. HEADER (Live Stats) --- */
.card-header-integrated {
    height: 28px;
    background: #1e2134;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    flex-shrink: 0;
}

.live-indicator { display: flex; align-items: center; gap: 4px; }

.live-dot {
    width: 5px; height: 5px; background-color: #00ff87;
    border-radius: 50%; box-shadow: 0 0 6px #00ff87;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; }
}

.live-num {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px; font-weight: 700; color: #ccc;
}

.status-label { font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }
.status-win { color: #ffd700; text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
.status-hot { color: #ff4444; }

/* --- 2. BODY (Image Area) --- */
.card-image-holder {
    flex-grow: 1;
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.integrated-card:hover .card-image-holder img,
.integrated-card.card-active .card-image-holder img {
    transform: scale(1.1);
}

/* --- PLAY + DEMO OVERLAY --- */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.integrated-card:hover .play-overlay,
.integrated-card.card-active .play-overlay {
    opacity: 1;
    pointer-events: auto;
}

.overlay-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.btn-play-neon {
    display: inline-block;
    text-decoration: none;
    background: var(--goji-neon);
    color: black;
    font-weight: 900;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--goji-neon);
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.integrated-card:hover .btn-play-neon,
.integrated-card.card-active .btn-play-neon {
    transform: scale(1) translateY(0);
}

.btn-demo-neon {
    display: inline-block;
    text-decoration: none;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-weight: 800;
    padding: 7px 20px;
    border-radius: 6px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.15);
    transform: scale(0.8) translateY(10px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.04s;
}

.integrated-card:hover .btn-demo-neon,
.integrated-card.card-active .btn-demo-neon {
    transform: scale(1) translateY(0);
}

.btn-demo-neon:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* --- 3. FOOTER (Provider) --- */
.card-footer-integrated {
    height: 30px;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.provider-text {
    color: #666;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.integrated-card:hover .provider-text,
.integrated-card.card-active .provider-text {
    color: white;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.active-line {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
    background: var(--goji-neon);
    transform: scaleX(0); transition: transform 0.3s ease;
}
.integrated-card:hover .active-line,
.integrated-card.card-active .active-line { transform: scaleX(1); }
