/* Reset و فونت‌ها */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary-color: #FF9800;
    --secondary-dark: #F57C00;
    --accent-color: #2196F3;
    --text-primary: #E0E0E0;
    --text-secondary: #B0B0B0;
    --background-dark: #121212;
    --background-card: rgba(30, 30, 30, 0.7);
    --background-glass: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --danger-color: #F44336;
    --info-color: #2196F3;
    
    --font-family: 'Vazirmatn', sans-serif;
    --border-radius: 12px;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

/* تم Mob Sniffer */
.mob-sniffer-theme {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #415a77 100%);
    background-attachment: fixed;
}

/* استایل Glass */
.glass-header {
    background: var(--background-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.glass-card {
    background: var(--background-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 32px var(--shadow-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* نوار ناوبری */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-speed);
}

.nav-item a:hover {
    background: var(--background-glass);
    color: var(--primary-color);
}

.nav-item.active a {
    background: var(--primary-color);
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* دکمه‌ها */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-family: var(--font-family);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: var(--background-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--background-glass);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    gap: 0.75rem;
}

.btn-danger {
    background: linear-gradient(135deg, #FF5252, #D32F2F);
    color: white;
}

.btn-dark {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* بخش قهرمان */
.hero-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    position: relative;
}

.floating-image {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-img {
    max-width: 100%;
    max-height: 100%;
    z-index: 2;
    position: relative;
}

.floating-cube {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 8px;
    animation: float 6s ease-in-out infinite;
}

.cube-1 {
    top: 20%;
    left: 10%;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    animation-delay: 0s;
}

.cube-2 {
    top: 60%;
    right: 15%;
    background: linear-gradient(135deg, #FF9800, #FF5722);
    animation-delay: 2s;
    width: 30px;
    height: 30px;
}

.cube-3 {
    bottom: 20%;
    left: 20%;
    background: linear-gradient(135deg, #9C27B0, #673AB7);
    animation-delay: 4s;
    width: 25px;
    height: 25px;
}

/* بخش یوتیوب */
.youtube-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.youtube-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.channel-info {
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.channel-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.channel-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--accent-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid var(--background-dark);
}

.channel-details {
    flex: 1;
}

.channel-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.channel-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.channel-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.channel-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.channel-stat i {
    color: var(--primary-color);
}

.channel-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.latest-videos {
    display: flex;
    flex-direction: column;
}

.videos-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.video-card {
    padding: 1rem;
    transition: transform var(--transition-speed);
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    height: 180px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-info {
    padding: 0 0.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* بخش ویژگی‌ها */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* فوتر */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-newsletter-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    background: var(--background-glass);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-family);
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* رسپانسیو */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .youtube-content {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .channel-info {
        flex-direction: column;
        text-align: center;
    }
    
    .channel-stats {
        justify-content: center;
    }
    
    .channel-actions {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* انیمیشن‌های پایه */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* کلاس‌های انیمیشن */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideRight 0.8s ease-out;
}

.animate-scale {
    animation: scaleIn 0.6s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.rotate-animation {
    animation: rotate 20s linear infinite;
}

.bounce-animation {
    animation: bounce 2s infinite;
}

/* افکت‌های هاور */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hover-shine {
    position: relative;
    overflow: hidden;
}

.hover-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.7s;
}

.hover-shine:hover::before {
    left: 100%;
}

/* انیمیشن برای عناصر هنگام اسکرول */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* انیمیشن لودینگ */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--background-dark), #0d1b2a);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1s ease 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        visibility: visible;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* انیمیشن برای دکمه‌ها */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* انیمیشن نوار پیشرفت */
.progress-bar {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    animation: shimmer 2s infinite linear;
}

/* انیمیشن تایپینگ */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-color);
    }
}

/* انیمیشن موج */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z" fill="%234CAF50"></path></svg>');
    background-size: 1200px 100px;
    animation: wave 12s linear infinite;
}

@keyframes wave {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 1200px;
    }
}


/* تم Mob Sniffer (ماینکرفت) */
.mob-sniffer-theme {
    --block-texture-1: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23121212"/><path d="M0,0 L100,100" stroke="%23333" stroke-width="1"/><path d="M100,0 L0,100" stroke="%23333" stroke-width="1"/></svg>');
    
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(33, 150, 243, 0.1) 0%, transparent 20%),
        var(--block-texture-1);
    background-size: 100%, 100%, 200px 200px;
    background-attachment: fixed;
}

/* استایل‌های خاص برای تم ماینکرفت */
.minecraft-block {
    position: relative;
    background: #8B8B8B;
    border-top: 2px solid #C6C6C6;
    border-left: 2px solid #C6C6C6;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    image-rendering: pixelated;
}

.minecraft-button {
    background: #727272;
    color: white;
    border-top: 2px solid #FFF;
    border-left: 2px solid #FFF;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    font-family: 'Minecraft', monospace;
    image-rendering: pixelated;
}

.minecraft-button:active {
    border-top: 2px solid #555;
    border-left: 2px solid #555;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
}

/* استایل برای آیکون‌های مکعبی */
.cube-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: rotate(45deg);
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.cube-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transform: translateZ(-1px);
}

/* استایل‌های مربوط به انیمیشن‌های ماینکرفت */
.pixel-border {
    border-image: url('data:image/svg+xml;utf8,<svg width="12" height="12" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="12" height="12" fill="none" stroke="%234CAF50" stroke-width="2"/></svg>') 2 stretch;
}

/* افکت‌های ویژه برای تم ماینکرفت */
.block-shadow {
    box-shadow: 
        4px 4px 0 rgba(0, 0, 0, 0.2),
        8px 8px 0 rgba(0, 0, 0, 0.1);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 1s ease-out forwards;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* استایل برای اسلایدرها و کشوها با تم ماینکرفت */
.minecraft-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #555;
    border-radius: 0;
    outline: none;
}

.minecraft-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-top: 2px solid #C6C6C6;
    border-left: 2px solid #C6C6C6;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    cursor: pointer;
}

.minecraft-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-top: 2px solid #C6C6C6;
    border-left: 2px solid #C6C6C6;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    cursor: pointer;
}

/* استایل برای نوار پیمایش با تم ماینکرفت */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-left: 1px solid #333;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--accent-color), #1976D2);
}

/* استایل برای کادرهای ورودی با تم ماینکرفت */
.minecraft-input {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #555;
    color: white;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    border-radius: 0;
    transition: all 0.3s;
}

.minecraft-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.minecraft-select {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #555;
    color: white;
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    border-radius: 0;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 1rem;
    padding-left: 3rem;
}

/* استایل‌های تاریک‌تر برای حالت شب */
.dark-theme {
    --background-dark: #0a0a0a;
    --background-card: rgba(20, 20, 20, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
}

/* استایل‌های روشن‌تر برای حالت روز */
.light-theme {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --accent-color: #1565C0;
    --text-primary: #212121;
    --text-secondary: #666;
    --background-dark: #f5f5f5;
    --background-card: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* استایل برای حالت تعطیلات */
.holiday-theme {
    --primary-color: #D32F2F;
    --primary-dark: #B71C1C;
    --accent-color: #388E3C;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* کلاس برای تغییر تم */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--background-glass);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    transform: rotate(30deg);
    background: var(--primary-color);
    color: white;
}


/* استایل‌های جدید برای صفحه مرور مودها */

.page-header {
    padding: 3rem 0 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #4CAF50, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.promo-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.promo-banner a {
    color: white;
    text-decoration: underline;
}

.browse-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.filters-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group {
    padding: 1.5rem;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all var(--transition-speed);
    cursor: pointer;
    color: var(--text-secondary);
}

.filter-option:hover {
    background: var(--background-glass);
    color: var(--text-primary);
}

.filter-option.active {
    background: var(--primary-color);
    color: white;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-family);
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.display-option {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mods-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mod-card {
    padding: 1.5rem;
}

.mod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.mod-info {
    flex: 1;
}

.mod-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.mod-version {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.mod-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.mod-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mod-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.mod-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mod-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.mod-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* رنگ‌های تگ‌ها */
.tag-fabric { background: rgba(114, 137, 218, 0.2); color: #7289da; }
.tag-forge { background: rgba(255, 87, 34, 0.2); color: #FF5722; }
.tag-neoforge { background: rgba(156, 39, 176, 0.2); color: #9C27B0; }
.tag-quilt { background: rgba(33, 150, 243, 0.2); color: #2196F3; }
.tag-client { background: rgba(76, 175, 80, 0.2); color: #4CAF50; }
.tag-server { background: rgba(33, 150, 243, 0.2); color: #2196F3; }
.tag-client-server { background: rgba(255, 152, 0, 0.2); color: #FF9800; }
.tag-library { background: rgba(156, 39, 176, 0.2); color: #9C27B0; }
.tag-optimization { background: rgba(255, 152, 0, 0.2); color: #FF9800; }
.tag-decoration { background: rgba(233, 30, 99, 0.2); color: #E91E63; }

/* صفحه‌بندی */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem;
}

.page-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-glass);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-weight: 600;
}

.page-number.active {
    background: var(--primary-color);
    color: white;
}

.page-number:hover:not(.active) {
    background: var(--border-color);
}

/* رسپانسیو */
@media (max-width: 992px) {
    .browse-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        order: 2;
    }
    
    .mods-list {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .mod-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .mod-tags {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mod-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .mod-stat {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .stat-label {
        margin-top: 0;
    }
}

/* انیمیشن‌های اضافی برای صفحه مرور */

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-slide-left {
    animation: slideLeft 0.8s ease-out;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}