/* [كوبرا اليوتيوبر - Slide From Right Horror] */

@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Nosifer&family=Orbitron:wght@900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: transparent;
    color: #f00;
    font-family: 'Orbitron', sans-serif;
    overflow-x: hidden;
    direction: rtl;
    position: relative;
}

/* فيديو خلفية: بدون بلور + صوت شغال */
.bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.7;
}

/* أنيميشن الظهور من اليمين عند الاسكرول */
.slide-in {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

/* تأخير تدريجي للكروت */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Header */
.cobra-header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #f00;
    position: relative;
    animation: headerPulse 3s infinite;
    backdrop-filter: blur(5px);
}

.logo h1 {
    font-family: 'Nosifer', cursive;
    font-size: 3.5rem;
    color: #f00;
    text-shadow: 0 0 20px #f00, 0 0 40px #800;
}

.youtuber {
    font-family: 'Creepster', cursive;
    color: #0f0;
    font-size: 2rem;
    text-shadow: 0 0 15px #0f0;
}

.snake-fangs, .glowing-eyes {
    font-size: 2.5rem;
    animation: fangs 2s infinite;
}

.glowing-eyes {
    animation: eyesGlow 1.5s infinite;
}

nav a {
    color: #0f0;
    margin: 0 25px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s;
}

nav a:hover {
    color: #f00;
    text-shadow: 0 0 20px #f00;
}

/* Hero */
.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
    padding: 30px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #f00;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero h2 {
    font-size: 4.5rem;
    color: #f00;
    text-shadow: 0 0 30px #f00;
    animation: titleHorror 2s infinite;
}

.hero p {
    font-size: 1.8rem;
    color: #0f0;
}

.cta-btn {
    background: #f00;
    color: #000;
    padding: 20px 50px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
    transition: 0.4s;
    box-shadow: 0 0 30px #f00;
}

.cta-btn:hover {
    background: #800;
    box-shadow: 0 0 50px #f00;
}

.blood-drips {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('images/blood-drip.png') repeat-x;
    background-size: auto 50%;
    animation: dripFall 6s linear infinite;
    opacity: 0.5;
}

/* Products */
.products-section {
    padding: 80px 20px;
    backdrop-filter: blur(5px);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    color: #f00;
    margin-bottom: 50px;
    text-shadow: 0 0 25px #f00;
    animation: titleHorror 2s infinite;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.product-card {
    perspective: 1000px;
    height: 400px;
}

.product-card .card-front, .product-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: 0.8s;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255,0,0,0.5);
}

.product-card .card-front {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 3px solid #0f0;
}

.product-card:hover .card-front {
    transform: rotateY(180deg);
}

.product-card .card-back {
    background: rgba(139, 0, 0, 0.9);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px solid #f00;
}

.product-card:hover .card-back {
    transform: rotateY(0);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: brightness(0.7);
}

.product-card h3 {
    color: #0f0;
    padding: 15px;
    font-size: 1.6rem;
    text-align: center;
    text-shadow: 0 0 15px #0f0;
}

.product-card p {
    color: #aaa;
    padding: 0 15px 15px;
    text-align: center;
}

.price-hidden {
    font-size: 2rem;
    color: #f00;
    font-weight: bold;
    text-shadow: 0 0 20px #f00;
    animation: pulsePrice 1.5s infinite;
}

.buy-btn {
    background: #f00;
    color: #000;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    margin-top: 20px;
    transition: 0.4s;
}

.buy-btn:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 30px #0f0;
}

/* Footer */
.cobra-footer {
    background: rgba(0, 0, 0, 0.85);
    color: #0f0;
    text-align: center;
    padding: 40px;
    border-top: 3px solid #f00;
    backdrop-filter: blur(8px);
}

.cobra-footer a {
    color: #0f0;
    text-decoration: underline;
}

.ethical-note {
    color: #aaa;
    font-size: 1.1rem;
    margin: 15px 0;
    font-style: italic;
}

.disclaimer {
    color: #f00;
    font-size: 1rem;
    margin-top: 15px;
    animation: disclaimerFlicker 2s infinite;
}

/* Animations */
@keyframes headerPulse {
    0% { box-shadow: 0 0 20px #f00; }
    50% { box-shadow: 0 0 50px #f00; }
    100% { box-shadow: 0 0 20px #f00; }
}

@keyframes fangs {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2) rotate(5deg); }
}

@keyframes eyesGlow {
    0%, 100% { text-shadow: 0 0 20px #f00; }
    50% { text-shadow: 0 0 40px #f00, 0 0 60px #800; }
}

@keyframes titleHorror {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); text-shadow: 0 0 50px #f00; }
    100% { transform: translateY(0); }
}

@keyframes dripFall {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes pulsePrice {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes disclaimerFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}