body {
    margin: 0;
    background-color: #222;
    color: white;
    font-family: Arial, sans-serif;
}



/* меню контейнер */
.dropdownmenu ul {
    list-style: none;
    display: flex;          /* това ги прави на един ред */
    justify-content: center; /* центрира ги */
    align-items: center;
}

/* всеки елемент */
.dropdownmenu ul li {
    margin: 0 10px;
}

/* линкове */
.dropdownmenu ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    
    padding: 10px 15px;
    display: block;
}

.dropdownmenu ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    padding: 10px;
}

/* линия */
.dropdownmenu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: #ff4757;
    transition: 0.3s;
}

/* hover ефект */
.dropdownmenu ul li a:hover::after {
    width: 100%;
}
.video-slider,
.video-slider1 {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px;
    cursor: grab;
    user-select: none;
}

/* PAGE LAYOUT */
.anime-page {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* TITLE */
.anime-title {
    text-align: center;
    margin-bottom: 20px;
}

/* INFO SECTION */
.anime-info {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* IMAGE */
.anime-image {
    width: 250px;
    border-radius: 10px;
}

/* TEXT */
.anime-text {
    flex: 1;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
}

/* VIDEO */
.anime-video {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.anime-video iframe {
    width: 100%;
    max-width: 2500px;
    height: 500px;
    border: none;
    border-radius: 10px;
}

/* EPISODES */
.episodes {
    text-align: center;
    margin: 15px 0;
}

.episodes button {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #ff4757;
    color: white;
    transition: 0.3s;
}

.episodes button:hover {
    background: #ff6b81;
    transform: scale(1.1);
}

/* NEXT BUTTON */
.next-btn {
    text-align: center;
    margin-top: 10px;
}

.next-btn button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: #1e90ff;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.next-btn button:hover {
    background: #3742fa;
}

.video-slider video,
.video-slider1 video {
    width: 300px;
    flex-shrink: 0;
    pointer-events: none;
}

.slider {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
    cursor: grab;
    user-select: none;

    /* Скриване на scroll бара */
    scrollbar-width: none;       /* Firefox */
}

.slider::-webkit-scrollbar {
    display: none;               /* Chrome, Edge */
}

.slider video {
    width: 300px;
    flex-shrink: 0;
    pointer-events: none;
}
/* стил на менюто */
.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    background-color: #222;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.menu a:hover {
    color: crimson;
}

/* стил на заглавията */
.title {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 10px;
}

.text {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 10px;
}

.section-title {
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 10px;
}
