﻿/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
    min-height: 100vh;
    background: #0a0a0a;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* ===== MAIN WRAPPER ===== */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: #0a0a0a;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
}

    .logo span {
        color: #e6683c;
    }

.header-actions {
    display: flex;
    gap: 12px;
}

    .header-actions i {
        font-size: 20px;
        color: #ffffff;
        cursor: pointer;
        padding: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,0.05);
        transition: 0.2s;
    }

        .header-actions i:hover {
            background: rgba(255,255,255,0.1);
        }

/* ===== STORY SECTION ===== */
.story-section {
    padding: 20px 30px 10px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.story-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 16px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .story-scroll::-webkit-scrollbar {
        display: none;
    }

.story-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.25s;
}

    .story-item:hover {
        transform: scale(1.05);
    }

.story-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.15);
    position: relative;
    transition: all 0.3s;
}

.story-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0a0a0a;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .story-circle-inner video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .story-circle-inner .play-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        font-size: 28px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        pointer-events: none;
        opacity: 0.8;
    }

.story-label {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.08);
    padding: 4px 16px;
    border-radius: 30px;
    white-space: nowrap;
}

/* ===== SLIDER ===== */
.slider-section {
    padding: 0;
    background: #0a0a0a;
    position: relative;
    margin-bottom: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #0a0a0a;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-slide {
    flex: 0 0 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    background: linear-gradient(135deg, #0d0d0d, #0a0a0a);
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

    .slider-slide:nth-child(1) {
        background: linear-gradient(135deg, #0f0a08, #0a0a0a);
    }

    .slider-slide:nth-child(2) {
        background: linear-gradient(135deg, #080a0f, #0a0a0a);
    }

    .slider-slide:nth-child(3) {
        background: linear-gradient(135deg, #0f080f, #0a0a0a);
    }

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    gap: 50px;
}

.slide-text {
    flex: 1;
}

    .slide-text h2 {
        font-size: 36px;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .slide-text p {
        font-size: 17px;
        color: #aaaaaa;
        line-height: 1.8;
        margin-bottom: 16px;
    }

.slide-badge {
    display: inline-block;
    background: #e6683c;
    color: #ffffff;
    padding: 8px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

    .slide-badge.green {
        background: #2ecc71;
    }

    .slide-badge.blue {
        background: #3498db;
    }

.slide-image {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #e6683c;
}

    .slide-image.purple {
        color: #9b59b6;
        background: rgba(155, 89, 182, 0.03);
    }

    .slide-image.blue {
        color: #3498db;
        background: rgba(52, 152, 219, 0.03);
    }

/* دکمه‌های قبلی و بعدی */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-50%) scale(1.05);
    }

    .slider-btn.prev {
        right: 20px;
    }

    .slider-btn.next {
        left: 20px;
    }

/* نقطه‌های پایین اسلایدر */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 20px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2a2a2a;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

    .slider-dot.active {
        background: #e6683c;
        width: 28px;
        border-radius: 10px;
    }

    .slider-dot:hover {
        background: #444;
    }

    .slider-dot.active:hover {
        background: #e6683c;
    }

/* ===== GRID 6 ===== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 20px 30px 40px;
    background: #0a0a0a;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .icon-item:hover {
        background: rgba(255,255,255,0.05);
        border-color: rgba(255,255,255,0.1);
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    }

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    transition: 0.3s;
}

.icon-item:hover .icon-circle {
    background: #e6683c;
    color: #ffffff;
    border-color: #e6683c;
    box-shadow: 0 8px 25px rgba(230, 104, 60, 0.2);
}

.icon-label {
    font-size: 13px;
    font-weight: 500;
    color: #aaaaaa;
    text-align: center;
    line-height: 1.3;
}

.icon-item:hover .icon-label {
    color: #ffffff;
}

/* ===== MODAL ===== */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: modalFade 0.3s ease;
}

    .story-modal.active {
        display: flex;
    }

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

    .modal-content video {
        width: 100%;
        display: block;
        background: #000;
        max-height: 80vh;
    }

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
}

    .modal-close:hover {
        background: rgba(255,255,255,0.2);
        transform: rotate(90deg);
    }

.modal-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slider-slide {
        height: 260px;
        padding: 20px 30px;
    }

    .slide-text h2 {
        font-size: 28px;
    }

    .slide-image {
        width: 120px;
        height: 120px;
        font-size: 60px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 14px 16px;
    }

    .logo {
        font-size: 20px;
    }

    .story-section {
        padding: 12px 16px 6px;
    }

    .story-circle {
        width: 68px;
        height: 68px;
    }

    .story-label {
        font-size: 10px;
        padding: 2px 12px;
    }

    .slider-slide {
        height: 220px;
        padding: 16px 20px;
    }

    .slide-content {
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }

    .slide-text h2 {
        font-size: 22px;
    }

    .slide-text p {
        font-size: 14px;
    }

    .slide-image {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        right: 10px;
        left: 10px;
    }

        .slider-btn.prev {
            right: 10px;
        }

        .slider-btn.next {
            left: 10px;
        }

    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 16px 12px 30px;
    }

    .icon-circle {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .icon-label {
        font-size: 11px;
    }

    .icon-item {
        padding: 12px 4px;
    }

    .modal-content {
        width: 95%;
        border-radius: 16px;
    }

    .modal-close {
        top: 12px;
        left: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .slider-dots {
        padding: 12px 0 16px;
    }
}

@media (max-width: 480px) {
    .story-circle {
        width: 58px;
        height: 58px;
    }

    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .slider-slide {
        height: 180px;
        padding: 12px 16px;
    }

    .slide-text h2 {
        font-size: 18px;
    }

    .slide-badge {
        font-size: 12px;
        padding: 4px 16px;
    }

    .slide-image {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}






























