/* ====================================================
   TopCinma - Card Styles (10 Professional Designs)
   كل نمط مغلّف بـ body class لمنع التداخل
   ==================================================== */

/* ============================================
   1️⃣ MODERN (افتراضي) - النمط الموجود حالياً
   ============================================ */
.tc-card-style-modern .Small--Box a.recent--block {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: transform 0.45s cubic-bezier(.2,.9,.3,1.4),
                box-shadow 0.4s ease;
}
/* (يستخدم التصميم الافتراضي من style.css) */


/* ============================================
   2️⃣ CLASSIC - تصميم نظيف بمعلومات أسفل البطاقة
   ============================================ */
.tc-card-style-classic .Small--Box a.recent--block {
    background: transparent;
    border-radius: 0;
}
.tc-card-style-classic .Small--Box a.recent--block .Poster {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.tc-card-style-classic .Small--Box a.recent--block .Poster::after,
.tc-card-style-classic .Small--Box a.recent--block .play-overlay,
.tc-card-style-classic .Small--Box a.recent--block::before { display: none; }
.tc-card-style-classic .Small--Box a.recent--block:hover .Poster img {
    transform: scale(1.05); opacity: 1; filter: none;
}
.tc-card-style-classic .Small--Box a.recent--block:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.tc-card-style-classic .Small--Box a h3.title {
    position: static;
    background: none;
    padding: 10px 4px 4px;
    color: #fff;
    font-size: 13px;
    text-align: right;
    transition: color 0.3s;
}
.tc-card-style-classic .Small--Box a.recent--block:hover h3.title {
    color: var(--primary-color);
    background: none;
    text-shadow: none;
    padding-bottom: 4px;
}
.tc-card-style-classic .Small--Box a .number {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}
.tc-card-style-classic .Small--Box a.recent--block:hover .number {
    transform: none;
    opacity: 1;
}
/* قائمة جانبية أسفل البطاقة */
.tc-card-style-classic .Small--Box a::after {
    content: '';
    display: block;
    margin: 2px 4px;
    font-size: 11px;
    color: var(--text-muted);
}


/* ============================================
   3️⃣ MINIMAL - بسيط جداً، بدون تأثيرات
   ============================================ */
.tc-card-style-minimal .Small--Box a.recent--block {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.25s;
}
.tc-card-style-minimal .Small--Box a.recent--block::before,
.tc-card-style-minimal .Small--Box a.recent--block .Poster::after,
.tc-card-style-minimal .Small--Box a.recent--block .play-overlay,
.tc-card-style-minimal .Small--Box a.recent--block .ribbon,
.tc-card-style-minimal .Small--Box a ul.liList { display: none !important; }

.tc-card-style-minimal .Small--Box a.recent--block:hover {
    transform: none;
    border-color: var(--primary-color);
    box-shadow: none;
}
.tc-card-style-minimal .Small--Box a.recent--block:hover .Poster img {
    transform: none; opacity: 1; filter: brightness(1.1);
}
.tc-card-style-minimal .Small--Box a .number {
    background: var(--primary-color);
    color: #000;
    font-size: 12px;
    padding: 3px 8px;
}
.tc-card-style-minimal .Small--Box a .number span { display: none; }
.tc-card-style-minimal .Small--Box a h3.title {
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.9));
    padding: 30px 8px 8px;
    font-size: 12px;
}


/* ============================================
   4️⃣ NETFLIX - تكبير ضخم عند Hover
   ============================================ */
.tc-card-style-netflix .Small--Box {
    perspective: none;
}
.tc-card-style-netflix .Small--Box a.recent--block {
    border-radius: 6px;
    overflow: visible;
    background: transparent;
    transition: transform 0.4s cubic-bezier(.16,1.36,.36,1.13);
    transform-origin: center bottom;
}
.tc-card-style-netflix .Small--Box a.recent--block::before { display: none; }
.tc-card-style-netflix .Small--Box a.recent--block .Poster {
    border-radius: 6px;
    overflow: hidden;
    transition: 0.4s;
}
.tc-card-style-netflix .Small--Box a.recent--block:hover {
    transform: scale(1.35);
    z-index: 100;
    box-shadow: none;
    border-color: transparent;
}
.tc-card-style-netflix .Small--Box a.recent--block:hover .Poster {
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border-radius: 6px 6px 0 0;
}
.tc-card-style-netflix .Small--Box a.recent--block:hover .Poster img {
    transform: none; opacity: 1; filter: brightness(1);
}
.tc-card-style-netflix .Small--Box a.recent--block:hover .Poster::after {
    opacity: 0;
}
.tc-card-style-netflix .Small--Box a h3.title {
    position: absolute;
    bottom: -45px;
    background: #181818;
    padding: 12px 10px;
    border-radius: 0 0 6px 6px;
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.3s 0.15s;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    font-size: 12px;
}
.tc-card-style-netflix .Small--Box a.recent--block:hover h3.title {
    opacity: 1;
    transform: translateY(0);
    color: #fff;
}
.tc-card-style-netflix .Small--Box a.recent--block .play-overlay {
    width: 35px; height: 35px; font-size: 14px;
}
.tc-card-style-netflix .Small--Box a ul.liList li:nth-child(1) {
    background: #e50914; color: #fff;
}


/* ============================================
   5️⃣ CINEMATIC - إطار ذهبي فاخر
   ============================================ */
.tc-card-style-cinematic .Small--Box a.recent--block {
    border-radius: 4px;
    background: linear-gradient(135deg, #2a1810, #1a0e08);
    border: 3px solid transparent;
    background-image:
        linear-gradient(#1a0e08, #1a0e08),
        linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    padding: 4px;
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.2);
}
.tc-card-style-cinematic .Small--Box a.recent--block::before { display: none; }
.tc-card-style-cinematic .Small--Box a.recent--block .Poster {
    border-radius: 2px;
}
.tc-card-style-cinematic .Small--Box a.recent--block:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4),
                0 0 60px rgba(212, 175, 55, 0.2);
}
.tc-card-style-cinematic .Small--Box a .number {
    background: #d4af37;
    color: #1a0e08;
    border: 1px solid #f4d03f;
}
.tc-card-style-cinematic .Small--Box a .number span { color: #1a0e08; }
.tc-card-style-cinematic .Small--Box a ul.liList li:nth-child(1) {
    background: #d4af37; color: #1a0e08;
}
.tc-card-style-cinematic .Small--Box a.recent--block .play-overlay {
    background: #d4af37; color: #1a0e08;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}
.tc-card-style-cinematic .Small--Box a h3.title {
    background: linear-gradient(180deg, transparent, rgba(26,14,8,0.95));
    font-family: serif;
    font-style: italic;
}
.tc-card-style-cinematic .Small--Box a.recent--block:hover h3.title {
    color: #d4af37;
}


/* ============================================
   6️⃣ OVERLAY - تدرج لوني عند Hover
   ============================================ */
.tc-card-style-overlay .Small--Box a.recent--block {
    border-radius: 10px;
    overflow: hidden;
    background: var(--card-bg);
}
.tc-card-style-overlay .Small--Box a.recent--block::before { display: none; }
.tc-card-style-overlay .Small--Box a.recent--block .Poster::after {
    background: linear-gradient(135deg,
        rgba(255, 168, 54, 0.85) 0%,
        rgba(229, 9, 20, 0.85) 50%,
        rgba(30, 136, 229, 0.85) 100%);
    opacity: 0;
}
.tc-card-style-overlay .Small--Box a.recent--block:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: transparent;
}
.tc-card-style-overlay .Small--Box a.recent--block:hover .Poster::after {
    opacity: 0.9;
}
.tc-card-style-overlay .Small--Box a.recent--block:hover .Poster img {
    transform: scale(1.1); opacity: 0.8;
}
.tc-card-style-overlay .Small--Box a.recent--block .play-overlay {
    background: #fff; color: #000;
    width: 70px; height: 70px; font-size: 26px;
}
.tc-card-style-overlay .Small--Box a h3.title {
    background: transparent;
    padding: 15px 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: 0.35s 0.1s;
}
.tc-card-style-overlay .Small--Box a.recent--block:hover h3.title {
    transform: translateY(0); opacity: 1;
    color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}


/* ============================================
   7️⃣ CARD FLIP - بطاقة تنقلب 3D
   ============================================ */
.tc-card-style-card_flip .Small--Box { perspective: 1500px; }
.tc-card-style-card_flip .Small--Box a.recent--block {
    background: transparent;
    transition: transform 0.7s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
    border-radius: 12px;
}
.tc-card-style-card_flip .Small--Box a.recent--block::before { display: none; }
.tc-card-style-card_flip .Small--Box a.recent--block:hover {
    transform: rotateY(180deg);
    box-shadow: none;
    border-color: transparent;
}
.tc-card-style-card_flip .Small--Box a.recent--block .Poster {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}
.tc-card-style-card_flip .Small--Box a.recent--block:hover .Poster img {
    transform: none; opacity: 1; filter: none;
}
.tc-card-style-card_flip .Small--Box a h3.title {
    position: absolute;
    top: 0; right: 0; left: 0; bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #ff5722);
    color: #000;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: rotateY(180deg);
    border-radius: 12px;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.tc-card-style-card_flip .Small--Box a h3.title::before {
    content: '▶';
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.8;
}
.tc-card-style-card_flip .Small--Box a h3.title::after {
    content: 'انقر للمشاهدة';
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}


/* ============================================
   8️⃣ GLASS - تأثير زجاجي ضبابي
   ============================================ */
.tc-card-style-glass .Small--Box a.recent--block {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
}
.tc-card-style-glass .Small--Box a.recent--block::before { display: none; }
.tc-card-style-glass .Small--Box a.recent--block:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,168,54,0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255,255,255,0.1);
}
.tc-card-style-glass .Small--Box a .number {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}
.tc-card-style-glass .Small--Box a ul.liList li {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}
.tc-card-style-glass .Small--Box a h3.title {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
    backdrop-filter: blur(5px);
}


/* ============================================
   9️⃣ NEON - توهج نيوني متحرك
   ============================================ */
.tc-card-style-neon .Small--Box {
    padding: 5px;
}
.tc-card-style-neon .Small--Box a.recent--block {
    border-radius: 12px;
    overflow: visible;
    background: #0e1116;
}
.tc-card-style-neon .Small--Box a.recent--block::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: linear-gradient(45deg,
        #FFA836, #ff00ff, #00ffff,
        #ff00ff, #FFA836);
    background-size: 400%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
    animation: none;
    filter: blur(8px);
}
.tc-card-style-neon .Small--Box a.recent--block:hover::before {
    opacity: 1;
    animation: tc-neon-glow 4s linear infinite;
}
@keyframes tc-neon-glow {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}
.tc-card-style-neon .Small--Box a.recent--block:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 0 30px rgba(255, 168, 54, 0.6);
}
.tc-card-style-neon .Small--Box a.recent--block .Poster {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.tc-card-style-neon .Small--Box a .number {
    background: #000;
    border: 1px solid #FFA836;
    box-shadow: 0 0 10px rgba(255,168,54,0.5);
    color: #FFA836;
}
.tc-card-style-neon .Small--Box a .number span { color: #fff; }
.tc-card-style-neon .Small--Box a.recent--block .play-overlay {
    background: #fff;
    color: #000;
    box-shadow: 0 0 0 0 #FFA836, 0 0 30px #FFA836, 0 0 60px #ff00ff;
}


/* ============================================
   🔟 POSTER ONLY - بوستر نظيف فقط
   ============================================ */
.tc-card-style-poster_only .Small--Box a.recent--block {
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
}
.tc-card-style-poster_only .Small--Box a.recent--block::before,
.tc-card-style-poster_only .Small--Box a.recent--block .Poster::after,
.tc-card-style-poster_only .Small--Box a.recent--block .play-overlay,
.tc-card-style-poster_only .Small--Box a.recent--block .ribbon { display: none !important; }

.tc-card-style-poster_only .Small--Box a.recent--block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: transparent;
}
.tc-card-style-poster_only .Small--Box a.recent--block:hover .Poster img {
    transform: none; opacity: 1; filter: none;
}
.tc-card-style-poster_only .Small--Box a ul.liList { display: none; }
.tc-card-style-poster_only .Small--Box a .number {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    transform: none !important;
    opacity: 1 !important;
}
.tc-card-style-poster_only .Small--Box a h3.title {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(6px);
    padding: 8px 10px;
    font-size: 12px;
    text-align: center;
    transform: none;
}
.tc-card-style-poster_only .Small--Box a.recent--block:hover h3.title {
    background: var(--primary-color);
    color: #000;
    padding-bottom: 8px;
    text-shadow: none;
}


/* ============================================
   1️⃣1️⃣ DETAILED - معلومات كاملة ظاهرة
   ============================================ */
.tc-card-style-detailed .Small--Box a.recent--block {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tc-card-style-detailed .Small--Box a.recent--block::before { display: none; }
.tc-card-style-detailed .Small--Box a.recent--block .Poster {
    padding-bottom: 130%;
}
.tc-card-style-detailed .Small--Box a.recent--block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: var(--primary-color);
}
.tc-card-style-detailed .Small--Box a.recent--block:hover .Poster img {
    transform: scale(1.05); opacity: 1; filter: none;
}
.tc-card-style-detailed .Small--Box a h3.title {
    position: static;
    background: none;
    padding: 12px 12px 6px;
    text-align: right;
    font-size: 13px;
    line-height: 1.4;
    min-height: 38px;
}
.tc-card-style-detailed .Small--Box a ul.liList {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 12px 12px;
    gap: 5px;
}
.tc-card-style-detailed .Small--Box a ul.liList li {
    transform: none; opacity: 1;
    transition: none;
    font-size: 10px;
    padding: 2px 7px;
}
.tc-card-style-detailed .Small--Box a .number {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(4px);
}
.tc-card-style-detailed .Small--Box a.recent--block:hover .number {
    transform: none; opacity: 1;
}
.tc-card-style-detailed .Small--Box a.recent--block .play-overlay {
    width: 50px; height: 50px; font-size: 18px;
}
