@font-face {
    font-family: 'MyCustomFont';
    src: url('font/Vazirmatn-UI-Medium.ttf') format('truetype');
}

:root {
    --primary-color: #e50914;
    --dark-bg: #141414;
    --light-bg: #f5f7fa;
    --text-dark: #333;
    --success: #2ecc71;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body, button, input, textarea { font-family: 'MyCustomFont', Tahoma, Arial, sans-serif; }
body { line-height: 1.6; background-color: var(--light-bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { background: rgba(20, 20, 20, 0.95); color: white; padding: 1rem 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; letter-spacing: 2px; }
.logo span { color: var(--primary-color); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { transition: color 0.3s; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.hamburger { display: none; cursor: pointer; font-size: 24px; }

/* Hero */
.hero-section { background: var(--dark-bg); color: white; padding: 40px 0 60px; text-align: center; }
.video-wrapper { position: relative; max-width: 800px; margin: 0 auto 30px; box-shadow: 0 0 40px rgba(229, 9, 20, 0.2); border-radius: 12px; overflow: hidden; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.live-badge { position: absolute; top: 15px; right: 15px; background: rgba(255,0,0,0.8); padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; display: flex; align-items: center; gap: 5px; }
.live-badge i { animation: blink 1.5s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.page-title { font-size: 2rem; margin-bottom: 10px; }
.subtitle { color: #aaa; }

/* General Sections */
.section-light { padding: 60px 0; background: white; }
.section-dark { padding: 60px 0; background: #1f1f1f; color: white; }
.section-header { text-align: center; margin-bottom: 40px; }
.line { width: 60px; height: 4px; background: var(--primary-color); margin: 0 auto; border-radius: 2px; }

/* About */
.about-content { display: flex; align-items: center; gap: 40px; }
.about-text { flex: 1; }
.features-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: #555; }
.features-list i { color: var(--primary-color); }
.about-image { flex: 1; }
.img-placeholder { background: #eee; height: 200px; width: 100%; border-radius: 10px; display: flex; justify-content: center; align-items: center; font-size: 60px; color: #ddd; }

/* Cards */
.pricing-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.card { background: white; color: var(--text-dark); border-radius: 15px; padding: 30px; width: 300px; text-align: center; position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.card.gold { border: 2px solid var(--gold); }
.transform-scale { transform: scale(1.05); z-index: 2; }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: white; padding: 4px 15px; border-radius: 20px; font-size: 12px; }
.card-header i { font-size: 40px; margin-bottom: 15px; }
.bronze i { color: var(--bronze); }
.silver i { color: var(--silver); }
.gold i { color: var(--gold); }

/* Payment Buttons */
.payment-options { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.btn-rial { background: var(--success); color: white; width: 100%; padding: 10px; border-radius: 8px; font-size: 14px; border: none; cursor: pointer; height: 45px; }
.btn-rial:hover { background: #27ae60; }
.crypto-box { background: #111; border-radius: 8px; height: 45px; display: flex; justify-content: center; align-items: center; overflow: hidden; transition: 0.3s; cursor: pointer; }
.crypto-box:hover { opacity: 0.9; transform: translateY(-1px); }
.crypto-box a { display: block; width: 100%; height: 100%; }
.crypto-box img { height: 100%; width: 100%; object-fit: contain; transform: scale(1.1); }

/* Contact */
.contact-wrapper { display: flex; gap: 30px; }
.contact-form { flex: 2; display: flex; flex-direction: column; gap: 15px; }
.contact-info { flex: 1; background: #f9f9f9; padding: 20px; border-radius: 10px; }
input, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; }
.btn-primary { background: var(--primary-color); color: white; padding: 10px 25px; border-radius: 25px; border: none; cursor: pointer; }

/* Footer */
.main-footer { background: #111; color: #888; padding-top: 40px; text-align: center; border-top: 3px solid var(--primary-color); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-bottom: 30px; }
.heart { color: red; animation: heartBeat 1s infinite; }
.enamad-box { background: white; padding: 10px; border-radius: 8px; display: inline-block; }
.copy-right { background: #000; padding: 15px; font-size: 12px; }

/* Modal (Centered with Flex) */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: white; border-radius: 10px; width: 100%; max-width: 500px; text-align: center; position: relative; animation: zoomIn 0.3s; max-height: 90vh; overflow-y: auto; }
@keyframes zoomIn { from {transform: scale(0.8); opacity: 0;} to {transform: scale(1); opacity: 1;} }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: #666; z-index: 10; }

/* Payment Modal Specifics */
.payment-modal-content { border-top: 5px solid var(--success); padding: 40px 20px; }
.payment-header { margin-bottom: 20px; }
.shield-icon { font-size: 50px; color: var(--success); margin-bottom: 10px; }
#amount-input { font-size: 24px; text-align: center; padding: 15px; border: 2px solid #eee; border-radius: 12px; font-weight: bold; letter-spacing: 1px; }
.input-wrapper { position: relative; margin: 15px 0; }
.currency-label { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #999; font-size: 14px; }
.conversion-display { background: #f0f9f4; color: #219653; padding: 10px; border-radius: 8px; margin-bottom: 20px; font-size: 18px; font-weight: bold; }
.btn-success { background: var(--success); color: white; border: none; cursor: pointer; }
.btn-large { width: 100%; padding: 15px; font-size: 18px; border-radius: 8px; box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; width: 100%; background: #141414; padding: 20px; text-align: center; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .about-content, .contact-wrapper { flex-direction: column; }
    .transform-scale { transform: scale(1); }
}
@keyframes heartBeat { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }