/* hentaigogo.com CSS */


.gallery-container {
            max-width: 1200px;
            width: 100%;
            padding: 20px;
            background-color: #000000;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        .thumbnail-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .thumbnail {
            width: 253px;
            height: 351px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .thumbnail:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .full-image-container {
            display: none;
            position: relative;
            text-align: center;
            margin-top: 20px;
        }

        .full-image-wrapper {
            position: relative;
            display: inline-block;
            max-width: 90%;
            max-height: 100%;
        }

        .full-image {
            max-width: 100%;
            max-height: 100%;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

.nav-arrows {
    position: fixed;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1000;
}

.nav-arrow {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
  /* background: rgba(0, 0, 0, 0.5); /*  */
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
/*    box-shadow: 0 0 15px rgba(0, 0, 0, 0); /*  */
}

.nav-arrow:hover {
    color: rgba(255, 215, 0, 1); /*  */
    transform: scale(1.2); /*  */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0); /*  */
     text-shadow: 0 0 10px rgba(255, 215, 0, 0.8); /*  */
}
        .nav-arrow.left {
            justify-content: flex-start;
            padding-left: 20px;
        }

        .nav-arrow.right {
            justify-content: flex-end;
            padding-right: 20px;
        }

        .page-indicator {
            text-align: center;
            margin-top: 20px;
            font-size: 18px;
            color: #333;
        }

        .pagination-buttons {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
        }

        .pagination-buttons button {
            padding: 10px 20px;
            font-size: 16px;
            border: none;
            border-radius: 4px;
            background-color: #28a745;
            color: #fff;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .pagination-buttons button:disabled {
            background-color: #6c757d;
            cursor: not-allowed;
        }

        .pagination-buttons button:hover:not(:disabled) {
            background-color: #218838;
        }

        .full-image-page-indicator {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 20px;
            color: #fff;
            background-color: rgba(0, 0, 0, 0.6);
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 1000;
        }

        .nav-buttons {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .nav-buttons button {
            padding: 10px 20px;
            font-size: 16px;
            border: none;
            border-radius: 4px;
            background-color: #007bff;
            color: #fff;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .nav-buttons button:hover {
            background-color: #0056b3;
        }

        .loading-progress {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 20px;
            color: #fff;
            background-color: rgba(0, 0, 0, 0.6);
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 1000;
        }
                /*  */
        /*  */
        .all-images-container {
            display: none;
            position: relative;
            text-align: center;
            margin-top: 20px;
            column-count: 2;
            column-gap: 15px;
            margin: 20px;
        }
        .all-image-item {
            break-inside: avoid;
            margin-bottom: 15px;
            position: relative;
            cursor: pointer;
        }
        .all-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease;
        }
        .all-image:hover {
            transform: scale(1.02);
        }
        .show-all-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 12px 24px;
            background: #17a2b8;
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        .show-all-btn:hover {
            background: #138496;
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
        }
/*  */
.all-images-container {
    display: none;
    position: relative;
    text-align: center;
    margin-top: 20px;
    column-count: 1; /* */
    column-gap: 15px;
    margin: 20px;
    padding: 20px 0; /*  */
}

/* */
.all-image-item {
    break-inside: avoid;
    margin-bottom: 80px; /*  */
    position: relative;
    cursor: pointer;
    padding-top: 20px; /*  */
}

/*  */
.all-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.all-image:hover {
    transform: scale(1.02);
}

/*  */
.back-to-thumbnails-btn {
    display: block;
    margin: 20px auto;
    padding: 12px 24px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.back-to-thumbnails-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}


/* */
.page-number {
    position: absolute;
    top: 0; /*  */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 10; /*  */
}

/*  */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; /*  */
    height: 60px;
    background: url('/images/loading.gif') no-repeat center center;
    background-size: contain;
    z-index: 10;
}