body {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    min-height: 100vh;
    line-height: 1.6;
}

/* Media section */
.media-section {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.media-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.media-floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #f7931a;
    border-radius: 50%;
    animation: media-float-up 8s infinite linear;
    opacity: 0.7;
}

@keyframes media-float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.media-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Hero section */
.media-hero {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: media-fade-in-up 1s ease-out 0.3s forwards;
}

.media-hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
    animation: media-glow 2s ease-in-out infinite alternate;
}

@keyframes media-glow {
    from {
        text-shadow: 0 0 30px rgba(247, 147, 26, 0.5);
    }

    to {
        text-shadow: 0 0 50px rgba(247, 147, 26, 0.8), 0 0 80px rgba(247, 147, 26, 0.3);
    }
}

.media-hero p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.media-highlight {
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

/* Filter tabs */
.media-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    animation: media-fade-in-up 1s ease-out 0.6s forwards;
}

.media-filter-tab {
    background: transparent;
    border: 2px solid rgba(247, 147, 26, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.media-filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.1), transparent);
    transition: left 0.6s;
}

.media-filter-tab:hover::before {
    left: 100%;
}

.media-filter-tab:hover,
.media-filter-tab.media-active {
    background: linear-gradient(135deg, #f7931a, #ff6b35);
    color: white;
    border-color: #f7931a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(247, 147, 26, 0.4);
}

/* Media grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.media-item {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(247, 147, 26, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: media-fade-in-up 0.8s ease-out forwards;
}

.media-item:nth-child(1) {
    animation-delay: 0.9s;
}

.media-item:nth-child(2) {
    animation-delay: 1.1s;
}

.media-item:nth-child(3) {
    animation-delay: 1.3s;
}

.media-item:nth-child(4) {
    animation-delay: 1.5s;
}

.media-item:nth-child(5) {
    animation-delay: 1.7s;
}

.media-item:nth-child(6) {
    animation-delay: 1.9s;
}

.media-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.1), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.media-item:hover::before {
    left: 100%;
}

.media-item:hover {
    transform: translateY(-10px);
    border-color: #f7931a;
    box-shadow: 0 20px 40px rgba(247, 147, 26, 0.3);
}

.media-item-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(247, 147, 26, 0.1) 0%, transparent 50%);
}

.media-play-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f7931a, #ff6b35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.media-item:hover .media-play-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.6);
}

.media-item-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.media-item-category {
    background: linear-gradient(135deg, #f7931a, #ff6b35);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.media-item-title {
    font-size: 1.4rem;
    color: #f7931a;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.3);
}

.media-item-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.media-item-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.media-item-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(247, 147, 26, 0.2);
}

.media-item-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.media-item-stat svg {
    width: 16px;
    height: 16px;
    color: #f7931a;
}

/* News section */
.media-news-section {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: media-fade-in-up 1s ease-out 1.5s forwards;
}

.media-news-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.media-news-title span {
    color: #f7931a;
    text-shadow: 0 0 20px rgba(247, 147, 26, 0.4);
}

.media-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.media-news-item {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(40, 40, 40, 0.9));
    border: 2px solid rgba(247, 147, 26, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: media-fade-in-up 0.8s ease-out forwards;
}

.media-news-item:nth-child(1) {
    animation-delay: 1.8s;
}

.media-news-item:nth-child(2) {
    animation-delay: 2.0s;
}

.media-news-item:nth-child(3) {
    animation-delay: 2.2s;
}

.media-news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247, 147, 26, 0.1), transparent);
    transition: left 0.6s;
}

.media-news-item:hover::before {
    left: 100%;
}

.media-news-item:hover {
    transform: translateY(-5px);
    border-color: #f7931a;
    box-shadow: 0 15px 30px rgba(247, 147, 26, 0.3);
}

.media-news-date {
    background: linear-gradient(135deg, #f7931a, #ff6b35);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.media-news-title-item {
    font-size: 1.3rem;
    color: #f7931a;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.3);
}

.media-news-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.media-news-read-more {
    color: #f7931a;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.media-news-read-more:hover {
    color: #ff6b35;
    transform: translateX(5px);
}

/* Gallery modal */
.media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.media-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
    border: 2px solid #f7931a;
    border-radius: 20px;
    padding: 30px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
}

.media-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #f7931a;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-modal-close:hover {
    color: #ff6b35;
    transform: scale(1.1);
}

/* Animations */
@keyframes media-fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .media-hero h1 {
        font-size: 2.5rem;
    }

    .media-filter-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }

    .media-filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-news-grid {
        grid-template-columns: 1fr;
    }

    .media-news-title {
        font-size: 2rem;
    }

    .media-modal-content {
        max-width: 95%;
        padding: 20px;
    }

    .media-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .media-hero h1 {
        font-size: 2rem;
    }

    .media-news-title {
        font-size: 1.8rem;
    }

    .media-item-content {
        padding: 20px;
    }

    .media-news-item {
        padding: 20px;
    }

    .media-filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Hidden class for filtering */
.media-hidden {
    display: none !important;
}