/* STEPFUCK - Dark Pink-Red Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000 0%, #1a0000 50%, #000 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(90deg, #8b0000, #000);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    color: #ff69b4;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255,105,180,0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ff69b4;
    background: rgba(255,105,180,0.1);
    text-shadow: 0 0 5px rgba(255,105,180,0.5);
}

.search-container form {
    display: flex;
    gap: 0;
}

.search-container input {
    padding: 0.8rem 1rem;
    border: 1px solid #ff69b4;
    background: rgba(0,0,0,0.8);
    color: #fff;
    border-radius: 25px 0 0 25px;
    width: 250px;
    font-size: 0.9rem;
    outline: none;
}

.search-container input:focus {
    background: rgba(255,105,180,0.1);
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255,105,180,0.3);
}

.search-container button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: #fff;
    border: none;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    transform: scale(1.05);
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    color: #ff69b4;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255,105,180,0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255,105,180,0.5); }
    to { text-shadow: 0 0 30px rgba(255,105,180,0.8), 0 0 40px rgba(255,105,180,0.3); }
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.photo-item {
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.photo-item:hover {
    transform: translateY(-5px);
    border-color: #ff69b4;
    box-shadow: 0 10px 30px rgba(255,105,180,0.2);
}

.photo-preview {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-preview img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 0.8;
}

.photo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,105,180,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.photo-icon:hover {
    background: rgba(255,105,180,1);
    transform: scale(1.1);
}

.photo-info {
    padding: 1rem;
    text-align: center;
}

.photo-info h3 {
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.photo-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

.photo-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Photo Categories */
.photo-categories {
    margin-bottom: 2rem;
}

.photo-categories h3 {
    color: #ff69b4;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255,105,180,0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #ff69b4;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,105,180,0.3);
}

.category-item:hover {
    background: rgba(255,105,180,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,105,180,0.2);
}

.category-icon {
    font-size: 1.2rem;
}

.category-item span {
    font-weight: bold;
}

/* Photo List View */
.photo-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.photo-item-list {
    display: flex;
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 1rem;
}

.photo-item-list:hover {
    transform: translateY(-2px);
    border-color: #ff69b4;
    box-shadow: 0 5px 15px rgba(255,105,180,0.2);
}

.photo-preview-list {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 1rem;
}

.photo-preview-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-info-list {
    flex: 1;
}

.photo-info-list h3 {
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.photo-meta-list {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

.video-item {
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.video-item:hover {
    transform: translateY(-5px);
    border-color: #ff69b4;
    box-shadow: 0 10px 30px rgba(255,105,180,0.2);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-preview img {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-item:hover .play-overlay {
    opacity: 0.8;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255,105,180,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255,105,180,1);
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
}

.duration {
    background: rgba(255,105,180,0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    color: #ff69b4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Standard Modal (Fenster-Modus) - MITTIG: 70% Breite, 15% Abstand */
.modal-content {
    background: linear-gradient(135deg, #000, #1a0000);
    margin: 5% 15%;
    padding: 20px;
    border: 2px solid #ff69b4;
    border-radius: 15px;
    width: 70%;
    max-width: 1200px;
    position: relative;
    animation: slideIn 0.3s ease;
    height: 80vh;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    color: #ff69b4;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,105,180,0.1);
    z-index: 2001;
}

.close-modal:hover {
    color: #fff;
    background: rgba(255,105,180,0.3);
    transform: rotate(90deg);
}

#modalTitle {
    color: #ff69b4;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255,105,180,0.5);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

#modalVideoContainer {
    text-align: center;
    background: #000;
    border-radius: 10px;
    overflow: auto;
    width: 100%;
    height: calc(100% - 60px);
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalVideoContainer video,
#modalVideoContainer iframe {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#modalVideoContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 1rem;
}

.page-btn {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-btn:hover {
    background: linear-gradient(45deg, #ff1493, #ff69b4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,105,180,0.3);
}

.page-info {
    color: #ff69b4;
    font-weight: bold;
    font-size: 1rem;
}

/* Results Count */
.results-count {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255,105,180,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,105,180,0.3);
}

.results-count p {
    color: #ff69b4;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,105,180,0.1);
    border-radius: 10px;
    border: 1px solid rgba(255,105,180,0.3);
}

.sort-options {
    display: flex;
    gap: 1rem;
}

.sort-btn {
    padding: 0.5rem 1rem;
    background: rgba(255,105,180,0.2);
    color: #ff69b4;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,105,180,0.3);
}

.sort-btn:hover,
.sort-btn.active {
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,105,180,0.3);
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.5);
    color: #ccc;
    border: 1px solid #ff69b4;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-btn:hover,
.view-btn.active {
    background: #ff69b4;
    color: #fff;
}

/* List View */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-item-list {
    display: flex;
    background: linear-gradient(135deg, #333, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 1rem;
}

.video-item-list:hover {
    transform: translateY(-2px);
    border-color: #ff69b4;
    box-shadow: 0 5px 15px rgba(255,105,180,0.2);
}

.video-preview-list {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 1rem;
}

.video-preview-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info-list {
    flex: 1;
}

.video-info-list h3 {
    color: #ff69b4;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.video-meta-list {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #999;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000, #1a0000);
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid #ff69b4;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ff69b4;
    text-decoration: none;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,105,180,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .search-container input {
        width: 200px;
    }

    main {
        padding: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .modal-content {
        width: 70%;
        margin: 15% 15%;
        padding: 15px;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        margin: 15% auto;
        padding: 10px;
        max-height: 50vh;
    }

    .search-container input {
        width: 100%;
    }

    .search-container form {
        width: 100%;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}